1409d4b0c4
The kernel is from upstream and U-Boot is from the OpenBMC branch because mainline doesn't have the required support for HW, yet. The main resulting file from the build is a flash image. The partition layout matches the OpenBMC one for 64M chips. It makes it easier to update the different partitions from Linux. Intermediate files can be used to boot from U-boot over the network or to boot QEMU using -kernel/-initrd/-dtb. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
57 lines
981 B
Plaintext
57 lines
981 B
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Kernel and buildroot image";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
kernel-1 {
|
|
description = "Linux kernel";
|
|
data = /incbin/("zImage");
|
|
type = "kernel";
|
|
arch = "arm";
|
|
os = "linux";
|
|
compression = "none";
|
|
load = <0x80001000>;
|
|
entry = <0x80001000>;
|
|
hash-1 {
|
|
algo = "sha256";
|
|
};
|
|
};
|
|
fdt-1 {
|
|
description = "Flattened Device Tree blob";
|
|
data = /incbin/("%BOARD_DTB%");
|
|
type = "flat_dt";
|
|
arch = "arm";
|
|
compression = "none";
|
|
hash-1 {
|
|
algo = "sha256";
|
|
};
|
|
};
|
|
ramdisk-1 {
|
|
description = "ramdisk";
|
|
data = /incbin/("rootfs.cpio.xz");
|
|
type = "ramdisk";
|
|
arch = "arm";
|
|
os = "linux";
|
|
compression = "none";
|
|
hash-1 {
|
|
algo = "sha256";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf-1";
|
|
conf-1 {
|
|
description = "Boot Linux kernel with FDT blob, ramdisk";
|
|
kernel = "kernel-1";
|
|
fdt = "fdt-1";
|
|
ramdisk = "ramdisk-1";
|
|
hash-1 {
|
|
algo = "sha256";
|
|
};
|
|
};
|
|
};
|
|
};
|