u-boot/doc
Wolfgang Denk 5721385b18 Merge branch 'master' of git://git.denx.de/u-boot-mpc83xx
* 'master' of git://git.denx.de/u-boot-mpc83xx:
  powerpc/mpc83xx: Add 33.33MHz support for mpc8360emds
  powerpc/mpc83xx: Add 512MB DDR support for mpc8360emds
  mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code
  mpc83xx: Cleanup usage of LBC constants
  mpc83xx: Cleanup usage of DDR constants
  mpc83xx: Cleanup usage of BAT constants
  mpc83xx: cosmetic: vme8349.h checkpatch compliance
  mpc83xx: cosmetic: ve8313.h checkpatch compliance
  mpc83xx: cosmetic: sbc8349.h checkpatch compliance
  mpc83xx: cosmetic: mpc8308_p1m.h checkpatch compliance
  mpc83xx: cosmetic: kmeter1.h checkpatch compliance
  mpc83xx: cosmetic: TQM834x.h checkpatch compliance
  mpc83xx: cosmetic: SIMPC8313.h checkpatch compliance
  mpc83xx: cosmetic: MVBLM7.h checkpatch compliance
  mpc83xx: cosmetic: MPC837XERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC837XEMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC8360ERDK.h checkpatch compliance
  mpc83xx: cosmetic: MPC8360EMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC8349ITX.h checkpatch compliance
  mpc83xx: cosmetic: MPC8349EMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC832XEMDS.h checkpatch compliance
  mpc83xx: cosmetic: MPC8323ERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC8315ERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC8313ERDB.h checkpatch compliance
  mpc83xx: cosmetic: MPC8308RDB.h checkpatch compliance
  mpc83xx: cosmetic: MERGERBOX.h checkpatch compliance
  mpc83xx: Fix ipic structure definition
  powerpc, mpc83xx: add DDR SDRAM Timing Configuration 3 definitions
  cosmetic, powerpc, mpc83xx: checkpatch cleanup
  powerpc/83xx: move km 83xx specific i2c code to km83xx_i2c
  mpc83xx: fix global timer structure definition
2011-11-08 07:44:52 +01:00
..
uImage.FIT
feature-removal-schedule.txt
I2C_Edge_Conditions
mkimage.1
README-integrator
README.440-DDR-performance
README.ag101
README.alaska8220
README.AMCC-eval-boards-cleanup
README.amigaone
README.arm-caches
README.ARM-memory-map
README.arm-relocation
README.ARM-SoC
README.at91
README.at91-soc
README.atmel_mci
README.autoboot
README.AVR32
README.AVR32-port-muxing
README.bamboo
README.bedbug
README.bitbangMII
README.blackfin
README.bus_vcxk
README.cfi
README.cmi
README.COBRA5272
README.commands
README.commands.itest
README.console
README.davinci
README.davinci.nand_spl arm, davinci: add cam_enc_4xx support 2011-11-03 22:56:25 +01:00
README.db64360
README.db64460
README.designware_eth
README.dnp5370
README.dns
README.drivers.eth
README.ebony
README.enetaddr
README.EVB-64260-750CX
README.evb64260
README.fads
README.fdt-control
README.fsl-ddr
README.fsl-hwconfig
README.generic_usb_ohci
README.hawkboard
README.hwconfig
README.IceCube
README.idma2intr
README.imx5
README.imx31
README.imximage
README.INCA-IP
README.iomux
README.IPHASE4539
README.JFFS2
README.JFFS2_NAND
README.kmeter1
README.korat
README.kwbimage
README.LED
README.LED_display
README.Lite5200B_low_power
README.lynxkdi
README.m68k
README.m5253evbe
README.m5373evb
README.m5475evb
README.m52277evb
README.m53017evb
README.m54455evb
README.marubun-pcmcia
README.MBX
README.menu
README.mergerbox
README.mflash
README.mips
README.Modem
README.mpc5xx
README.mpc74xx
README.mpc83xx.ddrecc
README.mpc83xxads
README.mpc85xxads
README.mpc85xxcds
README.mpc832xemds
README.mpc837xemds
README.mpc837xerdb
README.MPC866
README.mpc7448hpc2
README.mpc8313erdb
README.mpc8315erdb
README.mpc8323erdb
README.mpc8349itx
README.mpc8360emds powerpc/mpc83xx: Add 33.33MHz support for mpc8360emds 2011-11-07 18:34:40 -06:00
README.mpc8536ds
README.mpc8544ds
README.mpc8569mds
README.mpc8572ds
README.mpc8610hpcd
README.mpc8641hpcn
README.mvbc_p
README.mvblm7
README.mvsmr
README.mx35pdk
README.N1213
README.nand
README.nand-boot-ppc440
README.NDS32
README.ne2000
README.NetConsole
README.nhk8815
README.ns9750dev
README.ocotea
README.ocotea-PIBS-to-U-Boot
README.OFT
README.omap3 OMAP3: mvblx: Initial support for mvBlueLYNX-X 2011-11-04 13:54:33 -04:00
README.omap730p2
README.OXC
README.p1_p2_rdb_pc
README.p1022ds
README.p1023rds
README.p2020rdb
README.p2041rdb
README.p4080ds
README.phytec.pcm030
README.PIP405
README.PlanetCore
README.POST
README.ppc440
README.PXA_CF
README.pxe
README.qemu_mips
README.RPXClassic
README.RPXlite
README.s5pc1xx
README.sandbox
README.Sandpoint8240
README.sata
README.sbc8349
README.sbc8548
README.SBC8560
README.sbc8641d
README.sched
README.scrapyard
README.serial_multi
README.sh
README.sh7757lcr
README.sh7785lcr
README.sha1
README.silent
README.simpc8313
README.SNTP
README.spear
README.SPL arm, davinci: add support for new spl framework 2011-11-03 22:56:25 +01:00
README.standalone
README.stxxtc
README.timll
README.TQM8260
README.ubi
README.ublimage
README.update
README.usb
README.video
README.VLAN
README.xpedite1k
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>