diff --git a/device/testing/linux-postmarketos-qcom-sm8550/APKBUILD b/device/testing/linux-postmarketos-qcom-sm8550/APKBUILD index 15c00b7a0..d086d9761 100644 --- a/device/testing/linux-postmarketos-qcom-sm8550/APKBUILD +++ b/device/testing/linux-postmarketos-qcom-sm8550/APKBUILD @@ -5,7 +5,7 @@ maintainer="snlavaise " _flavor="postmarketos-qcom-sm8550" pkgname=linux-$_flavor pkgver=7.2 -pkgrel=1 +pkgrel=2 pkgdesc="Mainline kernel for Qualcomm SM8550 (Snapdragon 8 Gen 2) + Motorola rtwo" arch="aarch64" _carch="arm64" @@ -99,5 +99,5 @@ sha512sums=" 52d5aa7f94f6aa6141debf4ceb4fc7a2e75505a7cd38b8854e501be83c2b57863020f463f2fdb2fc93667e6cfe13274d077e5207a611e4797bd9404ee0e64c58 linux-postmarketos-qcom-sm8550-7.2.tar.gz f9ae52489f6b9e6fef64952943cd09732a5bef90a0e8765db03c256483028368687d6d5a1d80dd813a513e7e80d91f8b47f49b91cff67266b76f1d6275a7fea0 config-motorola-rtwo.aarch64 ca36b981736b94d93120bea60d84614a5f943b0577a87ce0c650a7c065dc8b8b889eeee766b8fb941e15af4db5d426583d2d85e3e243faf89aa9cac472f78388 rtwo.config -0781703a9d4da45854c1472802753dca9baf3a44541f4cee19ee95d34b857b8fce329fbb3fa0871f19f19b86877ba7299361218b41e000fe82bd9219374b69bd sm8550-motorola-rtwo.dts +e1633eb9a356de1e46c430fe2eb2c5d77ddeb9301f8cf9c95df3ae180d581a57ede0906aeddc0bcc15b95931c0dd40565930a1e1b72bfb540e5a99bcb9865e58 sm8550-motorola-rtwo.dts " diff --git a/device/testing/linux-postmarketos-qcom-sm8550/sm8550-motorola-rtwo.dts b/device/testing/linux-postmarketos-qcom-sm8550/sm8550-motorola-rtwo.dts index 91b002579..49c8bcc16 100644 --- a/device/testing/linux-postmarketos-qcom-sm8550/sm8550-motorola-rtwo.dts +++ b/device/testing/linux-postmarketos-qcom-sm8550/sm8550-motorola-rtwo.dts @@ -28,6 +28,17 @@ compatible = "motorola,rtwo", "qcom,sm8550"; chassis-type = "handset"; + /* + * The Motorola bootloader (Qualcomm LK/ABL) selects the DTB by matching + * qcom,msm-id / qcom,board-id against the detected SoC + board. Without a + * match it passes no DTB and the kernel panics instantly with no console. + * Values from the DT the stock firmware hands to its own kernel; ignored + * by mainline. + */ + qcom,msm-id = <0x218 0x20000>, <0x207 0x20000>, + <0x207 0x10000>, <0x218 0x10000>; + qcom,board-id = <0x241 0xb1b0>; + aliases { serial0 = &uart7; };