mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
6fd8e0f943
BMIPS is a generic arch that can be used for multiple Broadcom SoCs, each one with its own specific drivers, so instead of having a huge kernel supporting all of them, let's switch to a subtarget per SoC like other OpenWrt targets. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
83 lines
2.1 KiB
Makefile
83 lines
2.1 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
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) \
|
|
kmod-leds-bcm6328
|
|
CFE_WFI_FLASH_TYPE := 3
|
|
CFE_WFI_VERSION := 0x5732
|
|
endef
|
|
TARGET_DEVICES += comtrend_vr-3032u
|
|
|
|
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) \
|
|
kmod-leds-bcm6328
|
|
SERCOMM_FSVER := 1001
|
|
SERCOMM_HWVER := 1434b31
|
|
SERCOMM_SWVER := 3305
|
|
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) \
|
|
kmod-leds-bcm6328
|
|
SERCOMM_FSVER := 1001
|
|
SERCOMM_HWVER := 142584b
|
|
SERCOMM_SWVER := 3417
|
|
endef
|
|
TARGET_DEVICES += sercomm_h500-s-vfes
|
|
|
|
define Device/sercomm_shg2500
|
|
$(Device/sercomm-nand)
|
|
DEVICE_VENDOR := Sercomm
|
|
DEVICE_MODEL := SHG2500
|
|
DEVICE_LOADADDR := $(KERNEL_LOADADDR)
|
|
KERNEL := kernel-bin | append-dtb | lzma | cfe-jffs2-kernel
|
|
CHIP_ID := 63268
|
|
SOC := bcm63168
|
|
BLOCKSIZE := 128k
|
|
PAGESIZE := 2048
|
|
SUBPAGESIZE := 512
|
|
VID_HDR_OFFSET := 2048
|
|
DEVICE_PACKAGES += $(USB2_PACKAGES) kmod-i2c-gpio \
|
|
kmod-leds-sercomm-msp430
|
|
SERCOMM_FSVER := 1001
|
|
SERCOMM_HWVER := 1424e4a
|
|
SERCOMM_SWVER := 3207
|
|
endef
|
|
TARGET_DEVICES += sercomm_shg2500
|