Skip to contentSkip to conversation

config: Update KP's imx53 HSC config to pass key pressed information

PATCH New Lukasz Majewski 1 participant 2 messages May 8, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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
index 9c7c908453..55bfa0fe59 100644
@@ -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
#1 lore raw

PATCH 1/1 config: Update KP's imx53 HSC config to pass key pressed information

Hi Stefano,

Quoted 7 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.

Please drop this standalone patch, as I've just sent a series
http://patchwork.ozlabs.org/patch/1097058/
http://patchwork.ozlabs.org/patch/1097059/

which supersedes it.

Sorry for trouble.

Quoted 19 lines

---

 include/configs/kp_imx53.h | 2 ++
 1 file changed, 2 insertions(+)
include/configs/kp_imx53.h +1 -0
index 9c7c908453..55bfa0fe59 100644
@@ -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" \
include/configs/kp_imx53.h +0 -0
 	"up=if tftp ${loadaddr} ${uboot_file}; then " \

include/configs/kp_imx53.h line 69

Quoted 7 lines
include/configs/kp_imx53.h +1 -0
@@ -62,6 +63,7 @@
 	       "run updargs; " \
 	       "run addinitrd; " \
 	       "run addswupdate; " \
+	       "run addkeys; " \
 	       "run loadusb; " \
 	       "bootm ${loadaddr}#${fit_config}\0" \
 	BOOTENV

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190508/c6ebf11d/attachment.sig>