From 9ca49930baaa3f537a67afaf9914d4047265ec41 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sat, 15 Feb 2014 23:53:10 +0000 Subject: kirkwood: update support for dockstar The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0xfe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov Tested-by: Alexander Couzens CC: Imre Kaloz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39593 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/kirkwood/patches-3.10/140-dockstar.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 target/linux/kirkwood/patches-3.10/140-dockstar.patch (limited to 'target/linux/kirkwood/patches-3.10/140-dockstar.patch') diff --git a/target/linux/kirkwood/patches-3.10/140-dockstar.patch b/target/linux/kirkwood/patches-3.10/140-dockstar.patch new file mode 100644 index 0000000000..8054891123 --- /dev/null +++ b/target/linux/kirkwood/patches-3.10/140-dockstar.patch @@ -0,0 +1,32 @@ +--- a/arch/arm/boot/dts/kirkwood-dockstar.dts ++++ b/arch/arm/boot/dts/kirkwood-dockstar.dts +@@ -45,18 +45,22 @@ + + partition@0 { + label = "u-boot"; +- reg = <0x0000000 0x100000>; +- read-only; ++ reg = <0x0000000 0xe0000>; ++ }; ++ ++ partition@e0000 { ++ label = "u-boot environment"; ++ reg = <0xe0000 0x100000>; + }; + + partition@100000 { +- label = "uImage"; +- reg = <0x0100000 0x400000>; ++ label = "second stage u-boot"; ++ reg = <0x100000 0x200000>; + }; + +- partition@500000 { +- label = "data"; +- reg = <0x0500000 0xfb00000>; ++ partition@200000 { ++ label = "root"; ++ reg = <0x200000 0xfe00000>; + }; + }; + }; -- cgit v1.2.3