diff options
author | Dominik Sliwa <dominik.sliwa@toradex.com> | 2016-05-20 14:12:51 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-22 14:36:38 +0200 |
commit | 0c7ec26c43a42bc36dd0062844d2a09e8a054e90 (patch) | |
tree | c73c98ab3476db2aa2fdabecdc421e19710be04e /include | |
parent | 340f51a210df1da640a57267e6c7fa56b8a852ed (diff) |
colibri_t20: 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: Dominik Sliwa <dominik.sliwa@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/colibri_t20.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index 694c9278d82..703e20b14d5 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -171,11 +171,13 @@ "ubi.fm_autoconvert=1\0" \ "ubiboot=run setup; setenv bootargs ${defargs} ${ubiargs} ${mtdparts}" \ " ${setupargs} ${vidargs}; echo Booting from NAND...; " \ - "ubi part ubi && ubifsmount ubi0:rootfs && run ubidtbload; " \ - "ubifsload ${kernel_addr_r} /boot/${boot_file} && " \ - "bootz ${kernel_addr_r} - ${dtbparam}\0" \ - "ubidtbload=setenv dtbparam; ubifsload ${fdt_addr_r} " \ - "/boot/${soc}-colibri-${fdt_board}.dtb && " \ + "ubi part ubi && " \ + "ubi read ${kernel_addr_r} kernel &&" \ + "run ubidtbload; " \ + "bootz ${kernel_addr_r} - ${dtbparam}; " \ + "bootz ${kernel_addr_r} - \0" \ + "ubidtbload=setenv dtbparam; " \ + "ubi read ${fdt_addr_r} dtb && " \ "setenv dtbparam ${fdt_addr_r}\0" #define USB_BOOTCMD \ |