diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-05-08 16:26:22 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-06-11 10:42:48 +0200 |
commit | a73b4b60a37656d3901e80b8bed43968ccd17bcd (patch) | |
tree | 86859c2cd1543bca8c62d17bf89d3e798816a2bc /include/configs/kp_imx53.h | |
parent | 08919d381cf3d2adb2c2c15b9598767720ad3c7b (diff) |
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>
Diffstat (limited to 'include/configs/kp_imx53.h')
-rw-r--r-- | include/configs/kp_imx53.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/kp_imx53.h b/include/configs/kp_imx53.h index a252e9003d..9c7c908453 100644 --- a/include/configs/kp_imx53.h +++ b/include/configs/kp_imx53.h @@ -41,8 +41,9 @@ "addinitrd=setenv bootargs ${bootargs} rdinit=${rdinit} ${debug} \0" \ "upd_image=st.4k\0" \ "uboot_file=u-boot.imx\0" \ - "updargs=setenv bootargs console=${console} ${smp}"\ - "rdinit=${rdinit} ${debug} ${displayargs}\0" \ + "updargs=setenv bootargs console=${console} ${smp} ${displayargs}\0" \ + "initrd_ram_dev=/dev/ram\0" \ + "addswupdate=setenv bootargs ${bootargs} root=${initrd_ram_dev} rw\0" \ "loadusb=usb start; " \ "fatload usb 0 ${loadaddr} ${upd_image}\0" \ "up=if tftp ${loadaddr} ${uboot_file}; then " \ @@ -59,6 +60,8 @@ "usbupd=echo Booting update from usb ...; " \ "setenv bootargs; " \ "run updargs; " \ + "run addinitrd; " \ + "run addswupdate; " \ "run loadusb; " \ "bootm ${loadaddr}#${fit_config}\0" \ BOOTENV |