ath79: add initial nand support for gl-ar300m
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
This commit is contained in:
committed by
John Crispin
parent
fe3b62bbdc
commit
0e81968ee8
@@ -71,6 +71,9 @@ include ./generic.mk
|
||||
include ./generic-tp-link.mk
|
||||
include ./generic-ubnt.mk
|
||||
endif
|
||||
ifeq ($(SUBTARGET),nand)
|
||||
include ./nand.mk
|
||||
endif
|
||||
ifeq ($(SUBTARGET),tiny)
|
||||
include ./tiny-tp-link.mk
|
||||
endif
|
||||
|
||||
13
target/linux/ath79/image/nand.mk
Normal file
13
target/linux/ath79/image/nand.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
define Device/glinet_ar300m_nand
|
||||
ATH_SOC := qca9533
|
||||
DEVICE_TITLE := GL-AR300M (NAND)
|
||||
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport
|
||||
KERNEL_SIZE := 2048k
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
VID_HDR_OFFSET := 512
|
||||
IMAGES := factory.ubi sysupgrade.tar
|
||||
IMAGE/sysupgrade.tar := sysupgrade-tar
|
||||
IMAGE/factory.ubi := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
|
||||
endef
|
||||
TARGET_DEVICES += glinet_ar300m_nand
|
||||
Reference in New Issue
Block a user