All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] keystone2: Add support for bootz
@ 2015-07-01 20:03 Vitaly Andrianov
  2015-07-01 20:03 ` [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices Vitaly Andrianov
  2015-07-01 21:56 ` [U-Boot] [PATCH] keystone2: Add support for bootz Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Vitaly Andrianov @ 2015-07-01 20:03 UTC (permalink / raw
  To: u-boot

From: Lokesh Vutla <lokeshvutla@ti.com>

Adding support for zImage loading.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
---
 include/configs/ks2_evm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h
index 26198db..f1517eb 100644
--- a/include/configs/ks2_evm.h
+++ b/include/configs/ks2_evm.h
@@ -309,6 +309,7 @@
 #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x08000000)
 #define CONFIG_LINUX_BOOT_PARAM_ADDR	(CONFIG_SYS_SDRAM_BASE + 0x100)
 
+#define CONFIG_CMD_BOOTZ
 #define CONFIG_SUPPORT_RAW_INITRD
 
 /* Keystone2 Emif16 errata config */
-- 
1.9.1

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

* [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices
  2015-07-01 20:03 [U-Boot] [PATCH] keystone2: Add support for bootz Vitaly Andrianov
@ 2015-07-01 20:03 ` Vitaly Andrianov
  2015-07-01 21:58   ` Tom Rini
  2015-07-01 21:56 ` [U-Boot] [PATCH] keystone2: Add support for bootz Tom Rini
  1 sibling, 1 reply; 4+ messages in thread
From: Vitaly Andrianov @ 2015-07-01 20:03 UTC (permalink / raw
  To: u-boot

This patch switch default boot mode to use bootz command instead of
bootm as in OMAP devices. Also fix the address for fdt and kernel to
a higher address to support this boot. Also fix the image name
to remove the uImage/zImage prefix and evm.bin suffix. Fix name of
skern image to skern-k2g.bin

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
---
 include/configs/k2e_evm.h  | 4 ++--
 include/configs/k2hk_evm.h | 4 ++--
 include/configs/k2l_evm.h  | 4 ++--
 include/configs/ks2_evm.h  | 8 ++++----
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/configs/k2e_evm.h b/include/configs/k2e_evm.h
index 1a3c34c..654c1ff 100644
--- a/include/configs/k2e_evm.h
+++ b/include/configs/k2e_evm.h
@@ -21,8 +21,8 @@
 	"addr_mon=0x0c140000\0"						\
 	"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "	\
 	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"		\
-	"name_fdt=uImage-k2e-evm.dtb\0"					\
-	"name_mon=skern-k2e-evm.bin\0"					\
+	"name_fdt=k2e-evm.dtb\0"					\
+	"name_mon=skern-k2e.bin\0"					\
 	"name_ubi=k2e-evm-ubifs.ubi\0"					\
 	"name_uboot=u-boot-spi-k2e-evm.gph\0"				\
 	"name_fs=arago-console-image-k2e-evm.cpio.gz\0"
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h
index ffddf13..255dce3 100644
--- a/include/configs/k2hk_evm.h
+++ b/include/configs/k2hk_evm.h
@@ -21,8 +21,8 @@
 	"addr_mon=0x0c5f0000\0"						\
 	"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "	\
 	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"		\
-	"name_fdt=uImage-k2hk-evm.dtb\0"				\
-	"name_mon=skern-k2hk-evm.bin\0"					\
+	"name_fdt=k2hk-evm.dtb\0"				\
+	"name_mon=skern-k2hk.bin\0"					\
 	"name_ubi=k2hk-evm-ubifs.ubi\0"					\
 	"name_uboot=u-boot-spi-k2hk-evm.gph\0"				\
 	"name_fs=arago-console-image-k2hk-evm.cpio.gz\0"
diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h
index bdfbef2..b60ac62 100644
--- a/include/configs/k2l_evm.h
+++ b/include/configs/k2l_evm.h
@@ -21,8 +21,8 @@
 	"addr_mon=0x0c140000\0"						\
 	"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "	\
 	"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,4096\0"		\
-	"name_fdt=uImage-k2l-evm.dtb\0"					\
-	"name_mon=skern-k2l-evm.bin\0"					\
+	"name_fdt=k2l-evm.dtb\0"					\
+	"name_mon=skern-k2l.bin\0"					\
 	"name_ubi=k2l-evm-ubifs.ubi\0"					\
 	"name_uboot=u-boot-spi-k2l-evm.gph\0"				\
 	"name_fs=arago-console-image-k2l-evm.cpio.gz\0"
diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h
index f1517eb..6ca5319 100644
--- a/include/configs/ks2_evm.h
+++ b/include/configs/ks2_evm.h
@@ -249,16 +249,16 @@
 	"nfs_root=/export\0"						\
 	"mem_lpae=1\0"							\
 	"mem_reserve=512M\0"						\
-	"addr_fdt=0x87000000\0"						\
-	"addr_kern=0x88000000\0"					\
+	"addr_fdt=0x81800000\0"						\
+	"addr_kern=0x81000000\0"					\
 	"addr_uboot=0x87000000\0"					\
 	"addr_fs=0x82000000\0"						\
 	"addr_ubi=0x82000000\0"						\
 	"addr_secdb_key=0xc000000\0"					\
 	"fdt_high=0xffffffff\0"						\
-	"name_kern=uImage-keystone-evm.bin\0"				\
+	"name_kern=zImage\0"						\
 	"run_mon=mon_install ${addr_mon}\0"				\
-	"run_kern=bootm ${addr_kern} - ${addr_fdt}\0"			\
+	"run_kern=bootz ${addr_kern} - ${addr_fdt}\0"			\
 	"init_net=run args_all args_net\0"				\
 	"init_ubi=run args_all args_ubi; "				\
 		"ubi part ubifs; ubifsmount ubi:boot;"			\
-- 
1.9.1

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

* [U-Boot] [PATCH] keystone2: Add support for bootz
  2015-07-01 20:03 [U-Boot] [PATCH] keystone2: Add support for bootz Vitaly Andrianov
  2015-07-01 20:03 ` [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices Vitaly Andrianov
@ 2015-07-01 21:56 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2015-07-01 21:56 UTC (permalink / raw
  To: u-boot

On Wed, Jul 01, 2015 at 04:03:44PM -0400, Vitaly Andrianov wrote:

> From: Lokesh Vutla <lokeshvutla@ti.com>
> 
> Adding support for zImage loading.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150701/3da6e1dc/attachment.sig>

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

* [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices
  2015-07-01 20:03 ` [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices Vitaly Andrianov
@ 2015-07-01 21:58   ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2015-07-01 21:58 UTC (permalink / raw
  To: u-boot

On Wed, Jul 01, 2015 at 04:03:45PM -0400, Vitaly Andrianov wrote:

> This patch switch default boot mode to use bootz command instead of
> bootm as in OMAP devices. Also fix the address for fdt and kernel to
> a higher address to support this boot. Also fix the image name
> to remove the uImage/zImage prefix and evm.bin suffix. Fix name of
> skern image to skern-k2g.bin
> 
> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>

Reviewed-by: Tom Rini <trini@konsulko.com>

But please pencil in some time to switch over to ti_armv7_common.h and
the addresses / variables there (and that in turn needs picking up the
patches for common distro support).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150701/e6c4f547/attachment.sig>

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

end of thread, other threads:[~2015-07-01 21:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 20:03 [U-Boot] [PATCH] keystone2: Add support for bootz Vitaly Andrianov
2015-07-01 20:03 ` [U-Boot] [PATCH] keystone2: switch to zImage boot on K2 devices Vitaly Andrianov
2015-07-01 21:58   ` Tom Rini
2015-07-01 21:56 ` [U-Boot] [PATCH] keystone2: Add support for bootz Tom Rini

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.