Port details on branch 2022Q3 |
- u-boot-sifive-fu540 Cross-build das u-boot for model sifive-fu540
- 2024.01_1 sysutils =0 2023.01_1Version of this port present on the latest quarterly branch.
- Maintainer: uboot@FreeBSD.org
- Port Added: 2020-12-17 18:12:10
- Last Update: 2024-01-15 17:33:30
- Commit Hash: 3d68246
- License: GPLv2
- WWW:
- https://www.denx.de/wiki/U-Boot
- Description:
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- u-boot-sifive-fu540>0:sysutils/u-boot-sifive-fu540
- To install the port:
- cd /usr/ports/sysutils/u-boot-sifive-fu540/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/u-boot-sifive-fu540
- pkg install u-boot-sifive-fu540
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: u-boot-sifive-fu540
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1704888643
SHA256 (u-boot/u-boot-2024.01.tar.bz2) = b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3
SIZE (u-boot/u-boot-2024.01.tar.bz2) = 19926911
Packages (timestamps in pop-ups are UTC):
- Master port: sysutils/u-boot-master
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- fw_dynamic.bin : sysutils/opensbi
- gsed : textproc/gsed
- swig : devel/swig
- dtc>=1.4.1 : sysutils/dtc
- mkimage : sysutils/u-boot-tools
- py39-setuptools-pkg>=0 : devel/py-setuptools-pkg@py39
- riscv64-none-elf-gcc : devel/riscv64-none-elf-gcc
- e2fsprogs-libuuid>=0 : misc/e2fsprogs-libuuid
- gnutls>=0 : security/gnutls
- bison : devel/bison
- gmake>=4.3 : devel/gmake
- python3.9 : lang/python39
- pkgconf>=1.3.0_1 : devel/pkgconf
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_u-boot-sifive-fu540
- USES:
- bison gmake python:build pkgconfig shebangfix tar:bz2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|