mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
ff2c96333f
Sercomm H500-s is an xDSL dual band wireless router based on Broadcom BCM63167 SoC. Hardware: SoC: Broadcom BCM63167 CPU: BMIPS4350 V8.0, 400 MHz, 2 cores Flash: NAND 128 MiB RAM: DDR3 128 MiB Ethernet: 4x 10/100/1000 Mbps Switch: BCM53134S Wireless: 802.11b/g/n: BCM435f (integrated) 802.11ac: Quantenna QT3740BC (onboard SoC) USB: 1x 2.0 LEDs/Buttons: 11x / 2x Flash instruction, web UI: 1. Reset to defaults using the reset button if the admin password is unknown 2. Login into the web UI as admin. Address: http://192.168.0.1 User: admin Password: VF-ESVodafone-H-500-s or l033i-h500s 3. Go to Settings -> Firmware Update, and select the Openwrt factory firmware 4. Update the firmware. 5. Wait until it finish, the device will reboot with Openwrt installed on the alternative image partitions keeping the stock firmware in the former. Notes: - The patch also adds support for the lowi version. Only the factory firmware is different. - The integrated Wifi in the Broadcom Soc isn't still supported. - The Quantenna 802.11ac wifi works ok, but needs to be configured with the Quantenna client application. It can't be configured with Luci nor any iw command since it's a separated subsystem linked via ethernet. - The BCM53134S external switch is managed via MDIO which isn't supported in this target. Therefore it will behave as a dumb switch. Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
206 lines
6.3 KiB
Makefile
206 lines
6.3 KiB
Makefile
#
|
||
# BCM63XX NAND Profiles
|
||
#
|
||
|
||
DEVICE_VARS += CFE_PART_FLAGS CFE_PART_ID
|
||
DEVICE_VARS += CFE_RAM_FILE
|
||
DEVICE_VARS += CFE_RAM_JFFS2_NAME CFE_RAM_JFFS2_PAD
|
||
DEVICE_VARS += CFE_WFI_CHIP_ID CFE_WFI_FLASH_TYPE
|
||
DEVICE_VARS += CFE_WFI_FLAGS CFE_WFI_VERSION
|
||
DEVICE_VARS += SERCOMM_PID SERCOMM_VERSION
|
||
|
||
# CFE expects a single JFFS2 partition with cferam and kernel. However,
|
||
# it's possible to fool CFE into properly loading both cferam and kernel
|
||
# from two different JFFS2 partitions by adding dummy files (see
|
||
# cfe-jffs2-cferam and cfe-jffs2-kernel).
|
||
# Separate JFFS2 partitions allow upgrading openwrt without reflashing cferam
|
||
# JFFS2 partition, which is much safer in case anything goes wrong.
|
||
define Device/bcm63xx-nand
|
||
FILESYSTEMS := squashfs ubifs
|
||
KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | cfe-jffs2-kernel
|
||
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
|
||
IMAGES := cfe.bin sysupgrade.bin
|
||
IMAGE/cfe.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | cfe-jffs2-cferam | append-ubi | cfe-wfi-tag
|
||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||
KERNEL_SIZE := 5120k
|
||
CFE_PART_FLAGS :=
|
||
CFE_PART_ID :=
|
||
CFE_RAM_FILE :=
|
||
CFE_RAM_JFFS2_NAME :=
|
||
CFE_RAM_JFFS2_PAD :=
|
||
CFE_WFI_VERSION :=
|
||
CFE_WFI_CHIP_ID = 0x$$(CHIP_ID)
|
||
CFE_WFI_FLASH_TYPE :=
|
||
CFE_WFI_FLAGS :=
|
||
UBINIZE_OPTS := -E 5
|
||
DEVICE_PACKAGES += nand-utils
|
||
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
|
||
endef
|
||
|
||
define Device/sercomm-nand
|
||
$(Device/bcm63xx-nand)
|
||
IMAGES := factory.img sysupgrade.bin
|
||
IMAGE/factory.img := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | cfe-sercomm-part | gzip | cfe-sercomm-load | cfe-sercomm-crypto
|
||
SERCOM_PID :=
|
||
SERCOMM_VERSION :=
|
||
endef
|
||
|
||
### Comtrend ###
|
||
define Device/comtrend_vg-8050
|
||
$(Device/bcm63xx-nand)
|
||
DEVICE_VENDOR := Comtrend
|
||
DEVICE_MODEL := VG-8050
|
||
CHIP_ID := 63268
|
||
SOC := bcm63169
|
||
CFE_RAM_FILE := comtrend,vg-8050/cferam.000
|
||
CFE_RAM_JFFS2_NAME := cferam.000
|
||
BLOCKSIZE := 128k
|
||
PAGESIZE := 2048
|
||
SUBPAGESIZE := 512
|
||
VID_HDR_OFFSET := 2048
|
||
DEVICE_PACKAGES += $(USB2_PACKAGES)
|
||
CFE_WFI_VERSION := 0x5732
|
||
CFE_WFI_FLASH_TYPE := 3
|
||
endef
|
||
TARGET_DEVICES += comtrend_vg-8050
|
||
|
||
define Device/comtrend_vr-3032u
|
||
$(Device/bcm63xx-nand)
|
||
DEVICE_VENDOR := Comtrend
|
||
DEVICE_MODEL := VR-3032u
|
||
CHIP_ID := 63268
|
||
SOC := bcm63168
|
||
CFE_RAM_FILE := comtrend,vr-3032u/cferam.000
|
||
CFE_RAM_JFFS2_NAME := cferam.000
|
||
BLOCKSIZE := 128k
|
||
PAGESIZE := 2048
|
||
SUBPAGESIZE := 512
|
||
VID_HDR_OFFSET := 2048
|
||
DEVICE_PACKAGES += $(USB2_PACKAGES)
|
||
CFE_WFI_VERSION := 0x5732
|
||
CFE_WFI_FLASH_TYPE := 3
|
||
endef
|
||
TARGET_DEVICES += comtrend_vr-3032u
|
||
|
||
### 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)
|
||
DEVICE_VENDOR := NETGEAR
|
||
DEVICE_MODEL := DGND3700
|
||
DEVICE_VARIANT := v2
|
||
CHIP_ID := 6362
|
||
CFE_RAM_FILE := netgear,dgnd3700-v2/cferam
|
||
CFE_RAM_JFFS2_NAME := cferam
|
||
CFE_RAM_JFFS2_PAD := 496k
|
||
BLOCKSIZE := 16k
|
||
PAGESIZE := 512
|
||
DEVICE_PACKAGES += $(B43_PACKAGES) $(USB2_PACKAGES)
|
||
CFE_WFI_VERSION := 0x5731
|
||
CFE_WFI_FLASH_TYPE := 2
|
||
endef
|
||
TARGET_DEVICES += netgear_dgnd3700-v2
|
||
|
||
### Sercomm ###
|
||
define Device/sercomm_ad1018
|
||
$(Device/sercomm-nand)
|
||
DEVICE_VENDOR := Sercomm
|
||
DEVICE_MODEL := AD1018
|
||
CHIP_ID := 6328
|
||
CFE_RAM_FILE := sercomm,ad1018/cferam
|
||
CFE_RAM_JFFS2_NAME := cferam
|
||
BLOCKSIZE := 128k
|
||
PAGESIZE := 2048
|
||
SUBPAGESIZE := 512
|
||
VID_HDR_OFFSET := 2048
|
||
DEVICE_PACKAGES += $(B43_PACKAGES) $(USB2_PACKAGES)
|
||
CFE_WFI_FLASH_TYPE := 3
|
||
CFE_WFI_VERSION := 0x5731
|
||
SERCOMM_PID := \
|
||
30 30 30 30 30 30 30 31 34 31 35 31 35 33 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 33 30 31 33 30 30 30 30 30 30 30 30 \
|
||
0D 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||
SERCOMM_VERSION := 1001
|
||
endef
|
||
TARGET_DEVICES += sercomm_ad1018
|
||
|
||
define Device/sercomm_h500-s-lowi
|
||
$(Device/sercomm-nand)
|
||
DEVICE_VENDOR := Sercomm
|
||
DEVICE_MODEL := H500-s
|
||
DEVICE_VARIANT := lowi
|
||
DEVICE_LOADADDR := $(KERNEL_LOADADDR)
|
||
KERNEL := kernel-bin | append-dtb | lzma | cfe-jffs2-kernel
|
||
CHIP_ID := 63268
|
||
SOC := bcm63167
|
||
BLOCKSIZE := 128k
|
||
PAGESIZE := 2048
|
||
SUBPAGESIZE := 512
|
||
VID_HDR_OFFSET := 2048
|
||
DEVICE_PACKAGES += $(USB2_PACKAGES)
|
||
SERCOMM_PID := \
|
||
30 30 30 30 30 30 30 31 34 33 34 62 33 31 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 33 33 30 35 30 30 30 30 30 30 30 30 \
|
||
0D 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||
SERCOMM_VERSION := 1001
|
||
endef
|
||
TARGET_DEVICES += sercomm_h500-s-lowi
|
||
|
||
define Device/sercomm_h500-s-vfes
|
||
$(Device/sercomm-nand)
|
||
DEVICE_VENDOR := Sercomm
|
||
DEVICE_MODEL := H500-s
|
||
DEVICE_VARIANT := vfes
|
||
DEVICE_LOADADDR := $(KERNEL_LOADADDR)
|
||
KERNEL := kernel-bin | append-dtb | lzma | cfe-jffs2-kernel
|
||
CHIP_ID := 63268
|
||
SOC := bcm63167
|
||
BLOCKSIZE := 128k
|
||
PAGESIZE := 2048
|
||
SUBPAGESIZE := 512
|
||
VID_HDR_OFFSET := 2048
|
||
DEVICE_PACKAGES += $(USB2_PACKAGES)
|
||
SERCOMM_PID := \
|
||
30 30 30 30 30 30 30 31 34 32 35 38 34 62 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 \
|
||
30 30 30 30 33 34 31 37 30 30 30 30 30 30 30 30 \
|
||
0D 0A 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||
SERCOMM_VERSION := 1001
|
||
endef
|
||
TARGET_DEVICES += sercomm_h500-s-vfes
|