diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2018-07-22 11:58:23 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2018-07-22 11:58:23 +0000 |
commit | 953f0408fa10a91ec2344e8cfaf4ca235827e5e0 (patch) | |
tree | e64229908d44bbeec8560c172359fd41e7ffc12f /sysutils/u-boot-rpi | |
parent | e45f3d98e855b5046b030a355f56e7e73b5e01c8 (diff) | |
download | ports-953f0408fa10a91ec2344e8cfaf4ca235827e5e0.tar.gz ports-953f0408fa10a91ec2344e8cfaf4ca235827e5e0.zip |
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
More on metadata file :
The goal is to have a u-boot-install package that will read those and auto
install u-boot either on a dir (method copy) or on a device (method raw)
As all the u-boots are either one file to be dd'ed or one/multiple files
to be copied this simple method is good enough.
Since the maximum variable is 4 (for the raw method), simply use echo instead
of a .in files (ok bapt@)
Reviewed by: imp
Approved by: imp (implicit)
Differential Revision: https://reviews.freebsd.org/D16241
Notes
Notes:
svn path=/head/; revision=475103
Diffstat (limited to 'sysutils/u-boot-rpi')
-rw-r--r-- | sysutils/u-boot-rpi/Makefile | 6 | ||||
-rw-r--r-- | sysutils/u-boot-rpi/files/rpi_fragment | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/u-boot-rpi/Makefile b/sysutils/u-boot-rpi/Makefile index 0cb005991e69..e777447714ad 100644 --- a/sysutils/u-boot-rpi/Makefile +++ b/sysutils/u-boot-rpi/Makefile @@ -9,4 +9,10 @@ FAMILY= rpi DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware +PATCHFILES+= 937869/mbox/? \ + 939129/mbox/? + +CONFIG_FRAGMENT= ${.CURDIR}/files/rpi_fragment +FRAGMENT_NAME= rpi_fragment + .include "${MASTERDIR}/Makefile" diff --git a/sysutils/u-boot-rpi/files/rpi_fragment b/sysutils/u-boot-rpi/files/rpi_fragment new file mode 100644 index 000000000000..56ca46fe5f31 --- /dev/null +++ b/sysutils/u-boot-rpi/files/rpi_fragment @@ -0,0 +1,3 @@ +CONFIG_OF_EMBED=n +CONFIG_OF_BOARD=y +CONFIG_API=y |