bcm4908: include U-Boot in images
authorRafał Miłecki <rafal@milecki.pl>
Fri, 4 Mar 2022 08:39:05 +0000 (09:39 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Fri, 11 Mar 2022 07:02:30 +0000 (08:02 +0100)
This is a step forward in adding support for devices with U-Boot.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/bcm4908/image/bootfs-generic.its

index 3cde532d7265d029ce6e54f63fef10636858fd96..bd566d5d22abb022a6b1096d4f77b60401342c14 100644 (file)
                        };
                };
 
+               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}");
                        };
                };
 
-               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";
 
                                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";