Skip to content

Commit

Permalink
bcm4908: include U-Boot in images
Browse files Browse the repository at this point in the history
This is a step forward in adding support for devices with U-Boot.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  • Loading branch information
Rafał Miłecki committed Mar 11, 2022
1 parent 0d45e1e commit 34fd5e3
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions target/linux/bcm4908/image/bootfs-generic.its
Expand Up @@ -22,6 +22,20 @@
};
};

uboot {
description = "U-Boot";
data = /incbin/("${images_dir}/u-boot/u-boot-nodtb.bin");
os = "U-Boot";
arch = "arm64";
compression = "none";
load = <0x1000000>;
entry = <0x1000000>;

hash-1 {
algo = "sha256";
};
};

kernel {
description = "Linux kernel";
data = /incbin/("${kernel}");
Expand All @@ -37,20 +51,35 @@
};
};

fdt_linux_RAX220 {
fdt_uboot {
description = "dtb";
data = /incbin/("${dts_dir}/broadcom/bcm4908/bcm4908-netgear-raxe500.dtb");
arch = "arm64";
data = /incbin/("${images_dir}/u-boot/u-boot.dtb");
type = "flat_dt";
compression = "none";

hash-1 {
algo = "sha256";
};
};

fdt_linux_RAX220 {
description = "dtb";
data = /incbin/("${dts_dir}/broadcom/bcm4908/bcm4908-netgear-raxe500.dtb");
arch = "arm64";
type = "flat_dt";
compression = "none";
};
};

configurations {
default = "conf_uboot";

conf_uboot {
description = "BRCM 63xxx with uboot";
fdt = "fdt_uboot";
loadables = "atf", "uboot";
};

conf_lx_RAX220 {
description = "BRCM 63xxx linux";
kernel = "kernel";
Expand Down

0 comments on commit 34fd5e3

Please sign in to comment.