95 Commits

Author SHA1 Message Date
sthen
66c58052f4 fix minor issues with u-boot build deps:
- add missing ${MODPY_FLAVOR} to py-elftools BDEP

- this port doesn't use setuptoools to build; drop MODPY_SETUPTOOLS.
replace it with a plain BUILD_DEPENDS on setuptools, it's needed for
tools/binman/control.py which uses pkg_reseources from setuptools.
(I would guess that sometime in the future this might be dropped in
favour of using importlib.resources, added to core Python since 3.7,
but not yet).
2022-12-09 14:20:34 +00:00
kn
dc79cf3adb Update to arm-trusted-firmware 2.7.0
OK kevlo who also tested on PINE H64 ver B, ROCKPro64 (RK3399)
2022-08-08 15:27:58 +00:00
naddy
2b3700e37e drop RCS Ids 2022-03-11 19:57:10 +00:00
kevlo
8e4c428f50 Add PINE H64 Model B.
ok kn@
2022-01-15 11:56:50 +00:00
jsg
8980d51148 add a patch to enable emmc phy in rk3399 spl
from Yifeng Zhao on U-Boot list, not yet upstream
fixes regression booting on pinebook pro since 2021.10, specifically
ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399")
problem reported and fix tested by patrick@
drop maintainer
2021-12-17 23:00:41 +00:00
patrick
ba6672c124 Build nanopi-r2s-rk3328 as well.
ok jsg@
2021-10-29 11:14:46 +00:00
jsg
9f40e25c59 revert a U-Boot change to reset Broadcom PCIe
85f3fddbcc ("pci: brcmstb: Cleanup controller state before handover")
This should help with xhci usb not working on rpi4 since U-Boot 2021.04.

Also stop building rpi_3 and rpi_4 targets the rpi_arm64 target
handles both.
2021-10-21 12:58:29 +00:00
jsg
1e9872607b update to U-Boot 2021.10 2021-10-05 10:38:04 +00:00
jsg
11ce445d89 build nanopc-t4-rk3399 from and tested by Colin Tree
build nanopi-r4s-rk3399 from and tested by kevlo@
comment some files in plist to reduce install size
2021-08-05 08:01:23 +00:00
jsg
b9ad4e270c update to U-Boot 2021.07
build new sifive_unmatched target
2021-07-07 11:58:37 +00:00
jsg
fa7b51ac8e add a riscv64 flavor for qemu-riscv64_smode
ok sthen@
2021-04-28 04:03:28 +00:00
jsg
a539f3ce0f update to U-Boot 2021.04 2021-04-23 23:56:11 +00:00
jsg
6f5e60acc3 build rpi_arm64 target which should work on both rpi3 and rpi4
ok sthen@
2021-04-16 06:40:44 +00:00
sthen
745105c362 automatically handle ports which use the python module and have flavours
other than the usual "python3/<blank>" python version selection and
remove setting MODPY_VERSION=${MODPY_DEFAULT_VERSION_3} again from the
affected ports.
2021-02-23 22:04:35 +00:00
sthen
761c9f34ff ports which use the python module and have flavours other than the
usual "python3/<blank>" python version selection still require setting
MODPY_VERSION for now.
2021-02-23 21:45:49 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
kurt
83d9bccd70 Add ROCK PI N10 and MODPY_SETUPTOOLS=Yes to add missing build depend.
okay jsg@
2021-01-15 00:01:16 +00:00
jsg
1096c39191 update to U-Boot 2021.01
Fixes problem booting from spi with pinebook pro seen with 2020.10.

Disable CONFIG_USE_PREBOOT from rk3399 configs as this runs
'usb start' which is reported to break booting via other methods
by kurt@.

Tested by kurt@ patrick@ and myself on
am335x_evm
mx6cuboxi
omap4_panda
pinebook-pro-rk3399
rock64-rk3328
rockpro64-rk3399
rpi_3
tinker-rk3288

ok kurt@
2021-01-14 00:56:54 +00:00
dtucker
f6483381c7 Add Orange Pi Zero Plus. ok jsg@ 2020-12-25 12:18:05 +00:00
jsg
60d197d785 update to U-Boot 2020.10 2020-10-06 05:59:08 +00:00
jsg
3ba4d00900 build nanopi-neo4-rk3399 target
requested and tested by Anton Barsukov
2020-09-05 02:14:46 +00:00
jsg
5891c55432 update to U-Boot 2020.07
enable new pinebook-pro-rk3399 target
2020-07-07 08:26:26 +00:00
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