meta-swupdate layer with precompiled uboot
Hello,
I am looking into using your custom meta-swupate with our current Yocto 1.8.1 (fido) based image. However, as we are using Kontron SMARC sAMX6i for our platform, Kontron supplies a pre-compiled uBoot. Is it possible to use meta-swupdate
to some extent without uBoot support, or is it possible to get it to work without compiling uBoot as well? Any information would be greatly appreciated.
Best regards,
Andreas Enbacka
Gasera Ltd
Hi Andreas,
Quoted 6 lines · Andreas Enbacka
Hello,
I am looking into using your custom meta-swupate with our current Yocto 1.8.1 (fido) based image.
Please take a look - I know from ML that there is people still using fido and they pushed patches to this branch, but I merge new things just into -master, -morty and -krogoth.
Quoted 5 lines
However, as we are using Kontron SMARC sAMX6i
for our platform, Kontron supplies a pre-compiled uBoot. Is it possible to use meta-swupdateto some extent without uBoot support,
Yes - if you do not touch the environment, you can disable U-Boot support running "bitbake -c menuconfig swupdate"
Quoted 2 lines
or is it possible to get it to
work without compiling uBoot as well?
It should work, if you disable U-Boot the libubootenv library should not be linked.
Quoted 4 lines
Any information would be greatly
appreciated.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================
Hello,
Thanks for the info. I tried to download the fido branch of the meta-swupdate layer, and executed bitbake -c menuconfig swupdate. I got the following error output (using Kontron SMARC sAMX6i machine config):
ERROR: Nothing PROVIDES 'u-boot-fw-utils' (but /home/andreas/yocto1.8/fsl-community-bsp/sources/meta-swupdate/recipes-suppo rt/swupdate/swupdate_git.bb DEPENDS on or otherwise requires it)
ERROR: u-boot-fw-utils was skipped: Either UBOOT_MACHINE or UBOOT_CONFIG must be set in the smarc-samx6i machine configuration.
ERROR: Required build target 'swupdate' has no buildable providers. Missing or unbuildable dependency chain was: ['swupdate', 'u-boot-fw-utils']
Seems to be some issue with building u-boot-fw-utils?
//Andreas
-----Original Message-----
From: Stefano Babic [mailto:[email protected]]
Sent: 9. helmikuutata 2017 11:59
To: Andreas Enbacka <[email protected]>; [email protected]
Subject: Re: [yocto] meta-swupdate layer with precompiled uboot
Hi Andreas,
Quoted 7 lines · Andreas Enbacka
Hello,
I am looking into using your custom meta-swupate with our current Yocto
1.8.1 (fido) based image.
Please take a look - I know from ML that there is people still using fido and they pushed patches to this branch, but I merge new things just into -master, -morty and -krogoth.
Quoted 5 lines
However, as we are using Kontron SMARC sAMX6i for our platform, Kontron supplies a pre-compiled uBoot. Is it possible to use meta-swupdate
to some extent without uBoot support,
Yes - if you do not touch the environment, you can disable U-Boot support running "bitbake -c menuconfig swupdate"
Quoted 2 lines
or is it possible to get it to
work without compiling uBoot as well?
It should work, if you disable U-Boot the libubootenv library should not be linked.
Quoted 4 lines
Any information would be greatly
appreciated.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
Hi Andreas,
Quoted 12 lines · Andreas Enbacka
Hello,
Thanks for the info. I tried to download the fido branch of the meta-swupdate layer, and executed bitbake -c menuconfig swupdate. I got the following error output (using Kontron SMARC sAMX6i machine config):
ERROR: Nothing PROVIDES 'u-boot-fw-utils' (but
/home/andreas/yocto1.8/fsl-community-bsp/sources/meta-swupdate/recipes-support/swupdate/swupdate_git.bb DEPENDS on or otherwise requires it)
ERROR: u-boot-fw-utils was skipped: EitherUBOOT_MACHINEorUBOOT_CONFIGmust be set in the smarc-samx6i machine configuration.
Quoted 5 lines
ERROR: Required build target 'swupdate' has no buildable providers. Missing or unbuildable dependency chain was: ['swupdate', 'u-boot-fw-utils']
Seems to be some issue with building u-boot-fw-utils?
Old branches like fido have fixes dependencies in DEPENDS. I have implemented in b794e0ef8adccaa70b05463d52d3fd49f0917bb6 a way to add DEPENDS checking defconfig, and dropping what is not required.
You can drop u-boot-fw-utils from DEPENDS in your custom meta-swupdate or try applying (I have not tested on fido) the mentioned commit, and if it works, we can merge it also in this old "fido".
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================