Created
August 29, 2017 10:28
-
-
Save janhieber/f6ffb3c509b53fd703bab95d7ba4c365 to your computer and use it in GitHub Desktop.
U-Boot FIT image template for mkimage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dts-v1/; | |
/ { | |
description = "Simple image with single Linux kernel"; | |
images { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
kernel@0 { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
reg = <0>; | |
description = "Linux kernel"; | |
data = /incbin/("arch/arm/boot/zImage"); | |
type = "kernel"; | |
arch = "arm"; | |
os = "linux"; | |
compression = "none"; | |
load = <0x82000000>; | |
entry = <0x82000000>; | |
hash@0 { | |
reg = <0>; | |
algo = "crc32"; | |
}; | |
hash@1 { | |
reg = <1>; | |
algo = "sha1"; | |
}; | |
}; | |
fdt@0 { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
reg = <0>; | |
description = "Device Tree blob"; | |
data = /incbin/("arch/arm/boot/dts/am335x-boneblack.dtb"); | |
type = "flat_dt"; | |
arch = "arm"; | |
compression = "none"; | |
hash@0 { | |
reg = <0>; | |
algo = "crc32"; | |
}; | |
hash@1 { | |
reg = <1>; | |
algo = "sha1"; | |
}; | |
}; | |
}; | |
configurations { | |
#address-cells = <1>; | |
#size-cells = <0>; | |
default = "config@0"; | |
config@0 { | |
reg = <0>; | |
description = "Boot Linux kernel"; | |
kernel = "kernel@0"; | |
fdt = "fdt@0"; | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment