mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-29 23:53:33 +08:00
colibri_vf: add update_uboot wrapper
Add universal update_uboot wrapper that helps to update U-Boot image on internal storage. Usage example: > tftpboot ${loadaddr} ${board_name}/u-boot-nand.imx > run update_uboot Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
This commit is contained in:
parent
ba195a9487
commit
97c4275771
@ -58,6 +58,10 @@
|
||||
"ramdisk_addr_r=0x82100000\0" \
|
||||
"scriptaddr=0x87000000\0"
|
||||
|
||||
#define UBOOT_UPDATE \
|
||||
"update_uboot=nand erase.part u-boot && " \
|
||||
"nand write ${loadaddr} u-boot ${filesize}\0" \
|
||||
|
||||
#define NFS_BOOTCMD \
|
||||
"nfsargs=ip=:::::eth0: root=/dev/nfs\0" \
|
||||
"nfsboot=run setup; " \
|
||||
@ -112,6 +116,7 @@
|
||||
NFS_BOOTCMD \
|
||||
SD_BOOTCMD \
|
||||
UBI_BOOTCMD \
|
||||
UBOOT_UPDATE \
|
||||
"console=ttyLP0\0" \
|
||||
"defargs=user_debug=30\0" \
|
||||
"dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
|
||||
|
Loading…
Reference in New Issue
Block a user