mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-19 13:11:30 +00:00
doc: board: xilinx: zynq.rst: add description how to flash a SD card
Add a short description in the ZYNQ documentation how to prepare a SD card and copy the related images to SD card. Signed-off-by: Johannes Krottmayer <krjdev@gmail.com> Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
33d3f8e577
commit
6b3984c631
1 changed files with 19 additions and 0 deletions
|
@ -60,6 +60,25 @@ SLCR bootmode register Bit[3:0] values
|
||||||
"modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot"
|
"modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot"
|
||||||
bootmode strings at runtime.
|
bootmode strings at runtime.
|
||||||
|
|
||||||
|
Flashing
|
||||||
|
--------
|
||||||
|
|
||||||
|
SD Card
|
||||||
|
^^^^^^^
|
||||||
|
|
||||||
|
To write an image that boots from a SD card first create a FAT32 partition
|
||||||
|
and a FAT32 filesystem on the SD card::
|
||||||
|
|
||||||
|
sudo fdisk /dev/sdx
|
||||||
|
sudo mkfs.vfat -F 32 /dev/sdx1
|
||||||
|
|
||||||
|
Mount the SD card and copy the SPL and U-Boot to the root directory of the
|
||||||
|
SD card::
|
||||||
|
|
||||||
|
sudo mount -t vfat /dev/sdx1 /mnt
|
||||||
|
sudo cp spl/boot.bin /mnt
|
||||||
|
sudo cp u-boot.img /mnt
|
||||||
|
|
||||||
Mainline status
|
Mainline status
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue