2 # BCM63XX NAND Profiles
5 DEVICE_VARS
+= CFE_PART_FLAGS CFE_PART_ID
6 DEVICE_VARS
+= CFE_RAM_FILE
7 DEVICE_VARS
+= CFE_RAM_JFFS2_NAME CFE_RAM_JFFS2_PAD
8 DEVICE_VARS
+= CFE_WFI_CHIP_ID CFE_WFI_FLASH_TYPE
9 DEVICE_VARS
+= CFE_WFI_FLAGS CFE_WFI_VERSION
10 DEVICE_VARS
+= SERCOMM_PID SERCOMM_VERSION
12 # CFE expects a single JFFS2 partition with cferam and kernel. However,
13 # it's possible to fool CFE into properly loading both cferam and kernel
14 # from two different JFFS2 partitions by adding dummy files (see
15 # cfe-jffs2-cferam and cfe-jffs2-kernel).
16 # Separate JFFS2 partitions allow upgrading openwrt without reflashing cferam
17 # JFFS2 partition, which is much safer in case anything goes wrong.
18 define Device
/bcm63xx-nand
19 FILESYSTEMS
:= squashfs ubifs
20 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma | cfe-jffs2-kernel
21 KERNEL_INITRAMFS
:= kernel-bin | append-dtb | lzma | loader-lzma elf
22 IMAGES
:= cfe.bin sysupgrade.bin
23 IMAGE
/cfe.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | cfe-jffs2-cferam | append-ubi | cfe-wfi-tag
24 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
32 CFE_WFI_CHIP_ID
= 0x
$$(CHIP_ID
)
36 DEVICE_PACKAGES
+= nand-utils
39 define Device
/sercomm-nand
40 $(Device
/bcm63xx-nand
)
41 IMAGES
:= factory.img sysupgrade.bin
42 IMAGE
/factory.img
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | cfe-sercomm-part | gzip | cfe-sercomm-load | cfe-sercomm-crypto
48 define Device
/comtrend_vg-8050
49 $(Device
/bcm63xx-nand
)
50 DEVICE_VENDOR
:= Comtrend
51 DEVICE_MODEL
:= VG-8050
54 CFE_RAM_FILE
:= comtrend
,vg-8050
/cferam
.000
55 CFE_RAM_JFFS2_NAME
:= cferam
.000
59 VID_HDR_OFFSET
:= 2048
60 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
61 CFE_WFI_VERSION
:= 0x5732
62 CFE_WFI_FLASH_TYPE
:= 3
64 TARGET_DEVICES
+= comtrend_vg-8050
66 define Device
/comtrend_vr-3032u
67 $(Device
/bcm63xx-nand
)
68 DEVICE_VENDOR
:= Comtrend
69 DEVICE_MODEL
:= VR-3032u
72 CFE_RAM_FILE
:= comtrend
,vr-3032u
/cferam
.000
73 CFE_RAM_JFFS2_NAME
:= cferam
.000
77 VID_HDR_OFFSET
:= 2048
78 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
79 CFE_WFI_VERSION
:= 0x5732
80 CFE_WFI_FLASH_TYPE
:= 3
82 TARGET_DEVICES
+= comtrend_vr-3032u
85 define Device
/huawei_hg253s-v2
86 $(Device
/bcm63xx-nand
)
87 IMAGES
:= flash.bin sysupgrade.bin
88 IMAGE
/flash.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | cfe-jffs2-cferam | append-ubi
89 DEVICE_VENDOR
:= Huawei
90 DEVICE_MODEL
:= HG253s
94 CFE_PART_ID
:= 0x0001EFEE
95 CFE_RAM_FILE
:= huawei
,hg253s-v2
/cferam
.000
96 CFE_RAM_JFFS2_NAME
:= cferam
.000
100 VID_HDR_OFFSET
:= 2048
101 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
102 CFE_WFI_FLASH_TYPE
:= 3
104 TARGET_DEVICES
+= huawei_hg253s-v2
107 define Device
/netgear_dgnd3700-v2
108 $(Device
/bcm63xx-nand
)
109 DEVICE_VENDOR
:= NETGEAR
110 DEVICE_MODEL
:= DGND3700
113 CFE_RAM_FILE
:= netgear
,dgnd3700-v2
/cferam
114 CFE_RAM_JFFS2_NAME
:= cferam
115 CFE_RAM_JFFS2_PAD
:= 496k
118 DEVICE_PACKAGES
+= $(B43_PACKAGES
) $(USB2_PACKAGES
)
119 CFE_WFI_VERSION
:= 0x5731
120 CFE_WFI_FLASH_TYPE
:= 2
122 TARGET_DEVICES
+= netgear_dgnd3700-v2
125 define Device
/sercomm_ad1018
126 $(Device
/sercomm-nand
)
127 DEVICE_VENDOR
:= Sercomm
128 DEVICE_MODEL
:= AD1018
130 CFE_RAM_FILE
:= sercomm
,ad1018
/cferam
131 CFE_RAM_JFFS2_NAME
:= cferam
135 VID_HDR_OFFSET
:= 2048
136 DEVICE_PACKAGES
+= $(B43_PACKAGES
) $(USB2_PACKAGES
)
137 CFE_WFI_FLASH_TYPE
:= 3
138 CFE_WFI_VERSION
:= 0x5731
140 30 30 30 30 30 30 30 31 34 31 35 31 35 33 30 30 \
141 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
142 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
143 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
144 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
145 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
146 30 30 30 30 33 30 31 33 30 30 30 30 30 30 30 30 \
147 0D
0A
00 00 00 00 00 00 00 00 00 00 00 00 00 00
148 SERCOMM_VERSION
:= 1001
150 TARGET_DEVICES
+= sercomm_ad1018
152 define Device
/sercomm_h500-s-lowi
153 $(Device
/sercomm-nand
)
154 DEVICE_VENDOR
:= Sercomm
155 DEVICE_MODEL
:= H500-s
156 DEVICE_VARIANT
:= lowi
157 DEVICE_LOADADDR
:= $(KERNEL_LOADADDR
)
158 KERNEL
:= kernel-bin | append-dtb | lzma | cfe-jffs2-kernel
164 VID_HDR_OFFSET
:= 2048
165 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
167 30 30 30 30 30 30 30 31 34 33 34 62 33 31 30 30 \
168 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
169 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
170 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
171 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
172 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
173 30 30 30 30 33 33 30 35 30 30 30 30 30 30 30 30 \
174 0D
0A
00 00 00 00 00 00 00 00 00 00 00 00 00 00
175 SERCOMM_VERSION
:= 1001
177 TARGET_DEVICES
+= sercomm_h500-s-lowi
179 define Device
/sercomm_h500-s-vfes
180 $(Device
/sercomm-nand
)
181 DEVICE_VENDOR
:= Sercomm
182 DEVICE_MODEL
:= H500-s
183 DEVICE_VARIANT
:= vfes
184 DEVICE_LOADADDR
:= $(KERNEL_LOADADDR
)
185 KERNEL
:= kernel-bin | append-dtb | lzma | cfe-jffs2-kernel
191 VID_HDR_OFFSET
:= 2048
192 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
194 30 30 30 30 30 30 30 31 34 32 35 38 34 62 30 30 \
195 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
196 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
197 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
198 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
199 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
200 30 30 30 30 33 34 31 37 30 30 30 30 30 30 30 30 \
201 0D
0A
00 00 00 00 00 00 00 00 00 00 00 00 00 00
202 SERCOMM_VERSION
:= 1001
204 TARGET_DEVICES
+= sercomm_h500-s-vfes