Commit Graph

188 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
4836a3dfb4
Merge pull request #113556 from MatthewCroughan/add-ubootOrangePiZero
U-Boot: Adds Orange Pi Zero build
2021-02-24 13:38:30 -05:00
matthewcroughan
9c19eee912 U-Boot: Adds Orange Pi Zero build 2021-02-18 07:08:23 +00:00
Travis Whitton
3aec4fad92 uboot: remove ATF for ubootNanoPCT4 2021-02-12 14:35:55 -05:00
Travis Whitton
e79e264a6e uboot: use RK3399 ATF for ubootNanoPCT4 2021-02-12 14:35:55 -05:00
Travis Whitton
c3da6f908d uboot: simplify ubootNanoPCT4 build 2021-02-12 14:35:55 -05:00
Travis Whitton
c21fee9d2f uboot: add ubootNanoPCT4 for NanoPC-T4 2021-02-12 14:35:54 -05:00
Samuel Dionne-Riel
5ff4a67412
uboot: 2020.10 -> 2021.01 (#109236) 2021-01-13 04:00:10 +01:00
Milan Pässler
3d3f22e7be
uboot: fix rpi kernel size patch for 2020.10
Fixes #109008
2021-01-11 15:26:17 +01:00
Milan
a315a1503a
uboot: allow bigger kernels to boot on raspberry pi (#108975)
Fixes #97064
2021-01-11 02:41:26 +01:00
Samuel Dionne-Riel
95cd8c8d7b ubootRaspberryPi4*: init at 2020.10 2020-12-31 18:20:49 +01:00
Andreas Rammhold
7a5047bede
ubootRockPi4: init
This adds support for the Radxa Rock Pi 4 board which is based on
RK3399. The u-boot outputs from the introduced build are suitable to
build a generic image for the Rock Pi 4 by setting the following in a
custom build of $nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix:

```
  sdImage.postBuildCommands = ''
    dd if=${pkgs.ubootRockPi4}/idbloader.img of=$img seek=64 conv=notrunc
    dd if=${pkgs.ubootROckPi4}/u-boot.itb of=$img seek=16384 conv=notrunc
  '';
```
2020-11-14 02:25:41 +01:00
Anton Arapov
71504af486 uboot: 2020.07 -> 2020.10
update to recent upstream release

Signed-off-by: Anton Arapov <arapov@gmail.com>
2020-10-15 18:17:39 +02:00
Samuel Dionne-Riel
3d2d18cdb8 ubootNanonote: remove
This removes the last non-mainline U-Boot from Nixpkgs.
2020-09-23 21:00:03 -04:00
Marek Mahut
1cfc9df481
Merge pull request #96459 from sorki/novena_uboot_products
ubootNovena: install u-boot-dtb.img instead of u-boot.bin
2020-09-08 21:12:35 +02:00
Artemis Tosini
6f457404b7
ubootPinebookPro: init at 2020.07 2020-08-31 17:15:24 +00:00
Richard Marko
fbc54ca20f ubootNovena: install u-boot-dtb.img instead of u-boot.bin
SPL now looks for u-boot-dtb.img instead of u-boot.bin.
2020-08-27 13:00:10 +02:00
Ben Wolsieffer
6a0bb38b27 uboot: add hydra-build-products
This allows users to easily download the bootloader for their device without
having Nix installed.
2020-07-11 20:17:33 -04:00
Samuel Dionne-Riel
bd72165063 u-boot: v2020.04 -> v2020.07 2020-07-06 16:39:24 -04:00
Samuel Dionne-Riel
5f97610fc0 ubootROCPCRK3399: init at 2020.04 2020-06-01 17:25:49 -04:00
Pavol Rusnak
1b9ff92adc
uboot: 2020.01 -> 2020.04 2020-04-19 18:15:00 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Samuel Dionne-Riel
7943c33087 uboot: ubootBeagleboneBlack -> ubootAmx335xEVM
See u-boot@8fa7f65dd02c176ee6021eaf40114560b8954ba2

>    configs: Remove am335x_boneblack_defconfig
>
>    The am335x_evm_defconfig supports all am335x_boneblack variants. Remove
>    the redundant am335x_boneblack_defconfig.
2020-01-21 17:09:05 -05:00
Samuel Dionne-Riel
ca931caf16 uboot: 2019.10 -> 2020.01
In addition, removes the python2 dependency. Anyway, it was required for
the updated revision to build.
2020-01-21 16:39:30 -05:00
Samuel Dionne-Riel
4f67905034
Merge pull request #75069 from lopsided98/uboot-odroid-c2
uboot: add support for the ODROID-C2
2020-01-07 19:07:47 -05:00
Andrew Childs
af0047be3a uboot: add ubootBananaPim3 for Banana Pi M3 2020-01-07 21:00:11 +01:00
Jonathan Ringer
446fec8c2d
Merge branch 'master' of github.com:NixOS/nixpkgs into staging-next 2019-12-30 10:14:18 -08:00
Andrew Childs
4b877fb11b ubootSheevaplug: install Kirkwood Boot Image instead of raw uboot 2019-12-30 17:21:39 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Ben Wolsieffer
7486e0ad26 uboot: add lopsided98 to maintainers 2019-12-05 22:09:20 -05:00
Ben Wolsieffer
8845809828 ubootOdroidC2: init 2019-12-05 22:00:40 -05:00
Ben Wolsieffer
4d6921a5d8 ubootRock64, ubootRockPro64: use upstream U-Boot
The Rock64 still needs a binary TPL to avoid memory initialization issues.
2019-12-05 13:02:48 -05:00
Florian Klink
cedbdc934d buildUBoot: allow passing custom src
We allowed passing another version, but that wasn't too useful, given we
hardcoded the hash of the fetchurl.
2019-11-27 21:57:41 +01:00
Andrew Childs
2db8c2310a ubootTools: use tools-only_defconfig instead of allnoconfig
Includes more features in the tools, like support for Flat Device Tree
files in mkimage.
2019-11-25 01:37:01 +09:00
Samuel Dionne-Riel
c5b7f9f85f u-boot: Add self as maintainer 2019-10-08 21:45:44 -04:00
Samuel Dionne-Riel
9e141fcf96 u-boot: 2019.04 -> 2019.10 2019-10-08 15:33:15 -04:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Ben Wolsieffer
367dfad37e ubootRockPro64: update U-Boot and rkbin 2019-06-06 23:00:14 -04:00
Ben Wolsieffer
1bb093e4ff ubootRock64: update U-Boot and rkbin 2019-06-06 23:00:14 -04:00
Samuel Dionne-Riel
6663a888f2 u-boot: Adds Pinebook 2019-05-17 21:58:47 -04:00
Samuel Dionne-Riel
6d961ec922 u-boot: Adds Pine64LTS
The name of the board is indeed A64-LTS, but upstream U-Boot names it
pine64-lts so let's keep the U-Boot moniker.

This previously was supported using the SOPINE build.
2019-05-17 21:57:14 -04:00
Samuel Dionne-Riel
ba6f1a1e82 u-boot: 2018-09 -> 2019.04 2019-05-17 21:56:31 -04:00
Samuel Dionne-Riel
b726784d0d
Merge pull request #59804 from lopsided98/uboot-rock64-fix
ubootRock64, ubootRockPro64: make compatible with latest dtc
2019-05-01 20:07:47 -04:00
Ben Wolsieffer
1cb85dce07 ubootRock64, ubootRockPro64: apply patch to allow building with latest dtc 2019-05-01 00:26:33 -04:00
samrose
e6956c6595 uboot: add Banana Pi M64 (#58366) 2019-04-24 22:50:01 +02:00
Ben Wolsieffer
414c42a697 ubootRock64, ubootRockPro64: use dtc 1.4.5 2019-01-18 21:00:58 -05:00
Ben Wolsieffer
404773e336 uboot: use pname and cleanup version specification 2019-01-18 17:53:21 -05:00
Ben Wolsieffer
26079c4da7 uboot: buildUBoot: add extraConfig parameter 2019-01-18 17:53:21 -05:00
Ben Wolsieffer
e245086709 uboot: add RockPro64, fix Rock64 build
Switch the Rock64 build from a newer, less maintained U-Boot tree, to an older
but more maintained and featureful version.
2019-01-18 17:53:21 -05:00
Samuel Dionne-Riel
12051db622 U-Boot: Add Orange Pi Zero Plus2 (H5) build 2018-09-25 10:04:14 +03:00
Tuomas Tynkkynen
61b2e0cba8 U-Boot: 2018.07 -> 2018.09 2018-09-14 16:15:28 +03:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Tuomas Tynkkynen
d0195f0e1d U-Boot: 2018.05 -> 2018.07
- We get to drop a bunch of patches. Yay!
- bison and flex are now needed
2018-07-12 17:03:40 +03:00
Richard Marko
b6c29e6298 uboot: add ubootNovena 2018-07-01 20:46:23 +02:00
Tuomas Tynkkynen
e864247f08 Merge branch 'plat-fix-for-merge-2' into master 2018-06-01 20:08:08 +03:00
Tuomas Tynkkynen
912e87c45c U-Boot: Add ubootRaspberryPiZero variant 2018-06-01 13:48:54 +03:00
Tuomas Tynkkynen
964bd06bbc U-Boot: 2018.03 -> 2018.05 2018-06-01 13:48:54 +03:00
John Ericson
5e17335bd7 Merge remote-tracking branch 'upstream/staging' into strictDeps 2018-05-14 23:33:03 -04:00
John Ericson
330ca731e8 treewide: Get rid of all uses of crossConfig
The hack of using `crossConfig` to enforce stricter handling of
dependencies is replaced with a dedicated `strictDeps` for that purpose.
(Experience has shown that my punning was a terrible idea that made more
difficult and embarrising to teach teach.)

Now that is is clear, a few packages now use `strictDeps`, to fix
various bugs:

 - bintools-wrapper and cc-wrapper
2018-05-14 23:30:37 -04:00
Tuomas Tynkkynen
ba172467cc U-Boot: Disable parallel build
https://hydra.nixos.org/build/71880710
(cherry picked from commit 50dc85ed62)
(cherry picked from commit 91b09422cf)
2018-05-13 16:12:11 -04:00
Tuomas Tynkkynen
d884ece1da U-Boot: Make ubootJetsonTK1 install even more files
(cherry picked from commit 4fe75d11b2)
(cherry picked from commit a68e60f450)
2018-05-13 16:12:11 -04:00
Tuomas Tynkkynen
f2ea9e0ebf U-Boot: Add Pine64 build
(cherry picked from commit 4b77663edf)
(cherry picked from commit 1896fcff60)
2018-05-13 16:12:11 -04:00
Samuel Dionne-Riel
566d3feb4e U-Boot: Add SOPINE Baseboard build
This build is compatible with PINE A64-LTS.

[dezgeg changed the original device tree patch to v4 of the patch series
"sunxi: sync H3, H5, A64 DTs from mainline Linux" submitted to the
upstream mailing list by Andre Przywara. Also install the
u-boot-sunxi-with-spl.bin binary similar to 32-bit boards
since it's now being built by the upstream build system.]

(cherry picked from commit 2ff31f71ae)
(cherry picked from commit 176d151f4d)
2018-05-13 16:12:10 -04:00
Tuomas Tynkkynen
7dffe0d38c U-Boot: Add AArch64 QEMU build
See

https://github.com/u-boot/u-boot/blob/master/doc/README.qemu-arm

on how to use it.

(cherry picked from commit 6b069c656a)
(cherry picked from commit eff6d9628c)
2018-05-13 16:12:10 -04:00
Ben Wolsieffer
b63124dfc5 uboot: fix cross-build of ubootTools
(cherry picked from commit 28fd7d9594)
(cherry picked from commit 4c669db598)
2018-05-13 16:12:10 -04:00
Ben Wolsieffer
d50bcaa816 uboot: sheevplug and guruplug: use mainline U-Boot
These derivations have not seen any updates since they were created in 2010,
and some of their sources have disappeared. There are upstream configs for
these boards, so these are now used, and they build correctly. I have no way
of testing them, and I don't if anyone even uses either board with Nix anymore.

(cherry picked from commit 01020b3263)
(cherry picked from commit 48ade50d8e)
2018-05-13 16:12:08 -04:00
Ben Wolsieffer
2a450cec19 uboot: add patch to increase maximum path length in extlinux.conf
This fixes problems with cross compiled kernels failing to boot.

(cherry picked from commit 1f4bb8c61d)
(cherry picked from commit 828fdd61b9)
2018-05-13 16:09:00 -04:00
Ben Wolsieffer
d29202bc48 uboot: 2017.11 -> 2018.03, cross fixes
(cherry picked from commit 5804547243)
(cherry picked from commit 7c46833b04)
2018-05-13 16:09:00 -04:00
Tuomas Tynkkynen
50dc85ed62 U-Boot: Disable parallel build
https://hydra.nixos.org/build/71880710
2018-03-24 16:07:50 +02:00
Tuomas Tynkkynen
4fe75d11b2 U-Boot: Make ubootJetsonTK1 install even more files 2018-03-18 18:53:12 +02:00
Tuomas Tynkkynen
4b77663edf U-Boot: Add Pine64 build 2018-03-18 18:53:12 +02:00
Samuel Dionne-Riel
2ff31f71ae U-Boot: Add SOPINE Baseboard build
This build is compatible with PINE A64-LTS.

[dezgeg changed the original device tree patch to v4 of the patch series
"sunxi: sync H3, H5, A64 DTs from mainline Linux" submitted to the
upstream mailing list by Andre Przywara. Also install the
u-boot-sunxi-with-spl.bin binary similar to 32-bit boards
since it's now being built by the upstream build system.]
2018-03-18 18:53:12 +02:00
Tuomas Tynkkynen
6b069c656a U-Boot: Add AArch64 QEMU build
See

https://github.com/u-boot/u-boot/blob/master/doc/README.qemu-arm

on how to use it.
2018-03-18 18:53:12 +02:00
Ben Wolsieffer
28fd7d9594 uboot: fix cross-build of ubootTools 2018-03-18 18:53:12 +02:00
Ben Wolsieffer
01020b3263 uboot: sheevplug and guruplug: use mainline U-Boot
These derivations have not seen any updates since they were created in 2010,
and some of their sources have disappeared. There are upstream configs for
these boards, so these are now used, and they build correctly. I have no way
of testing them, and I don't if anyone even uses either board with Nix anymore.
2018-03-18 18:53:12 +02:00
Ben Wolsieffer
ba3e470651 uboot: rock64: use binary blob for TPL
This stops the kernel from crashing immediately after boot.
2018-03-18 18:53:12 +02:00
Ben Wolsieffer
1f4bb8c61d uboot: add patch to increase maximum path length in extlinux.conf
This fixes problems with cross compiled kernels failing to boot.
2018-03-18 18:53:12 +02:00
Ben Wolsieffer
0ab76c5a4e arm-trusted-firmware: init
ARM trusted firmware is required as part of the boot process on some ARMv8-A
boards. Currently, only the RK3328 is supported in nixpkgs.

This makes the Rock64 u-boot image bootable.
2018-03-18 18:53:12 +02:00
Ben Wolsieffer
6f5a0bded2 uboot: add Rock64 support
The bootloader is currently non-functional because it lacks the ARM Trusted
Firmware image (bl31.elf).
2018-03-18 18:53:12 +02:00
Ben Wolsieffer
5804547243 uboot: 2017.11 -> 2018.03, cross fixes 2018-03-18 18:53:11 +02:00
Florian Klink
c7f1aa3804 buildUboot: add openssl to nativeBuildInputs
required by tools/kwbimage.c, tools/mxsimage.c and in various other
places too.
As those are tools running on the host, it's a nativeBuildInput.
2017-12-23 04:31:11 +02:00
Florian Klink
bae218e7b5 ubootClearfog: add 2017-12-23 04:31:11 +02:00
Florian Klink
8a844db5fc ubootTools: set CONFIG_ARCH_MVEBU=y
u-boot only builds some architecture-specific tools, if this
architecture is selected in configuration. So a 'allnoconfig' won't
include them.

As they are pretty useful however, we'd like to have them in ubootTools.
This can be accomplished by enabling CONFIG_KIRKWOOD=y and possibly
more later.
2017-12-23 03:51:12 +02:00
Florian Klink
027d7bbb71 uboot: add extraMakeFlags option 2017-12-23 03:51:12 +02:00
Tuomas Tynkkynen
bedc18c461 U-Boot: Add ubootQemuArm 2017-12-12 01:16:10 +02:00
Tuomas Tynkkynen
8b358b84a8 U-Boot: Add a patch to increase max kernel command line length 2017-12-12 01:16:10 +02:00
Samuel Dionne-Riel
262514a3c7 U-Boot: Adds Orange Pi PC build 2017-12-11 19:05:15 +02:00
John Ericson
e755a8a27d treewide: Use targetPrefix instead of prefix for platform name prefixes
Certain tools, e.g. compilers, are customarily prefixed with the name of
their target platform so that multiple builds can be used at once
without clobbering each other on the PATH. I was using identifiers named
`prefix` for this purpose, but that conflicts with the standard use of
`prefix` to mean the directory where something is installed. To avoid
conflict and confusion, I renamed those to `targetPrefix`.
2017-11-27 03:15:50 -05:00
Tuomas Tynkkynen
931aa5f9e2 U-Boot: 2017.03 -> 2017.11
Also move patches from sd-image-aarch64.nix, they might be useful for
the older raspberries as well.
2017-11-18 13:57:17 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
hsloan
a7f81284a5 uboot: Don't use stdenv.cross 2017-06-28 19:43:08 -04:00
Tuomas Tynkkynen
73a1307a02 U-Boot: Add A20 OLinuXino Lime build
Yet another Allwinner board working out-of-the-box, no surprises.
2017-06-10 23:22:24 +03:00
Eric Litak
127347f1fd platforms: add CompuLab Utilite (armv7) 2017-04-19 14:09:56 -07:00
Tuomas Tynkkynen
49f1abec15 U-Boot: 2017.01 -> 2017,03 2017-03-30 02:56:02 +03:00
Nikolay Amiantov
8eabb34e5f odroid-xu3-bootloader: use 1MB-capable bootloader
(cherry picked from commit 7d66259a777fd1b1930eca26f08236f657529e25)
2017-03-21 04:23:36 +03:00
Nikolay Amiantov
a9d44b5c30 ubootOdroidXU3: init 2017-03-20 11:07:12 +03:00
Tuomas Tynkkynen
20578372e1 U-Boot: Fix ubootBananaPi & ubootPcduino3Nano by adding python2
Also enable parallel building.
2017-02-11 15:53:01 +02:00
Tuomas Tynkkynen
b29ee6c8ff U-Boot: Add 64-bit Raspberry Pi 3 build
And rename the old ubootRaspberryPi3 to ubootRaspberryPi3_32bit.
2017-01-25 02:14:47 +02:00
Tuomas Tynkkynen
1feedf25df U-Boot: 2016.11 -> 2017.01 2017-01-20 14:50:02 +02:00
Tuomas Tynkkynen
1e7bb272e1 U-Boot: Add platforms to legacy U-Boots
Or they will be tried to be built on x86_64 since #19990.
2016-12-05 02:17:41 +02:00
Tuomas Tynkkynen
02e1846d62 U-Boot: 2016.05 -> 2016.11 2016-11-28 00:23:12 +02:00