uboot-kirkwood/goflexhome: explicit define the size of the last partition
authorLuka Perkov <luka@openwrt.org>
Mon, 14 Mar 2016 17:06:18 +0000 (17:06 +0000)
committerLuka Perkov <luka@openwrt.org>
Mon, 14 Mar 2016 17:06:18 +0000 (17:06 +0000)
Explicit sets the size of the mtdparts, because the kernel has also an explicit value.
If they have diffent sizes the ubi won't be detected.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 49018

package/boot/uboot-kirkwood/patches/150-goflexhome.patch

index 76daddfe5ee2300893b3aaa9e4cc737ab2c098b3..f9b26cfb513dbf054281f322b3c46e636c83096f 100644 (file)
@@ -16,7 +16,7 @@ Index: u-boot-2014.10/include/configs/goflexhome.h
  
  #define CONFIG_MTDPARTS \
 -      "mtdparts=orion_nand:1m(uboot),6M(uImage),-(root)\0"
-+      "mtdparts=orion_nand:1m(uboot),-(ubi)\0"
++      "mtdparts=orion_nand:1m(uboot),255m(ubi)\0"
  
  #define CONFIG_EXTRA_ENV_SETTINGS \
        "console=console=ttyS0,115200\0" \