Commit 193dd958344f9c27ed026d2e3db2a1a0a9eb5631
1 parent
3ca9122fec
Exists in
master
and in
55 other branches
AMCC bamboo (440EP) U-Boot image reduced to 384kbyte
Please see doc/README.bamboo for details. Patch by Stefan Roese, 27 Jul 2006
Showing 4 changed files with 33 additions and 6 deletions Side-by-side Diff
CHANGELOG
... | ... | @@ -2,6 +2,10 @@ |
2 | 2 | Changes since U-Boot 1.1.4: |
3 | 3 | ====================================================================== |
4 | 4 | |
5 | +* AMCC bamboo (440EP) U-Boot image reduced to 384kbyte | |
6 | + Please see doc/README.bamboo for details. | |
7 | + Patch by Stefan Roese, 27 Jul 2006 | |
8 | + | |
5 | 9 | * Fix CONFIG_CMDLINE_EDITING implementation |
6 | 10 | Patch by Stefan Roese, 27 Jul 2006 |
7 | 11 |
board/amcc/bamboo/config.mk
1 | 1 | # |
2 | -# (C) Copyright 2002 | |
2 | +# (C) Copyright 2002-2006 | |
3 | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | 4 | # |
5 | 5 | # See file CREDITS for list of people who contributed to this |
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | # MA 02111-1307 USA |
22 | 22 | # |
23 | 23 | |
24 | -TEXT_BASE = 0xFFF80000 | |
24 | +TEXT_BASE = 0xFFFA0000 | |
25 | 25 | |
26 | 26 | PLATFORM_CPPFLAGS += -DCONFIG_440=1 |
27 | 27 |
doc/README.bamboo
1 | +The configuration for the AMCC 440EP eval board "Bamboo" was changed | |
2 | +to only use 384 kbytes of FLASH for the U-Boot image. This way the | |
3 | +redundant environment can be saved in the remaining 2 sectors of the | |
4 | +same flash chip. | |
5 | + | |
6 | +Caution: With an upgrade from an earlier U-Boot version the current | |
7 | +environment will be erased since the environment is now saved in | |
8 | +different sectors. By using the following command the environment can | |
9 | +be saved after upgrading the U-Boot image and *before* resetting the | |
10 | +board: | |
11 | + | |
12 | +setenv recover_env 'prot off FFF80000 FFF9FFFF;era FFF80000 FFF9FFFF;' \ | |
13 | + 'cp.b FFF60000 FFF80000 20000' | |
14 | + | |
15 | +2006-07-27, Stefan Roese <sr@denx.de> |
include/configs/bamboo.h
1 | 1 | /* |
2 | - * (C) Copyright 2005 | |
2 | + * (C) Copyright 2005-2006 | |
3 | 3 | * Stefan Roese, DENX Software Engineering, sr@denx.de. |
4 | 4 | * |
5 | 5 | * See file CREDITS for list of people who contributed to this |
... | ... | @@ -49,7 +49,7 @@ |
49 | 49 | * Base addresses -- Note these are effective addresses where the |
50 | 50 | * actual resources get mapped (not physical addresses) |
51 | 51 | *----------------------------------------------------------------------*/ |
52 | -#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 512 kB for Monitor */ | |
52 | +#define CFG_MONITOR_LEN (384 * 1024) /* Reserve 384 kB for Monitor */ | |
53 | 53 | #define CFG_MALLOC_LEN (256 * 1024) /* Reserve 256 kB for malloc() */ |
54 | 54 | #define CFG_MONITOR_BASE (-CFG_MONITOR_LEN) |
55 | 55 | #define CFG_SDRAM_BASE 0x00000000 /* _must_ be 0 */ |
... | ... | @@ -257,8 +257,8 @@ |
257 | 257 | "kernel_addr=fff00000\0" \ |
258 | 258 | "ramdisk_addr=fff10000\0" \ |
259 | 259 | "load=tftp 100000 /tftpboot/bamboo/u-boot.bin\0" \ |
260 | - "update=protect off fff80000 ffffffff;era fff80000 ffffffff;" \ | |
261 | - "cp.b 100000 fff80000 80000;" \ | |
260 | + "update=protect off fffa0000 ffffffff;era fffa0000 ffffffff;" \ | |
261 | + "cp.b 100000 fffa0000 60000;" \ | |
262 | 262 | "setenv filesize;saveenv\0" \ |
263 | 263 | "upd=run load;run update\0" \ |
264 | 264 | "" |
... | ... | @@ -357,6 +357,14 @@ |
357 | 357 | #define CONFIG_LYNXKDI 1 /* support kdi files */ |
358 | 358 | |
359 | 359 | #define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */ |
360 | + | |
361 | +#define CONFIG_CMDLINE_EDITING | |
362 | + | |
363 | +#ifdef CONFIG_CMDLINE_EDITING | |
364 | +#undef CONFIG_AUTO_COMPLETE | |
365 | +#else | |
366 | +#define CONFIG_AUTO_COMPLETE | |
367 | +#endif | |
360 | 368 | |
361 | 369 | /*----------------------------------------------------------------------- |
362 | 370 | * PCI stuff |