From 57b447281dbe7afa5a10d3af20c8081cad575246 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Wed, 11 Mar 2015 12:20:03 +0000 Subject: ppc44x: use the mtdsplit framework for the Taishan Signed-off-by: Imre Kaloz SVN-Revision: 44652 --- target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch | 13 ++++++------- .../linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'target/linux/ppc44x/patches-3.18') diff --git a/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch b/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch index 471e686d32..5a0295ea7b 100644 --- a/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch +++ b/target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch @@ -1,19 +1,18 @@ --- a/arch/powerpc/boot/dts/taishan.dts +++ b/arch/powerpc/boot/dts/taishan.dts -@@ -195,15 +195,15 @@ +@@ -194,16 +194,12 @@ + #address-cells = <1>; #size-cells = <1>; partition@0 { - label = "kernel"; +- label = "kernel"; - reg = <0x0 0x180000>; -+ reg = <0x0 0x200000>; ++ label = "firmware"; ++ reg = <0x0 0x3e00000>; }; - partition@180000 { - label = "root"; - reg = <0x180000 0x200000>; -+ partition@200000 { -+ label = "rootfs"; -+ reg = <0x200000 0x3c00000>; - }; +- }; - partition@380000 { - label = "user"; - reg = <0x380000 0x3bc0000>; diff --git a/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch b/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch index e61943014c..bcf18718e9 100644 --- a/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch +++ b/target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch @@ -1,9 +1,9 @@ --- a/arch/powerpc/boot/dts/taishan.dts +++ b/arch/powerpc/boot/dts/taishan.dts -@@ -423,5 +423,6 @@ +@@ -419,5 +419,6 @@ chosen { linux,stdout-path = "/plb/opb/serial@40000300"; -+ bootargs = "console=ttyS1,115200 root=/dev/mtdblock1 rootfstype=squashfs noinitrd"; ++ bootargs = "rootfstype=squashfs noinitrd"; }; }; -- cgit v1.2.3