[meta-freescale] Understanding U-boot

Wiholm, Willie ActeSE Willie.wiholm at acte.se
Wed Dec 12 07:51:40 PST 2018


Hello guys,

I’m very new with Yocto so if these questions are too trivial don’t hesitate to remove them 😊.

Background:
I have a imx6dlsabresd board and I have downloaded the repository freescale.com/imx/fsl-arm-yocto-bsp -b imx-4.1-krogoth.
After setting everything up I built the “fsl-image-qt5” and when I tried to boot it I got the following error:

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Nov 30 2018 - 20:56:51 +0100)

CPU:   Freescale i.MX6DL rev1.3 996 MHz (running at 792 MHz)
CPU:   Extended Commercial temperature grade (-20C to 105C) at 42C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB
Can't find PMIC:PFUZE100
initcall sequence 4ff968f0 failed at call 178040a4 (err=-19)
### ERROR ### Please RESET the board ###

After reading different forums I believe the reason is that they changed the PMIC address in the I2C in a newer version(This is just my guess). My idea of solving this was to try with an older version of u-boot, and this is where things got confusing.

My thought was that the files in meta-fsl-arm/recipes-kernel and recipes-bsp were used for that image.
But when I looked in the u-boot folder I saw that the u-boot provided by fsl contained u-boot-imx_2015.04.bb and that the U-boot used by my image was the U-boot located in poky/meta/recipes-bsp/u-boot/u-boot_2016.03.bb.

I think understanding this is the key to my problem, so my questions are:
1. Why is the U-boot provided by poky used in the fsl images?
2. Is It possible to completely change U-boot for a image? For example to downgrade 2016.03 to 2015.04 and how would one do that.
3. Any general information regarding the works if this would be greatly appreciated.

Best Regards,
Willie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20181212/ddb298f3/attachment.html>


More information about the meta-freescale mailing list