[OE-core] is there OE support for building multi-image/component FIT image files?
Robert P. J. Day
rpjday at crashcourse.ca
Wed Mar 29 10:52:08 UTC 2017
On Tue, 28 Mar 2017, Rick Altherr wrote:
> kernel-fitimage.bbclass loops through all the DTBs listed in
> KERNEL_DEVICETREE and adds a FIT section for each one. It looks
> like only the first one is put into a config section though.
that's not what i'm seeing based on a test with YP-provided
beaglebone reference board. that machine config file includes the
line for two dtb files:
KERNEL_DEVICETREE="am335x-bone.dtb am335x-boneblack.dtb"
and the resulting .its file generated contains two configurations --
using the same kernel, and for each dtb file. i just need to read the
code more carefully to verify that it appears to loop through all the
dtb files.
images {
kernel at 1 {
description = "Linux kernel";
data = /incbin/("linux.bin");
type = "kernel";
arch = "arm";
os = "linux";
compression = "none";
load = <0x80008000>;
entry = <0x80008000>;
hash at 1 {
algo = "sha1";
};
};
fdt at am335x-bone.dtb {
description = "Flattened Device Tree blob";
data = /incbin/("arch/arm/boot/dts/am335x-bone.dtb");
type = "flat_dt";
arch = "arm";
compression = "none";
hash at 1 {
algo = "sha1";
};
};
fdt at am335x-boneblack.dtb {
description = "Flattened Device Tree blob";
data = /incbin/("arch/arm/boot/dts/am335x-boneblack.dtb");
type = "flat_dt";
arch = "arm";
compression = "none";
hash at 1 {
algo = "sha1";
};
};
};
configurations {
default = "conf at am335x-bone.dtb";
conf at am335x-bone.dtb {
description = "1 Linux kernel, FDT blob";
kernel = "kernel at 1";
fdt = "fdt at am335x-bone.dtb";
hash at 1 {
algo = "sha1";
};
};
conf at am335x-boneblack.dtb {
description = "0 Linux kernel, FDT blob";
kernel = "kernel at 1";
fdt = "fdt at am335x-boneblack.dtb";
hash at 1 {
algo = "sha1";
};
};
};
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list