summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2016-11-25 16:19:17 +0530
committerStefano Babic <sbabic@denx.de>2016-11-29 16:47:47 +0100
commit3ed82d6f9bcb3dd2403d432af28787ba1d83fe1b (patch)
tree43249070de4b57596ad79bd42474b69a42eeaf8a /include
parentd9e268ed766b03c7d2fc36debcd62b6696395aad (diff)
downloadu-boot-imx-3ed82d6f9bcb3dd2403d432af28787ba1d83fe1b.zip
u-boot-imx-3ed82d6f9bcb3dd2403d432af28787ba1d83fe1b.tar.gz
u-boot-imx-3ed82d6f9bcb3dd2403d432af28787ba1d83fe1b.tar.bz2
colibri_vf: Read kernel and device tree from static UBI volumes
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. Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Diffstat (limited to 'include')
-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 0cd77ff..d58145e 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -116,9 +116,9 @@
"ubiboot=run setup; " \
"setenv bootargs ${defargs} ${ubiargs} ${mtdparts} " \
"${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 && " \
"bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
#define CONFIG_BOOTCOMMAND "run ubiboot; run sdboot; run nfsboot"