device/main/u-boot-librem5: disable installing u-boot on the devkit (MR 2983)

This u-boot version doesn't support the devkit yet. Last I heard, Purism
plans to add the config back in after porting it from the old u-boot.

If anyone needs this (probably no one besides me?), the old u-boot can
be built locally from an earlier version of this package.
This commit is contained in:
Clayton Craft 2022-04-05 10:56:56 -07:00 committed by Bart Ribbers
parent e8fdf51d1b
commit 17beef02f2
No known key found for this signature in database
GPG Key ID: 0BF4C1B5988C50D8
2 changed files with 16 additions and 9 deletions

View File

@ -35,8 +35,8 @@ source="
0001-librem5-enable-console-on-UART4.patch 0001-librem5-enable-console-on-UART4.patch
" "
install="$pkgname.post-upgrade" install="$pkgname.post-upgrade"
# install="$pkgname.post-upgrade $pkgname-devkit.post-upgrade" install="$pkgname.post-upgrade $pkgname-devkit.post-upgrade"
# subpackages="$pkgname-devkit" subpackages="$pkgname-devkit"
_atf_builddir="$srcdir/arm-trusted-firmware-$_atf_commit" _atf_builddir="$srcdir/arm-trusted-firmware-$_atf_commit"
_firmware_builddir="$srcdir/firmware-imx-$_firmwareversion" _firmware_builddir="$srcdir/firmware-imx-$_firmwareversion"
@ -91,12 +91,18 @@ package() {
devkit() { devkit() {
pkgdesc="u-boot bootloader for the Purism Librem5 devkit" pkgdesc="u-boot bootloader for the Purism Librem5 devkit"
install -D -m644 "$builddir"/devkit-boot.img \
"$pkgdir/usr/share/u-boot/librem5/devkit-boot.img" # NOTE: package is empty since this u-boot doesn't support the devkit yet,
install -D -m644 "$builddir"/devkit-boot.img.sha512 \ # but should in the future.
"$pkgdir/usr/share/u-boot/librem5/devkit-boot.img.sha512"
install -D -m 755 "$srcdir"/update-u-boot \ mkdir "$subpkgdir"
"$pkgdir"/usr/sbin/update-u-boot
# install -D -m644 "$builddir"/devkit-boot.img \
# "$pkgdir/usr/share/u-boot/librem5/devkit-boot.img"
# install -D -m644 "$builddir"/devkit-boot.img.sha512 \
# "$pkgdir/usr/share/u-boot/librem5/devkit-boot.img.sha512"
# install -D -m 755 "$srcdir"/update-u-boot \
# "$pkgdir"/usr/sbin/update-u-boot
} }
sha512sums=" sha512sums="

View File

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
update-u-boot -s # NOTE: disabling since this u-boot doesn't support the devkit yet
# update-u-boot -s