aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/image
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-20 18:00:23 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-21 19:11:24 +0200
commit78a0ae90234fbd04f4616f223b30d05dc54e5065 (patch)
treeeb5c63e980ef66bcd165edeb1199767ba5c11241 /target/linux/bcm63xx/image
parent5998c8f059dbd64c5391e4caec2c07d434ffe146 (diff)
downloadupstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.tar.gz
upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.tar.bz2
upstream-78a0ae90234fbd04f4616f223b30d05dc54e5065.zip
bcm63xx: WIP: add Huawei HG253s v2 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/image')
-rw-r--r--target/linux/bcm63xx/image/bcm63xx_nand.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/image/bcm63xx_nand.mk b/target/linux/bcm63xx/image/bcm63xx_nand.mk
index c70fdf8b2f..5483c73077 100644
--- a/target/linux/bcm63xx/image/bcm63xx_nand.mk
+++ b/target/linux/bcm63xx/image/bcm63xx_nand.mk
@@ -71,6 +71,28 @@ define Device/comtrend_vg-8050
endef
TARGET_DEVICES += comtrend_vg-8050
+### Huawei ###
+define Device/huawei_hg253s-v2
+ $(Device/bcm63xx-nand)
+ IMAGES := flash.bin sysupgrade.bin
+ IMAGE/flash.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | cfe-jffs2-cferam | append-ubi
+ DEVICE_VENDOR := Huawei
+ DEVICE_MODEL := HG253s
+ DEVICE_VARIANT := v2
+ CHIP_ID := 6362
+ CFE_PART_FLAGS := 1
+ CFE_PART_ID := 0x0001EFEE
+ CFE_RAM_FILE := huawei,hg253s-v2/cferam.000
+ CFE_RAM_JFFS2_NAME := cferam.000
+ BLOCKSIZE := 128k
+ PAGESIZE := 2048
+ SUBPAGESIZE := 512
+ VID_HDR_OFFSET := 2048
+ DEVICE_PACKAGES += $(USB2_PACKAGES)
+ CFE_WFI_FLASH_TYPE := 3
+endef
+TARGET_DEVICES += huawei_hg253s-v2
+
### Netgear ###
define Device/netgear_dgnd3700-v2
$(Device/bcm63xx-nand)