All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrej at inversepath.com <andrej@inversepath.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] usbarmory: switch to using kernel zImage
Date: Mon, 20 Jun 2016 17:21:48 +0200	[thread overview]
Message-ID: <20160620152149.21249-1-andrej@inversepath.com> (raw)

From: Andrej Rosano <andrej@inversepath.com>

Switch to using zImage instead of uImage.

Signed-off-by: Andrej Rosano <andrej@inversepath.com>
---
 include/configs/usbarmory.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h
index 8568663..c0e093f 100644
--- a/include/configs/usbarmory.h
+++ b/include/configs/usbarmory.h
@@ -69,17 +69,19 @@
 #define CONFIG_CMD_FUSE
 #define CONFIG_FSL_IIM
 
-/* Linux boot */
+/* U-Boot memory offsets */
 #define CONFIG_LOADADDR		0x72000000
 #define CONFIG_SYS_TEXT_BASE	0x77800000
 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
+
+/* Linux boot */
 #define CONFIG_HOSTNAME		usbarmory
 #define CONFIG_BOOTCOMMAND						\
 	"run distro_bootcmd; "						\
 	"setenv bootargs console=${console} ${bootargs_default}; "	\
-	"ext2load mmc 0:1 ${kernel_addr_r} /boot/uImage; "		\
+	"ext2load mmc 0:1 ${kernel_addr_r} /boot/zImage; "		\
 	"ext2load mmc 0:1 ${fdt_addr_r} /boot/${fdtfile}; "		\
-	"bootm ${kernel_addr_r} - ${fdt_addr_r}"
+	"bootz ${kernel_addr_r} - ${fdt_addr_r}"
 
 #define BOOT_TARGET_DEVICES(func) func(MMC, mmc, 0)
 
-- 
2.9.0

             reply	other threads:[~2016-06-20 15:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 15:21 andrej at inversepath.com [this message]
2016-06-20 15:21 ` [U-Boot] [PATCH 2/2] usbarmory: Add board_run_command() function andrej at inversepath.com
2016-06-20 15:46   ` Stefano Babic
2016-06-20 16:18     ` Andrej Rosano
2016-06-27 10:38       ` Stefano Babic
2016-06-28 18:43         ` Simon Glass
2016-06-29  9:20           ` Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160620152149.21249-1-andrej@inversepath.com \
    --to=andrej@inversepath.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.