device-purism-librem5: change default dtb when board_rev is not set (MR 1920)
According to Purism, the imx8mq-librem5.dtb alias is going away soon, and we should be using the -r2 dtb. The -r2 dtb (which represents Birch/Chestnut L5 variants) is most compatible, it'll boot on later variants. dtbs for later L5 devices won't work on older devices.
This commit is contained in:
parent
8c97c2d27f
commit
361114359f
2 changed files with 7 additions and 7 deletions
|
@ -2,8 +2,8 @@
|
|||
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=device-purism-librem5
|
||||
pkgdesc="Purism Librem 5 Phone"
|
||||
pkgver=1.11
|
||||
pkgrel=1
|
||||
pkgver=1.12
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -110,5 +110,5 @@ d033df2b9125622c946af67dad83070473c86937b5825f57ad272c9145b594071dd6913949127803
|
|||
76b06cc1ac82c3fc0e298c9d7d5c9139624b1269bf846fe3bc07b9af877d882362b60ba90028ad3182cb1d6426aacdb560fe060b026778a56e7f038d495eadd4 librem5-shipmode.initd
|
||||
9dc018f0de523cbfe5a49cbe831aa30e975a8dd34635197bb52582f072ac356ef2c02223fc794d970380091a69a83a74c3fbe34520190c8536e77f9ea98c7659 modprobe.d_rsi.conf
|
||||
a0740e405781ec6ef765fdc9f5700c95adbb241c45c97b9384ba68cdece662cb216ca5918640042f6e65a5d1b1a9099936382c99b49a44303f7b6d77a075a471 modules-load.d_librem5.conf
|
||||
3b1782aafdc2e14c4b85b5eca52c31083c2058147a12cedb288903a34a3f49693d8d479048e30e0605fcc49cd00dda6f9e1c671618c5dcb878d7a3d01dcb1a90 uboot-script.cmd
|
||||
aa06920d47ca3781d76473a8a4efebd243ebb1c1d81e1714ef5ade3fed91e0a7a7113e5fa00c7c77163556745962e57102469517f9ea3ad868bc4033387bf428 uboot-script.cmd
|
||||
1cbc65cf2cb8fad4b0332d012a0256a266205b9b64371f5c0dae09dbb7f1e45b254e8c43993b896097e9d7035a72d547d9bce1ab2133addc56a5abdb80b44616 xorg.conf"
|
||||
|
|
|
@ -5,10 +5,10 @@ setenv mmcpart 1
|
|||
printenv
|
||||
|
||||
# select the correct dtb based on device revision
|
||||
dtb_file=imx8mq-librem5.dtb
|
||||
if itest.s "x2" == "x$board_rev" ; then
|
||||
dtb_file=imx8mq-librem5-r2.dtb
|
||||
elif itest.s "x3" == "x$board_rev" ; then
|
||||
# default to "-r2" if board_rev isn't set, since it'll boot on any librem5
|
||||
# revision
|
||||
dtb_file=imx8mq-librem5-r2.dtb
|
||||
if itest.s "x3" == "x$board_rev" ; then
|
||||
dtb_file=imx8mq-librem5-r3.dtb
|
||||
elif itest.s "x4" == "x$board_rev" ; then
|
||||
dtb_file=imx8mq-librem5-r4.dtb
|
||||
|
|
Loading…
Reference in a new issue