Author: luka
Date: 2016-05-11 01:03:43 +0200 (Wed, 11 May 2016)
New Revision: 49370

Modified:
   trunk/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
   trunk/target/linux/kirkwood/image/Makefile
Log:
krikwood: Make Iconnect image use new ubi format style

To flash first time follow instructions in commit:
"kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images"

Signed-off-by: Wojciech Dubowik <[email protected]>

Modified: trunk/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
===================================================================
--- trunk/target/linux/kirkwood/base-files/lib/upgrade/platform.sh      
2016-05-10 23:03:41 UTC (rev 49369)
+++ trunk/target/linux/kirkwood/base-files/lib/upgrade/platform.sh      
2016-05-10 23:03:43 UTC (rev 49370)
@@ -14,7 +14,8 @@
                }
                return 0
                ;;
-       "dockstar")
+       "dockstar"|\
+       "iconnect")
                nand_do_platform_check $board $1
                return $?
                ;;
@@ -39,7 +40,8 @@
        local board=$(kirkwood_board_name)
 
        case "$board" in
-       "dockstar")
+       "dockstar"|\
+       "iconnect")
                nand_do_upgrade $1
                ;;
        esac

Modified: trunk/target/linux/kirkwood/image/Makefile
===================================================================
--- trunk/target/linux/kirkwood/image/Makefile  2016-05-10 23:03:41 UTC (rev 
49369)
+++ trunk/target/linux/kirkwood/image/Makefile  2016-05-10 23:03:43 UTC (rev 
49370)
@@ -12,7 +12,7 @@
 
 DEVICE_VARS += DEVICE_DTS KERNEL_SIZE PAGESIZE BLOCKSIZE SUBPAGESIZE 
KERNEL_IN_UBI
 KERNEL_LOADADDR:=0x8000
-TARGET_DEVICES = linksys-audi linksys-viper dockstar goflexnet goflexhome
+TARGET_DEVICES = linksys-audi linksys-viper dockstar goflexnet goflexhome 
iconnect
 
 define Device/Default
   KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
@@ -47,6 +47,12 @@
   DEVICE_DTS := kirkwood-goflexhome
 endef
 
+define Device/iconnect
+$(Device/dockstar)
+  PROFILES := Generic ICONNECT
+  DEVICE_DTS := kirkwood-iconnect
+endef
+
 define Device/linksys-audi
   DEVICE_DTS := kirkwood-linksys-audi
   PAGESIZE := 512
@@ -176,9 +182,6 @@
 Image/BuildKernel/Template/IB62X0=$(call Image/BuildKernel/Template,ib62x0)
 Image/InstallKernel/Template/IB62X0=$(call Image/InstallKernel/Template,ib62x0)
 
-Image/BuildKernel/Template/ICONNECT=$(call Image/BuildKernel/Template,iconnect)
-Image/InstallKernel/Template/ICONNECT=$(call 
Image/InstallKernel/Template,iconnect)
-
 Image/BuildKernel/Template/IOMEGA_IX2_200=$(call 
Image/BuildKernel/Template,iomega_ix2_200)
 Image/InstallKernel/Template/IOMEGA_IX2_200=$(call 
Image/InstallKernel/Template,iomega_ix2_200)
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to