u-boot/doc
Stefan Roese 26667b7fa0 ColdFire: Fix some remaining problems with CFG_CMD_
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-18 14:37:52 +02:00
..
I2C_Edge_Conditions Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
README-i386
README-integrator Update make target for ARM supported boards. 2005-10-06 17:08:18 +02:00
README.440-DDR-performance PPC440 DDR setup: Set SDRAM0_CFG0[PMU]=0 for best performance 2006-07-28 18:34:58 +02:00
README.adnpesc1 Code cleanup; make several boards compile & link. 2004-03-14 22:25:36 +00:00
README.adnpesc1_base32 * Patch by Stephan Linz, 09 Mar 2004 2004-03-14 15:20:55 +00:00
README.alaska8220 Patch by TsiChung Liew, 23 Sep 2004: 2004-10-28 00:09:35 +00:00
README.AMCC-eval-boards-cleanup Major cleanup for AMCC PPC4xx eval boards. 2005-08-01 16:49:12 +02:00
README.amigaone
README.ARM-memory-map
README.ARM-SoC Patch by Steven Scholz, 16 Aug 2004: 2004-10-09 22:21:29 +00:00
README.autoboot Cleanup 2004-10-11 23:10:30 +00:00
README.AVR32 Add AVR32 architecture support 2006-10-24 14:21:16 +02:00
README.bamboo ppc4xx: Update AMCC Bamboo README doc/README.bamboo 2007-08-06 21:10:17 +02:00
README.bedbug Update README.* to reference new CONFIG_CMD_* names now. 2007-07-09 19:10:03 -05:00
README.cmi
README.COBRA5272 Patch by Florian Schlote, 08 Sep 2004: 2005-01-09 18:21:42 +00:00
README.commands
README.commands.itest * Patch by Laurent Mohin, 10 Feb 2004: 2004-02-23 20:48:38 +00:00
README.console
README.db64360
README.db64460
README.dk1c20 Patches by Stephan Linz, 30 Jan 2004: 2004-02-09 23:12:24 +00:00
README.dk1c20_std32 Patches by Stephan Linz, 30 Jan 2004: 2004-02-09 23:12:24 +00:00
README.dk1s10 Change all '$(...)' variable references into '${...}' 2005-11-20 21:40:11 +01:00
README.dk1s10_mldk20 Patches by Stephan Linz, 30 Jan 2004: 2004-02-09 23:12:24 +00:00
README.dk1s10_std32 Patches by Stephan Linz, 30 Jan 2004: 2004-02-09 23:12:24 +00:00
README.dk1s40_std32
README.dk20k200_std32 Patches by Stephan Linz, 30 Jan 2004: 2004-02-09 23:12:24 +00:00
README.ebony Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
README.EVB-64260-750CX
README.evb64260
README.fads
README.generic_usb_ohci Minor coding style cleanup. Update CHANGELOG. 2007-08-13 21:57:53 +02:00
README.IceCube * Temporarily disabled John Kerl's extended MII command code because 2004-04-18 23:32:11 +00:00
README.idma2intr
README.INCA-IP
README.IPHASE4539
README.JFFS2 disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:19:50 -05:00
README.JFFS2_NAND * Configure PPChameleon board to use redundand environment in flash 2004-04-18 19:43:36 +00:00
README.Lite5200B_low_power [PATCH] icecube/lite5200b: document wakeup from low-power support 2007-04-18 12:11:05 +02:00
README.lynxkdi
README.m68k Add MCF5282 support (without preloader) 2006-04-20 08:42:42 +02:00
README.m5253evbe Coding style cleanup 2007-08-18 14:33:02 +02:00
README.m54455evb ColdFire: Fix some remaining problems with CFG_CMD_ 2007-08-18 14:37:52 +02:00
README.MBX
README.ml300 Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
README.Modem
README.modnet50 Prepare for SoC rework of ARM code: 2005-04-02 23:52:25 +00:00
README.mpc5xx
README.mpc74xx
README.mpc83xx.ddrecc mpc83xx: Correct the README for DDR ECC 2007-08-10 01:13:11 -05:00
README.mpc83xxads Add support for ep8248 board 2005-08-06 01:42:58 +02:00
README.mpc85xxads * Switched default PCI speed for 8540 ADS back to 33MHz 2006-08-09 13:51:05 -05:00
README.mpc85xxcds * Patch by Jon Loeliger, 2005-05-05 2005-07-25 14:05:07 -05:00
README.mpc832xemds Minor cleanup. 2007-03-08 22:52:51 +01:00
README.MPC866 * Patch by Yuli Barcohen, 13 Jul 2004: 2004-09-28 17:59:53 +00:00
README.mpc7448hpc2 Some code cleanup. 2007-03-04 01:36:05 +01:00
README.mpc8313erdb mpc83xx: Add MPC8313ERDB support. 2007-04-23 16:32:10 -05:00
README.mpc8323erdb mpc83xx: add support for the MPC8323E RDB 2007-08-10 01:12:25 -05:00
README.mpc8349itx mpc83xx: Add support for the MPC8349E-mITX-GP 2007-03-02 11:05:54 -06:00
README.mpc8360emds mpc83xx: Revise the MPC8360EMDS readme doc 2007-08-10 01:12:03 -05:00
README.mpc8544ds Coding style cleanup, update CHANGELOG 2007-08-14 09:54:46 +02:00
README.mpc8641hpcn mpc8641 image size cleanup 2007-06-05 13:27:34 -05:00
README.nand Update README.* to reference new CONFIG_CMD_* names now. 2007-07-09 19:10:03 -05:00
README.nand-boot-ppc440 Update NAND boot documentation 2006-09-12 08:49:07 +02:00
README.ne2000 * Patches by Richard Woodruff, 01 Oct 2004: 2005-01-09 23:16:25 +00:00
README.NetConsole Update usage of 'nc' in README.NetConsole 2007-04-04 18:12:28 -04:00
README.nios Patch by Scott McNutt, 25 Apr 2004: 2004-05-19 21:33:14 +00:00
README.nios_CFG_NIOS_CPU
README.nios_DK
README.ns9750dev * Patch by Markus Pietrek, 24 Feb 2004: 2004-02-26 23:46:20 +00:00
README.ocotea Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
README.ocotea-PIBS-to-U-Boot Cleanup (PPC4xx is AMCC now) 2005-09-23 11:05:55 +02:00
README.OFT Code cleanup, especially MIPS for GCC 4.x 2005-12-04 00:40:34 +01:00
README.omap730p2 * Patch by Rishi Bhattacharya, 08 May 2004: 2004-06-08 00:22:43 +00:00
README.OXC
README.PIP405 disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:19:50 -05:00
README.PlanetCore Document switching between U-Boot and PlanetCore on RPXlite 2005-08-06 02:11:33 +02:00
README.POST
README.ppc440 ppc4xx: Add pci_pre_init() for 405 boards 2007-06-25 15:57:39 +02:00
README.Purple
README.PXA_CF * Patch by George G. Davis, 02 Apr 2004: 2004-04-15 23:23:39 +00:00
README.RPXClassic
README.RPXlite
README.Sandpoint8240 Change all '$(...)' variable references into '${...}' 2005-11-20 21:40:11 +01:00
README.sbc8349 mpc83xx: U-Boot support for Wind River SBC8349 2007-03-02 11:05:53 -06:00
README.SBC8560 Cleanup 2004-10-11 23:10:30 +00:00
README.sbc8641d Add support for SBC8641D. Config files. 2007-08-10 14:50:05 -05:00
README.sched
README.serial_multi Add support for CONFIG_SERIAL_MULTI on MPC5xxx 2006-06-16 17:04:45 +02:00
README.sha1 Update CHANGELOG, minor coding style cleanup. 2007-07-12 01:45:34 +02:00
README.silent
README.SNTP Update README.* to reference new CONFIG_CMD_* names now. 2007-07-09 19:10:03 -05:00
README.standalone
README.stxxtc Add support for Silicon Turnkey eXpress XTc (mpc87x/88x) board. 2005-08-15 15:55:00 +02:00
README.TQM8260
README.usb disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 11:19:50 -05:00
README.video
README.VLAN Patches by Pantelis Antoniou, 30 Mar 2004: 2004-04-15 21:48:45 +00:00
README.xpedite1k
README.zeus ppc4xx: Add initial Zeus (PPC405EP) board support 2007-08-14 14:44:41 +02:00
TODO-i386

Storage of the board specific values (ethaddr...)
-------------------------------------------------

The board specific environment variables that should be unique
for each individual board, can be stored in the I2C EEPROM. This
will be done from offset 0x80 with the length of 0x80 bytes. The
following command can be used to store the values here:

=> setdef de:20:6a:ed:e2:72 de:20:6a:ed:e2:73 AB0001

	  ethaddr           eth1addr          serial#

Now those 3 values are stored into the I2C EEPROM. A CRC is added
to make sure that the values get not corrupted.


SW-Reset Pushbutton handling:
-----------------------------

The SW-reset push button is connected to a GPIO input too. This
way U-Boot can "see" how long the SW-reset was pressed, and a
specific action can be taken. Two different actions are supported:

a) Release after more than 5 seconds and less then 10 seconds:
   -> Run POST

   Please note, that the POST test will take a while (approx. 1 min
   on the 128MByte board). This is mainly due to the system memory
   test.

b) Release after more than 10 seconds:
   -> Restore factory default settings

   The factory default values are restored. The default environment
   variables are restored (ipaddr, serverip...) and the board
   specific values (ethaddr, eth1addr and serial#) are restored
   to the environment from the I2C EEPROM. Also a bootline parameter
   is added to the Linux bootline to signal the Linux kernel upon
   the next startup, that the factory defaults should be restored.

The command to check this sw-reset status and act accordingly is

=> chkreset

This command is added to the default "bootcmd", so that it is called
automatically upon startup.

Also, the 2 LED's are used to indicate the current status of this
command (time passed since pushing the button). When the POST test
will be run, the green LED will be switched off, and when the
factory restore will be initiated, the reg LED will be switched off.


Loggin of POST results:
-----------------------

The results of the POST tests are logged in a logbuffer located at the end
of the onboard memory. It can be accessed with the U-Boot command "log":

=> log show
<4>POST memory PASSED
<4>POST cache PASSED
<4>POST cpu PASSED
<4>POST uart PASSED
<4>POST ethernet PASSED

The DENX Linux kernel tree has support for this log buffer included. Exactly
this buffer is used for logging of all kernel messages too. By enabling the
compile time option "CONFIG_LOGBUFFER" this support is enabled. This way you
can access the U-Boot log messages from Linux too.

2007-08-10, Stefan Roese <sr@denx.de>