diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-10-10 16:11:30 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-13 22:49:12 +0200 |
commit | 5e9387130566219ab70170f9c6d98966be5a960a (patch) | |
tree | 75398bfff8ea38bdeffb75e69d523795e7687644 /include/configs/kp_imx6q_tpc.h | |
parent | 0bcb11fa1f04baeb0d5462a358aa86b16062bebd (diff) |
imx: config: Update KP's TPC70 config to support SWUpdate
This patch 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_imx6q_tpc.h')
-rw-r--r-- | include/configs/kp_imx6q_tpc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/kp_imx6q_tpc.h b/include/configs/kp_imx6q_tpc.h index 08cf90280e..f6746a93ca 100644 --- a/include/configs/kp_imx6q_tpc.h +++ b/include/configs/kp_imx6q_tpc.h @@ -65,8 +65,9 @@ "SPL_file=SPL\0" \ "wic_file=kp-image-kpimx6qtpc.wic\0" \ "upd_image=st.4k\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" \ "upd_uboot_sd=" \ @@ -94,6 +95,8 @@ "usbupd=echo Booting update from usb ...; " \ "setenv bootargs; " \ "run updargs; " \ + "run addinitrd; " \ + "run addswupdate; " \ "run loadusb; " \ "bootm ${loadaddr}#${fit_config}\0" \ BOOTENV |