ar71xx: Move F9K1115v2 under ar71xx tiny target
authorKin Chan <kcchan1@outlook.com>
Mon, 5 Mar 2018 07:30:56 +0000 (07:30 +0000)
committerJohn Crispin <john@phrozen.org>
Mon, 16 Jul 2018 13:12:19 +0000 (15:12 +0200)
F9K1115v2 has a kernel partition size of 1408 kB.

Since kernel 4.9.x+ the kernel image for this device compiled had exceeded
the kernel partition size limit and thus failing size check.

The kernel image generated for this device
under ar71xx tiny target is 1329.67 kB < 1408 kB.

Signed-off-by: Kin Chan <kcchan1@outlook.com>
target/linux/ar71xx/generic/config-default
target/linux/ar71xx/image/generic-legacy-devices.mk
target/linux/ar71xx/image/legacy.mk
target/linux/ar71xx/image/tiny-legacy-devices.mk
target/linux/ar71xx/tiny/config-default

index 7e137d76b4749c3c7e28d73618f0818a14dca2f7..98c40f870eb635ad39b6dbfa117152191b1be134 100644 (file)
@@ -85,7 +85,6 @@ CONFIG_ATH79_MACH_ESR1750=y
 CONFIG_ATH79_MACH_ESR900=y
 CONFIG_ATH79_MACH_EW_BALIN=y
 CONFIG_ATH79_MACH_EW_DORIN=y
-CONFIG_ATH79_MACH_F9K1115V2=y
 CONFIG_ATH79_MACH_FRITZ300E=y
 CONFIG_ATH79_MACH_FRITZ4020=y
 CONFIG_ATH79_MACH_FRITZ450E=y
index 7692e802d732e4e816d43af5402695e518fb0d81..a784a1a20504c02a548043ac9d53d4609c4870ad 100644 (file)
@@ -143,13 +143,6 @@ define LegacyDevice/TUBE2H16M
 endef
 LEGACY_DEVICES += TUBE2H16M
 
-define LegacyDevice/F9K1115V2
-  DEVICE_TITLE := Belkin AC1750DB (F9K1115V2)
-  DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb3 kmod-usb-ledtrig-usbport \
-       kmod-ath10k ath10k-firmware-qca988x
-endef
-LEGACY_DEVICES += F9K1115V2
-
 define LegacyDevice/DIR505A1
   DEVICE_TITLE := D-Link DIR-505 rev. A1
   DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
index cbc859dd08d50eed2049b341ddd5332d21dcbf02..363e0956c79968d14f1fbd31a502a9b940db1648 100644 (file)
@@ -897,8 +897,6 @@ $(eval $(call SingleProfile,AthLzma,64k,DB120,db120,DB120,ttyS0,115200,$$(db120_
 $(eval $(call SingleProfile,AthLzma,64k,HORNETUBx2,hornet-ub-x2,HORNET-UB,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536))
 $(eval $(call SingleProfile,AthLzma,64k,TUBE2H16M,tube2h-16M,TUBE2H,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536))
 
-$(eval $(call SingleProfile,Belkin,64k,F9K1115V2,f9k1115v2,F9K1115V2,ttyS0,115200,$$(f9k1115v2_mtdlayout),BR-6679BAC))
-
 $(eval $(call SingleProfile,CameoAP121_8M,64kraw-nojffs,DIR505A1,dir-505-a1,DIR-505-A1,ttyATH0,115200,"HORNET-PACKET-DIR505A1-3",1.99.99,""))
 
 $(eval $(call SingleProfile,CameoAP135,64kraw,DGL5500A1,dgl-5500-a1,DGL-5500-A1,ttyS0,115200,$$(dgl_5500_mtdlayout),"00AP135AR9558-RT-130508-00"))
@@ -972,6 +970,8 @@ endif # ifeq ($(SUBTARGET),generic)
 
 ifeq ($(SUBTARGET),tiny)
 
+$(eval $(call SingleProfile,Belkin,64k,F9K1115V2,f9k1115v2,F9K1115V2,ttyS0,115200,$$(f9k1115v2_mtdlayout),BR-6679BAC))
+
 $(eval $(call SingleProfile,CameoAP91,64kraw,DIR600A1,dir-600-a1,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-00"))
 $(eval $(call SingleProfile,CameoAP91,64kraw,DIR601A1,dir-601-a1,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-02"))
 $(eval $(call SingleProfile,CameoAP91,64kraw,FR54RTR,fr-54rtr,DIR-600-A1,ttyS0,115200,"AP91-AR7240-RT-090223-01"))
index 3445c4c8c3393730dc4112e26d74708530865040..ab8205fefd60c3501729712098986a7f50373339 100644 (file)
@@ -1,3 +1,10 @@
+define LegacyDevice/F9K1115V2
+  DEVICE_TITLE := Belkin AC1750DB (F9K1115V2)
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb3 kmod-usb-ledtrig-usbport \
+        kmod-ath10k ath10k-firmware-qca988x
+endef
+LEGACY_DEVICES += F9K1115V2
+
 define LegacyDevice/DIR600A1
   DEVICE_TITLE := D-Link DIR-600 rev. A1
 endef
index c9368ec6a1ca8827b93c9d66e19ca8dcef4b830f..78672940b2a663e2f39f7e6c0e12fb754a7d8f27 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_ATH79_MACH_BHR_4GRV2=y
 CONFIG_ATH79_MACH_DIR_600_A1=y
 CONFIG_ATH79_MACH_DIR_615_C1=y
 CONFIG_ATH79_MACH_DIR_615_I1=y
+CONFIG_ATH79_MACH_F9K1115V2=y
 CONFIG_ATH79_MACH_NBG460N=y
 CONFIG_ATH79_MACH_TEW_632BRP=y
 CONFIG_ATH79_MACH_TEW_712BR=y