mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
doc: board: phytec: phycore-am6: Describe UART based boot
Describe how to boot via UART. Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
This commit is contained in:
parent
747ae74456
commit
d36394cff8
2 changed files with 36 additions and 0 deletions
|
@ -118,6 +118,23 @@ tiboot3.bin, tispl.bin and u-boot.img are stored on the uSD card.
|
|||
fatload mmc 1 ${loadaddr} u-boot.img
|
||||
mtd write ospi.u-boot ${loadaddr} 0 ${filesize}
|
||||
|
||||
UART based boot
|
||||
---------------
|
||||
|
||||
To boot the board via UART, set the switches to UART mode and connect to the
|
||||
micro USB port labeled as "Debug UART". After power-on the build artifacts
|
||||
needs to be uploaded one by one with a tool like sz.
|
||||
|
||||
Example bash script sequence for running on a Linux host PC feeding all boot
|
||||
artifacts needed to the device. Assuming the host uses /dev/ttyUSB0 as
|
||||
the main domain serial port:
|
||||
|
||||
.. prompt:: bash $
|
||||
|
||||
stty -F /dev/ttyUSB0 115200
|
||||
sb --xmodem tiboot3.bin > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
sb --ymodem tispl.bin > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
sb --ymodem u-boot.img > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
|
||||
Boot Modes
|
||||
----------
|
||||
|
|
|
@ -119,6 +119,25 @@ tiboot3.bin, tispl.bin and u-boot.img are stored on the uSD card.
|
|||
fatload mmc 1 ${loadaddr} u-boot.img
|
||||
mtd write ospi.u-boot ${loadaddr} 0 ${filesize}
|
||||
|
||||
UART based boot
|
||||
---------------
|
||||
|
||||
To boot the board via UART, set the switches to UART mode and connect to the
|
||||
micro USB port labeled as "Debug UART". After power-on the build artifacts
|
||||
needs to be uploaded one by one with a tool like sz.
|
||||
|
||||
Example bash script sequence for running on a Linux host PC feeding all boot
|
||||
artifacts needed to the device. Assuming the host uses /dev/ttyUSB0 as
|
||||
the main domain serial port:
|
||||
|
||||
.. prompt:: bash $
|
||||
|
||||
stty -F /dev/ttyUSB0 115200
|
||||
sb --xmodem tiboot3.bin > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
# Resend tiboot3.bin a 2nd time due to ErrataID:i2331
|
||||
sb --xmodem tiboot3.bin > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
sb --ymodem tispl.bin > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
sb --ymodem u-boot.img > /dev/ttyUSB0 < /dev/ttyUSB0
|
||||
|
||||
Boot Modes
|
||||
----------
|
||||
|
|
Loading…
Add table
Reference in a new issue