Commit Graph

204 Commits

Author SHA1 Message Date
K900
1db686b48b ubootOrangePi5: also build the SPI image 2024-03-22 08:49:45 +03:00
K900
8502a2a6b5 rkbin: make passthru attributes use full paths, fix license, fix BL31_RK3568 path 2024-03-22 08:46:57 +03:00
Pratham Patel
8f59cbeb38 ubootOrangePi5: init at 2024.01 2024-03-22 08:08:23 +03:00
Pratham Patel
dc9f04d45e ubootRock5ModelB: init at 2024.01 2024-03-22 08:08:17 +03:00
Pratham Patel
cdc6e3f3b5
uboot: 2023.07.02 -> 2024.01 2024-03-06 08:47:05 +05:30
Nick Cao
2424c8db9d buildUBoot: specify absolute path of dtc, fix building u-boot 2023.10+ 2024-02-18 12:42:42 +01:00
Samuel Dionne-Riel
9b5d456802
Merge pull request #255403 from RaitoBezarius/uboot
buildUBoot: supports Python scripts with their own environment
2024-02-08 21:28:04 -05:00
Jacob Hrbek
a01d728bd6
ubootOlimexA64Teres1: init
Add U-Boot Package Declaration for OLIMEX Teres-I
2024-02-03 04:02:26 +00:00
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
Raito Bezarius
32104c2fec ubootTools: add efivar.py as a tool
`efivar.py` enable a user to manipulate the EFI variable store on disk
that U-Boot uses.

This is useful to prepare a SecureBoot set of variables that can be seeded
inside of U-Boot directly if you do not have a proper OP-TEE on your platform.
2023-09-16 04:04:06 +02:00
Raito Bezarius
50c6120a3e buildUBoot: supports Python scripts with their own environment
Sometimes, U-Boot has interesting Python scripts in tools/, the issue is
that they rely on implicit dependencies described by their code itself.

For this, we offer an attribute set-style option to install Python scripts
with specific dependencies.

For example, you could do `pythonScriptsToInstall."tools/efivar.py" = python3.withPackages (ps: [ ps.pyopenssl ]);`
which will be added in a next PR.
2023-09-16 04:02:56 +02: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