Commit graph

102 commits

Author SHA1 Message Date
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 91b09422cf6f8e44d3d06274761053d9e21d6fa2)
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 a68e60f450b5be76d40627066b2c34a0e2360fab)
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 1896fcff609d7b99b4be1781a5c9523193c33e4f)
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 176d151f4d98d54adf293ee58427da649f28452c)
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 eff6d9628c9e0bae2096251f8e97789c0b9afe6f)
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 4c669db598aba04b9a6dd3ecaf0811329d80a072)
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 48ade50d8ece09d3ff732b07f0facdcd78084ac3)
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 828fdd61b9b5ae0d3c9253309f3d115210348096)
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 7c46833b047710f220971d7d7d3b1dbe6fed805b)
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