diff options
Diffstat (limited to 'meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr')
-rw-r--r-- | meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr new file mode 100644 index 00000000..5b7dc803 --- /dev/null +++ b/meta-toradex-extras/recipes/u-boot/u-boot-script-toradex/flash_mmc.scr @@ -0,0 +1,2 @@ +setenv update_uboot 'fatload mmc ${drive}:1 ${loadaddr} u-boot.imx && setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt ${blkcnt} / 0x200 && mmc dev 0 && mmc write ${loadaddr} 2 ${blkcnt}' +echo 'enter "run update_uboot" to update the uboot' |