From d899f31b7fb5c857b159b46c52ce22b3c7b701f5 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 27 May 2015 10:43:16 +0300 Subject: toradex: add support for u-boot update on colibri vf Include flash scripts to boot partition, which can update u-boot to NAND. Remove kernel and dtb files from boot partition, as they are read from second partition. u-boot env changed to boot from MMC by default and kernel messages removed from tty1. apalis flash scripts updated to latest version from toradex and to use both flash_mmc and flash_blk. Change-Id: I1a58badafa01e2023b9ae058b833eb108c097594 Reviewed-by: Eirik Aavitsland --- .../recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr') diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr new file mode 100644 index 0000000..207c7db --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/mx6/flash_mmc.scr @@ -0,0 +1,6 @@ +#flash_mmc has been renamed to flash_blk, ensure compatibilty when updating from older versions +test -n ${interface} || setenv interface mmc +test -n ${drive} || setenv drive 1 + +fatload ${interface} ${drive}:1 ${loadaddr} flash_blk.img +source ${loadaddr} -- cgit v1.2.3-54-g00ecf