sysutils/u-boot-*: Add patch to fix MMC ordering
For FreeBSD we use a dtb overlay that switches between the sdhost and
the sdhci controller for sd card.
Recent changes in u-boot device model changed device numbering and the
sd card controller became "mmc2" for our setup which isn't accounted for
in the possible boot devices.
Patch isn't accepted yet upstream but bring this patch in for our ports anyway.
Add sysutils/u-boot-rpi3-32 to build a 32-bit version of u-boot
This is useful for using the camera hardware, as
misc/raspberrypi-userland does not support aarch64.
Approved by: imp, manu
Differential Revision: https://reviews.freebsd.org/D21603
sysutils/u-boot: Update to 2020.04
While here use python3 for it as it now works.
Two slave ports have been marked broken :
u-boot-pandaboard and u-boot-duovero
Both of those boards have ~0 users in FreeBSD so if you are one of
those raise your hand.
sysutils/u-boot-rpi{3,4}: Add patch to fix PSCI stub reservation
For the traditional spin table setup, only the lowest page needs
to be reserved. However, our PSCI stubs are slightly bigger and occupy
a little over one page. These patches, already sent upstream, allow a
variable number of initial pages to be reserved for the SMP stubs. We
then set the values for these in our fragment to '2' to reserve the first
and second page.
Approved by: koobs (mentor)
Approved by: manu (uboot, maintainer)
MFH: 2020Q1
Differential Revision: https://reviews.freebsd.org/D24085
Minor cleanup of u-boot's patches
Move to using the 'raw' patches for those patches that are currently
in u-boot's upstream landing zone. Move to using a u-boot directory
since the numeric names aren't very u-boot specific and might
conflict. Bump PORTREVISION out of an abundance of caution.
Differential Review: https://reviews.freebsd.org/D16409
Remove MAINTAINER lines. They are set by the master port and all these
ports are maintained by the uboot@ mailing list.
Approved by: uboot@ (maintainer of these ports)
Differential Review: https://reviews.freebsd.org/D16397
Revert r475122, r475123 and r475124.
To manage upstream, we use the exact patches we've submitted upstream
via their patchwork server. This deviates a little from a standard
port, but it's what we do with all the other u-boot ports and isn't
grossly out of line (many other ports pull patches during the build).
We do it this way because the standard way was an unmanageable
nightmare and resulted in divergence of u-boot ports.
Approved by: uboot@ (maintainer of these ports)
Differential Revision: https://reviews.freebsd.org/D16397
u-boot: Update to v2018.07
This add:
- Explicit Depency on bison
- Remove the DTC= on MAKE_ARGS as we use the BINARY_ALIAS already
- metadata variables
- Add cache cmds and disable secure boot
- All RPI uses some special fragments to enable OF_BOARD.
This makes u-boot using the DTB loaded by the firmware instead of
using it's own.
- For patches accepted but not in mainline due to timing issue use patchwork
directly instead of putting files in the port
- All armv7 boards are EFI enabled and boot in secure mode
(Only the first 15 lines of the commit message are shown above )
Use github for psci monitor [brd]
Chase upstream
Redo save_boot_params in lowlevel__init.S to add reserve_memory remove
save_boot_params from rpi.c
Note network code diffs are now upstreamed already
PR: ports/216757
Submitted by: brd