[U-Boot-Users] [PATCH] TB5200: configuration updates

Some configuration updates for the TQM5200 based TB5200 board:
- enable command line history - increase malloc space (because of bigger flash sectors)
Signed-off-by: Martin Krause martin.krause@tqs.de --- If I receive no negative feedback, I'm going to pick this patch into the u-boot-tq-group.git custodian tree and do a pull-request, once the merge window has opened again.
Best Regards, Martin Krause
include/configs/TB5200.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/configs/TB5200.h b/include/configs/TB5200.h index 1c6a9ae..ae8d9ab 100644 --- a/include/configs/TB5200.h +++ b/include/configs/TB5200.h @@ -335,7 +335,7 @@ #else #define CFG_MONITOR_LEN (384 << 10) /* Reserve 384 kB for Monitor */ #endif /* CONFIG_TQM5200_B */ -#define CFG_MALLOC_LEN (256 << 10) /* Reserve 256 kB for malloc() */ +#define CFG_MALLOC_LEN (1024 << 10) /* Reserve 1024 kB for malloc() */ #define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
/* @@ -392,6 +392,7 @@ */ #define CFG_LONGHELP /* undef to save memory */ #define CFG_PROMPT "=> " /* Monitor Command Prompt */ +#define CONFIG_CMDLINE_EDITING 1 /* add command line history */ #if defined(CONFIG_CMD_KGDB) #define CFG_CBSIZE 1024 /* Console I/O Buffer Size */ #else

Martin Krause wrote:
Some configuration updates for the TQM5200 based TB5200 board:
- enable command line history
- increase malloc space (because of bigger flash sectors)
Hi Martin,
I don't know what is the total amount of SDRAM on the TB5200 board, but you might want to check if CFG_MEMTEST_END needs to be decreased to accommodate bigger malloc space.
Regards, Bartlomiej

Hi Bartlomiej
u-boot-users-bounces@lists.sourceforge.net wrote on :
Martin Krause wrote:
Some configuration updates for the TQM5200 based TB5200 board:
- enable command line history
- increase malloc space (because of bigger flash sectors)
Hi Martin,
I don't know what is the total amount of SDRAM on the TB5200 board, but you might want to check if CFG_MEMTEST_END needs to be decreased to accommodate bigger malloc space.
Thanks for pointing out! I must admit, that I haven't thought about that point. But fortunately all TB5200 boards have 32 MiB SDRAM and above, so the current setting of CFG_MEMTEST_END = 0x00f00000 (= 15 MiB) should work with the increased malloc space.
Best Regards, Martin Krause
participants (3)
-
Bartlomiej Sieka
-
Martin Krause
-
Martin Krause