iMX Yocto : U-boot generated config and extlinux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX Yocto : U-boot generated config and extlinux

1,550 次查看
dry
Senior Contributor I

I pulled latest iMX Yocto & built image  (core-image-full-cmdline).

Now, having used U-boot & Linux sufficiently previously on different boards, SoCs, I found some things changed, one such thing is it seems now (at least for iMX Yocto) U-boot is made to look for extlinux.

My question is : why do I need yet another stage of boot loader , while I could load/boot Linux just fine previously without any sys or ext linux?

Second question is : how would I disable this in my Yocto configuration, to possibly, avoid entirely this stage / do not use extlinux?

And finally, the default generated image from default Yocto config (community bsp , https://github.com/Freescale/fsl-community-bsp-platform)   doesn't automatically generate a bootable/working image for me, the trace I get  (sorry typing out partially as I don't have copyable outout):

Found /boot/extlinux/extlinux.conf...
Retreiving file: /boot/extlinux/../zImage
(Reads ok)
append: root=PARTUUID= rootwait rw console=ttymxc0,115200,...
Retrieving file: /boot/extlinux/../imx6-hummingboard2-emmc ..  
Skipping Poky (Yocto Project Ref Distro) for failure
SRIPT FAILED: continuing...

And then it goes to other devs which I dont' need/ have anything on.

So, doenst work out-of-the-box.  What's missing? Is append part any suspicious, missing actual PARTUUID..? What's needed to make it work(boot) straight as out of Yocto build.

 

0 项奖励
3 回复数

1,542 次查看
dry
Senior Contributor I

The boot issue I manually (on target) fixed by 1) linking to one of available devtrees with name U-boot is looking for and; 2) adjusting find uuid command in U-boot to look at mmc 1 rather.

 

0 项奖励

1,536 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Good!!

 

0 项奖励

1,533 次查看
dry
Senior Contributor I

Thank you,

Now , just to remove properly extlinux through Yocto image ....

0 项奖励