Commit graph

5 commits

Author SHA1 Message Date
Bart Ribbers
e8fdf51d1b
device/main/u-boot-librem5: move from temp (MR 2983) 2022-04-06 09:11:56 +02:00
Clayton Craft
2f78939f94
temp/u-boot-librem5: upgrade to 2022.04_rc1_git20220214 (MR 2983)
Updates the u-boot on the Librem 5 to a branch that is much closer to
mainline u-boot.

- adds support for booting from SD card to the u-boot boot script
- m4 is no longer necessary, at least not right now (may be re-added by
  purism in the future for supporting some low power modes)
- adds a patch to enable u-boot console on uart 4 (on the m.2 connector)
  for the debug board
- drops the patch to enable efidebug command, this isn't necessary
  anymore with mainline u-boot

Co-authored-by: Bart Ribbers <bribbers@disroot.org>
2022-04-06 09:11:56 +02:00
Clayton Craft
ec9a4e863a
temp/u-boot-librem5: enable efidebug, enable auto update (MR 2842)
This enables an auto-update mechanism on post-upgrade for the u-boot
firmware on the librem 5 and librem 5 devkit. This mechanism is largely
copied from the implementation in the pinephone u-boot package.

efidebug is useful for booting the kernel via EFI mode in u-boot.
2022-01-16 16:57:08 +01:00
Clayton Craft
d08dcc9eb2
temp/u-boot-librem5: fix sed regex to support gnu sed (MR 2461)
gnu sed doesn't support \d:
https://stackoverflow.com/questions/14671293/why-doesnt-d-work-in-regular-expressions-in-sed/14671365#14671365

So update-u-boot was failing if a user installed gnu sed.

Thanks to Arnavion for pointing this out
2021-08-26 21:54:37 +02:00
Clayton Craft
d2014e2606
temp/u-boot-librem5: upgrade to latest u-boot from purism (MR 2023)
Changes from purism:
- 2 second boot delay removed
- This includes an updated DDR memory training firmware version.
- patch to work around wifi device not being available on boot

Package changes:
- u-boot installed in location consistent with other pmaports/u-boot
  packages
- update-u-boot script added for upgrading u-boot on the device
- devkit u-boot split off into a sep. subpackage
2021-03-13 02:18:09 +01:00