Commit 193dd958344f9c27ed026d2e3db2a1a0a9eb5631

Authored by Stefan Roese
1 parent 3ca9122fec
Exists in master and in 55 other branches 8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, imx_v2015.04_4.1.15_1.0.0_ga, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-emmc-imx_v2014.04_3.10.53_1.1.0_ga, smarc-emmc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx-l5.0.0_1.0.0-ga, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2017.03_4.9.11_1.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2014.04_3.14.28_1.0.0_ga, smarc-imx_v2015.04_4.1.15_1.0.0_ga, smarc-imx_v2017.03_4.9.11_1.0.0_ga, smarc-imx_v2017.03_4.9.88_2.0.0_ga, smarc-imx_v2017.03_o8.1.0_1.3.0_8m, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_2.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0, smarc_8mq_lf_v2020.04, ti-u-boot-2015.07, u-boot-2013.01.y, v2013.10, v2013.10-smarct33, v2013.10-smartmen, v2014.01, v2014.04, v2014.04-smarct33, v2014.04-smarct33-emmc, v2014.04-smartmen, v2014.07, v2014.07-smarct33, v2014.07-smartmen, v2015.07-smarct33, v2015.07-smarct33-emmc, v2015.07-smarct4x, v2016.05-dlt, v2016.05-smarct3x, v2016.05-smarct3x-emmc, v2016.05-smarct4x, v2017.01-smarct3x, v2017.01-smarct3x-emmc, v2017.01-smarct4x

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

... ... @@ -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  
  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