lantiq: add image build template for NAND devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
8058e4778b
commit
22c0206044
1 changed files with 19 additions and 0 deletions
|
@ -203,6 +203,25 @@ define Device/Default
|
||||||
endef
|
endef
|
||||||
DEVICE_VARS += IMAGE_SIZE
|
DEVICE_VARS += IMAGE_SIZE
|
||||||
|
|
||||||
|
define Device/NAND/xway
|
||||||
|
BLOCKSIZE := 16KiB
|
||||||
|
PAGESIZE := 512
|
||||||
|
SUBPAGESIZE := 256
|
||||||
|
FILESYSTEMS += ubifs
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Device/NAND/xrx200
|
||||||
|
BLOCKSIZE := 128KiB
|
||||||
|
PAGESIZE := 2048
|
||||||
|
SUBPAGESIZE := 512
|
||||||
|
FILESYSTEMS += ubifs
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Device/NAND
|
||||||
|
$(Device/NAND/$(SUBTARGET))
|
||||||
|
IMAGE/sysupgrade.bin := sysupgrade-nand
|
||||||
|
endef
|
||||||
|
|
||||||
define Device/lantiqBrnImage
|
define Device/lantiqBrnImage
|
||||||
KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
|
KERNEL := kernel-bin | append-dtb | mkbrncmdline | lzma-no-dict
|
||||||
IMAGES := factory.bin
|
IMAGES := factory.bin
|
||||||
|
|
Loading…
Reference in a new issue