Commit Graph

194 Commits

Author SHA1 Message Date
Lorenz Brun
6568016fa3 u-boot: ROCK64 RAM init improvements
This switches the ROCK64 over to the open-source RAM init as it now
works flawlessly. It also removes the HDCP flag from the ATF for the
RK3328 as it cannot use it, it is only used in the RK3399. This makes
the ROCK64 u-boot now fully open.

There is also an issue with the ROCK64 v2 revision where the DRAM
routing is marginal, making some of them unstable. So also package a
variant which uses a lower-speed DDR3 timing configuration which is
stable on these boards.
2023-11-25 11:14:50 +01:00
K900
6a62bacc28 ubootClearfog: fix output file name
Renamed upstream.
2023-11-04 11:24:16 +03:00
K900
ba9e0d2e3f uboot: set SCP=/dev/null for all the allwinners
This is required to be set explicitly now, or the build fails.
2023-11-04 11:23:58 +03:00
K900
0fe8e5b5f0 uboot: fix patchShebangs invocation
The scripts for Rockchip targets were moved to scripts/ upstream.
2023-11-04 11:23:36 +03:00
K900
1d7a287b17 ubootTools: fix cross properly this time
When we're building a ubootTools, we want to produce a set of tools that runs
on the host, so we want their dependencies to be built for hostPlatform.

When we're building an uboot, the tools will run on the builder as part
of the build, so we want their dependencies to be built for buildPlatform.
2023-11-04 11:21:51 +03:00
K900
b94a2b047d ubootTools: fix cross 2023-11-02 15:37:12 +03:00
Doron Behar
c121c5f0fa
Merge pull request #218561 from lf-/jade/ubootTools-man
ubootTools: add man pages
2023-08-23 09:43:19 +00:00
Jade Lovelace
614b63922b ubootTools: add man pages
As far as I can tell, there are no makefile targets to install these, or
anything like that, so we have to do it by hand.

This adds man pages for dumpimage, kwboot, mkeficapsule, and mkimage.
There are no man pages in other sections than 1.
2023-07-30 14:27:23 -07:00
Nick Cao
68e6a47ce7
uboot: 2023.04 -> 2023.07.02 2023-07-12 09:09:12 +08:00
Nick Cao
d4ffd4aa09
ubootRock{,Pro}64: drop extraMakeFlags as the u-boot.itb target has been removed 2023-07-11 10:41:57 +08:00
Nick Cao
485141130e
uboot: add pyelftools to nativeBuildInputs as it is now required for boards that us binman 2023-07-11 10:41:57 +08:00
Nick Cao
7c9da3ef2f
uboot: 2023.01 -> 2023.04 2023-07-11 10:41:56 +08:00
Zhaofeng Li
24ea5fdb3b ubootQemuRiscv64Smode: Remove upstreamed patch 2023-04-28 16:27:39 -06:00
takov751
1c7579605b
uboot: 2022.10 -> 2023.01 2023-04-24 10:26:28 +00:00
Sergey Makarov
e97b960c4e u-Boot: add Orange Pi 3 support
Enable build of U-Boot for Orange Pi 3.

Signed-off-by: Sergey Makarov <setser200018@gmail.com>
2023-04-05 23:45:39 +03:00
Sergei Trofimovich
25206ed9a8 ubootTools: revert "fix build by fixing -idirafter ordering"
This reverts commit 8b3a31f923.

commit 8c80bd08b7
("build-support/cc-wrapper: pass in non-existent --sysroot= to untangle
from libc") was reverted. We can drop the workaround.
2023-01-29 07:49:37 +00:00
Sergei Trofimovich
8b3a31f923 ubootTools: fix build by fixing -idirafter ordering
`ubootTools` build broke after https://github.com/NixOS/nixpkgs/pull/210004
where we started dropping default libc include path and switched to
`-idirafter` way of specifying libc headers.

Unfortunately the way it's implemented it injects -idirafter after
user's flags, not before. That allows users to inject their paths before
libc include paths, not after (as it would notmally happen).

The change works it around for u-boot by pulling -idirafter libc flags
before user's flags.
2023-01-27 08:32:06 +00:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Jonathan Amiez
0986a60f9a uboot: add Librecomputer CC custom build
Add a new U-boot flavor for LibreComputer's AML-S905X-CC (Le Potato).

Board's SoC is based on Trusted Firmware-A architecture and needs extra
closed-source early bootloaders to be combined with U-boot in order to
boot properly, similar to Odroid-C2 board.

Proprietary blobs and related tooling are fetched from
github.com/LibreELEC/amlogic-boot-fip and used in postBuild along with
build output.

Hardware: https://libre.computer/products/aml-s905x-cc/
U-boot doc: https://u-boot.readthedocs.io/en/latest/board/amlogic/libretech-cc.html
2022-12-18 14:05:35 +01:00
Christian Kögler
3356bbc32a uboot: 2022.07 -> 2022.10 2022-10-09 16:46:05 +02:00
Yureka
d77e00f500 pkgsCross.armv7l-hf-multiplatform.ubootClearfog: fix build
Adds ncurses to nativeBuildInputs as well to fix cross-compilation
2022-09-18 14:49:33 +02:00
Jacek Galowicz
32aa10f097 ubootTools: Fix after update of uboot to 2022.07 2022-08-21 17:26:40 +02:00
Jacek Galowicz
a9d5080bd4 u-boot: 22.01 -> 22.07 2022-08-17 13:19:43 +02:00
Will Fancher
208c76560a uboot: Add makeOverridable for buildUBoot args 2022-06-13 05:56:10 -04:00
K900
ff391e0f0d u-boot: embiggen RPi kernel allocation again, again 2022-05-26 19:37:45 +03:00
Zhaofeng Li
34724f221e ubootQemuRiscv64Smode: Fix build with binutils 2.38 2022-05-08 02:46:32 -07:00
Bernardo Meurer
0594277183
ubootRaspberryPi4_64bit: remove NVMe support patches 2022-04-26 19:09:06 -07:00
Bernardo Meurer
21b28447eb
uboot: add node on where rpi-cm4 patches come from 2022-04-26 19:05:27 -07:00
Bernardo Meurer
77bb75d6a2
ubootRaspberryPi4_64bit: rebase patch series 2022-04-26 19:05:26 -07:00
Bernardo Meurer
cff95d1193
ubootRaspberryPi4_64bit: add patch for USB stall with non-MSD USB devices 2022-04-26 19:05:25 -07:00
Bernardo Meurer
b30105b7c2
ubootRaspberryCM4_64bit: merge with ubootRaspberryPi4_64bit 2022-04-26 19:05:23 -07:00
Bernardo Meurer
323f123f6a
ubootRaspberryCM4_64bit: add all NVME patches 2022-04-26 15:22:36 -07:00
Bernardo Meurer
ca0c9279ab
ubootRaspberryCM4_64bit: enable USB and NVME 2022-04-26 15:22:35 -07:00
Bernardo Meurer
d094a3e175
uboot: enable parallel building again 2022-04-26 15:22:34 -07:00
Bernardo Meurer
f6f41cf740
uboot: 2021.10 -> 2022.01 2022-04-26 15:22:27 -07:00
Bernardo Meurer
faf42ffbd0
ubootRaspberryCM4_64bit: init 2022-04-26 15:22:25 -07:00
Ivv
2705aef804
Merge pull request #163429 from bartsch/maintainer-add-bartsch
Add bartsch to maintainers list and uboot package
2022-03-10 04:11:10 +01:00
Daniel Martin
18ffc28a0f uboot: add bartsch to maintainers 2022-03-09 11:15:44 +01:00
Daniel Martin
3cee68f916 uboot: Add Olimex A20 OLinuXino Lime2 with eMMC
Since hardware revision K, every Lime2 has got an eMMC:
https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A20-OLinuXino-LIME2/hardware_revision_changes_log.txt

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2022-03-09 10:09:03 +01:00
Zhaofeng Li
d57972961c ubootRaspberryPi3_{32,64}bit: Add patch to load correct DT for Pi Zero 2 W 2022-02-12 00:04:48 -08:00
Yury Bulka
b865941fea uboot: add Olimex A64 OLinuXino 2022-01-21 11:03:00 +02:00
Zhaofeng Li
28b9bb5408 ubootQemuX86: init 2022-01-06 17:31:17 -08:00
Bobby Rong
a7c5460299
Merge pull request #142274 from ju1m/uboot
uboot: add Cubieboard2 build
2021-10-20 09:42:55 +08:00
Julien Moutinho
ac38b7b215 uboot: add Cubieboard2 build 2021-10-13 18:38:10 +02:00
Samuel Dionne-Riel
7882b7fa23
Merge pull request #140552 from samueldr/updates/u-boot-2021.10
uboot: 2021.04 -> 2021.10
2021-10-05 18:27:04 -04:00
Samuel Dionne-Riel
db8ab32efd
Merge pull request #125743 from novmar/novmar/orange_pi_zero2_support
ubootOrangePiZero2: init
2021-10-04 21:55:24 -04:00
Zhaofeng Li
1ef6c4bf37 ubootQemuRiscv64Smode: init 2021-10-04 21:47:51 -04:00
K900
b0f99ad527 ubootRaspberryPi4: provide fix for C0 revisions
Provide a (yet unmerged) patch that allows NixOS to boot correctly on
new Pi4 boards using the BCM2711C0 SoC. Revert this when the patch is
available in mainline U-Boot.

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2021-10-04 21:22:31 -04:00
Samuel Dionne-Riel
32a9c0adc3 uboot: 2021.04 -> 2021.10 2021-10-04 20:57:55 -04:00
Gabriel Fontes
a39ca1b8ee
uboot: increase rpi kernel size patch
Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
2021-09-29 01:41:53 -03:00