35 Commits

Author SHA1 Message Date
jsg
091964f7d5 add various pending U-Boot patches
- correct clock frequency used in bcm2835 sdhost driver to allow using
  raspberrypi-firmware 7fdcd00e00a42a1c91e8bd6f5eb8352fe9358557 and
  later without hangs
- detect rpi3 b+ and build lan78xx driver for it
- distro boot support for mvebu 8k
- add workaround for realtek phy on pine64

also remove use of MODPY_ADJ_FILES as suggested by sthen@ a while back
2018-03-18 08:56:21 +00:00
jsg
a0ca1e7838 update to U-Boot 2018.03 and build qemu_arm/qemu_arm64 targets 2018-03-15 02:25:58 +00:00
sthen
9a4dd4c678 handle prior LIBRESSL_VERSION_NUMBER, req by jsg 2018-02-20 03:27:22 +00:00
tb
1cb17be1fc Fix build after addition of RSA_get0_key() to LibreSSL.
ok sthen
2018-02-19 21:46:28 +00:00
jsg
25141c2f25 update to U-Boot 2018.01 2018-01-09 09:38:51 +00:00
kevlo
74d81a6607 Build u-boot for the Allwinner A33 (armv7) target Banana Pi M2 Magic.
ok jsg@, phessler@
2017-12-26 13:14:21 +00:00
jsg
bccf541fb4 update to U-Boot 2017.11 2017-11-27 03:53:47 +00:00
jsg
aafe966499 update to U-Boot 2017.09 2017-09-12 05:42:17 +00:00
jsg
6a6ef92996 update to U-Boot 2017.09-rc4 2017-09-05 02:14:57 +00:00
jsg
0ae0fb4598 update to U-Boot 2017.09-rc3
includes patches to fix Allwinner A20/sun7i Ethernet from
https://lists.denx.de/pipermail/u-boot/2017-July/299703.html
https://patchwork.ozlabs.org/patch/793903/
via kettenis@
2017-08-29 07:14:50 +00:00
patrick
1d5a179754 Build u-boot for the Armada 38x (armv7) targets ClearFog and Turris
Omnia, and the EspressoBIN/MacchiatoBIN, which use 64-bit Armada SoCs.

ok jsg@ phessler@
2017-08-24 08:53:02 +00:00
jsg
81beae5e9d Build combined images for Allwinner A64/H5 that include
atf/spl/uboot/dtbs without requiring the closed boot0 from Allwinner.

feedback from patrick@, ok kettenis@ on an earlier version
2017-08-21 02:32:58 +00:00
jsg
9da585e22d update to U-Boot 2017.09-rc2
Tested on CuBox-i4Pro, BeagleBone Black, PandaBoard ES and
Raspberry Pi 3 Model B.

This corrects a regression on rpi3 when booting off USB where the EFI
loader would stop iterating over block devices when loading from SD card
failed reported by 'R0me0' on bugs@.
2017-08-19 04:40:40 +00:00
jsg
bc8e847510 build a combined u-boot and spl image for the tinker board
tested by and ok kettenis@
2017-08-01 23:25:44 +00:00
jsg
fa4966e898 update to U-Boot 2017.07
Revert commit 25877d4e4c45451c5398aec3de50e0d5befe0e9f to add
CONFIG_OF_EMBED=y back to rpi configs so rpi3 will continue to work.
Tracked down by kettenis@

While Allwinner A64/H5 targets are built an Allwinner specific build of
ARM Trusted Firmware will need to become a build prequisite in future,
so U-Boot can build complete images after a BL31 environment variable is
set at build time with the path to a prebuilt bl31.bin.
2017-07-30 05:53:03 +00:00
jsg
38780e7991 update to U-Boot 2017.05
Tested on CuBox-i4Pro, BeagleBone Black, PandaBoard ES and
Raspberry Pi 3 Model B.
2017-05-09 04:11:18 +00:00
jsg
344998bd82 update to u-boot 2017.03 2017-03-14 13:40:31 +00:00
jsg
6610411278 Strip the hyphen in the distname version from the package name.
espie and naddy directed me to packages-specs(7), an rc suffix
is allowed only if there is no hyphen.

This commit doesn't include bumping EPOCH, but that may be needed.
2017-03-05 16:28:14 +00:00
jsg
a455aa323c Fix build when swig is installed.
Patch out 'python' in a Makefile for ${MODPY_BIN} and add swig to
BUILD_DEPENDS so any related problems will be caught in future.

Problem reported by naddy and espie.
2017-03-03 23:46:25 +00:00
jsg
aa568f353c update u-boot to 2017.03-rc3
Fixes data aborts reported by Daniel Bolgheroni when reading a dtb off
mmc on two different allwinner systems (Banana Pi and Orange Pi One)
with 2017.01.
2017-03-03 03:27:28 +00:00
jca
82157d0b54 BROKEN on sparc64 2017-02-18 12:10:50 +00:00
jsg
189f8fb861 Set MODPY_RUNDEP=No to avoid a RUN_DEPENDS on python. 2017-02-10 00:02:45 +00:00
jsg
dffda553e8 Update to U-Boot 2017.01 and add/build a Sinovoip BPI-M2+ target
from kettenis along with a patch to remove use of a gnu sed
extension in a build command.

Tested on CuBox-i4Pro, BeagleBone Black and PandaBoard ES.
2017-01-10 02:35:52 +00:00
jsg
e42e4e22ba Build some additional targets.
All of the Xunlong Orange Pi configs (Allwinner A20 and H3)
FriendlyARM NanoPi NEO (Allwinner H3)
Inverse Path USB Armory (Freescale/NXP i.MX53)

Discussed with kettenis.
2017-01-08 14:49:18 +00:00
patrick
902ac68283 Split sysutils/u-boot into two FLAVORs so that we can use the same
port to compile 32- and 64-bit ARM u-boots.

ok and with help from jsg@
2016-12-11 14:08:38 +00:00
jsg
57213f8c14 update to u-boot 2016.11 and enable new Cubieboard4 target
Tested on cubox, panda and bbb.
2016-11-20 01:47:00 +00:00
jsg
eb50e8491b disable the clearfog target until kwbimage is fixed
There is a use after free in kwbimage, found by building u-boot with the
use after free detection enabled in malloc.  When building the clearfog target:

  MKIMAGE u-boot-spl.kwb
Segmentation fault (core dumped)

kwbimage_generate -> image_version_file (alloc and free image_cfg global)
kwbimage_generate -> image_headersz_v1 -> image_count_options (image_cfg used)

It isn't clear to me if image_version_file should be inlined or another
approach taken, but as it stands it is clearly wrong.

The result of image_version_file is also never checked for -1 which multiple
paths in the function return.

I reported this on the u-boot list a week or so ago but no one has responded
so far.
2016-11-01 04:13:52 +00:00
jsg
44de96c797 fix the build of u-boot on big endian hosts
u-boot contains a static crc table with endian calls which requires the
endian calls to be macros.

lib/crc32.c:87: error: braced-group within expression allowed only inside a function

Define the glibc names in u-boot compiler.h as at least some parts of
the non-cross build assumes those names are present (ie crc32.c).

ok jca@
2016-10-30 04:16:34 +00:00
jsg
98493e5533 update to U-Boot 2016.09
Remove patches to set board ids on novena and cubox/hummingboard we no
longer require.  Also remove some OpenBSD build fix patches that were
accepted upstream and the cm-fx6/utilite distro_bootcmd patch which
no longer cleanly applies.

Tested on CuBox-i4Pro, BeagleBone Black and PandaBoard ES.
2016-09-14 05:52:25 +00:00
jsg
269d8b509b use endian.h macros and attempt to build on powerpc again 2016-08-06 08:07:51 +00:00
landry
6e85d705e2 Mark BROKEN on powerpc: Error: FDT_ERR_BADMAGIC 2016-08-06 06:40:05 +00:00
jsg
72870e0e4b build some additional board configurations 2016-07-30 14:22:19 +00:00
jsg
431157f5d0 Update to U-Boot 2016.07 which will be used in the armv7 release.
This includes the patch to not allocate memory from holes with the efi
loader and adds support for network access from efi payloads as well.

ok sthen@ naddy@
2016-07-12 12:35:44 +00:00
jsg
c54d079f71 Patch u-boot targets to use "distro_bootcmd" so a u-boot script does not
have to be provided to load EFI payloads.  omap4/cubox-i/sunxi and many
others already default to this.  Only compile tested due to lack of hardware.

utilite
http://pkgs.fedoraproject.org/cgit/rpms/uboot-tools.git/plain/0005-port-utilite-to-distro-generic-boot-commands.patch
omap3 beagle
8ea945ff9d.patch
omap5/beagleboard x15
https://anonscm.debian.org/git/collab-maint/u-boot.git/plain/debian/patches/am57xx/omap5_distro_bootcmd?h=experimental-2016.07
2016-06-18 03:04:44 +00:00
jsg
f54eccba3b Import U-Boot 2016.05
U-Boot is a firmware for embedded boards based on PowerPC, ARM, MIPS and
several other processors, which can be installed in a boot ROM and used to
initialize and test the hardware or to download and run application code.

As ARM systems often do not come with firmware it must be supplied on
an SD card or MMC device to have a bootable system.

This port provides U-Boot for various boards using ARM processors.

armv7 requires the support for EFI payloads added in this release to run
the bootloader.  A proposed patch to prevent the EFI interface from
allocating pages from unpopulated memory by Alexander Graf is included
which will hopefully be part of future releases:
http://marc.info/?l=u-boot&m=146434472023891&w=2

Feedback from jca@ and sthen@.  ok sthen@ on an earlier version without
the EFI patch.
2016-05-29 01:35:33 +00:00