summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Redfearn <matt.redfearn@imgtec.com>2015-08-28 11:10:06 +0300
committerMatt Redfearn <matt.redfearn@imgtec.com>2015-08-28 11:10:06 +0300
commit724d1bfdd52b0b3561e890ddcd993e37b13d5a76 (patch)
treee74d140a4570da7fb2c20a7205c1a1e6403e28d1
parent6cfaf802b580f2f7e92a5dec705ff9c196c637b4 (diff)
downloadCI20_u-boot-724d1bfdd52b0b3561e890ddcd993e37b13d5a76.tar.xz
ci20: Add 128Mb boot partition
Improve boot time by making /boot a separate partition This means that uboot only has to scan the small boot partition And it doesn't delete the UBI fastmount volume on the system partition Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
-rw-r--r--include/configs/ci20.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/ci20.h b/include/configs/ci20.h
index 6acf416df..73303b0c6 100644
--- a/include/configs/ci20.h
+++ b/include/configs/ci20.h
@@ -90,9 +90,10 @@
/* NAND defaults */
#define CONFIG_BOOTARGS \
- BOOTARGS_COMMON " ubi.mtd=3 root=ubi0:root rootfstype=ubifs rw"
+ BOOTARGS_COMMON " ubi.mtd=3 ubi.mtd=4 ubi.fm_autoconvert=1 " \
+ "root=ubi1:root rootfstype=ubifs rw"
#define CONFIG_BOOTCOMMAND \
- "run ethargs; mtdparts default; ubi part system; ubifsmount ubi:boot; " \
+ "run ethargs; mtdparts default; ubi part boot; ubifsmount ubi:boot; " \
"ubifsload 0x88000000 uImage; bootm 0x88000000"
#endif /* !CONFIG_SPL_MMC_SUPPORT */
@@ -168,7 +169,7 @@
#define CONFIG_MTD_DEVICE
#define CONFIG_MTD_PARTITIONS
#define MTDIDS_DEFAULT "nand0=nand"
-#define MTDPARTS_DEFAULT "mtdparts=nand:8m(uboot-spl),2m(uboot),2m(uboot-env),-(system)"
+#define MTDPARTS_DEFAULT "mtdparts=nand:8m(uboot-spl),2m(uboot),2m(uboot-env),128m(boot),-(system)"
/*
* MMC