SmartAudio/lichee/brandy/u-boot-2011.09/doc
lijie02 bfd7b335ea init 2018-07-13 09:31:50 +08:00
..
uImage.FIT init 2018-07-13 09:31:50 +08:00
I2C_Edge_Conditions init 2018-07-13 09:31:50 +08:00
README-integrator init 2018-07-13 09:31:50 +08:00
README.440-DDR-performance init 2018-07-13 09:31:50 +08:00
README.AMCC-eval-boards-cleanup init 2018-07-13 09:31:50 +08:00
README.ARM-SoC init 2018-07-13 09:31:50 +08:00
README.ARM-memory-map init 2018-07-13 09:31:50 +08:00
README.AVR32 init 2018-07-13 09:31:50 +08:00
README.AVR32-port-muxing init 2018-07-13 09:31:50 +08:00
README.COBRA5272 init 2018-07-13 09:31:50 +08:00
README.EVB-64260-750CX init 2018-07-13 09:31:50 +08:00
README.INCA-IP init 2018-07-13 09:31:50 +08:00
README.IPHASE4539 init 2018-07-13 09:31:50 +08:00
README.IceCube init 2018-07-13 09:31:50 +08:00
README.JFFS2 init 2018-07-13 09:31:50 +08:00
README.JFFS2_NAND init 2018-07-13 09:31:50 +08:00
README.LED init 2018-07-13 09:31:50 +08:00
README.LED_display init 2018-07-13 09:31:50 +08:00
README.Lite5200B_low_power init 2018-07-13 09:31:50 +08:00
README.MBX init 2018-07-13 09:31:50 +08:00
README.MPC866 init 2018-07-13 09:31:50 +08:00
README.Modem init 2018-07-13 09:31:50 +08:00
README.NetConsole init 2018-07-13 09:31:50 +08:00
README.OFT init 2018-07-13 09:31:50 +08:00
README.OXC init 2018-07-13 09:31:50 +08:00
README.PIP405 init 2018-07-13 09:31:50 +08:00
README.POST init 2018-07-13 09:31:50 +08:00
README.PXA_CF init 2018-07-13 09:31:50 +08:00
README.PlanetCore init 2018-07-13 09:31:50 +08:00
README.RPXClassic init 2018-07-13 09:31:50 +08:00
README.RPXlite init 2018-07-13 09:31:50 +08:00
README.SBC8560 init 2018-07-13 09:31:50 +08:00
README.SNTP init 2018-07-13 09:31:50 +08:00
README.SPL init 2018-07-13 09:31:50 +08:00
README.Sandpoint8240 init 2018-07-13 09:31:50 +08:00
README.TQM8260 init 2018-07-13 09:31:50 +08:00
README.VLAN init 2018-07-13 09:31:50 +08:00
README.alaska8220 init 2018-07-13 09:31:50 +08:00
README.amigaone init 2018-07-13 09:31:50 +08:00
README.arm-caches init 2018-07-13 09:31:50 +08:00
README.arm-relocation init 2018-07-13 09:31:50 +08:00
README.at91 init 2018-07-13 09:31:50 +08:00
README.at91-soc init 2018-07-13 09:31:50 +08:00
README.atmel_mci init 2018-07-13 09:31:50 +08:00
README.autoboot init 2018-07-13 09:31:50 +08:00
README.bamboo init 2018-07-13 09:31:50 +08:00
README.bedbug init 2018-07-13 09:31:50 +08:00
README.bitbangMII init 2018-07-13 09:31:50 +08:00
README.blackfin init 2018-07-13 09:31:50 +08:00
README.bus_vcxk init 2018-07-13 09:31:50 +08:00
README.cfi init 2018-07-13 09:31:50 +08:00
README.cmi init 2018-07-13 09:31:50 +08:00
README.commands init 2018-07-13 09:31:50 +08:00
README.commands.itest init 2018-07-13 09:31:50 +08:00
README.console init 2018-07-13 09:31:50 +08:00
README.davinci init 2018-07-13 09:31:50 +08:00
README.db64360 init 2018-07-13 09:31:50 +08:00
README.db64460 init 2018-07-13 09:31:50 +08:00
README.designware_eth init 2018-07-13 09:31:50 +08:00
README.dnp5370 init 2018-07-13 09:31:50 +08:00
README.dns init 2018-07-13 09:31:50 +08:00
README.drivers.eth init 2018-07-13 09:31:50 +08:00
README.ebony init 2018-07-13 09:31:50 +08:00
README.enetaddr init 2018-07-13 09:31:50 +08:00
README.evb64260 init 2018-07-13 09:31:50 +08:00
README.fads init 2018-07-13 09:31:50 +08:00
README.fastboot init 2018-07-13 09:31:50 +08:00
README.fsl-ddr init 2018-07-13 09:31:50 +08:00
README.fsl-hwconfig init 2018-07-13 09:31:50 +08:00
README.generic_usb_ohci init 2018-07-13 09:31:50 +08:00
README.hawkboard init 2018-07-13 09:31:50 +08:00
README.hwconfig init 2018-07-13 09:31:50 +08:00
README.idma2intr init 2018-07-13 09:31:50 +08:00
README.imx5 init 2018-07-13 09:31:50 +08:00
README.imx31 init 2018-07-13 09:31:50 +08:00
README.imximage init 2018-07-13 09:31:50 +08:00
README.iomux init 2018-07-13 09:31:50 +08:00
README.kmeter1 init 2018-07-13 09:31:50 +08:00
README.korat init 2018-07-13 09:31:50 +08:00
README.kwbimage init 2018-07-13 09:31:50 +08:00
README.lynxkdi init 2018-07-13 09:31:50 +08:00
README.m68k init 2018-07-13 09:31:50 +08:00
README.m5253evbe init 2018-07-13 09:31:50 +08:00
README.m5373evb init 2018-07-13 09:31:50 +08:00
README.m5475evb init 2018-07-13 09:31:50 +08:00
README.m52277evb init 2018-07-13 09:31:50 +08:00
README.m53017evb init 2018-07-13 09:31:50 +08:00
README.m54455evb init 2018-07-13 09:31:50 +08:00
README.marubun-pcmcia init 2018-07-13 09:31:50 +08:00
README.mergerbox init 2018-07-13 09:31:50 +08:00
README.mflash init 2018-07-13 09:31:50 +08:00
README.mips init 2018-07-13 09:31:50 +08:00
README.mpc5xx init 2018-07-13 09:31:50 +08:00
README.mpc74xx init 2018-07-13 09:31:50 +08:00
README.mpc83xx.ddrecc init 2018-07-13 09:31:50 +08:00
README.mpc83xxads init 2018-07-13 09:31:50 +08:00
README.mpc85xxads init 2018-07-13 09:31:50 +08:00
README.mpc85xxcds init 2018-07-13 09:31:50 +08:00
README.mpc832xemds init 2018-07-13 09:31:50 +08:00
README.mpc837xemds init 2018-07-13 09:31:50 +08:00
README.mpc837xerdb init 2018-07-13 09:31:50 +08:00
README.mpc7448hpc2 init 2018-07-13 09:31:50 +08:00
README.mpc8313erdb init 2018-07-13 09:31:50 +08:00
README.mpc8315erdb init 2018-07-13 09:31:50 +08:00
README.mpc8323erdb init 2018-07-13 09:31:50 +08:00
README.mpc8349itx init 2018-07-13 09:31:50 +08:00
README.mpc8360emds init 2018-07-13 09:31:50 +08:00
README.mpc8536ds init 2018-07-13 09:31:50 +08:00
README.mpc8544ds init 2018-07-13 09:31:50 +08:00
README.mpc8569mds init 2018-07-13 09:31:50 +08:00
README.mpc8572ds init 2018-07-13 09:31:50 +08:00
README.mpc8610hpcd init 2018-07-13 09:31:50 +08:00
README.mpc8641hpcn init 2018-07-13 09:31:50 +08:00
README.mvbc_p init 2018-07-13 09:31:50 +08:00
README.mvblm7 init 2018-07-13 09:31:50 +08:00
README.mvsmr init 2018-07-13 09:31:50 +08:00
README.mx35pdk init 2018-07-13 09:31:50 +08:00
README.nand init 2018-07-13 09:31:50 +08:00
README.nand-boot-ppc440 init 2018-07-13 09:31:50 +08:00
README.ne2000 init 2018-07-13 09:31:50 +08:00
README.nhk8815 init 2018-07-13 09:31:50 +08:00
README.ns9750dev init 2018-07-13 09:31:50 +08:00
README.ocotea init 2018-07-13 09:31:50 +08:00
README.ocotea-PIBS-to-U-Boot init 2018-07-13 09:31:50 +08:00
README.omap3 init 2018-07-13 09:31:50 +08:00
README.omap730p2 init 2018-07-13 09:31:50 +08:00
README.p1022ds init 2018-07-13 09:31:50 +08:00
README.p1023rds init 2018-07-13 09:31:50 +08:00
README.p2020rdb init 2018-07-13 09:31:50 +08:00
README.p2041rdb init 2018-07-13 09:31:50 +08:00
README.p4080ds init 2018-07-13 09:31:50 +08:00
README.phytec.pcm030 init 2018-07-13 09:31:50 +08:00
README.ppc440 init 2018-07-13 09:31:50 +08:00
README.qemu_mips init 2018-07-13 09:31:50 +08:00
README.s5pc1xx init 2018-07-13 09:31:50 +08:00
README.sata init 2018-07-13 09:31:50 +08:00
README.sbc8349 init 2018-07-13 09:31:50 +08:00
README.sbc8548 init 2018-07-13 09:31:50 +08:00
README.sbc8641d init 2018-07-13 09:31:50 +08:00
README.sched init 2018-07-13 09:31:50 +08:00
README.scrapyard init 2018-07-13 09:31:50 +08:00
README.serial_multi init 2018-07-13 09:31:50 +08:00
README.sh init 2018-07-13 09:31:50 +08:00
README.sh7757lcr init 2018-07-13 09:31:50 +08:00
README.sh7785lcr init 2018-07-13 09:31:50 +08:00
README.sha1 init 2018-07-13 09:31:50 +08:00
README.silent init 2018-07-13 09:31:50 +08:00
README.simpc8313 init 2018-07-13 09:31:50 +08:00
README.spear init 2018-07-13 09:31:50 +08:00
README.standalone init 2018-07-13 09:31:50 +08:00
README.stxxtc init 2018-07-13 09:31:50 +08:00
README.timll init 2018-07-13 09:31:50 +08:00
README.ubi init 2018-07-13 09:31:50 +08:00
README.ublimage init 2018-07-13 09:31:50 +08:00
README.update init 2018-07-13 09:31:50 +08:00
README.usb init 2018-07-13 09:31:50 +08:00
README.video init 2018-07-13 09:31:50 +08:00
README.xpedite1k init 2018-07-13 09:31:50 +08:00
README.zeus init 2018-07-13 09:31:50 +08:00
feature-removal-schedule.txt init 2018-07-13 09:31:50 +08:00
mkimage.1 init 2018-07-13 09:31:50 +08:00

README.zeus

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>