aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm4908/image
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-11-19 14:32:59 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-11-19 14:45:47 +0100
commit63ba3eaccddeb8058b0fabd69197e650735573bc (patch)
tree931573cb8f9e01bb265b4ff34db8bf293ecca9e7 /target/linux/bcm4908/image
parent21d28adbc1cc98c55858a73d62b9bf89c3874b08 (diff)
downloadupstream-63ba3eaccddeb8058b0fabd69197e650735573bc.tar.gz
upstream-63ba3eaccddeb8058b0fabd69197e650735573bc.tar.bz2
upstream-63ba3eaccddeb8058b0fabd69197e650735573bc.zip
bcm4908: start working on Netgear RAXE500 image
bootfs still needs more work before it's ready. For some unknown reason model RAXE500 uses board id RAX220. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm4908/image')
-rw-r--r--target/linux/bcm4908/image/Makefile16
-rw-r--r--target/linux/bcm4908/image/bootfs-generic.its20
2 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/bcm4908/image/Makefile b/target/linux/bcm4908/image/Makefile
index 8829e64ca1..9ec42d062d 100644
--- a/target/linux/bcm4908/image/Makefile
+++ b/target/linux/bcm4908/image/Makefile
@@ -107,4 +107,20 @@ define Device/tplink_archer-c2300-v1
endef
TARGET_DEVICES += tplink_archer-c2300-v1
+define Device/netgear
+ DEVICE_VENDOR := NETGEAR
+ KERNEL := kernel-bin | bootfs
+ IMAGES := chk
+ IMAGE/chk := append-rootfs | pkgtb
+ NETGEAR_REGION := 1
+endef
+
+define Device/netgear_raxe500
+ DEVICE_MODEL := RAXE500
+ $(Device/netgear)
+ PKGTB_ITS := pkgtb-bcm4908.its
+ NETGEAR_BOARD_ID := U12H449T00_NETGEAR
+endef
+# TARGET_DEVICES += netgear_raxe500
+
$(eval $(call BuildImage))
diff --git a/target/linux/bcm4908/image/bootfs-generic.its b/target/linux/bcm4908/image/bootfs-generic.its
index d2f19ed752..6d8b3394ae 100644
--- a/target/linux/bcm4908/image/bootfs-generic.its
+++ b/target/linux/bcm4908/image/bootfs-generic.its
@@ -21,5 +21,25 @@
algo = "sha256";
};
};
+
+ fdt_linux_RAX220 {
+ description = "dtb";
+ data = /incbin/("${dts_dir}/broadcom/bcm4908/bcm4908-netgear-raxe500.dtb");
+ arch = "arm64";
+ type = "flat_dt";
+ compression = "none";
+
+ hash-1 {
+ algo = "sha256";
+ };
+ };
+ };
+
+ configurations {
+ conf_lx_RAX220 {
+ description = "BRCM 63xxx linux";
+ kernel = "kernel";
+ fdt = "fdt_linux_RAX220";
+ };
};
};