kobo-clara: enable autodetection of board revs a vs b (MR 5057)

These two board revisions differ in regulator settings, so
detect them to avoid magic smoke.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Andreas Kemnade 2024-04-22 14:49:26 +02:00 committed by Stefan Hansson
parent deb676fba2
commit 3c49199db3
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
3 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-kobo-clara
pkgdesc="Kobo Clara HD"
pkgver=1
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -30,6 +30,6 @@ package() {
}
sha512sums="
b93b62ac7af499e9170dc78329ae6092fb79a3657a62ea1ee5b383a6ccc596e36382c1156f8d168aa1de89dc7bf3e5b9f266a49f56c51233aac8cc598facde68 deviceinfo
b4b294767cf54299ae20b2f0a9520bd53ebae57e968f213f3f6216b3405868fa8bd78193d4e7652a7d3809f8d81343a2642cce1d85afbf4ec47c783e75629dbc deviceinfo
5d53ee902538e53c4fe79eaef8e3800b9d3f73ec70d2a9887ddb11a6715ca76ce17128e3c02c2b6f2f575fb86f15c2415c24466d4b1a031f7a346d0db186dcb1 modules-initfs
"

View file

@ -8,7 +8,7 @@ deviceinfo_manufacturer="Kobo"
deviceinfo_codename="kobo-clara"
deviceinfo_year="2018"
deviceinfo_arch="armv7"
deviceinfo_dtb="imx6sll-kobo-clarahd"
deviceinfo_dtb="imx6sll-kobo-clarahd imx6sll-kobo-clarahd-b"
deviceinfo_kernel_cmdline="console=ttymxc0,115200"
deviceinfo_generate_extlinux_config="true"

View file

@ -2,7 +2,7 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=u-boot-kobo-clara
pkgver=2023.10
pkgrel=0
pkgrel=1
pkgdesc="U-Boot for Kobo Clara HD"
arch="armv7"
_carch="arm"
@ -13,7 +13,7 @@ options="!check !tracedeps pmb:cross-native"
install="$pkgname.post-upgrade"
_repository="u-boot-fslc"
_commit="a3816f6b51b5dc9083af4142ca5f3a4e4a235336"
_commit="3247fa27aed27bb5ac24bd9966fd7dadd9c4c373"
source="
$pkgname-$_commit.tar.gz::https://github.com/akemnade/$_repository/archive/$_commit.tar.gz
"
@ -36,5 +36,5 @@ package() {
}
sha512sums="
d1db014fa889e76aeb83099f7573f5ec89c8e6f69a6273b9528fd485ffcbe34e102ee0c492554807e160a5bd669bf799db2b5a906045fea35b16c0677a377989 u-boot-kobo-clara-a3816f6b51b5dc9083af4142ca5f3a4e4a235336.tar.gz
725f689bd5bd00f3b484830e5db9be51af6ed6f5644463e646db2c412f5878361e887ed4f3b3083a3e16f0915c909af22081cb52fd8541ac2953e1f77ffc5940 u-boot-kobo-clara-3247fa27aed27bb5ac24bd9966fd7dadd9c4c373.tar.gz
"