Re: Want to use linux-fslc 5.10 with Dunfell


Andrey Zhizhikin
 

On Thu, Mar 4, 2021 at 9:36 PM Brian Hutchinson <b.hutchman@gmail.com> wrote:


On Thu, Mar 4, 2021 at 2:56 PM Brian Hutchinson via lists.yoctoproject.org <b.hutchman=gmail.com@lists.yoctoproject.org> wrote:

On Thu, Mar 4, 2021 at 2:23 PM Andrey Zhizhikin <andrey.z@gmail.com> wrote:

On Thu, Mar 4, 2021 at 7:57 PM Brian Hutchinson <b.hutchman@gmail.com> wrote:
[snip]

ok, I repeated my steps I listed before using -b master instead of gatesgarth for the repo init command. The bitbake of core-image-base was so ugly I can't even post the output here. Let's just say it didn't work.
Exactly what went wrong would be interesting here! Can you pastebin
the error log somewhere so I can take a look at?

Looks like Peter was able to pull it through - so the build setup should work.

BTW, for the record: I do not use the repo manifest from
fsl-community-bsp-platform repository. I do clone those layers
separately myself and build them.

There is a nice step-by-step tutorial written on how to create a
minimal layer set and build core images from Robert Berger, you can
try to follow those:
https://yoctoproject.blogspot.com/2020/09/how-to-build-core-image-minimal-with.html
I repeated the steps I mentioned before just used -b master instead of -b gatesgarth and it blew up and spewed all over me and I had to go change my clothes. Ugliest build I've ever attempted. Got about a zillion warnings while bitbase was walking the recipes. Best you just repeat my steps and see for yourself.

1) repo init -u https://github.com/Freescale/fsl-community-bsp-platform -b master
2) repo sync
3) I moved my meta-freescale directory out of the way (mv meta-freescale meta_freescale_orig)
4) cloned Andrey's link he provided: git clone https://github.com/zandrey/meta-freescale.git -b boot-container-for-mx8m-fslc
5) Setup for my board: EULA=1 MACHINE=imx8mm-lpddr4-evk DISTRO=poky source setup-environment build
6) put on whole body prophylactic
7) bitbake core-image-base
8) go decontaminate yourself

Thanks for the tutorial, I don't like repo personally (for one it doesn't play nice through firewalls) and prefer to set layers up manually .. I like to know what's going on behind the scenes.

Regards,

Brian
Ok, now that I've backed away from the ledge I smoked my shell and did a clean shell and repeated the bitbake and it's working well now. I suspect that I switched from trying gatesgarth build to master build in same shell and didn't follow my rule of always starting a bitbake in clean shell so the blowup I saw was most likely due to funkiness in the environment so I apologize for the high SNR.
I've tried the manifest build setup from fsl-community-bsp-base, and
indeed it failed during the parsing stage with a ton of errors I
haven't seen before in my builds. I've opened the issue in the
manifest repository for this:
https://github.com/Freescale/fsl-community-bsp-base/issues/17

I guess if you would rather follow a tutorial I sent before - you
should get your build through with flying colors. ;)


The build is running now so I'll monitor it. I'll report back after my 24 huskies are finished mushing out the image in about an hour.
No worries, keep us posted. An don't loose hope! :)


B
--
Regards,
Andrey.

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.