summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-03-07 14:44:27 -0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 15:03:36 +0100
commit7f946663c11fd5e580eb7e4f15bcc14d47ce47ad (patch)
tree65205700098c1cd6ea066f948186e2affee8b5b0
parente0654e36ddd2bf0feffd00684f6fa288632ec668 (diff)
colibri_vf: read kernel and device tree from static UBI volumesColibri_iMX7_LinuxImageV2.6Alpha1_20160315
With the next release our update scripts write the kernel and device tree in seperate UBI volumes. This allows to use a lot less UBI/UBIFS support in U-Boot, which should lower the risk of hitting bugs in this area. Boot times are also slightly faster (measurements showed an improvement of ~150ms). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--include/configs/colibri_vf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index b87081276f0..f74accc5b07 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -173,9 +173,9 @@
"ubiboot=run setup; " \
"setenv bootargs ${defargs} ${ubiargs} " \
"${setupargs} ${vidargs}; echo Booting from NAND...; " \
- "ubi part ubi && ubifsmount ubi0:rootfs && " \
- "ubifsload ${kernel_addr_r} /boot/${kernel_file} && " \
- "ubifsload ${fdt_addr_r} /boot/${soc}-colibri-${fdt_board}.dtb && " \
+ "ubi part ubi && " \
+ "ubi read ${kernel_addr_r} kernel && " \
+ "ubi read ${fdt_addr_r} dtb && " \
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
#define CONFIG_BOOTCOMMAND "run ubiboot; run sdboot; run nfsboot"