aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEubert Bao <bunnier@gmail.com>2019-09-20 21:44:16 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2019-10-19 14:30:05 +0200
commit69586db84b929331ae314f25ca65cb5cf6d57f14 (patch)
tree037867747babdaa12a60509556957844b451f170
parent5ad47b1ed8f36693c3ef960806ca4e834106f966 (diff)
downloadupstream-69586db84b929331ae314f25ca65cb5cf6d57f14.tar.gz
upstream-69586db84b929331ae314f25ca65cb5cf6d57f14.tar.bz2
upstream-69586db84b929331ae314f25ca65cb5cf6d57f14.zip
kirkwood: Fix FS#505 - Can't install LEDE on Linksys EA3500
The default sizes render Device/linksys_audi mage un-flashable. Restore the pagesize, subpagesize, and blocksize for linksys_audi from https://github.com/openwrt/archive. Signed-off-by: Eubert Bao <bunnier@gmail.com> (cherry picked from commit e11fc8439c9f7230441408c4d257efc46f372312)
-rw-r--r--target/linux/kirkwood/image/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index 6d8062b330..7bf5fce328 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -82,6 +82,9 @@ define Device/linksys_audi
DEVICE_TITLE := Linksys EA3500 (Audi)
DEVICE_PACKAGES := kmod-mwl8k swconfig wpad-basic kmod-gpio-button-hotplug
DEVICE_DTS := kirkwood-linksys-audi
+ PAGESIZE := 512
+ SUBPAGESIZE := 256
+ BLOCKSIZE := 16KiB
KERNEL_SIZE := 2624k
KERNEL_IN_UBI :=
UBINIZE_OPTS := -E 5