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>
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.
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