keystone2: Add support for bootz
PATCH 1/1 keystone2: Add support for bootz
From: Lokesh Vutla <[email protected]>
Adding support for zImage loading.
--- include/configs/ks2_evm.h | 1 + 1 file changed, 1 insertion(+)
include/configs/ks2_evm.h +1 -0
@@ -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 */
Signature · 1 line
1.9.1
PATCH 1/1 keystone2: switch to zImage boot on K2 devices
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
--- 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(-)
include/configs/k2e_evm.h +2 -2
@@ -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"
include/configs/k2hk_evm.h +2 -2
@@ -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"
include/configs/k2l_evm.h +2 -2
@@ -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"
include/configs/ks2_evm.h +4 -4
@@ -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;" \
Signature · 1 line
1.9.1
PATCH 1/1 keystone2: switch to zImage boot on K2 devices
Quoted 8 lines · Vitaly Andrianov
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 <[email protected]>Signed-off-by Vitaly Andrianov <[email protected]>
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).
Signature · 8 lines
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>
PATCH 1/1 keystone2: Add support for bootz
In reply to Vitaly AndrianovQuoted 6 lines · Vitaly Andrianov
From: Lokesh Vutla <[email protected]>
Adding support for zImage loading.
Signed-off-by Lokesh Vutla <[email protected]>Signed-off-by Vitaly Andrianov <[email protected]>
Signature · 8 lines
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>