mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-05 04:31:44 +02:00
config: Update KP's imx53 HSC config to support SWUpdate
This commit updates envs responsible for using USB pendrive as a SWUpdate based tool for recovery and update. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
08919d381c
commit
a73b4b60a3
@ -41,8 +41,9 @@
|
|||||||
"addinitrd=setenv bootargs ${bootargs} rdinit=${rdinit} ${debug} \0" \
|
"addinitrd=setenv bootargs ${bootargs} rdinit=${rdinit} ${debug} \0" \
|
||||||
"upd_image=st.4k\0" \
|
"upd_image=st.4k\0" \
|
||||||
"uboot_file=u-boot.imx\0" \
|
"uboot_file=u-boot.imx\0" \
|
||||||
"updargs=setenv bootargs console=${console} ${smp}"\
|
"updargs=setenv bootargs console=${console} ${smp} ${displayargs}\0" \
|
||||||
"rdinit=${rdinit} ${debug} ${displayargs}\0" \
|
"initrd_ram_dev=/dev/ram\0" \
|
||||||
|
"addswupdate=setenv bootargs ${bootargs} root=${initrd_ram_dev} rw\0" \
|
||||||
"loadusb=usb start; " \
|
"loadusb=usb start; " \
|
||||||
"fatload usb 0 ${loadaddr} ${upd_image}\0" \
|
"fatload usb 0 ${loadaddr} ${upd_image}\0" \
|
||||||
"up=if tftp ${loadaddr} ${uboot_file}; then " \
|
"up=if tftp ${loadaddr} ${uboot_file}; then " \
|
||||||
@ -59,6 +60,8 @@
|
|||||||
"usbupd=echo Booting update from usb ...; " \
|
"usbupd=echo Booting update from usb ...; " \
|
||||||
"setenv bootargs; " \
|
"setenv bootargs; " \
|
||||||
"run updargs; " \
|
"run updargs; " \
|
||||||
|
"run addinitrd; " \
|
||||||
|
"run addswupdate; " \
|
||||||
"run loadusb; " \
|
"run loadusb; " \
|
||||||
"bootm ${loadaddr}#${fit_config}\0" \
|
"bootm ${loadaddr}#${fit_config}\0" \
|
||||||
BOOTENV
|
BOOTENV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user