mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
ramips: add basic common recipe for nand flash devices
These same codes are repeated for many devices now, it's better to move them to shared definition. This commit also add the missing KERNEL_SIZE of the ZyXEL NR7101 and ZyXEL LTE3301-PLUS. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
parent
09a0efbe83
commit
b09a83808a
@ -148,6 +148,15 @@ define Device/dsa-migration
|
|||||||
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
|
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Device/nand
|
||||||
|
$(Device/dsa-migration)
|
||||||
|
BLOCKSIZE := 128k
|
||||||
|
KERNEL_SIZE := 4096k
|
||||||
|
PAGESIZE := 2048
|
||||||
|
UBINIZE_OPTS := -E 5
|
||||||
|
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||||
|
endef
|
||||||
|
|
||||||
define Device/adslr_g7
|
define Device/adslr_g7
|
||||||
$(Device/dsa-migration)
|
$(Device/dsa-migration)
|
||||||
IMAGE_SIZE := 16064k
|
IMAGE_SIZE := 16064k
|
||||||
@ -181,17 +190,12 @@ endef
|
|||||||
TARGET_DEVICES += alfa-network_quad-e4g
|
TARGET_DEVICES += alfa-network_quad-e4g
|
||||||
|
|
||||||
define Device/ampedwireless_ally_common
|
define Device/ampedwireless_ally_common
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := Amped Wireless
|
DEVICE_VENDOR := Amped Wireless
|
||||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||||
IMAGE_SIZE := 32768k
|
IMAGE_SIZE := 32768k
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma -n 'flashable-initramfs' |\
|
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma -n 'flashable-initramfs' |\
|
||||||
edimax-header -s CSYS -m RN68 -f 0x001c0000 -S 0x01100000
|
edimax-header -s CSYS -m RN68 -f 0x001c0000 -S 0x01100000
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/ampedwireless_ally-r1900k
|
define Device/ampedwireless_ally-r1900k
|
||||||
@ -295,16 +299,11 @@ endef
|
|||||||
TARGET_DEVICES += asus_rt-ac57u-v1
|
TARGET_DEVICES += asus_rt-ac57u-v1
|
||||||
|
|
||||||
define Device/asus_rt-ac65p
|
define Device/asus_rt-ac65p
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := ASUS
|
DEVICE_VENDOR := ASUS
|
||||||
DEVICE_MODEL := RT-AC65P
|
DEVICE_MODEL := RT-AC65P
|
||||||
IMAGE_SIZE := 51200k
|
IMAGE_SIZE := 51200k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
|
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
|
||||||
@ -312,16 +311,11 @@ endef
|
|||||||
TARGET_DEVICES += asus_rt-ac65p
|
TARGET_DEVICES += asus_rt-ac65p
|
||||||
|
|
||||||
define Device/asus_rt-ac85p
|
define Device/asus_rt-ac85p
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := ASUS
|
DEVICE_VENDOR := ASUS
|
||||||
DEVICE_MODEL := RT-AC85P
|
DEVICE_MODEL := RT-AC85P
|
||||||
IMAGE_SIZE := 51200k
|
IMAGE_SIZE := 51200k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
|
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
|
||||||
@ -341,18 +335,13 @@ endef
|
|||||||
TARGET_DEVICES += asus_rt-n56u-b1
|
TARGET_DEVICES += asus_rt-n56u-b1
|
||||||
|
|
||||||
define Device/asus_rt-ax53u
|
define Device/asus_rt-ax53u
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := ASUS
|
DEVICE_VENDOR := ASUS
|
||||||
DEVICE_MODEL := RT-AX53U
|
DEVICE_MODEL := RT-AX53U
|
||||||
DEVICE_ALT0_VENDOR := ASUS
|
DEVICE_ALT0_VENDOR := ASUS
|
||||||
DEVICE_ALT0_MODEL := RT-AX1800U
|
DEVICE_ALT0_MODEL := RT-AX1800U
|
||||||
IMAGE_SIZE := 51200k
|
IMAGE_SIZE := 51200k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3 kmod-usb-ledtrig-usbport
|
DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3 kmod-usb-ledtrig-usbport
|
||||||
@ -360,7 +349,7 @@ endef
|
|||||||
TARGET_DEVICES += asus_rt-ax53u
|
TARGET_DEVICES += asus_rt-ax53u
|
||||||
|
|
||||||
define Device/asus_rt-ax54
|
define Device/asus_rt-ax54
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := ASUS
|
DEVICE_VENDOR := ASUS
|
||||||
DEVICE_MODEL := RT-AX54
|
DEVICE_MODEL := RT-AX54
|
||||||
DEVICE_ALT0_VENDOR := ASUS
|
DEVICE_ALT0_VENDOR := ASUS
|
||||||
@ -370,12 +359,7 @@ define Device/asus_rt-ax54
|
|||||||
DEVICE_ALT2_VENDOR := ASUS
|
DEVICE_ALT2_VENDOR := ASUS
|
||||||
DEVICE_ALT2_MODEL := RT-AX1800S
|
DEVICE_ALT2_MODEL := RT-AX1800S
|
||||||
IMAGE_SIZE := 51200k
|
IMAGE_SIZE := 51200k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware
|
DEVICE_PACKAGES := kmod-mt7915-firmware
|
||||||
@ -383,22 +367,18 @@ endef
|
|||||||
TARGET_DEVICES += asus_rt-ax54
|
TARGET_DEVICES += asus_rt-ax54
|
||||||
|
|
||||||
define Device/beeline_smartbox-flash
|
define Device/beeline_smartbox-flash
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
DEVICE_VENDOR := Beeline
|
DEVICE_VENDOR := Beeline
|
||||||
DEVICE_MODEL := SmartBox Flash
|
DEVICE_MODEL := SmartBox Flash
|
||||||
IMAGE_SIZE := 32768k
|
IMAGE_SIZE := 32768k
|
||||||
KERNEL_SIZE := 4352k
|
KERNEL_SIZE := 4352k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | \
|
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | \
|
||||||
uImage none | arcadyan-trx 0x746f435d | pad-to $$(KERNEL_SIZE)
|
uImage none | arcadyan-trx 0x746f435d | pad-to $$(KERNEL_SIZE)
|
||||||
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel | \
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel | \
|
||||||
uImage none
|
uImage none
|
||||||
IMAGES += factory.trx
|
IMAGES += factory.trx
|
||||||
IMAGE/factory.trx := append-kernel | append-ubi | check-size
|
IMAGE/factory.trx := append-kernel | append-ubi | check-size
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uencrypt-mbedtls
|
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uencrypt-mbedtls
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += beeline_smartbox-flash
|
TARGET_DEVICES += beeline_smartbox-flash
|
||||||
@ -429,21 +409,16 @@ endef
|
|||||||
TARGET_DEVICES += beeline_smartbox-turbo
|
TARGET_DEVICES += beeline_smartbox-turbo
|
||||||
|
|
||||||
define Device/belkin_rt1800
|
define Device/belkin_rt1800
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 49152k
|
IMAGE_SIZE := 49152k
|
||||||
DEVICE_VENDOR := Belkin
|
DEVICE_VENDOR := Belkin
|
||||||
DEVICE_MODEL := RT1800
|
DEVICE_MODEL := RT1800
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3
|
DEVICE_PACKAGES := kmod-mt7915-firmware kmod-usb3
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
|
||||||
append-squashfs4-fakeroot
|
append-squashfs4-fakeroot
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
||||||
append-ubi | check-size | belkin-header RT18 1 9.9.9
|
append-ubi | check-size | belkin-header RT18 1 9.9.9
|
||||||
endef
|
endef
|
||||||
@ -580,20 +555,16 @@ endef
|
|||||||
TARGET_DEVICES += dlink_dap-1620-b1
|
TARGET_DEVICES += dlink_dap-1620-b1
|
||||||
|
|
||||||
define Device/dlink_dap-x1860-a1
|
define Device/dlink_dap-x1860-a1
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
IMAGE_SIZE := 53248k
|
IMAGE_SIZE := 53248k
|
||||||
DEVICE_VENDOR := D-Link
|
DEVICE_VENDOR := D-Link
|
||||||
DEVICE_MODEL := DAP-X1860
|
DEVICE_MODEL := DAP-X1860
|
||||||
DEVICE_VARIANT := A1
|
DEVICE_VARIANT := A1
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 8192k
|
KERNEL_SIZE := 8192k
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size | elx-header 011b0060 8844A2D168B45A2D
|
check-size | elx-header 011b0060 8844A2D168B45A2D
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware rssileds -uboot-envtools
|
DEVICE_PACKAGES := kmod-mt7915-firmware rssileds -uboot-envtools
|
||||||
@ -623,18 +594,13 @@ define Device/dlink_dir-8xx-r1
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/dlink_dir-xx60-a1
|
define Device/dlink_dir-xx60-a1
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 40960k
|
IMAGE_SIZE := 40960k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
DEVICE_VENDOR := D-Link
|
DEVICE_VENDOR := D-Link
|
||||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||||
kmod-usb-ledtrig-usbport -uboot-envtools
|
kmod-usb-ledtrig-usbport -uboot-envtools
|
||||||
KERNEL := $$(KERNEL) | uimage-sgehdr
|
KERNEL := $$(KERNEL) | uimage-sgehdr
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
endef
|
endef
|
||||||
@ -1035,17 +1001,13 @@ endef
|
|||||||
TARGET_DEVICES += hanyang_hyc-g920
|
TARGET_DEVICES += hanyang_hyc-g920
|
||||||
|
|
||||||
define Device/h3c_tx180x
|
define Device/h3c_tx180x
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 8192k
|
KERNEL_SIZE := 8192k
|
||||||
IMAGE_SIZE := 120832k
|
IMAGE_SIZE := 120832k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL_INITRAMFS := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
KERNEL_INITRAMFS := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
KERNEL := $$(KERNEL_INITRAMFS) | h3c-blank-header
|
KERNEL := $$(KERNEL_INITRAMFS) | h3c-blank-header
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_VENDOR := H3C
|
DEVICE_VENDOR := H3C
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware
|
DEVICE_PACKAGES := kmod-mt7915-firmware
|
||||||
endef
|
endef
|
||||||
@ -1069,12 +1031,8 @@ endef
|
|||||||
TARGET_DEVICES += h3c_tx1806
|
TARGET_DEVICES += h3c_tx1806
|
||||||
|
|
||||||
define Device/haier-sim_wr1800k
|
define Device/haier-sim_wr1800k
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 125440k
|
IMAGE_SIZE := 125440k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
@ -1083,7 +1041,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
|||||||
ARTIFACT/initramfs-factory.bin := append-image-stage initramfs-kernel.bin | \
|
ARTIFACT/initramfs-factory.bin := append-image-stage initramfs-kernel.bin | \
|
||||||
haier-sim_wr1800k-factory
|
haier-sim_wr1800k-factory
|
||||||
endif
|
endif
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware
|
DEVICE_PACKAGES := kmod-mt7915-firmware
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -1105,15 +1062,10 @@ endef
|
|||||||
TARGET_DEVICES += hilink_hlk-7621a-evb
|
TARGET_DEVICES += hilink_hlk-7621a-evb
|
||||||
|
|
||||||
define Device/hiwifi_hc5962
|
define Device/hiwifi_hc5962
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE_SIZE := 32768k
|
IMAGE_SIZE := 32768k
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_VENDOR := HiWiFi
|
DEVICE_VENDOR := HiWiFi
|
||||||
@ -1167,16 +1119,11 @@ endef
|
|||||||
TARGET_DEVICES += iodata_wn-ax1167gr
|
TARGET_DEVICES += iodata_wn-ax1167gr
|
||||||
|
|
||||||
define Device/iodata_nand
|
define Device/iodata_nand
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := I-O DATA
|
DEVICE_VENDOR := I-O DATA
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 51200k
|
IMAGE_SIZE := 51200k
|
||||||
LOADER_TYPE := bin
|
LOADER_TYPE := bin
|
||||||
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | lzma | uImage lzma
|
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | lzma | uImage lzma
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# The OEM webinterface expects an kernel with initramfs which has the uImage
|
# The OEM webinterface expects an kernel with initramfs which has the uImage
|
||||||
@ -1277,16 +1224,11 @@ endef
|
|||||||
TARGET_DEVICES += iptime_a3004ns-dual
|
TARGET_DEVICES += iptime_a3004ns-dual
|
||||||
|
|
||||||
define Device/iptime_a3004t
|
define Device/iptime_a3004t
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 129280k
|
IMAGE_SIZE := 129280k
|
||||||
UIMAGE_NAME := a3004t
|
UIMAGE_NAME := a3004t
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_VENDOR := ipTIME
|
DEVICE_VENDOR := ipTIME
|
||||||
DEVICE_MODEL := A3004T
|
DEVICE_MODEL := A3004T
|
||||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
|
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 -uboot-envtools
|
||||||
@ -1326,17 +1268,12 @@ endef
|
|||||||
TARGET_DEVICES += iptime_a8004t
|
TARGET_DEVICES += iptime_a8004t
|
||||||
|
|
||||||
define Device/iptime_ax2004m
|
define Device/iptime_ax2004m
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 121344k
|
IMAGE_SIZE := 121344k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
IMAGES += recovery.bin
|
IMAGES += recovery.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/recovery.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/recovery.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size | iptime-crc32 ax2004m
|
check-size | iptime-crc32 ax2004m
|
||||||
DEVICE_VENDOR := ipTIME
|
DEVICE_VENDOR := ipTIME
|
||||||
@ -1346,14 +1283,9 @@ endef
|
|||||||
TARGET_DEVICES += iptime_ax2004m
|
TARGET_DEVICES += iptime_ax2004m
|
||||||
|
|
||||||
define Device/iptime_t5004
|
define Device/iptime_t5004
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 129280k
|
IMAGE_SIZE := 129280k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
UIMAGE_NAME := t5004
|
UIMAGE_NAME := t5004
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_VENDOR := ipTIME
|
DEVICE_VENDOR := ipTIME
|
||||||
DEVICE_MODEL := T5004
|
DEVICE_MODEL := T5004
|
||||||
DEVICE_PACKAGES := -wpad-basic-mbedtls -uboot-envtools
|
DEVICE_PACKAGES := -wpad-basic-mbedtls -uboot-envtools
|
||||||
@ -1374,15 +1306,10 @@ endef
|
|||||||
TARGET_DEVICES += jcg_jhr-ac876m
|
TARGET_DEVICES += jcg_jhr-ac876m
|
||||||
|
|
||||||
define Device/jcg_q20
|
define Device/jcg_q20
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 91136k
|
IMAGE_SIZE := 91136k
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_VENDOR := JCG
|
DEVICE_VENDOR := JCG
|
||||||
@ -1431,18 +1358,13 @@ endef
|
|||||||
TARGET_DEVICES += lenovo_newifi-d1
|
TARGET_DEVICES += lenovo_newifi-d1
|
||||||
|
|
||||||
define Device/linksys_e5600
|
define Device/linksys_e5600
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 26624k
|
IMAGE_SIZE := 26624k
|
||||||
DEVICE_VENDOR := Linksys
|
DEVICE_VENDOR := Linksys
|
||||||
DEVICE_MODEL := E5600
|
DEVICE_MODEL := E5600
|
||||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
|
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7663-firmware-ap
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | check-size | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
||||||
append-ubi | check-size | gemtek-trailer
|
append-ubi | check-size | gemtek-trailer
|
||||||
endef
|
endef
|
||||||
@ -1458,17 +1380,12 @@ endef
|
|||||||
TARGET_DEVICES += linksys_e7350
|
TARGET_DEVICES += linksys_e7350
|
||||||
|
|
||||||
define Device/linksys_ea7xxx
|
define Device/linksys_ea7xxx
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 36864k
|
IMAGE_SIZE := 36864k
|
||||||
DEVICE_VENDOR := Linksys
|
DEVICE_VENDOR := Linksys
|
||||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
|
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGES := sysupgrade.bin factory.bin
|
IMAGES := sysupgrade.bin factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | check-size | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
|
||||||
append-ubi | check-size | linksys-image type=$$$$(LINKSYS_HWNAME)
|
append-ubi | check-size | linksys-image type=$$$$(LINKSYS_HWNAME)
|
||||||
endef
|
endef
|
||||||
@ -1651,22 +1568,18 @@ endef
|
|||||||
TARGET_DEVICES += mtc_wr1201
|
TARGET_DEVICES += mtc_wr1201
|
||||||
|
|
||||||
define Device/mts_wg430223
|
define Device/mts_wg430223
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
DEVICE_VENDOR := MTS
|
DEVICE_VENDOR := MTS
|
||||||
DEVICE_MODEL := WG430223
|
DEVICE_MODEL := WG430223
|
||||||
IMAGE_SIZE := 32768k
|
IMAGE_SIZE := 32768k
|
||||||
KERNEL_SIZE := 4352k
|
KERNEL_SIZE := 4352k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | \
|
KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | \
|
||||||
uImage none | arcadyan-trx 0x53485231 | pad-to $$(KERNEL_SIZE)
|
uImage none | arcadyan-trx 0x53485231 | pad-to $$(KERNEL_SIZE)
|
||||||
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel | \
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-kernel | \
|
||||||
uImage none
|
uImage none
|
||||||
IMAGES += factory.trx
|
IMAGES += factory.trx
|
||||||
IMAGE/factory.trx := append-kernel | append-ubi | check-size
|
IMAGE/factory.trx := append-kernel | append-ubi | check-size
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_PACKAGES := kmod-mt7615-firmware uencrypt-mbedtls
|
DEVICE_PACKAGES := kmod-mt7615-firmware uencrypt-mbedtls
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += mts_wg430223
|
TARGET_DEVICES += mts_wg430223
|
||||||
@ -1685,17 +1598,12 @@ endef
|
|||||||
TARGET_DEVICES += netgear_ex6150
|
TARGET_DEVICES += netgear_ex6150
|
||||||
|
|
||||||
define Device/netgear_sercomm_nand
|
define Device/netgear_sercomm_nand
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGES += factory.img kernel.bin rootfs.bin
|
IMAGES += factory.img kernel.bin rootfs.bin
|
||||||
IMAGE/factory.img := pad-extra 2048k | append-kernel | pad-to 6144k | \
|
IMAGE/factory.img := pad-extra 2048k | append-kernel | pad-to 6144k | \
|
||||||
append-ubi | pad-to $$$$(BLOCKSIZE) | sercom-footer | pad-to 128 | \
|
append-ubi | pad-to $$$$(BLOCKSIZE) | sercom-footer | pad-to 128 | \
|
||||||
zip $$$$(SERCOMM_HWNAME).bin | sercom-seal
|
zip $$$$(SERCOMM_HWNAME).bin | sercom-seal
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/kernel.bin := append-kernel
|
IMAGE/kernel.bin := append-kernel
|
||||||
IMAGE/rootfs.bin := append-ubi | check-size
|
IMAGE/rootfs.bin := append-ubi | check-size
|
||||||
DEVICE_VENDOR := NETGEAR
|
DEVICE_VENDOR := NETGEAR
|
||||||
@ -1846,17 +1754,13 @@ endef
|
|||||||
TARGET_DEVICES += netgear_wac124
|
TARGET_DEVICES += netgear_wac124
|
||||||
|
|
||||||
define Device/netgear_wax202
|
define Device/netgear_wax202
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := NETGEAR
|
DEVICE_VENDOR := NETGEAR
|
||||||
DEVICE_MODEL := WAX202
|
DEVICE_MODEL := WAX202
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
|
DEVICE_PACKAGES := kmod-mt7915-firmware -uboot-envtools
|
||||||
NETGEAR_ENC_MODEL := WAX202
|
NETGEAR_ENC_MODEL := WAX202
|
||||||
NETGEAR_ENC_REGION := US
|
NETGEAR_ENC_REGION := US
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE_SIZE := 38912k
|
IMAGE_SIZE := 38912k
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | \
|
||||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
|
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | \
|
||||||
@ -1864,7 +1768,6 @@ define Device/netgear_wax202
|
|||||||
IMAGES += factory.img
|
IMAGES += factory.img
|
||||||
IMAGE/factory.img := append-kernel | pad-to $$(KERNEL_SIZE) | \
|
IMAGE/factory.img := append-kernel | pad-to $$(KERNEL_SIZE) | \
|
||||||
append-ubi | check-size | netgear-encrypted-factory
|
append-ubi | check-size | netgear-encrypted-factory
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += netgear_wax202
|
TARGET_DEVICES += netgear_wax202
|
||||||
|
|
||||||
@ -1887,18 +1790,13 @@ endef
|
|||||||
TARGET_DEVICES += netgear_wndr3700-v5
|
TARGET_DEVICES += netgear_wndr3700-v5
|
||||||
|
|
||||||
define Device/netis_wf2881
|
define Device/netis_wf2881
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 129280k
|
IMAGE_SIZE := 129280k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
UIMAGE_NAME := WF2881_0.0.00
|
UIMAGE_NAME := WF2881_0.0.00
|
||||||
KERNEL_INITRAMFS := $$(KERNEL) | netis-tail WF2881
|
KERNEL_INITRAMFS := $$(KERNEL) | netis-tail WF2881
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_VENDOR := NETIS
|
DEVICE_VENDOR := NETIS
|
||||||
@ -1942,14 +1840,9 @@ endef
|
|||||||
TARGET_DEVICES += planex_vr500
|
TARGET_DEVICES += planex_vr500
|
||||||
|
|
||||||
define Device/raisecom_msg1500-x-00
|
define Device/raisecom_msg1500-x-00
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 129280k
|
IMAGE_SIZE := 129280k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
DEVICE_VENDOR := RAISECOM
|
DEVICE_VENDOR := RAISECOM
|
||||||
DEVICE_MODEL := MSG1500
|
DEVICE_MODEL := MSG1500
|
||||||
DEVICE_VARIANT := X.00
|
DEVICE_VARIANT := X.00
|
||||||
@ -1996,13 +1889,8 @@ endef
|
|||||||
TARGET_DEVICES += samknows_whitebox-v8
|
TARGET_DEVICES += samknows_whitebox-v8
|
||||||
|
|
||||||
define Device/sercomm_na502
|
define Device/sercomm_na502
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
IMAGE_SIZE := 20480k
|
IMAGE_SIZE := 20480k
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
DEVICE_VENDOR := SERCOMM
|
DEVICE_VENDOR := SERCOMM
|
||||||
DEVICE_MODEL := NA502
|
DEVICE_MODEL := NA502
|
||||||
DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3 -uboot-envtools
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3 -uboot-envtools
|
||||||
@ -2010,13 +1898,8 @@ endef
|
|||||||
TARGET_DEVICES += sercomm_na502
|
TARGET_DEVICES += sercomm_na502
|
||||||
|
|
||||||
define Device/sercomm_na502s
|
define Device/sercomm_na502s
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
IMAGE_SIZE := 20971520
|
IMAGE_SIZE := 20971520
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
DEVICE_VENDOR := SERCOMM
|
DEVICE_VENDOR := SERCOMM
|
||||||
DEVICE_MODEL := NA502S
|
DEVICE_MODEL := NA502S
|
||||||
DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3 kmod-usb-serial \
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-mt7603 kmod-usb3 kmod-usb-serial \
|
||||||
@ -2232,12 +2115,8 @@ endef
|
|||||||
TARGET_DEVICES += tplink_eap615-wall-v1
|
TARGET_DEVICES += tplink_eap615-wall-v1
|
||||||
|
|
||||||
define Device/tplink_ec330-g5u-v1
|
define Device/tplink_ec330-g5u-v1
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
LOADER := bin
|
LOADER := bin
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
IMAGE_SIZE := 49152k
|
IMAGE_SIZE := 49152k
|
||||||
DEVICE_VENDOR := TP-Link
|
DEVICE_VENDOR := TP-Link
|
||||||
DEVICE_MODEL := EC330-G5u
|
DEVICE_MODEL := EC330-G5u
|
||||||
@ -2254,24 +2133,19 @@ define Device/tplink_ec330-g5u-v1
|
|||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | \
|
||||||
append-ubi | check-size
|
append-ubi | check-size
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata | check-size
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tplink_ec330-g5u-v1
|
TARGET_DEVICES += tplink_ec330-g5u-v1
|
||||||
|
|
||||||
define Device/tplink_er605-v2
|
define Device/tplink_er605-v2
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := TP-Link
|
DEVICE_VENDOR := TP-Link
|
||||||
DEVICE_MODEL := ER605
|
DEVICE_MODEL := ER605
|
||||||
DEVICE_VARIANT := v2
|
DEVICE_VARIANT := v2
|
||||||
DEVICE_PACKAGES := -wpad-basic-mbedtls kmod-usb3 -uboot-envtools
|
DEVICE_PACKAGES := -wpad-basic-mbedtls kmod-usb3 -uboot-envtools
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
KERNEL_IN_UBI := 1
|
KERNEL_IN_UBI := 1
|
||||||
KERNEL_LOADADDR := 0x82000000
|
KERNEL_LOADADDR := 0x82000000
|
||||||
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
KERNEL := kernel-bin | relocate-kernel 0x80001000 | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
IMAGES += sysupgrade.tar
|
IMAGES += sysupgrade.tar
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE_SIZE := 127744k
|
IMAGE_SIZE := 127744k
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tplink_er605-v2
|
TARGET_DEVICES += tplink_er605-v2
|
||||||
@ -2550,17 +2424,12 @@ endef
|
|||||||
TARGET_DEVICES += winstars_ws-wn583a6
|
TARGET_DEVICES += winstars_ws-wn583a6
|
||||||
|
|
||||||
define Device/xiaomi_nand_separate
|
define Device/xiaomi_nand_separate
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
DEVICE_VENDOR := Xiaomi
|
DEVICE_VENDOR := Xiaomi
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGES += kernel1.bin rootfs0.bin
|
IMAGES += kernel1.bin rootfs0.bin
|
||||||
IMAGE/kernel1.bin := append-kernel
|
IMAGE/kernel1.bin := append-kernel
|
||||||
IMAGE/rootfs0.bin := append-ubi | check-size
|
IMAGE/rootfs0.bin := append-ubi | check-size
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/xiaomi_mi-router-3g
|
define Device/xiaomi_mi-router-3g
|
||||||
@ -2586,17 +2455,12 @@ endef
|
|||||||
TARGET_DEVICES += xiaomi_mi-router-3g-v2
|
TARGET_DEVICES += xiaomi_mi-router-3g-v2
|
||||||
|
|
||||||
define Device/xiaomi_mi-router-3-pro
|
define Device/xiaomi_mi-router-3-pro
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE:= 4096k
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE_SIZE := 255488k
|
IMAGE_SIZE := 255488k
|
||||||
DEVICE_VENDOR := Xiaomi
|
DEVICE_VENDOR := Xiaomi
|
||||||
DEVICE_MODEL := Mi Router 3 Pro
|
DEVICE_MODEL := Mi Router 3 Pro
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport
|
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport
|
||||||
@ -2644,16 +2508,11 @@ endef
|
|||||||
TARGET_DEVICES += xiaomi_mi-router-ac2100
|
TARGET_DEVICES += xiaomi_mi-router-ac2100
|
||||||
|
|
||||||
define Device/xiaomi_mi-router-cr660x
|
define Device/xiaomi_mi-router-cr660x
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
DEVICE_VENDOR := Xiaomi
|
DEVICE_VENDOR := Xiaomi
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE_SIZE := 128512k
|
IMAGE_SIZE := 128512k
|
||||||
IMAGES += firmware.bin
|
IMAGES += firmware.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
IMAGE/firmware.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
IMAGE/firmware.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||||
check-size
|
check-size
|
||||||
DEVICE_PACKAGES += kmod-mt7915-firmware
|
DEVICE_PACKAGES += kmod-mt7915-firmware
|
||||||
@ -2879,12 +2738,10 @@ endef
|
|||||||
TARGET_DEVICES += zio_freezio
|
TARGET_DEVICES += zio_freezio
|
||||||
|
|
||||||
define Device/zyxel_lte3301-plus
|
define Device/zyxel_lte3301-plus
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
DEVICE_VENDOR := ZyXEL
|
DEVICE_VENDOR := ZyXEL
|
||||||
DEVICE_MODEL := LTE3301-PLUS
|
DEVICE_MODEL := LTE3301-PLUS
|
||||||
|
KERNEL_SIZE := 31488k
|
||||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport \
|
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 kmod-usb-ledtrig-usbport \
|
||||||
kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
|
kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
|
||||||
KERNEL := $(KERNEL_DTB) | uImage lzma | \
|
KERNEL := $(KERNEL_DTB) | uImage lzma | \
|
||||||
@ -2892,38 +2749,30 @@ define Device/zyxel_lte3301-plus
|
|||||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma | \
|
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma | \
|
||||||
zytrx-header $$(DEVICE_MODEL) 9.99(ABQU.1)$$(VERSION_DIST)-recovery
|
zytrx-header $$(DEVICE_MODEL) 9.99(ABQU.1)$$(VERSION_DIST)-recovery
|
||||||
KERNEL_INITRAMFS_SUFFIX := -recovery.bin
|
KERNEL_INITRAMFS_SUFFIX := -recovery.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zyxel_lte3301-plus
|
TARGET_DEVICES += zyxel_lte3301-plus
|
||||||
|
|
||||||
define Device/zyxel_nr7101
|
define Device/zyxel_nr7101
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
DEVICE_VENDOR := ZyXEL
|
DEVICE_VENDOR := ZyXEL
|
||||||
DEVICE_MODEL := NR7101
|
DEVICE_MODEL := NR7101
|
||||||
|
KERNEL_SIZE := 31488k
|
||||||
DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
|
DEVICE_PACKAGES := kmod-mt7603 kmod-usb3 kmod-usb-net-qmi-wwan kmod-usb-serial-option uqmi
|
||||||
KERNEL := $(KERNEL_DTB) | uImage lzma | zytrx-header $$(DEVICE_MODEL) $$(VERSION_DIST)-$$(REVISION)
|
KERNEL := $(KERNEL_DTB) | uImage lzma | zytrx-header $$(DEVICE_MODEL) $$(VERSION_DIST)-$$(REVISION)
|
||||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma | zytrx-header $$(DEVICE_MODEL) 9.99(ABUV.9)$$(VERSION_DIST)-recovery
|
KERNEL_INITRAMFS := $(KERNEL_DTB) | uImage lzma | zytrx-header $$(DEVICE_MODEL) 9.99(ABUV.9)$$(VERSION_DIST)-recovery
|
||||||
KERNEL_INITRAMFS_SUFFIX := -recovery.bin
|
KERNEL_INITRAMFS_SUFFIX := -recovery.bin
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zyxel_nr7101
|
TARGET_DEVICES += zyxel_nr7101
|
||||||
|
|
||||||
define Device/zyxel_nwa-ax
|
define Device/zyxel_nwa-ax
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
DEVICE_VENDOR := ZyXEL
|
DEVICE_VENDOR := ZyXEL
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 8192k
|
KERNEL_SIZE := 8192k
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware zyxel-bootconfig
|
DEVICE_PACKAGES := kmod-mt7915-firmware zyxel-bootconfig
|
||||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||||
IMAGES += factory.bin ramboot-factory.bin
|
IMAGES += factory.bin ramboot-factory.bin
|
||||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | zyxel-nwa-fit
|
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | zyxel-nwa-fit
|
||||||
IMAGE/ramboot-factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi
|
IMAGE/ramboot-factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/zyxel_nwa50ax
|
define Device/zyxel_nwa50ax
|
||||||
@ -2939,33 +2788,24 @@ endef
|
|||||||
TARGET_DEVICES += zyxel_nwa55axe
|
TARGET_DEVICES += zyxel_nwa55axe
|
||||||
|
|
||||||
define Device/zyxel_wap6805
|
define Device/zyxel_wap6805
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
$(Device/uimage-lzma-loader)
|
$(Device/uimage-lzma-loader)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 4096k
|
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
IMAGE_SIZE := 32448k
|
IMAGE_SIZE := 32448k
|
||||||
DEVICE_VENDOR := ZyXEL
|
DEVICE_VENDOR := ZyXEL
|
||||||
DEVICE_MODEL := WAP6805
|
DEVICE_MODEL := WAP6805
|
||||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7621-qtn-rgmii -uboot-envtools
|
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7621-qtn-rgmii -uboot-envtools
|
||||||
KERNEL := $$(KERNEL/lzma-loader) | uImage none | uimage-padhdr 160
|
KERNEL := $$(KERNEL/lzma-loader) | uImage none | uimage-padhdr 160
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zyxel_wap6805
|
TARGET_DEVICES += zyxel_wap6805
|
||||||
|
|
||||||
define Device/zyxel_wsm20
|
define Device/zyxel_wsm20
|
||||||
$(Device/dsa-migration)
|
$(Device/nand)
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
KERNEL_SIZE := 8192k
|
KERNEL_SIZE := 8192k
|
||||||
IMAGE_SIZE := 41943040
|
IMAGE_SIZE := 41943040
|
||||||
UBINIZE_OPTS := -E 5
|
|
||||||
DEVICE_VENDOR := ZyXEL
|
DEVICE_VENDOR := ZyXEL
|
||||||
DEVICE_MODEL := WSM20
|
DEVICE_MODEL := WSM20
|
||||||
DEVICE_PACKAGES := kmod-mt7915-firmware
|
DEVICE_PACKAGES := kmod-mt7915-firmware
|
||||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | znet-header V1.00(ABZF.0)C0
|
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | znet-header V1.00(ABZF.0)C0
|
||||||
KERNEL_INITRAMFS := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | znet-header V1.00(ABZF.0)C0
|
KERNEL_INITRAMFS := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb | znet-header V1.00(ABZF.0)C0
|
||||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += zyxel_wsm20
|
TARGET_DEVICES += zyxel_wsm20
|
||||||
|
Loading…
Reference in New Issue
Block a user