All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: uniphier: add usbupdate command
@ 2017-05-10 11:57 Masahiro Yamada
  2017-05-17 14:23 ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2017-05-10 11:57 UTC (permalink / raw)
  To: u-boot

This script command will be useful to update boot images in the
USB storage.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/configs/uniphier.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index cdc5b00..7bd2d8c 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -246,6 +246,11 @@
 		"nand write $loadaddr 0 0x00020000 && " \
 		"tftpboot $third_image && " \
 		"nand write $loadaddr 0x00020000 0x000e0000\0" \
+	"usbupdate=usb start &&" \
+		"tftpboot $second_image && " \
+		"usb write $loadaddr 0 100 && " \
+		"tftpboot $third_image && " \
+		"usb write $loadaddr 100 700\0" \
 	BOOT_IMAGES \
 	LINUXBOOT_ENV_SETTINGS
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ARM: uniphier: add usbupdate command
  2017-05-10 11:57 [U-Boot] [PATCH] ARM: uniphier: add usbupdate command Masahiro Yamada
@ 2017-05-17 14:23 ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2017-05-17 14:23 UTC (permalink / raw)
  To: u-boot

2017-05-10 20:57 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> This script command will be useful to update boot images in the
> USB storage.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Applied to u-boot-uniphier/master.


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-17 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-10 11:57 [U-Boot] [PATCH] ARM: uniphier: add usbupdate command Masahiro Yamada
2017-05-17 14:23 ` Masahiro Yamada

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.