* [U-Boot] [PATCH v1 1/2] config: Update KP's imx53 HSC config to support SWUpdate
@ 2019-05-08 14:26 Lukasz Majewski
2019-05-08 14:26 ` [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to pass key pressed information Lukasz Majewski
2019-06-10 9:40 ` [U-Boot] [PATCH v1 1/2] " sbabic at denx.de
0 siblings, 2 replies; 4+ messages in thread
From: Lukasz Majewski @ 2019-05-08 14:26 UTC (permalink / raw)
To: u-boot
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>
---
include/configs/kp_imx53.h | 7 +++++--
1 file 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
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to pass key pressed information
2019-05-08 14:26 [U-Boot] [PATCH v1 1/2] config: Update KP's imx53 HSC config to support SWUpdate Lukasz Majewski
@ 2019-05-08 14:26 ` Lukasz Majewski
2019-06-10 9:49 ` [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to sbabic at denx.de
2019-06-10 9:40 ` [U-Boot] [PATCH v1 1/2] " sbabic at denx.de
1 sibling, 1 reply; 4+ messages in thread
From: Lukasz Majewski @ 2019-05-08 14:26 UTC (permalink / raw)
To: u-boot
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 <lukma@denx.de>
---
include/configs/kp_imx53.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/kp_imx53.h b/include/configs/kp_imx53.h
index 9c7c908453..55bfa0fe59 100644
--- a/include/configs/kp_imx53.h
+++ b/include/configs/kp_imx53.h
@@ -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
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v1 1/2] config: Update KP's imx53 HSC config to
2019-05-08 14:26 [U-Boot] [PATCH v1 1/2] config: Update KP's imx53 HSC config to support SWUpdate Lukasz Majewski
2019-05-08 14:26 ` [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to pass key pressed information Lukasz Majewski
@ 2019-06-10 9:40 ` sbabic at denx.de
1 sibling, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2019-06-10 9:40 UTC (permalink / raw)
To: u-boot
> 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>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to
2019-05-08 14:26 ` [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to pass key pressed information Lukasz Majewski
@ 2019-06-10 9:49 ` sbabic at denx.de
0 siblings, 0 replies; 4+ messages in thread
From: sbabic at denx.de @ 2019-06-10 9:49 UTC (permalink / raw)
To: u-boot
> 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 <lukma@denx.de>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-10 9:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08 14:26 [U-Boot] [PATCH v1 1/2] config: Update KP's imx53 HSC config to support SWUpdate Lukasz Majewski
2019-05-08 14:26 ` [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to pass key pressed information Lukasz Majewski
2019-06-10 9:49 ` [U-Boot] [PATCH v1 2/2] config: Update KP's imx53 HSC config to sbabic at denx.de
2019-06-10 9:40 ` [U-Boot] [PATCH v1 1/2] " sbabic at denx.de
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.