Regarding Mender integration
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.
Quoted 70 lines · U RAVI KUMAR via lists.yoctoproject.org
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/quiltrcpush' 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 fileinclude/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
Hi,
Please see my comments in-line.
Quoted 10 lines · U RAVI KUMAR
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/quiltrcpush' 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.
I think the right place to ask Mender specific questions is here[2].
Regards,
Robert
HI robert,
Thank you very much for your response.
Regards,RAVI_UPPADA
Quoted 47 lines · On Wed, Feb 17, 2021 at 2:21 PM Robert [email protected] <…
Hi,
Please see my comments in-line.
Quoted 6 lines · U RAVI KUMAR
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/quiltrcQuoted 4 lines
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]
I think the right place to ask Mender specific questions is here[2].
Regards,
Robert