[poky] [PATCH 4/6] wic: bootimg-partition: Add support to create the u-boot boot config file
Tom Rini
trini at konsulko.com
Thu Aug 16 07:09:02 PDT 2018
On Tue, Aug 14, 2018 at 09:31:24AM +0800, Kevin Hao wrote:
> By leveraging the distro boot command feature in the u-boot, we can
> compose the corresponding extlinux.conf when creating the wic image,
> and let u-boot boot the kernel automatically. For more detail about
> the u-boot distro boot command feature, please see doc/README.distro
> in u-boot source files.
>
> Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
It doesn't look like this has the ability to provide an external
extlinux.conf file like is done for other loaders, but should.
[snip]
> + # The kernel types supported by the sysboot of u-boot
> + kernel_types = ["uImage", "zImage", "Image", "vmlinux", "fitImage"]
This order isn't the best order. We should look for zImage (stock arm32
image), Image (stock arm64 image), fitImage (preferred container in
U-Boot) then uImage (legacy container in U-Boot). While I'm sure just
vmlinux can work in some cases, I don't think it's appropriate here.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180816/b79698d6/attachment.pgp>
More information about the poky
mailing list