diff --git a/patch/kernel/sunxi-dev/add-nand-to-cubietruck.patch b/patch/kernel/sunxi-dev/add-nand-to-cubietruck.patch index db7caf9055..064fa37b26 100644 --- a/patch/kernel/sunxi-dev/add-nand-to-cubietruck.patch +++ b/patch/kernel/sunxi-dev/add-nand-to-cubietruck.patch @@ -24,33 +24,33 @@ index 83f39b0..dc1d42b 100644 + + partition@0 { + label = "SPL"; -+ reg = <0x0 0x0 0x0 0x400000>; ++ reg = <0x0 0x0 0x0 0x200000>; ++ }; ++ ++ partition@200000 { ++ label = "SPL.backup"; ++ reg = <0x0 0x200000 0x0 0x200000>; + }; + + partition@400000 { -+ label = "SPL.backup"; -+ reg = <0x0 0x400000 0x0 0x400000>; ++ label = "U-Boot"; ++ reg = <0x0 0x400000 0x0 0x200000>; ++ }; ++ ++ partition@600000 { ++ label = "U-Boot.backup"; ++ reg = <0x0 0x600000 0x0 0x200000>; + }; + + partition@800000 { -+ label = "U-Boot"; -+ reg = <0x0 0x800000 0x0 0x400000>; -+ }; -+ -+ partition@c00000 { -+ label = "U-Boot.backup"; -+ reg = <0x0 0xc00000 0x0 0x400000>; -+ }; -+ -+ partition@1000000 { + label = "env"; -+ reg = <0x0 0x1000000 0x0 0x400000>; ++ reg = <0x0 0x800000 0x0 0x200000>; + read-only; + }; + -+ partition@1400000 { ++ partition@a00000 { + label = "rootfs"; -+ reg = <0x0 0x1400000 0x01 0xff000000>; ++ reg = <0x0 0xa00000 0x01 0xff000000>; + }; + }; + }; diff --git a/patch/kernel/sunxi-next/add-nand-to-cubietruck.patch.disabled b/patch/kernel/sunxi-next/add-nand-to-cubietruck.patch.disabled index db7caf9055..064fa37b26 100644 --- a/patch/kernel/sunxi-next/add-nand-to-cubietruck.patch.disabled +++ b/patch/kernel/sunxi-next/add-nand-to-cubietruck.patch.disabled @@ -24,33 +24,33 @@ index 83f39b0..dc1d42b 100644 + + partition@0 { + label = "SPL"; -+ reg = <0x0 0x0 0x0 0x400000>; ++ reg = <0x0 0x0 0x0 0x200000>; ++ }; ++ ++ partition@200000 { ++ label = "SPL.backup"; ++ reg = <0x0 0x200000 0x0 0x200000>; + }; + + partition@400000 { -+ label = "SPL.backup"; -+ reg = <0x0 0x400000 0x0 0x400000>; ++ label = "U-Boot"; ++ reg = <0x0 0x400000 0x0 0x200000>; ++ }; ++ ++ partition@600000 { ++ label = "U-Boot.backup"; ++ reg = <0x0 0x600000 0x0 0x200000>; + }; + + partition@800000 { -+ label = "U-Boot"; -+ reg = <0x0 0x800000 0x0 0x400000>; -+ }; -+ -+ partition@c00000 { -+ label = "U-Boot.backup"; -+ reg = <0x0 0xc00000 0x0 0x400000>; -+ }; -+ -+ partition@1000000 { + label = "env"; -+ reg = <0x0 0x1000000 0x0 0x400000>; ++ reg = <0x0 0x800000 0x0 0x200000>; + read-only; + }; + -+ partition@1400000 { ++ partition@a00000 { + label = "rootfs"; -+ reg = <0x0 0x1400000 0x01 0xff000000>; ++ reg = <0x0 0xa00000 0x01 0xff000000>; + }; + }; + };