2008-03-12 11:13:13 +00:00
|
|
|
/*
|
2016-02-06 03:30:11 +00:00
|
|
|
* Simple U-Boot uImage source file containing a single kernel
|
2008-03-12 11:13:13 +00:00
|
|
|
*/
|
2009-11-04 21:37:59 +00:00
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2008-03-12 11:13:13 +00:00
|
|
|
/ {
|
|
|
|
description = "Simple image with single Linux kernel";
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
|
|
|
images {
|
2017-12-04 02:05:08 +00:00
|
|
|
kernel {
|
2008-03-12 11:13:13 +00:00
|
|
|
description = "Vanilla Linux kernel";
|
|
|
|
data = /incbin/("./vmlinux.bin.gz");
|
|
|
|
type = "kernel";
|
|
|
|
arch = "ppc";
|
|
|
|
os = "linux";
|
|
|
|
compression = "gzip";
|
|
|
|
load = <00000000>;
|
|
|
|
entry = <00000000>;
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-1 {
|
2008-03-12 11:13:13 +00:00
|
|
|
algo = "crc32";
|
|
|
|
};
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-2 {
|
2008-03-12 11:13:13 +00:00
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
2017-12-04 02:05:08 +00:00
|
|
|
default = "config-1";
|
|
|
|
config-1 {
|
2008-03-12 11:13:13 +00:00
|
|
|
description = "Boot Linux kernel";
|
2017-12-04 02:05:08 +00:00
|
|
|
kernel = "kernel";
|
2008-03-12 11:13:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-10-20 03:11:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For x86 a setup node is also required: see x86-fit-boot.txt.
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/ {
|
|
|
|
description = "Simple image with single Linux kernel on x86";
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
|
|
|
images {
|
2017-12-04 02:05:08 +00:00
|
|
|
kernel {
|
2014-10-20 03:11:24 +00:00
|
|
|
description = "Vanilla Linux kernel";
|
|
|
|
data = /incbin/("./image.bin.lzo");
|
|
|
|
type = "kernel";
|
|
|
|
arch = "x86";
|
|
|
|
os = "linux";
|
|
|
|
compression = "lzo";
|
|
|
|
load = <0x01000000>;
|
|
|
|
entry = <0x00000000>;
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-2 {
|
2014-10-20 03:11:24 +00:00
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-12-04 02:05:08 +00:00
|
|
|
setup {
|
2014-10-20 03:11:24 +00:00
|
|
|
description = "Linux setup.bin";
|
|
|
|
data = /incbin/("./setup.bin");
|
|
|
|
type = "x86_setup";
|
|
|
|
arch = "x86";
|
|
|
|
os = "linux";
|
|
|
|
compression = "none";
|
|
|
|
load = <0x00090000>;
|
|
|
|
entry = <0x00090000>;
|
2017-12-04 02:05:08 +00:00
|
|
|
hash-2 {
|
2014-10-20 03:11:24 +00:00
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
2017-12-04 02:05:08 +00:00
|
|
|
default = "config-1";
|
|
|
|
config-1 {
|
2014-10-20 03:11:24 +00:00
|
|
|
description = "Boot Linux kernel";
|
2017-12-04 02:05:08 +00:00
|
|
|
kernel = "kernel";
|
|
|
|
setup = "setup";
|
2014-10-20 03:11:24 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-07-17 07:22:41 +00:00
|
|
|
|
|
|
|
Note: the above assumes a 32-bit kernel. To directly boot a 64-bit kernel,
|
|
|
|
change both arch values to "x86_64". U-Boot will then change to 64-bit mode
|
|
|
|
before booting the kernel (see boot_linux_kernel()).
|