| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/u-boot-sifive-fu540/ |
Upload File : |
U-Boot loader and related files for the HiFive Unleashed (FU540).
The SD card must be formatted with a GPT partition scheme, and expects two
specific GUID partition types for the SPL and FIT image.
Note: due to limitations in gpart(8), sgdisk(8) should be used instead. Install
it with the sysutils/gdisk port or package.
Assuming an SD card device in /dev/da2, execute:
sgdisk --clear --set-alignment=2 \
--new=1:34:2081 --change-name=1:loader1 --typecode=1:5B193300-FC78-40CD-8002-E86C45580B47 \
--new=2:2082:10273 --change-name=2:loader2 --typecode=2:2E54B353-1271-4842-806F-E436D6AF6985 \
/dev/da2
Now, copy the u-boot files to the SD card with dd(1).
dd if=/usr/local/share/u-boot/u-boot-sifive-fu540/u-boot-spl.bin of=/dev/da2p1 conv=sync
dd if=/usr/local/share/u-boot/u-boot-sifive-fu540/u-boot.itb of=/dev/da2p2 conv=sync