mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partition
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
This commit is contained in:
parent
5aace5a5fb
commit
0d760bfba8
@ -87,7 +87,7 @@ case "$FIRMWARE" in
|
|||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
|
||||||
;;
|
;;
|
||||||
tl-wpa8630)
|
tl-wpa8630)
|
||||||
ath10kcal_extract "ART" 20480 2116
|
ath10kcal_extract "art" 20480 2116
|
||||||
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
|
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
|
||||||
;;
|
;;
|
||||||
unifiac-lite | \
|
unifiac-lite | \
|
||||||
|
@ -40,8 +40,14 @@
|
|||||||
#define TL_WPA8630_WMAC_CALDATA_OFFSET 0x1000
|
#define TL_WPA8630_WMAC_CALDATA_OFFSET 0x1000
|
||||||
#define TL_WPA8630_PCI_CALDATA_OFFSET 0x5000
|
#define TL_WPA8630_PCI_CALDATA_OFFSET 0x5000
|
||||||
|
|
||||||
|
static const char *tl_wpa8630_part_probes[] = {
|
||||||
|
"tp-link-64k",
|
||||||
|
NULL,
|
||||||
|
};
|
||||||
|
|
||||||
static struct flash_platform_data tl_wpa8630_flash_data = {
|
static struct flash_platform_data tl_wpa8630_flash_data = {
|
||||||
.type = "s25fl064k",
|
.part_probes = tl_wpa8630_part_probes,
|
||||||
|
.type = "s25fl064k",
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct gpio_led tl_wpa8630_leds_gpio[] __initdata = {
|
static struct gpio_led tl_wpa8630_leds_gpio[] __initdata = {
|
||||||
|
@ -378,8 +378,6 @@ define Device/tl-wpa8630
|
|||||||
BOARDNAME := TL-WPA8630
|
BOARDNAME := TL-WPA8630
|
||||||
DEVICE_PROFILE := TL-WPA8630
|
DEVICE_PROFILE := TL-WPA8630
|
||||||
TPLINK_HWID := 0x86300001
|
TPLINK_HWID := 0x86300001
|
||||||
MTDPARTS = spi0.0:64k(u-boot)ro,1344k(kernel),6656k(rootfs),64k(mib0)ro,64k(ART)ro,8000k@0x10000(firmware)
|
|
||||||
IMAGE/sysupgrade.bin := append-rootfs | mktplinkfw sysupgrade -a 0x10000
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tl-wpa8630
|
TARGET_DEVICES += tl-wpa8630
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user