historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/u-boot-sam460ex/doc
2024-01-16 11:20:27 -06:00
..
uImage.FIT phht hahahahaah 2024-01-16 11:20:27 -06:00
feature-removal-schedule.txt phht hahahahaah 2024-01-16 11:20:27 -06:00
I2C_Edge_Conditions phht hahahahaah 2024-01-16 11:20:27 -06:00
README-i386 phht hahahahaah 2024-01-16 11:20:27 -06:00
README-integrator phht hahahahaah 2024-01-16 11:20:27 -06:00
README.440-DDR-performance phht hahahahaah 2024-01-16 11:20:27 -06:00
README.alaska8220 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.AMCC-eval-boards-cleanup phht hahahahaah 2024-01-16 11:20:27 -06:00
README.amigaone phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ARM-memory-map phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ARM-SoC phht hahahahaah 2024-01-16 11:20:27 -06:00
README.at91 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.at91-soc phht hahahahaah 2024-01-16 11:20:27 -06:00
README.atum8548 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.autoboot phht hahahahaah 2024-01-16 11:20:27 -06:00
README.AVR32 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.AVR32-port-muxing phht hahahahaah 2024-01-16 11:20:27 -06:00
README.bamboo phht hahahahaah 2024-01-16 11:20:27 -06:00
README.bedbug phht hahahahaah 2024-01-16 11:20:27 -06:00
README.bitbangMII phht hahahahaah 2024-01-16 11:20:27 -06:00
README.blackfin phht hahahahaah 2024-01-16 11:20:27 -06:00
README.bus_vcxk phht hahahahaah 2024-01-16 11:20:27 -06:00
README.cmi phht hahahahaah 2024-01-16 11:20:27 -06:00
README.COBRA5272 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.commands phht hahahahaah 2024-01-16 11:20:27 -06:00
README.commands.itest phht hahahahaah 2024-01-16 11:20:27 -06:00
README.console phht hahahahaah 2024-01-16 11:20:27 -06:00
README.davinci phht hahahahaah 2024-01-16 11:20:27 -06:00
README.db64360 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.db64460 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.dns phht hahahahaah 2024-01-16 11:20:27 -06:00
README.drivers.eth phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ebony phht hahahahaah 2024-01-16 11:20:27 -06:00
README.enetaddr phht hahahahaah 2024-01-16 11:20:27 -06:00
README.EVB-64260-750CX phht hahahahaah 2024-01-16 11:20:27 -06:00
README.evb64260 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.fads phht hahahahaah 2024-01-16 11:20:27 -06:00
README.fsl-ddr phht hahahahaah 2024-01-16 11:20:27 -06:00
README.generic_usb_ohci phht hahahahaah 2024-01-16 11:20:27 -06:00
README.hwconfig phht hahahahaah 2024-01-16 11:20:27 -06:00
README.IceCube phht hahahahaah 2024-01-16 11:20:27 -06:00
README.idma2intr phht hahahahaah 2024-01-16 11:20:27 -06:00
README.imx31 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.imximage phht hahahahaah 2024-01-16 11:20:27 -06:00
README.INCA-IP phht hahahahaah 2024-01-16 11:20:27 -06:00
README.iomux phht hahahahaah 2024-01-16 11:20:27 -06:00
README.IPHASE4539 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.JFFS2 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.JFFS2_NAND phht hahahahaah 2024-01-16 11:20:27 -06:00
README.kmeter1 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.korat phht hahahahaah 2024-01-16 11:20:27 -06:00
README.kwbimage phht hahahahaah 2024-01-16 11:20:27 -06:00
README.LED phht hahahahaah 2024-01-16 11:20:27 -06:00
README.Lite5200B_low_power phht hahahahaah 2024-01-16 11:20:27 -06:00
README.lynxkdi phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m68k phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m5253evbe phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m5373evb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m5475evb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m52277evb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m53017evb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.m54455evb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.marubun-pcmcia phht hahahahaah 2024-01-16 11:20:27 -06:00
README.MBX phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mflash phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mips phht hahahahaah 2024-01-16 11:20:27 -06:00
README.Modem phht hahahahaah 2024-01-16 11:20:27 -06:00
README.modnet50 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc5xx phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc74xx phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc83xx.ddrecc phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc83xxads phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc85xxads phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc85xxcds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc832xemds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc837xemds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc837xerdb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.MPC866 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc7448hpc2 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8313erdb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8315erdb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8323erdb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8349itx phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8360emds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8536ds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8544ds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8569mds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8572ds phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8610hpcd phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mpc8641hpcn phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mvbc_p phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mvblm7 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.mvsmr phht hahahahaah 2024-01-16 11:20:27 -06:00
README.nand phht hahahahaah 2024-01-16 11:20:27 -06:00
README.nand-boot-ppc440 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ne2000 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.NetConsole phht hahahahaah 2024-01-16 11:20:27 -06:00
README.nhk8815 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ns9750dev phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ocotea phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ocotea-PIBS-to-U-Boot phht hahahahaah 2024-01-16 11:20:27 -06:00
README.OFT phht hahahahaah 2024-01-16 11:20:27 -06:00
README.omap3 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.omap730p2 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.OXC phht hahahahaah 2024-01-16 11:20:27 -06:00
README.p2020rdb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.phytec.pcm030 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.PIP405 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.PlanetCore phht hahahahaah 2024-01-16 11:20:27 -06:00
README.POST phht hahahahaah 2024-01-16 11:20:27 -06:00
README.ppc440 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.Purple phht hahahahaah 2024-01-16 11:20:27 -06:00
README.PXA_CF phht hahahahaah 2024-01-16 11:20:27 -06:00
README.qemu_mips phht hahahahaah 2024-01-16 11:20:27 -06:00
README.RPXClassic phht hahahahaah 2024-01-16 11:20:27 -06:00
README.RPXlite phht hahahahaah 2024-01-16 11:20:27 -06:00
README.s5pc1xx phht hahahahaah 2024-01-16 11:20:27 -06:00
README.Sandpoint8240 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sata phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sbc8349 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sbc8548 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.SBC8560 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sbc8641d phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sched phht hahahahaah 2024-01-16 11:20:27 -06:00
README.serial_multi phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sh phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sh7785lcr phht hahahahaah 2024-01-16 11:20:27 -06:00
README.sha1 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.silent phht hahahahaah 2024-01-16 11:20:27 -06:00
README.simpc8313 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.SNTP phht hahahahaah 2024-01-16 11:20:27 -06:00
README.spear phht hahahahaah 2024-01-16 11:20:27 -06:00
README.standalone phht hahahahaah 2024-01-16 11:20:27 -06:00
README.stxxtc phht hahahahaah 2024-01-16 11:20:27 -06:00
README.timll phht hahahahaah 2024-01-16 11:20:27 -06:00
README.TQM8260 phht hahahahaah 2024-01-16 11:20:27 -06:00
README.update phht hahahahaah 2024-01-16 11:20:27 -06:00
README.usb phht hahahahaah 2024-01-16 11:20:27 -06:00
README.video phht hahahahaah 2024-01-16 11:20:27 -06:00
README.VLAN phht hahahahaah 2024-01-16 11:20:27 -06:00
README.xpedite1k phht hahahahaah 2024-01-16 11:20:27 -06:00
README.zeus phht hahahahaah 2024-01-16 11:20:27 -06:00
TODO-i386 phht hahahahaah 2024-01-16 11:20:27 -06:00

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>