aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-3.10
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-02-15 23:53:08 +0000
committerLuka Perkov <luka@openwrt.org>2014-02-15 23:53:08 +0000
commit0c25f159fd44c20c13a37148ff91b283c307dcfe (patch)
tree3038e618b22054be20dee33ec16867c65257ec44 /target/linux/kirkwood/patches-3.10
parent777e7c3ff5d0030dc7d24a43b70dfd2d3b2a5a4c (diff)
downloadupstream-0c25f159fd44c20c13a37148ff91b283c307dcfe.tar.gz
upstream-0c25f159fd44c20c13a37148ff91b283c307dcfe.tar.bz2
upstream-0c25f159fd44c20c13a37148ff91b283c307dcfe.zip
kirkwood: update support for iconnect
Previous patch was pushed due to false user report. While at it fix alphabetic ordering. 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 0x1fe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39591
Diffstat (limited to 'target/linux/kirkwood/patches-3.10')
-rw-r--r--target/linux/kirkwood/patches-3.10/130-iconnect.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-3.10/130-iconnect.patch b/target/linux/kirkwood/patches-3.10/130-iconnect.patch
new file mode 100644
index 0000000000..28e701290e
--- /dev/null
+++ b/target/linux/kirkwood/patches-3.10/130-iconnect.patch
@@ -0,0 +1,41 @@
+--- a/arch/arm/boot/dts/kirkwood-iconnect.dts
++++ b/arch/arm/boot/dts/kirkwood-iconnect.dts
+@@ -85,28 +85,23 @@
+ status = "okay";
+
+ partition@0 {
+- label = "uboot";
+- reg = <0x0000000 0xc0000>;
++ label = "u-boot";
++ reg = <0x0000000 0xe0000>;
+ };
+
+- partition@a0000 {
+- label = "env";
+- reg = <0xa0000 0x20000>;
++ partition@e0000 {
++ label = "u-boot environment";
++ reg = <0xe0000 0x100000>;
+ };
+
+ partition@100000 {
+- label = "zImage";
+- reg = <0x100000 0x300000>;
++ label = "second stage u-boot";
++ reg = <0x100000 0x200000>;
+ };
+
+- partition@540000 {
+- label = "initrd";
+- reg = <0x540000 0x300000>;
+- };
+-
+- partition@980000 {
+- label = "boot";
+- reg = <0x980000 0x1f400000>;
++ partition@200000 {
++ label = "root";
++ reg = <0x200000 0x1fe00000>;
+ };
+ };
+