On 4/2/18 11:49 PM, Mohammad, Jamal M wrote: > I modified EFI_PROVIDER to "grub-efi" for intel-core-i7 machine and generated > a root filesystem ( ext4 ) > > Now I need to create an additional partition to keep this initrd image and > then modify the grub configuration to jump into this. > > Do you have any idea on this where I have to modify the partition script in > yocto..
If you are using a recent version of Yocto, have a look at wic: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#creating-partitioned-images-using-wic That is how we produce multiple partitions since our last release (2.4). Before that you would have to do this manually. Freescale has a great example of how to do this in their image_types child class: https://github.com/Freescale/meta-fsl-arm/blob/master/classes/image_types_fsl.bbclass Again, I would only recommend this if you do not have access to wic and wks (wic kick start) files. --S > > Regards, > Jamal > > -----Original Message----- > From: Stephano Cetola [mailto:stephano.cet...@linux.intel.com] > Sent: Monday, April 02, 2018 7:19 PM > To: Mohammad, Jamal M <mohammadjamal.mohiud...@ncr.com> > Cc: meta-intel@yoctoproject.org > Subject: Re: [meta-intel] swupdate yocto > > For swupdate support, please see their google group: > > https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_forum_-23-21topic_swupdate_MGq0uMQAUvs&d=DwID-g&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0LHnCs&m=mmFyyRToaSShSSW6iBMDSgFBGdZwS6N_3E0Gh_Rg4oY&s=1ozow8dnGfNk8acsmAlQ0i3pGQM6YI-ULbt1c9SnoIs&e= > > It sounds like you need to understand swupdate better so that you can utilize > their GRUB or EFI Boot Guard support. > > Cheers, > Stephano > > On 4/2/18 2:56 AM, Mohammad, Jamal M wrote: >> Hi, >> >> I cloned the master branch of poky, meta-intel and meta-swupdate and >> then I added both layers to bblayers.conf file >> >> When I run "bitbake swupdate-image", I get the following error: >> >> >> ERROR: Nothing PROVIDES 'u-boot-fw-utils' (but >> /home/jamal/Yocto/poky/meta-swupdate/recipes-support/swupdate/https:// >> urldefense.proofpoint.com/v2/url?u=http-3A__swupdate-5F2018.03.bb&d=Dw >> ID-g&c=gJN2jf8AyP5Q6Np0yWY19w&r=4h__2a8-7N65qoDnmtsyGh_QYq3kPCn-Loy2L0 >> LHnCs&m=mmFyyRToaSShSSW6iBMDSgFBGdZwS6N_3E0Gh_Rg4oY&s=i4W4pGZF6XiTAmaS >> _-nkyCmsELJf5Irdu5h9vGY_MrM&e= >> DEPENDS on or otherwise requires it) >> >> u-boot-fw-utils was skipped: Either UBOOT_MACHINE or UBOOT_CONFIG must >> be set in the intel-corei7-64 machine configuration. >> >> NOTE: Runtime target 'swupdate-www' is unbuildable, removing... >> >> Missing or unbuildable dependency chain was: ['swupdate-www', >> 'u-boot-fw-utils'] >> >> ERROR: Required build target 'swupdate-image' has no buildable providers. >> >> Missing or unbuildable dependency chain was: ['swupdate-image', >> 'swupdate-www', 'u-boot-fw-utils'] >> >> As, it is Intel board, the bootloader should not be uboot, so why it >> is throwing that error. I am just a beginner in Yocto.. Forgive me if >> I made a small mistake. Did anyone have steps of how to get started >> for swupdate on Intel Yocto. >> >> Thanks and Regards, >> Mohammad Jamal, >> NCR Corporation > -- _______________________________________________ meta-intel mailing list meta-intel@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-intel