u-boot-brain/doc
Jean-Christophe PLAGNIOL-VILLARD cc4a0ceeac drivers/mtd/nand: Move conditional compilation to Makefile
rename CFG_NAND_LEGACY to CONFIG_NAND_LEGACY

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-13 01:40:43 +02:00
..
uImage.FIT
I2C_Edge_Conditions
README-i386 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README-integrator Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.440-DDR-performance
README.adnpesc1 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.adnpesc1_base32 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.alaska8220
README.AMCC-eval-boards-cleanup
README.amigaone
README.ARM-memory-map
README.ARM-SoC
README.atum8548
README.autoboot Fix printf() format problems with configurable prompts 2008-07-31 17:08:27 +02:00
README.AVR32
README.bamboo
README.bedbug
README.blackfin
README.cmi
README.COBRA5272
README.commands
README.commands.itest
README.console Big white-space cleanup. 2008-05-21 00:14:08 +02:00
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.evb64260
README.EVB-64260-750CX
README.fads
README.generic_usb_ohci USB: add new configuration variable CONFIG_PCI_OHCI_DEVNO 2008-05-27 12:53:34 +02:00
README.IceCube
README.idma2intr
README.INCA-IP
README.IPHASE4539
README.JFFS2
README.JFFS2_NAND
README.korat
README.Lite5200B_low_power
README.lynxkdi
README.m68k Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.m5253evbe
README.m5373evb
README.m5475evb
README.m52277evb
README.m54455evb Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.marubun-pcmcia Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.MBX
README.mips
README.ml300
README.Modem
README.modnet50
README.mpc5xx
README.mpc74xx
README.mpc83xx.ddrecc
README.mpc83xxads
README.mpc85xxads
README.mpc85xxcds
README.mpc832xemds
README.mpc837xemds Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.mpc837xerdb mpc83xx: clean up the readme for 83xx boards 2008-04-25 09:34:22 -05:00
README.mpc7448hpc2
README.mpc8313erdb Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.mpc8315erdb mpc83xx: clean up the readme for 83xx boards 2008-04-25 09:34:22 -05:00
README.mpc8323erdb
README.mpc8349itx Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.mpc8360emds Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.mpc8544ds
README.mpc8610hpcd
README.mpc8641hpcn Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.MPC866
README.mvbc_p Prepare v1.3.4-rc1: Code cleanup, update CHANGELOG, sort Makefile 2008-07-15 22:22:44 +02:00
README.mvblm7 Coding Style Cleanup 2008-06-28 23:34:37 +02:00
README.nand drivers/mtd/nand: Move conditional compilation to Makefile 2008-08-13 01:40:43 +02: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
README.PlanetCore
README.POST
README.ppc440
README.Purple
README.PXA_CF
README.qemu_mips qemu_mips: update README to follow qemu update about default machine 2008-08-01 12:42:02 +02:00
README.RPXClassic
README.RPXlite Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.Sandpoint8240
README.sata
README.sbc8349
README.sbc8548
README.sbc8641d
README.SBC8560
README.sched
README.serial_multi
README.sh
README.sha1
README.silent
README.SNTP
README.standalone
README.stxxtc
README.TQM8260
README.usb
README.video Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README.VLAN
README.xpedite1k
README.zeus
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>