All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [yocto] Regarding Mender integration
       [not found] <166309ED54D39BDA.14473@lists.yoctoproject.org>
@ 2021-02-16 17:48 ` U RAVI KUMAR
  2021-02-17  8:51   ` Robert Berger
  0 siblings, 1 reply; 3+ messages in thread
From: U RAVI KUMAR @ 2021-02-16 17:48 UTC (permalink / raw)
  To: U RAVI KUMAR; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 3273 bytes --]

hello everyone,

I have an issue while integrating the mender in yocto.
getting  error while adding  INHERIT +=" mender-full" in the local.conf
file .Can anyone pls help me out in solving this issue.

On Fri, Feb 12, 2021 at 9:03 PM U RAVI KUMAR via lists.yoctoproject.org
<uppadaravi2511=gmail.com@lists.yoctoproject.org> wrote:

> Hello folks,
>
> I have some issues while integrating the mender on the yocto project.I
> have included meta-mener-core,meta-mender-raspberrypi layers.And iam
> getting the following error:
>
> ERROR: u-boot-1_2020.07-r0 do_patch: Command Error: 'quilt --quiltrc
> /home/ravi_uppada/work/vm/sato/poky/build/tmp/work/raspberrypi4_64-poky-linux/u-boot/1_2020.07-r0/recipe-sysroot-native/etc/quiltrc
> push' exited with 0  Output:
> Applying patch 0001-configs-rpi-enable-mender-requirements.patch
> patching file configs/rpi_0_w_defconfig
> Hunk #1 FAILED at 19.
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_0_w_defconfig
> patching file configs/rpi_2_defconfig
> Hunk #1 FAILED at 19.
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_2_defconfig
> patching file configs/rpi_3_32b_defconfig
> Hunk #1 FAILED at 20.
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_3_32b_defconfig
> patching file configs/rpi_3_b_plus_defconfig
> Hunk #1 FAILED at 20.
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_3_b_plus_defconfig
> patching file configs/rpi_3_defconfig
> Hunk #1 FAILED at 20.
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_3_defconfig
> patching file configs/rpi_4_32b_defconfig
> Hunk #1 FAILED at 16.
> Hunk #2 succeeded at 45 (offset 12 lines).
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_4_32b_defconfig
> patching file configs/rpi_4_defconfig
> Hunk #1 FAILED at 16.
> Hunk #2 succeeded at 45 (offset 12 lines).
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_4_defconfig
> patching file configs/rpi_arm64_defconfig
> Hunk #1 FAILED at 17.
> Hunk #2 succeeded at 43 (offset 1 line).
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_arm64_defconfig
> patching file configs/rpi_defconfig
> Hunk #1 FAILED at 19.
> 1 out of 2 hunks FAILED -- rejects in file configs/rpi_defconfig
> patching file env/Kconfig
> Hunk #1 succeeded at 55 (offset 6 lines).
> patching file include/configs/rpi.h
> Hunk #1 succeeded at 97 (offset 17 lines).
> Patch 0001-configs-rpi-enable-mender-requirements.patch does not apply
> (enforce with -f)
> ERROR: Logfile of failure stored in:
> /home/ravi_uppada/work/vm/sato/poky/build/tmp/work/raspberrypi4_64-poky-linux/u-boot/1_2020.07-r0/temp/log.do_patch.5091
> ERROR: Task
> (/home/ravi_uppada/work/vm/sato/poky/meta/recipes-bsp/u-boot/u-boot_2020.07.bb:do_patch)
> failed with exit code '1'
>
>
>
> I have followed this link to enable u-boot :
> https://docs.mender.io/system-updates-yocto-project/board-integration/bootloader-support/u-boot
> .
> Have added in the path :
> /DIRECTORY_BUILD/sato/poky/layers/meta-mender/meta-mender-core/recipes-bsp/u-boot
>  Have added the lines in this file : u-boot_%.bbappend.
>
> Please help me out this.I have been trying this from very long.Please
> address this issue.
>
> Thanks,
> RAVI_UPPADA
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 3947 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Regarding Mender integration
  2021-02-16 17:48 ` [yocto] Regarding Mender integration U RAVI KUMAR
@ 2021-02-17  8:51   ` Robert Berger
  2021-02-17 14:47     ` U RAVI KUMAR
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Berger @ 2021-02-17  8:51 UTC (permalink / raw)
  To: U RAVI KUMAR; +Cc: Yocto-mailing-list

Hi,

Please see my comments in-line.

On 16/02/2021 19:48, U RAVI KUMAR wrote:
>     I have some issues while integrating the mender on the yocto
>     project.I have included meta-mener-core,meta-mender-raspberrypi
>     layers.And iam getting the following error:
> 
>     ERROR: u-boot-1_2020.07-r0 do_patch: Command Error: 'quilt --quiltrc
>     /home/ravi_uppada/work/vm/sato/poky/build/tmp/work/raspberrypi4_64-poky-linux/u-boot/1_2020.07-r0/recipe-sysroot-native/etc/quiltrc
>     push' exited with 0  Output:
>     Applying patch 0001-configs-rpi-enable-mender-requirements.patch
>     patching file configs/rpi_0_w_defconfig
>     Hunk #1 FAILED at 19.

...

This looks like the patch you/mender try/tries to apply does not work 
with your u-boot version.[0]

[0] 
https://github.com/mendersoftware/meta-mender/tree/master/meta-mender-core/recipes-bsp/u-boot

Which Yocto version do you use?

Which Mender version do you use?

You could look into creating your own Mender integration[1] instead of 
the mender class.

[1] 
https://docs.mender.io/system-updates-yocto-project/board-integration/bootloader-support/u-boot/manual-u-boot-integration

I think the right place to ask Mender specific questions is here[2].

[2] https://hub.mender.io/

Regards,

Robert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Regarding Mender integration
  2021-02-17  8:51   ` Robert Berger
@ 2021-02-17 14:47     ` U RAVI KUMAR
  0 siblings, 0 replies; 3+ messages in thread
From: U RAVI KUMAR @ 2021-02-17 14:47 UTC (permalink / raw)
  To: robert.berger.yocto.user; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

HI robert,

    Thank you very much for your response.

Regards,
RAVI_UPPADA

On Wed, Feb 17, 2021 at 2:21 PM Robert Berger@yocto.user <
robert.berger.yocto.user@gmail.com> wrote:

> Hi,
>
> Please see my comments in-line.
>
> On 16/02/2021 19:48, U RAVI KUMAR wrote:
> >     I have some issues while integrating the mender on the yocto
> >     project.I have included meta-mener-core,meta-mender-raspberrypi
> >     layers.And iam getting the following error:
> >
> >     ERROR: u-boot-1_2020.07-r0 do_patch: Command Error: 'quilt --quiltrc
> >
>  /home/ravi_uppada/work/vm/sato/poky/build/tmp/work/raspberrypi4_64-poky-linux/u-boot/1_2020.07-r0/recipe-sysroot-native/etc/quiltrc
> >     push' exited with 0  Output:
> >     Applying patch 0001-configs-rpi-enable-mender-requirements.patch
> >     patching file configs/rpi_0_w_defconfig
> >     Hunk #1 FAILED at 19.
>
> ...
>
> This looks like the patch you/mender try/tries to apply does not work
> with your u-boot version.[0]
>
> [0]
>
> https://github.com/mendersoftware/meta-mender/tree/master/meta-mender-core/recipes-bsp/u-boot
>
> Which Yocto version do you use?
>
> Which Mender version do you use?
>
> You could look into creating your own Mender integration[1] instead of
> the mender class.
>
> [1]
>
> https://docs.mender.io/system-updates-yocto-project/board-integration/bootloader-support/u-boot/manual-u-boot-integration
>
> I think the right place to ask Mender specific questions is here[2].
>
> [2] https://hub.mender.io/
>
> Regards,
>
> Robert
>
>
>

[-- Attachment #2: Type: text/html, Size: 2483 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-17 14:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <166309ED54D39BDA.14473@lists.yoctoproject.org>
2021-02-16 17:48 ` [yocto] Regarding Mender integration U RAVI KUMAR
2021-02-17  8:51   ` Robert Berger
2021-02-17 14:47     ` U RAVI KUMAR

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.