firmware-utils: tplink-safeloader: switch tl-wr1043nd-v4 to dynamic partitions
Use the new dynamic partition split in tplink-safeloader so we no longer have to worry about kernel size increases. Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
parent
52a9edb1bf
commit
4ec9763ee9
@ -401,10 +401,10 @@ define Device/tl-wr1043nd-v4
|
|||||||
BOARDNAME := TL-WR1043ND-v4
|
BOARDNAME := TL-WR1043ND-v4
|
||||||
DEVICE_PROFILE := TLWR1043
|
DEVICE_PROFILE := TLWR1043
|
||||||
TPLINK_HWID := 0x10430004
|
TPLINK_HWID := 0x10430004
|
||||||
MTDPARTS := spi0.0:128k(u-boot)ro,1536k(kernel),14016k(rootfs),128k(product-info)ro,320k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(ART)ro,15552k@0x20000(firmware)
|
MTDPARTS := spi0.0:128k(u-boot)ro,15552k(firmware),128k(product-info)ro,320k(config)ro,64k(partition-table)ro,128k(logs)ro,64k(ART)ro
|
||||||
IMAGE_SIZE := 15552k
|
IMAGE_SIZE := 15552k
|
||||||
TPLINK_BOARD_ID := TLWR1043NDV4
|
TPLINK_BOARD_ID := TLWR1043NDV4
|
||||||
KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header
|
KERNEL := kernel-bin | patch-cmdline | lzma | tplink-v1-header -O
|
||||||
IMAGES := sysupgrade.bin factory.bin
|
IMAGES := sysupgrade.bin factory.bin
|
||||||
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
|
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
|
||||||
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
||||||
|
@ -69,7 +69,7 @@ define Device/tl-wr1043nd-v4
|
|||||||
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
|
DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
|
||||||
TPLINK_HWID := 0x10430004
|
TPLINK_HWID := 0x10430004
|
||||||
TPLINK_BOARD_ID := TLWR1043NDV4
|
TPLINK_BOARD_ID := TLWR1043NDV4
|
||||||
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header
|
KERNEL := kernel-bin | append-dtb | lzma | tplink-v1-header -O
|
||||||
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
|
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade
|
||||||
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
|
||||||
SUPPORTED_DEVICES := tplink,tl-wr1043nd-v4 tl-wr1043nd-v4
|
SUPPORTED_DEVICES := tplink,tl-wr1043nd-v4 tl-wr1043nd-v4
|
||||||
|
@ -860,15 +860,10 @@ static struct device_info boards[] = {
|
|||||||
.support_trail = '\x00',
|
.support_trail = '\x00',
|
||||||
.soft_ver = NULL,
|
.soft_ver = NULL,
|
||||||
|
|
||||||
/**
|
/* We're using a dynamic kernel/rootfs split here */
|
||||||
We use a bigger os-image partition than the stock images (and thus
|
|
||||||
smaller file-system), as our kernel doesn't fit in the stock firmware's
|
|
||||||
1MB os-image.
|
|
||||||
*/
|
|
||||||
.partitions = {
|
.partitions = {
|
||||||
{"fs-uboot", 0x00000, 0x20000},
|
{"fs-uboot", 0x00000, 0x20000},
|
||||||
{"os-image", 0x20000, 0x200000},
|
{"firmware", 0x20000, 0xf30000},
|
||||||
{"file-system", 0x220000, 0xd30000},
|
|
||||||
{"default-mac", 0xf50000, 0x00200},
|
{"default-mac", 0xf50000, 0x00200},
|
||||||
{"pin", 0xf50200, 0x00200},
|
{"pin", 0xf50200, 0x00200},
|
||||||
{"product-info", 0xf50400, 0x0fc00},
|
{"product-info", 0xf50400, 0x0fc00},
|
||||||
|
Loading…
Reference in New Issue
Block a user