diff options
Diffstat (limited to 'recipes-images')
l---------[-rw-r--r--] | recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_blk.scr | 12 | ||||
l---------[-rw-r--r--] | recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr | 7 | ||||
l---------[-rw-r--r--] | recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_mmc.scr | 4 | ||||
l---------[-rwxr-xr-x] | recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/mk-u-boot-scripts.sh | 6 |
4 files changed, 4 insertions, 25 deletions
diff --git a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_blk.scr b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_blk.scr index 7af72e6..5954646 100644..120000 --- a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_blk.scr +++ b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_blk.scr @@ -1,11 +1 @@ -#the update.sh script renames this. fwd_blk.scr -> ../flash_blk.img -test -n ${interface} || setenv interface mmc -test -n ${drive} || setenv drive 1 -test -z "${board_name}" && test "${soc}" = "vf500" && setenv board_name colibri_vf -test -z "${board_name}" && test "${soc}" = "vf610" && setenv board_name colibri_vf -test "${board_name}" = "colibri_imx7" && setenv drive 0 -test "${board_name}" = "colibri_t20" && setenv drive 0 -test "${board_name}" = "colibri_vf" && setenv drive 0 - -test -n ${board_name} || echo "board_name env not set!" && exit -fatload ${interface} ${drive}:1 ${loadaddr} ${board_name}/flash_blk.img && source ${loadaddr} +../../library/fwd_blk.scr
\ No newline at end of file diff --git a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr index d7ea35c..decc214 100644..120000 --- a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr +++ b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_eth.scr @@ -1,6 +1 @@ -#the update.sh script renames this. fwd_eth.scr -> ../flash_eth.img -test -z "${board_name}" && test "${soc}" = "vf500" && setenv board_name colibri_vf -test -z "${board_name}" && test "${soc}" = "vf610" && setenv board_name colibri_vf - -test -n ${board_name} || echo "board_name env not set!" && exit -tftpboot ${loadaddr} "${board_name}/flash_eth.img" && source ${loadaddr} +../../library/fwd_eth.scr
\ No newline at end of file diff --git a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_mmc.scr b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_mmc.scr index 4c8f666..3848cfa 100644..120000 --- a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_mmc.scr +++ b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/fwd_mmc.scr @@ -1,3 +1 @@ -#the update.sh script renames this. fwd_mmc.scr -> ../flash_mmc.img -#flash_mmc has been renamed to flash_blk, ensure compatibilty when updating from older versions -fatload mmc ${drive}:1 ${loadaddr} flash_blk.img && source ${loadaddr} +../../library/fwd_mmc.scr
\ No newline at end of file diff --git a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/mk-u-boot-scripts.sh b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/mk-u-boot-scripts.sh index dda47d5..ce71dbd 100755..120000 --- a/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/mk-u-boot-scripts.sh +++ b/recipes-images/images/files/apalis-tk1-mainline/update/apalis-tk1-mainline_bin/mk-u-boot-scripts.sh @@ -1,5 +1 @@ -#!/bin/sh -for f in *.scr -do - mkimage -T script -C none -n 'Flash Apalis/Colibri module' -d $f `basename $f .scr`.img -done +../../library/mk-u-boot-scripts.sh
\ No newline at end of file |