From 7f61cf2d58aff2464e9bafc6b77df128b9f90300 Mon Sep 17 00:00:00 2001 From: Vandhiadevan Date: Mon, 18 Nov 2019 10:16:38 +0530 Subject: [PATCH 1/4] ipq5018: Setting freq to 240 Khz for ipq5018 EMU. It is downscaled by 1/100 to 240 KHz for EMU platform. Change-Id: I9346faab2c9e17f572a195f2277c2ab12e726712 Signed-off-by: Vandhiadevan --- arch/arm/dts/ipq5018-emulation.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/ipq5018-emulation.dts b/arch/arm/dts/ipq5018-emulation.dts index 03bf807fd4..f3a6a5c098 100644 --- a/arch/arm/dts/ipq5018-emulation.dts +++ b/arch/arm/dts/ipq5018-emulation.dts @@ -21,4 +21,9 @@ aliases { console = "/serial@78AF000"; }; + + timer { + gpt_freq_hz = <240000>; + }; + }; From 43ff3fdc8905b2a15013df02f775bc9dfe7f59dd Mon Sep 17 00:00:00 2001 From: Vandhiadevan Date: Mon, 18 Nov 2019 13:59:50 +0530 Subject: [PATCH 2/4] ipq5018: Enable Hush shell parser Change-Id: I6003e692b66844070a6eda0f20ab860c7afa49d8 Signed-off-by: Vandhiadevan --- include/configs/ipq5018.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ipq5018.h b/include/configs/ipq5018.h index 0c5b22301a..d837c2fc7f 100644 --- a/include/configs/ipq5018.h +++ b/include/configs/ipq5018.h @@ -174,6 +174,8 @@ extern loff_t board_env_size; * U-Boot Env Configs */ #define CONFIG_OF_LIBFDT 1 +#define CONFIG_SYS_HUSH_PARSER +#define CONFIG_CMD_XIMG /* MTEST */ #define CONFIG_CMD_MEMTEST From 2fed2a525c5b5590b27cd4468fbb9d79e7c9d4c0 Mon Sep 17 00:00:00 2001 From: Vandhiadevan Date: Mon, 18 Nov 2019 14:05:31 +0530 Subject: [PATCH 3/4] ipq5018: Update BOOTM_LEN to 0x4000000 Change-Id: I06324499d599a376c1e9cd7de21a87d56c793684 Signed-off-by: Vandhiadevan --- include/configs/ipq5018.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ipq5018.h b/include/configs/ipq5018.h index d837c2fc7f..7a036a807b 100644 --- a/include/configs/ipq5018.h +++ b/include/configs/ipq5018.h @@ -29,7 +29,7 @@ #define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_SKIP_LOWLEVEL_INIT -#define CONFIG_SYS_BOOTM_LEN 0x1000000 +#define CONFIG_SYS_BOOTM_LEN 0x4000000 #define CONFIG_ENV_SIZE_MAX (256 << 10) /* 256 KB */ From 49e540a8393a31d6e6d4af38cce3c5e66677d606 Mon Sep 17 00:00:00 2001 From: Vandhiadevan Date: Mon, 18 Nov 2019 14:09:13 +0530 Subject: [PATCH 4/4] ipq5018: Change bootcmd from bootm to bootipq Change-Id: I1177a18843ce5ee7c84b8bbe58b28ec1d10b8528 Signed-off-by: Vandhiadevan --- include/configs/ipq5018.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ipq5018.h b/include/configs/ipq5018.h index 7a036a807b..32b9b84f7e 100644 --- a/include/configs/ipq5018.h +++ b/include/configs/ipq5018.h @@ -183,7 +183,7 @@ extern loff_t board_env_size; #define CONFIG_SYS_MEMTEST_END CONFIG_SYS_MEMTEST_START + 0x100 /* NSS firmware loaded using bootm */ -#define CONFIG_BOOTCOMMAND "bootm" +#define CONFIG_BOOTCOMMAND "bootipq" #define CONFIG_BOOTARGS "console=ttyMSM0,115200n8" #define QCA_ROOT_FS_PART_NAME "rootfs"