mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
0070650df4
This moves some of the Engenius boards from generic to tiny: - EAP350 v1 - ECB350 v1 - ENH202 v1 For these, factory.bin builds are already failing on master branch because of the unique situation for these boards: - 8 MB flash - an extra "failsafe" image for recovery - TFTP does not work (barely possible with 600 MTU) - bootloader loads image from a longer flash offset - 1 eraseblock each needed for OKLI kernel loader and fake rootfs - using mtd-concat to make use of remaining space... The manual alternative would be removing the failsafe partition. However this comes with the risk of extremely difficult recovery if a flash ever fails because TFTP on the bootloader is bugged. Signed-off-by: Michael Pratt <mcpratt@pm.me> [improve commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
77 lines
1.9 KiB
Makefile
77 lines
1.9 KiB
Makefile
include ./common-buffalo.mk
|
|
include ./common-engenius.mk
|
|
|
|
define Device/buffalo_whr-g301n
|
|
$(Device/buffalo_common)
|
|
SOC := ar7240
|
|
DEVICE_MODEL := WHR-G301N
|
|
BUFFALO_PRODUCT := WHR-G301N
|
|
IMAGE_SIZE := 3712k
|
|
SUPPORTED_DEVICES += whr-g301n
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += buffalo_whr-g301n
|
|
|
|
define Device/dlink_dir-615-e4
|
|
SOC := ar7240
|
|
DEVICE_VENDOR := D-Link
|
|
DEVICE_MODEL := DIR-615
|
|
DEVICE_VARIANT := E4
|
|
IMAGE_SIZE := 3776k
|
|
FACTORY_IMAGE_SIZE := 3456k
|
|
IMAGES += factory.bin
|
|
IMAGE/default := append-kernel | append-rootfs | pad-rootfs
|
|
IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | \
|
|
check-size
|
|
IMAGE/factory.bin := $$(IMAGE/default) | \
|
|
check-size $$$$(FACTORY_IMAGE_SIZE) | pad-to $$$$(FACTORY_IMAGE_SIZE) | \
|
|
append-string "AP99-AR7240-RT-091105-05"
|
|
SUPPORTED_DEVICES += dir-615-e4
|
|
DEFAULT := n
|
|
endef
|
|
TARGET_DEVICES += dlink_dir-615-e4
|
|
|
|
define Device/engenius_eap350-v1
|
|
$(Device/engenius_loader_okli)
|
|
SOC := ar7242
|
|
DEVICE_MODEL := EAP350
|
|
DEVICE_VARIANT := v1
|
|
IMAGE_SIZE := 4864k
|
|
LOADER_FLASH_OFFS := 0x1b0000
|
|
ENGENIUS_IMGNAME := senao-eap350
|
|
endef
|
|
TARGET_DEVICES += engenius_eap350-v1
|
|
|
|
define Device/engenius_ecb350-v1
|
|
$(Device/engenius_loader_okli)
|
|
SOC := ar7242
|
|
DEVICE_MODEL := ECB350
|
|
DEVICE_VARIANT := v1
|
|
IMAGE_SIZE := 4864k
|
|
LOADER_FLASH_OFFS := 0x1b0000
|
|
ENGENIUS_IMGNAME := senao-ecb350
|
|
endef
|
|
TARGET_DEVICES += engenius_ecb350-v1
|
|
|
|
define Device/engenius_enh202-v1
|
|
$(Device/engenius_loader_okli)
|
|
SOC := ar7240
|
|
DEVICE_MODEL := ENH202
|
|
DEVICE_VARIANT := v1
|
|
DEVICE_PACKAGES := rssileds
|
|
IMAGE_SIZE := 4864k
|
|
LOADER_FLASH_OFFS := 0x1b0000
|
|
ENGENIUS_IMGNAME := senao-enh202
|
|
endef
|
|
TARGET_DEVICES += engenius_enh202-v1
|
|
|
|
define Device/pqi_air-pen
|
|
SOC := ar9330
|
|
DEVICE_VENDOR := PQI
|
|
DEVICE_MODEL := Air-Pen
|
|
DEVICE_PACKAGES := kmod-usb2
|
|
IMAGE_SIZE := 7680k
|
|
SUPPORTED_DEVICES += pqi-air-pen
|
|
endef
|
|
TARGET_DEVICES += pqi_air-pen
|