53 Commits

Author SHA1 Message Date
phessler
0f32a2963d atf-allwinner and u-boot-pinebook were forks, adding support for hardware
until it could be upstreamed.  Well, the support has been upstreamed, so
we can retire these in favour of arm-trusted-firmware and u-boot-aarch64.

tested by me on an original pinebook, and by patrick@ on a 1080p pinebook.

discussed with patrick@ and jsg@
OK sthen@
2019-02-07 20:50:18 +00:00
patrick
170575634e Switch from Allwinner's ATF to the official ARM Trusted Firmware
repository.  There has been plenty of upstreaming effort which
improves support for devices like the Pinebook.
2019-02-07 07:29:04 +00:00
jsg
4f7676fb0b Build the am335x_evm target which outputs a FIT image including device
trees for multiple am335x boards including the BeagleBone Black.

The am335x_boneblack target has been removed in the U-Boot repository
and will not be in the next major release.  Continue building it till
then.
2019-01-20 11:51:02 +00:00
jsg
732eca2796 Add arch/arm/mach-rockchip/make_fit_atf.py to MODPY_ADJ_FILES to fix
build of u-boot-aarch64 after firefly-rk3399 addition.

Reported by nigel@
2019-01-19 11:27:05 +00:00
kettenis
6fad32c6d7 Add firefly-rk3399 target. The serial console speed for this target is
set to 115200 which matches the arm-trusted-firmware default and is much
more usable than 1500000 that upstream uses.

ok jsg@
2019-01-17 20:41:47 +00:00
kirby
76185d0dc9 add BananaPi M2 Zero I'm playing with.
tweaks and OK jsg@ (maintainer)
2019-01-15 14:20:09 +00:00
jsg
135db21321 update to U-Boot 2019.01
Add pinebook and pine64-lts targets.  This conflicts with
sysutils/u-boot-pinebook though that port can be removed now the
pinebook changes are finally in a mainline U-Boot release.
2019-01-15 05:44:18 +00:00
jsg
a954eafe84 Don't include obsolete malloc.h header.
Reported and diagnosed by naddy@, not noticed here as I still had
an old malloc.h header that should have been removed.
2018-11-18 01:49:46 +00:00
jsg
12732a7fa7 update to U-Boot 2018.11
Revert a patch to stop cleaning caches before booting armv7 efi payloads
to unbreak booting kernels on OpenBSD/armv7.
2018-11-15 09:50:45 +00:00
jsg
606d72a78f Change from CONFIG_OF_EMBED to CONFIG_OF_BOARD in rpi targets, avoids
having to set device tree address in config.txt as the dtb address
passed via atags is used.  Patch from Alexander Graf in openSUSE U-Boot
tree.  Discussed with kettenis@
2018-10-17 22:21:29 +00:00
jsg
b158c0336d update to U-Boot 2018.09 2018-09-11 10:35:01 +00:00
jsg
6d0ee40eb2 update to U-Boot 2018.09-rc3 2018-09-04 10:32:15 +00:00
jsg
ed2504db8a update to U-Boot 2018.09-rc2 2018-08-14 07:23:54 +00:00
jsg
ecd0739c3f revert 4182a129ef735bfd6c54788affe1b649ab85b851
efi_loader: allocate configuration table array

After this commit, the ConfigurationTable field of the system table
was no longer translated from a physical address into a virtual address
when the SerVirtualAddressMap() runtime service got called.

Broke boot on Orange Pi PC 2 as reported by kevlo@ and tracked down
by kettenis@.
2018-08-03 02:57:33 +00:00
jsg
0d31d6e5dc update to U-Boot 2018.09-rc1
Includes changes to add Ethernet to more Allwinner device trees and
finally includes the proper device tree for sopine.

Also add a patch from kettenis@ to enable Ethernet on the NanoPi A64.
2018-07-31 09:52:54 +00:00
ajacoutot
cccbe42f5e Unbreak build: need bison. 2018-07-10 12:30:16 +00:00
jsg
bab9554907 update to U-Boot 2018.07 2018-07-10 03:40:36 +00:00
jsg
0f6602ece2 update to U-Boot 2018.05 2018-05-08 13:46:06 +00:00
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