1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-15 17:50:28 +01:00
Files
u-boot-megous/include
Siva Durga Prasad Paladugu 5ce987feb3 ARM64: zynqmp: Enable fastboot for first SD/MMC/EMMC device
DNL numbers are not changed that's why fastboot needs to be called with
-i parameter (Xilinx vendor id).

- Show available devices
sudo fastboot -i 0x03fd devices
xilinx_zynqmp_zcu100	fastboot

- Stop fastboot and go back to U-Boot prompt
sudo fastboot -i 0x03fd continue

- Reboot the board
sudo fastboot -i 0x03fd reboot

- Get internal variables
sudo fastboot -i 0x3fd getvar bootloader-version
bootloader-version: U-Boot 2016.07-00026-g19bd53044817
sudo fastboot -i 0x3fd getvar downloadsize
downloadsize: 0x06000000
sudo fastboot -i 0x3fd getvar version
version: 0.4
(regular variables needs to have fastboot. prefix - there is also
serialno variable which should be define as serial#)

- Format SD/MMC/EMMC card
sudo fastboot -i 0x3fd oem format
- Write images to boot and Linux partition
sudo fastboot -i 0x3fd flash boot sd.img
sudo fastboot -i 0x3fd flash Linux os.img

- Creating sd.img or os.img
$ dd if=/dev/zero of=sd.img bs=1024 count=1024
$ mkfs.vfat sd.img
$ mkdir sd-mount
$ mount -o loop sd.img sd-mount
$ echo foo > sd-mount/bar
$ umount sd-mount

partitions setting should be checked by running gpt command.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-01-10 10:18:12 +01:00
..
2016-04-01 17:18:12 -04:00
2016-12-03 13:21:21 -05:00
2016-08-20 11:35:07 -04:00
2016-03-22 12:16:13 -04:00
2016-03-24 09:47:43 +01:00
2016-05-25 17:52:39 +02:00
2016-05-25 17:52:39 +02:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2016-01-20 19:06:23 -07:00
2016-09-16 17:03:39 -04:00
2016-12-03 13:21:23 -05:00
2015-11-19 20:27:50 -07:00
2016-10-19 09:01:51 +02:00
2016-02-23 16:14:45 +05:30
2016-01-19 08:31:21 -05:00
2015-04-10 14:23:23 +02:00
2016-11-14 23:24:03 +01:00
2016-05-03 17:52:11 -05:00
2016-01-28 12:22:19 -06:00
2016-01-27 15:55:54 +01:00
2016-01-19 08:31:21 -05:00
2015-08-25 22:53:57 -05:00
2016-12-08 10:36:22 -06:00
2016-07-22 09:52:59 -04:00
2016-06-10 13:44:58 -07:00
2016-10-23 12:08:48 -07:00
2016-06-19 17:05:55 -06:00
2016-06-19 17:05:55 -06:00
2016-03-08 15:01:47 -05:00
2016-08-12 11:01:22 -06:00
2016-12-01 13:51:57 +09:00
2016-01-20 10:19:40 -05:00
2015-11-12 08:26:58 +08:00
2015-01-06 10:10:04 +02:00
2016-07-16 09:43:12 -04:00
2016-01-21 20:42:36 -07:00
2016-02-05 12:47:21 +08:00
2015-01-05 12:08:55 -05:00
2016-03-15 15:19:23 -04:00
2016-01-21 20:42:36 -07:00
2016-01-21 20:42:34 -07:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2016-08-17 10:25:35 +09:00
2016-10-19 09:01:52 +02:00
2016-11-19 08:41:44 +05:30
2016-05-26 20:48:31 -06:00
2015-07-26 12:11:33 +02:00
2016-02-26 08:53:10 -07:00
2016-09-26 13:24:43 -04:00
2016-05-17 09:54:43 -06:00
2016-05-02 18:37:09 -04:00
2016-10-12 10:56:51 +08:00
2016-10-23 18:33:48 -04:00
2016-10-31 10:13:17 -04:00