U-boot-sifive-fu540

Jul 20, 2023

##

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 gpart8, sgdisk8 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=1342081 –change-name=1loader1 –typecode=15B193300-FC78-40CD-8002-E86C45580B47 \ –new=2208210273 –change-name=2loader2 –typecode=22E54B353-1271-4842-806F-E436D6AF6985 \ /dev/da2

Now, copy the u-boot files to the SD card with dd1. 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



Checkout these related ports:
  • Zxfer - Easily and reliably transfer ZFS filesystems
  • Ztop - Display ZFS dataset I/O in real time
  • Zsm - ZFS Snapshot Manager
  • Zsd - Destroys ZFS snapshots
  • Zrepl - ZFS dataset replication tool
  • Zrep - ZFS based replication and failover solution
  • Zpool-iostat-viz - ZFS pool I/O latency statistics
  • Zoxide - Fast cd alternative that learns your habits
  • Zogftw - Creates redundant backups on encrypted ZFS pools
  • Znapzend - ZFS-centric backup tool
  • Zisofs-tools - User utilities for zisofs
  • Zidrav - File corruption detection and repair program
  • Zfstools - OpenSolaris-compatible auto snapshotting for ZFS
  • Zfsnap2 - Portable performant script to make rolling ZFS snapshots easy
  • Zfsnap - Simple sh script to make zfs rolling snaphosts with cron