mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 11:36:21 -04:00
AMCC bamboo (440EP) U-Boot image reduced to 384kbyte
Please see doc/README.bamboo for details. Patch by Stefan Roese, 27 Jul 2006
This commit is contained in:
parent
3ca9122fec
commit
193dd95834
@ -2,6 +2,10 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* AMCC bamboo (440EP) U-Boot image reduced to 384kbyte
|
||||||
|
Please see doc/README.bamboo for details.
|
||||||
|
Patch by Stefan Roese, 27 Jul 2006
|
||||||
|
|
||||||
* Fix CONFIG_CMDLINE_EDITING implementation
|
* Fix CONFIG_CMDLINE_EDITING implementation
|
||||||
Patch by Stefan Roese, 27 Jul 2006
|
Patch by Stefan Roese, 27 Jul 2006
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# (C) Copyright 2002
|
# (C) Copyright 2002-2006
|
||||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
#
|
#
|
||||||
# See file CREDITS for list of people who contributed to this
|
# See file CREDITS for list of people who contributed to this
|
||||||
@ -21,7 +21,7 @@
|
|||||||
# MA 02111-1307 USA
|
# MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
TEXT_BASE = 0xFFF80000
|
TEXT_BASE = 0xFFFA0000
|
||||||
|
|
||||||
PLATFORM_CPPFLAGS += -DCONFIG_440=1
|
PLATFORM_CPPFLAGS += -DCONFIG_440=1
|
||||||
|
|
||||||
|
15
doc/README.bamboo
Normal file
15
doc/README.bamboo
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
The configuration for the AMCC 440EP eval board "Bamboo" was changed
|
||||||
|
to only use 384 kbytes of FLASH for the U-Boot image. This way the
|
||||||
|
redundant environment can be saved in the remaining 2 sectors of the
|
||||||
|
same flash chip.
|
||||||
|
|
||||||
|
Caution: With an upgrade from an earlier U-Boot version the current
|
||||||
|
environment will be erased since the environment is now saved in
|
||||||
|
different sectors. By using the following command the environment can
|
||||||
|
be saved after upgrading the U-Boot image and *before* resetting the
|
||||||
|
board:
|
||||||
|
|
||||||
|
setenv recover_env 'prot off FFF80000 FFF9FFFF;era FFF80000 FFF9FFFF;' \
|
||||||
|
'cp.b FFF60000 FFF80000 20000'
|
||||||
|
|
||||||
|
2006-07-27, Stefan Roese <sr@denx.de>
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* (C) Copyright 2005
|
* (C) Copyright 2005-2006
|
||||||
* Stefan Roese, DENX Software Engineering, sr@denx.de.
|
* Stefan Roese, DENX Software Engineering, sr@denx.de.
|
||||||
*
|
*
|
||||||
* See file CREDITS for list of people who contributed to this
|
* See file CREDITS for list of people who contributed to this
|
||||||
@ -49,7 +49,7 @@
|
|||||||
* Base addresses -- Note these are effective addresses where the
|
* Base addresses -- Note these are effective addresses where the
|
||||||
* actual resources get mapped (not physical addresses)
|
* actual resources get mapped (not physical addresses)
|
||||||
*----------------------------------------------------------------------*/
|
*----------------------------------------------------------------------*/
|
||||||
#define CFG_MONITOR_LEN (512 * 1024) /* Reserve 512 kB for Monitor */
|
#define CFG_MONITOR_LEN (384 * 1024) /* Reserve 384 kB for Monitor */
|
||||||
#define CFG_MALLOC_LEN (256 * 1024) /* Reserve 256 kB for malloc() */
|
#define CFG_MALLOC_LEN (256 * 1024) /* Reserve 256 kB for malloc() */
|
||||||
#define CFG_MONITOR_BASE (-CFG_MONITOR_LEN)
|
#define CFG_MONITOR_BASE (-CFG_MONITOR_LEN)
|
||||||
#define CFG_SDRAM_BASE 0x00000000 /* _must_ be 0 */
|
#define CFG_SDRAM_BASE 0x00000000 /* _must_ be 0 */
|
||||||
@ -257,8 +257,8 @@
|
|||||||
"kernel_addr=fff00000\0" \
|
"kernel_addr=fff00000\0" \
|
||||||
"ramdisk_addr=fff10000\0" \
|
"ramdisk_addr=fff10000\0" \
|
||||||
"load=tftp 100000 /tftpboot/bamboo/u-boot.bin\0" \
|
"load=tftp 100000 /tftpboot/bamboo/u-boot.bin\0" \
|
||||||
"update=protect off fff80000 ffffffff;era fff80000 ffffffff;" \
|
"update=protect off fffa0000 ffffffff;era fffa0000 ffffffff;" \
|
||||||
"cp.b 100000 fff80000 80000;" \
|
"cp.b 100000 fffa0000 60000;" \
|
||||||
"setenv filesize;saveenv\0" \
|
"setenv filesize;saveenv\0" \
|
||||||
"upd=run load;run update\0" \
|
"upd=run load;run update\0" \
|
||||||
""
|
""
|
||||||
@ -358,6 +358,14 @@
|
|||||||
|
|
||||||
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
|
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
|
||||||
|
|
||||||
|
#define CONFIG_CMDLINE_EDITING
|
||||||
|
|
||||||
|
#ifdef CONFIG_CMDLINE_EDITING
|
||||||
|
#undef CONFIG_AUTO_COMPLETE
|
||||||
|
#else
|
||||||
|
#define CONFIG_AUTO_COMPLETE
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------
|
/*-----------------------------------------------------------------------
|
||||||
* PCI stuff
|
* PCI stuff
|
||||||
*-----------------------------------------------------------------------
|
*-----------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user