73 Commits

Author SHA1 Message Date
jsg
6ade60bee6 add rock pi 4
from and tested by Christian Rueger
2020-06-14 01:49:02 +00:00
jsg
788b665456 Fix MMC access on Sabrelite
patch from Martyn Welch on U-Boot list
problem reported by and fix tested by benno@
2020-06-11 03:13:29 +00:00
kurt
1c1a57c207 Various u-boot changes:
* Rockchip now outputs a single image that combines idbloader.img
  and u-boot.itb called u-boot-rockchip.bin. It gets written at
  block 64. For example:
    dd if=u-boot-rockchip.bin of=/dev/sdXc seek=64
* Fix rock64 gen3 SPL boot hang. Reviewed upstream.
  Tested on both gen2 and gen3 boards.
* Enable PCIe gen2 on rockpro64. I've been running with this
  since December and tested various PCIe boards.
okay jsg@
2020-05-22 13:51:09 +00:00
jsg
54e84a4651 update to U-Boot 2020.04 2020-05-15 12:53:13 +00:00
sthen
6d15ca9821 Set "BROKEN-arm" for some of the slower-to-build ports that fail late on
armv7, this should save around 40h overall build time, and makes it more
visible to anyone working on the port that they are indeed broken on the
arch.  OK phessler@ naddy@

Of note because the port is important to the architecture and
self-hosted builds are a good thing: building u-boot on armv7 fails
with an Internal Compiler Error (SIGBUS) in lib/time.c, it would be
particularly nice if someone has an idea how to fix this!
2020-05-07 14:24:53 +00:00
kurt
5ab1c32ce9 Add Rock960 support and some ports Makefile adjustments.
Rock960 support tested by Klaus Küchemann. okay jsg@
2020-02-27 14:45:50 +00:00
kurt
56fa0e11ae Back-port fixes for rk3328 TPL memory training errors. okay jsg@ 2020-02-05 17:54:03 +00:00
kurt
3f3e0ce642 Enable pwm-fan on rockpro64.
The cooling levels are tuned to the fan that comes with the rockpro64 NAS
case. A gpu-theremal zone was not added because having two active cooling
maps control one physical fan causes them to compete for the fan speed
which results in erratic fan behavior.

okay jsg@, kettenis@
2020-01-17 14:24:42 +00:00
kettenis
00d38ac28a Enable reading the cpuid from e-fuse on firefly-rk3399, which in turn enables
the code that assigns a (static) MAC address to the ethernet interface.

To be submitted upstream.

ok jsg@, kurt@
2020-01-13 10:32:33 +00:00
jsg
26edd81321 update to U-Boot 2020.01 2020-01-07 07:07:08 +00:00
jsg
dc0c9b11fc update from U-Boot 2019.10-rc4 to U-Boot 2019.10
ok naddy@
2019-10-08 11:33:55 +00:00
kurt
fdf2331852 Updates for aarch64 rockchip boards:
* Add rock64-rk3328 to supported boards
* Update rk3328-cru.h from linux 5.3
* Include Simon Souths Rock64 TPL bug fixes [1]
* Update rk3399-rockpro64.dts from linux 5.3 to gain PCIe support

okay jsg@, patrick@, kettenis@, sthen@

[1] https://marc.info/?l=u-boot&m=157037941626446&w=2
2019-10-08 01:10:28 +00:00
jsg
96bb6ed86b update to U-Boot 2019.10-rc4
Fixes a regression in 2019.07 with tinker-rk3288.  Enable
rockpro64-rk3399 target, tested by kurt@.  Enable rpi_4 target, tested
by bmercer@ before patches were merged to mainline U-Boot.
2019-09-28 01:40:24 +00:00
kn
a1e87a5fbd Revert switch to Python 3 in previous commit
u-boot still uses Python 2 in various places that cannot be controlled from
our Makefile but require patching;  it also uses Python 2 specific syntax.

OK jsg
2019-09-22 09:39:28 +00:00
jsg
9a300f83f6 use https HOMEPAGE, set MODPY_VERSION for python3 and remove
pre-build stage

part of a patch from kn@
2019-09-22 05:28:20 +00:00
jsing
2716b3f986 Package u-boot for the BananaPI M2 Ultra.
Also switch from ftp to https for source.

ok jsg@ kettenis@
2019-09-05 16:23:49 +00:00
kettenis
e2573a864e The rk3399 targets switched to using TPL so include that into the images.
Don't build rockpro64-rk3399 for now since it needs LPDDR4 support that
didn't make it into U-Boot 2019.07.

ok jsg@
2019-07-30 17:55:47 +00:00
jsg
bdfeccf961 update to U-Boot 2019.07
Sinovoip_BPI_M2_Plus target was renamed to bananapi_m2_plus_h3
am335x_boneblack target replaced by am335x_evm
build rockpro64-rk3399 target as a few people have hardware (untested)

Add back flushing/disabling caches for armv7 efi which was removed in
2019.04 and later and is required to load kernels on i.MX 6.
The UEFI specification states that non-architectural caches
(not controlled by cp15 operations) should be disabled during boot time
services.  On i.MX 6 there is a PL310 L2 cache which U-Boot leaves on,
which breaks loading kernels even after we disable all the cp15
controlled caches in bootarm.efi.
2019-07-28 06:57:19 +00:00
sthen
77f7cc9c61 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:49:33 +00:00
patrick
e20b4978c7 Fix U-Boot's EFI boot support on 32-bit platforms. One issue is that
the page mask that removes the lower bits was based on 1UL, which is
only 32-bit on ARMv7.  Thus on machines with 4GiB memory or more the
addresses are truncated and never end up in the EFI memory map.  The
second issue is that on 32-bit systems a function that returns a 64-
bit integer through a pointer was given a pointer to an address that
can only hold 32-bit values, causing a data abort.  The second issue
was fixed in U-Boot 2019.04.

ok phessler@ naddy@
2019-04-09 22:32:48 +00:00
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