2 # BCM63XX NAND Profiles
5 DEVICE_VARS
+= CFE_RAM_FILE
6 DEVICE_VARS
+= CFE_RAM_JFFS2_NAME CFE_RAM_JFFS2_PAD
7 DEVICE_VARS
+= CFE_WFI_CHIP_ID CFE_WFI_FLASH_TYPE
8 DEVICE_VARS
+= CFE_WFI_FLAGS CFE_WFI_VERSION
10 # CFE expects a single JFFS2 partition with cferam and kernel. However,
11 # it's possible to fool CFE into properly loading both cferam and kernel
12 # from two different JFFS2 partitions by adding dummy files (see
13 # cfe-jffs2-cferam and cfe-jffs2-kernel).
14 # Separate JFFS2 partitions allow upgrading openwrt without reflashing cferam
15 # JFFS2 partition, which is much safer in case anything goes wrong.
16 define Device
/bcm63xx-nand
17 FILESYSTEMS
:= squashfs ubifs
18 KERNEL
:= kernel-bin | append-dtb | relocate-kernel | lzma | cfe-jffs2-kernel
19 KERNEL_INITRAMFS
:= kernel-bin | append-dtb | lzma | loader-lzma elf
20 IMAGES
:= cfe.bin sysupgrade.bin
21 IMAGE
/cfe.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | cfe-jffs2-cferam | append-ubi | cfe-wfi-tag
22 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
27 CFE_WFI_VERSION
:= 0x5731
28 CFE_WFI_CHIP_ID
= 0x
$$(CHIP_ID
)
32 DEVICE_PACKAGES
+= nand-utils
33 SUPPORTED_DEVICES
:= $(subst _
,$(comma
),$(1))
37 define Device
/comtrend_vr-3032u
38 $(Device
/bcm63xx-nand
)
39 DEVICE_VENDOR
:= Comtrend
40 DEVICE_MODEL
:= VR-3032u
43 CFE_RAM_FILE
:= comtrend
,vr-3032u
/cferam
.000
44 CFE_RAM_JFFS2_NAME
:= cferam
.000
48 VID_HDR_OFFSET
:= 2048
49 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
50 CFE_WFI_FLASH_TYPE
:= 3
52 TARGET_DEVICES
+= comtrend_vr-3032u
54 define Device
/comtrend_vg-8050
55 $(Device
/bcm63xx-nand
)
56 DEVICE_VENDOR
:= Comtrend
57 DEVICE_MODEL
:= VG-8050
60 CFE_RAM_FILE
:= comtrend
,vg-8050
/cferam
.000
61 CFE_RAM_JFFS2_NAME
:= cferam
.000
65 VID_HDR_OFFSET
:= 2048
66 DEVICE_PACKAGES
+= $(USB2_PACKAGES
)
67 CFE_WFI_FLASH_TYPE
:= 3
69 TARGET_DEVICES
+= comtrend_vg-8050
72 define Device
/netgear_dgnd3700-v2
73 $(Device
/bcm63xx-nand
)
74 DEVICE_VENDOR
:= NETGEAR
75 DEVICE_MODEL
:= DGND3700
78 CFE_RAM_FILE
:= netgear
,dgnd3700-v2
/cferam
79 CFE_RAM_JFFS2_NAME
:= cferam
80 CFE_RAM_JFFS2_PAD
:= 496k
83 DEVICE_PACKAGES
+= $(B43_PACKAGES
) $(USB2_PACKAGES
)
84 CFE_WFI_FLASH_TYPE
:= 2
86 TARGET_DEVICES
+= netgear_dgnd3700-v2
89 define Device
/sercomm_ad1018
90 $(Device
/bcm63xx-nand
)
91 IMAGE
/cfe.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | ad1018-jffs2-cferam | append-ubi | cfe-wfi-tag
92 DEVICE_VENDOR
:= Sercomm
93 DEVICE_MODEL
:= AD1018
95 CFE_RAM_FILE
:= sercomm
,ad1018
/cferam
96 CFE_RAM_JFFS2_NAME
:= cferam
100 VID_HDR_OFFSET
:= 2048
101 DEVICE_PACKAGES
+= $(B43_PACKAGES
) $(USB2_PACKAGES
)
102 CFE_WFI_FLASH_TYPE
:= 3
104 TARGET_DEVICES
+= sercomm_ad1018