U-Boot loader for Wandboard Solo, Dual, and Quad.
Install the u-boot.imx file onto the boot disk using:
dd if=u-boot.imx of=/dev/whatever bs=1k oseek=1 conv=sync
The U-Boot built by this port expects the first 1MB of the boot media to
be reserved for the U-Boot executable and saved environment. The u-boot.imx
file begins at an offset of 1K from the start of the boot disk. The U-Boot
environment area begins at an offset of 512K.
This version is patched so that:
* ELF and API features are enabled to support ubldr.
* A single U-Boot image supports Solo, Dual[lite], and Quad processors.
* When the selected board has multiple SD or MMC devices available, the
mmc0 device in U-Boot (and thus the disk0 device in loader(8)) will be
whichever device U-Boot was loaded from by the ROM bootloader routines.
The sources for this port were originally obtained from commit 87f595d1ee
at https://github.com/TechNexion/U-Boot-edm/ which appears to be a slightly
modified fork of the stock U-Boot 2013.10 release. As of this writing,
the changes in this fork have not been rolled back into upstream U-Boot.
Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
a) just using the pkg-descr from the parents
b) or had their own separate pkg-descr with custom WWW
Use WWW?= in parents when the child's WWW is different.
Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.
Approved by: portmgr (implicit)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/u-boot-*: Remove ubldr support
We have been using loader.efi on armv7 for a long time now.
Remove support for booting with ubldr and the needed patches that were
never upstreamed.
While here add CONFIG_EFI_GRUB_ARM32_WORKAROUND=y in the Fragment as it's
needed to have the cache flushed for us when loader.efi is started.
Update Wandboard U-Boot to use the new master port; also effectively updates
the u-boot version from 2013.10 to 2017.01
Reviewed by: imp
Approved by: imp
Fix few style violations in u-boot ports:
- GMAKE -> MAKE_CMD, MAKE_CMD is always set to required make implementation
- CP -> INSTALL_DATA, INSTALL_DATA makes sure files are always installed
with proper permissions
- sysutils/u-boot-rpi: include missed files installed in STAGEDIR in PLIST_FILES
PR: 210982
Submitted by: myself
Approved by: maintainers timeout
Update the Wandboard U-Boot port to account for the difference between
the actual SoC on the board (solo/dual/quad) and the soc name as needed
for generating the fdt_file variable. The Solo and Dual-lite SoCs are
considered to be the same part by the fdt data.
Approved by: bapt
Leave caches enabled when launching loader(8), it speeds up loader and the
kernel can tolerate being entered with caches enabled as of r276445.
Also change the default environment to be basically the same as beaglebone.