diff options
author | Johannes Krottmayer <krjdev@gmail.com> | 2020-06-03 11:50:06 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-06-24 13:11:08 +0200 |
commit | 6b3984c6318447e954942c9780b714a676f977e6 (patch) | |
tree | 885926c43bbb56cd8b98e0aa28992df8838e32ee /doc/board | |
parent | 33d3f8e57754f9b498fa7c14408f2bc20be43900 (diff) |
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>
Diffstat (limited to 'doc/board')
-rw-r--r-- | doc/board/xilinx/zynq.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/board/xilinx/zynq.rst b/doc/board/xilinx/zynq.rst index 6a09df1d15f..f564434b69c 100644 --- a/doc/board/xilinx/zynq.rst +++ b/doc/board/xilinx/zynq.rst @@ -60,6 +60,25 @@ SLCR bootmode register Bit[3:0] values "modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot" 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 --------------- |