TB5200: configuration updates
PATCH 1/1 TB5200: configuration updates
Some configuration updates for the TQM5200 based TB5200 board:
- enable command line history
- increase malloc space (because of bigger flash sectors)
---
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(-)
include/configs/TB5200.h +2 -1
@@ -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
PATCH 1/1 TB5200: configuration updates
Quoted 4 lines · Martin Krause
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
PATCH 1/1 TB5200: configuration updates
Hi Bartlomiej
u-boot-users-bounces at lists.sourceforge.net wrote on :
Quoted 11 lines
Quoted 4 lines · Martin Krause
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_ENDneeds 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