From 7f946663c11fd5e580eb7e4f15bcc14d47ce47ad Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 7 Mar 2016 14:44:27 -0800 Subject: colibri_vf: read kernel and device tree from static UBI volumes 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 Signed-off-by: Max Krummenacher --- include/configs/colibri_vf.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h index b87081276f..f74accc5b0 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" -- cgit v1.2.3