
13 Jun
2013
13 Jun
'13
9:02 a.m.
On 06/12/2013 02:00 AM, Scott Wood wrote:
On 06/09/2013 05:24:05 AM, Chunhe Lan wrote:
- /* W**G* - Flash, localbus */
- /* This will be changed to *I*G* after relocation to RAM. */
- SET_TLB_ENTRY(1, CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH_BASE_PHYS,
MAS3_SX|MAS3_SW|MAS3_SR, MAS2_W|MAS2_G,
0, 2, BOOKE_PAGESZ_256M, 1),
Do not set MAS3_SX on I/O regions.
Here is need to use MAS3_SX, or u-boot does NOT work.
+/*
- Memory map
- 0x0000_0000 0x1fff_ffff DDR 500M Cacheable
500M? Are you sure?
Yes, system has the 500MB size of ddr.
Thanks, -Chunhe
+#if defined(CONFIG_CMD_KGDB) +#define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ +#define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */ +#endif
Get rid of this.
+#define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */
The out-of-the-box environment is not going to work unmodified (I don't even see a CONFIG_BOOTCOMMAND), so let's just default this to -1 now that it no longer has the affect of disabling the code at compile-time.
-Scott