config: Update KP's imx53 HSC config to support SWUpdate
PATCH 1/2 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.
---
include/configs/kp_imx53.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
include/configs/kp_imx53.h +5 -2
@@ -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
Signature · 1 line
2.11.0
PATCH 2/2 config: Update KP's imx53 HSC config to pass key pressed information
The information about pressed key is relevant in performing correct update and recovery scenarios via USB pendrive.
This commit modifies envs to provide it.
---
include/configs/kp_imx53.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/kp_imx53.h +2 -0
@@ -44,6 +44,7 @@"updargs=setenv bootargs console=${console} ${smp} ${displayargs}\0" \"initrd_ram_dev=/dev/ram\0" \"addswupdate=setenv bootargs ${bootargs} root=${initrd_ram_dev} rw\0" \ +"addkeys=setenv bootargs ${bootargs} di=${dig_in} key1=${key1}\0" \"loadusb=usb start; " \"fatload usb 0 ${loadaddr} ${upd_image}\0" \"up=if tftp ${loadaddr} ${uboot_file}; then " \
@@ -62,6 +63,7 @@"run updargs; " \"run addinitrd; " \"run addswupdate; " \ +"run addkeys; " \"run loadusb; " \"bootm ${loadaddr}#${fit_config}\0" \BOOTENV
Signature · 1 line
2.11.0
PATCH 2/2 config: Update KP's imx53 HSC config to
Quoted 4 lines
The information about pressed key is relevant in performing correct update and recovery scenarios via USB pendrive.
This commit modifies envs to provide it.Signed-off-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
PATCH 1/2 config: Update KP's imx53 HSC config to
In reply to Lukasz MajewskiQuoted 3 lines
This commit updates envs responsible for using USB pendrive as a SWUpdate based tool for recovery and update.
Signed-off-by Lukasz Majewski <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================