Skip to main content.
Navigation:
DENX
>
DULG
>
UBootPowerOn
Translations:
Edit
|
Attach
|
Raw
|
Ref-By
|
Printable
|
More
DULG
Sections of this site:
DENX Home
|
DULG
|
ELDK-5
|
Know
|
Training
|
U-Boot
|
U-Bootdoc
Topics
DULG Home
BoardSelect
Manual
FAQ
Application Notes
Changes
Index
List of pages in DULG
Search
%SECTION0{name=UBootPowerOn}% The First Power-On %H% Note: If you bought your %BOARDNAME% board with U-Boot already installed, you can skip this section since the manufacturer probably has already performed these steps. Connect the port labeled %CONSOLE_PORT% on your %BOARDNAME% board to the designated serial port of your host, start the terminal program, and connect the power supply of your %BOARDNAME% board. You should see messages like this: %INCLUDE{DULGData_%BOARD%.UBootBoot}% You can interrupt the "Count-Down" by pressing any key. If you don't you will probably see some (harmless) error messages because the system has not been initialized yet. %IF{ "%HAVE_WARN_BAD_CRC%" eq "true"}% %INCLUDE{WarningBadCRC}% %ENDIF% At first you have to enter the serial number and the ethernet address of your board. Pay special attention here since these parameters are write protected and cannot be changed once saved (usually this is done by the manufacturer of the board). To enter the data you have to use the U-Boot command =setenv=, followed by the variable name and the data, all separated by white space (blank and/or TAB characters). Use the variable name =serial#= for the board ID and/or serial number, and =ethaddr= for the ethernet address, for instance: %INCLUDE{DULGData_%BOARD%.UBootSetSerial}% Use the =printenv= command to verify that you have entered the correct values: %INCLUDE{DULGData_%BOARD%.UBootPrintenvBoardID}% Please double check that the printed values are correct! You will not be able to correct any errors later! If there is something wrong, reset the board and restart from the beginning; otherwise you can store the parameters permanently using the =saveenv= command: %INCLUDE{DULGData_%BOARD%.UBootSaveenv}%
5.7. Initial Steps
1. Abstract
5.9. U-Boot Command Line Interface
Prev
Home
Next