u-boot-2016/doc
Adrian Filipi 8fbc985bda Fix some typos
This patch fixes three typos.
The first is a repetition of CONFIG_CMD_BSP.
The second makes the #endif comment match its #if.
The third is a spelling error.

Signed-off-by: Adrian Filipi <adrian.filipi@eurotech.com>
2008-05-09 20:53:52 +02:00
..
uImage.FIT Cleanup coding style, update CHANGELOG 2008-03-26 11:48:46 +01:00
I2C_Edge_Conditions
README-i386
README-integrator
README.440-DDR-performance
README.adnpesc1
README.adnpesc1_base32
README.alaska8220
README.AMCC-eval-boards-cleanup
README.amigaone
README.ARM-memory-map
README.ARM-SoC
README.atum8548 mpc85xx: Add support for ATUM8548 (updated) 2008-01-09 16:25:03 -06:00
README.autoboot
README.AVR32
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.blackfin add some more Blackfin docs 2008-02-04 19:26:54 -05:00
README.cmi
README.COBRA5272
README.commands
README.commands.itest
README.console
README.db64360
README.db64460
README.dk1c20
README.dk1c20_std32
README.dk1s10
README.dk1s10_mldk20
README.dk1s10_std32
README.dk1s40_std32
README.dk20k200_std32
README.ebony
README.EVB-64260-750CX
README.evb64260
README.fads
README.generic_usb_ohci fix comments with new drivers organization 2008-01-09 21:48:49 +01:00
README.IceCube
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
README.korat ppc4xx: Updates to Korat-specific code 2008-03-27 10:52:03 +01:00
README.Lite5200B_low_power
README.lynxkdi
README.m68k
README.m5253evbe Coding style cleanup 2007-08-18 14:33:02 +02:00
README.m5373evb Coding Style Cleanup; update CHANGELOG 2008-01-23 14:31:17 +01:00
README.m5475evb Coding Style Cleanup; update CHANGELOG 2008-01-23 14:31:17 +01:00
README.m52277evb ColdFire: Add MCF5227x cpu and M52277EVB support-1 2008-01-17 14:59:41 -06:00
README.m54455evb ColdFire: Fix some remaining problems with CFG_CMD_ 2007-08-18 14:37:52 +02:00
README.marubun-pcmcia Fix coding style issues; update CHANGELOG. 2007-12-27 01:52:50 +01:00
README.MBX
README.mips doc/README.mips: Add MIPS notes 2008-04-25 00:03:53 +02:00
README.ml300
README.Modem
README.modnet50 fix comments with new drivers organization 2008-01-09 21:48:49 +01: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
README.mpc85xxads
README.mpc85xxcds
README.mpc832xemds
README.mpc837xemds mpc83xx: clean up the readme for 83xx boards 2008-04-25 09:34:22 -05:00
README.mpc837xerdb mpc83xx: clean up the readme for 83xx boards 2008-04-25 09:34:22 -05:00
README.MPC866
README.mpc7448hpc2
README.mpc8313erdb mpc83xx: clean up the readme for 83xx boards 2008-04-25 09:34:22 -05:00
README.mpc8315erdb mpc83xx: clean up the readme for 83xx boards 2008-04-25 09:34:22 -05:00
README.mpc8323erdb mpc83xx: add support for the MPC8323E RDB 2007-08-10 01:12:25 -05:00
README.mpc8349itx
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.mpc8610hpcd 8610HPCD: Document the flashbank selection switches. 2008-02-20 15:26:51 -06:00
README.mpc8641hpcn mpc8641 image size cleanup 2007-06-05 13:27:34 -05:00
README.nand fix various comments 2008-01-09 21:50:47 +01:00
README.nand-boot-ppc440 Fix some typos 2008-05-09 20:53:52 +02:00
README.ne2000
README.NetConsole
README.nios
README.nios_CFG_NIOS_CPU
README.nios_DK
README.ns9750dev
README.ocotea
README.ocotea-PIBS-to-U-Boot
README.OFT
README.omap730p2
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
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
README.qemu_mips qemu_mips: add README 2008-05-04 00:18:15 +02:00
README.RPXClassic
README.RPXlite
README.Sandpoint8240
README.sata doc: english polishing for README.sata 2008-04-13 14:56:51 -07:00
README.sbc8349
README.sbc8548 mpc85xx: Add support for SBC8548 (updated) 2008-01-09 16:25:03 -06:00
README.SBC8560
README.sbc8641d Add support for SBC8641D. Config files. 2007-08-10 14:50:05 -05:00
README.sched
README.serial_multi
README.sh sh: Add support Renesas Solutions R7780MP 2008-03-28 14:16:12 +09: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 Merge branch 'master' of git://www.denx.de/git/u-boot-blackfin 2008-02-15 00:06:18 +01:00
README.stxxtc
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
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>