Add a generic qcom-sm7150 device package
We have a U-Boot fork for SM7150 that works extremely well at https://github.com/sm7150-mainline/u-boot.
The only logical next step is to boot with U-Boot and systemd-boot and get rid of device-specific packages for the SM7150 devices by replacing them with a generic qcom-sm7150 package. This MR is basically that.
Status: We've reached feature parity with the old device packages. Should be ready to ship once we have a new msm-firmware-loader release
How to test:
- Grab a U-Boot prebuilt from the latest GitHub actions run at the repo linked above
- Flash U-Boot to the
boot
partition with fastboot - Use this pmaports branch, select
qcom
andsm7150
inpmb init
pmb install
- Flash the boot partition to
cache
, the rootfs touserdata
- Reboot and profit!
Tested:
-
xiaomi-davinci -
xiaomi-surya
Merge request reports
Activity
- Resolved by Jens Reidel
Packages you maintain have been changed: @jiaxyga
- Resolved by Pan Ortiz
So this will be the first non-lk2nd generic device port? :D In any case, so cool, thanks for this!
- Resolved by Pablo Correa Gomez
added 34 commits
-
7aaf86b4...a1be8ba3 - 27 commits from branch
postmarketOS:master
- c40ca61b - linux-postmarketos-qcom-sm7150: Prepare for EFI
- 9a3dbbd3 - qcom-sm7150: New device
- 77b56178 - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 8416ade1 - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- a3ce3f54 - device-xiaomi-davinci: Drop, we have a generic package now
- c5649e39 - device-xiaomi-surya: Drop, we have a generic package now
- 6d8f2592 - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit list-
7aaf86b4...a1be8ba3 - 27 commits from branch
added 6 commits
- 8f89edd4 - qcom-sm7150: New device
- 722e6b3b - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 39357816 - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- 47324136 - device-xiaomi-davinci: Drop, we have a generic package now
- 53112209 - device-xiaomi-surya: Drop, we have a generic package now
- 83eb6f85 - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit listadded category::device device-category::community labels
added 8 commits
- ce797562 - main/hexagonfs-firmware-loader: New package
- eb2f4781 - systemd/postmarketos-base-systemd: add hexagonfs-firmware-loader to system preset
- 9797db3f - qcom-sm7150: New device
- ffc124ad - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 143e156a - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- 83e8f5d6 - device-xiaomi-davinci: Drop, we have a generic package now
- a256f0d3 - device-xiaomi-surya: Drop, we have a generic package now
- fceffaa5 - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit list- Resolved by Jens Reidel
With the latest changes, even sensors are now working! Basically everything works, only surya touchscreen in initramfs is a problem that requires fixing.
One more thing that worries me is that sunfish (Pixel 4a) has no cache partition (it might be on super). This means the boot partition cannot be flashed anywhere nice and it will probably require a repartition (or dynamic partition support in U-Boot).
Edited by Jens Reidel
added 6 commits
- 183b8b9c - qcom-sm7150: New device
- 7daca737 - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- d4fbb5de - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- 75bdbb4e - device-xiaomi-davinci: Drop, we have a generic package now
- 89f8bd1e - device-xiaomi-surya: Drop, we have a generic package now
- a3c7d10e - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit listadded 6 commits
- 208e7487 - qcom-sm7150: New device
- f18167c4 - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 29a94b9c - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- 2c1b58de - device-xiaomi-davinci: Drop, we have a generic package now
- e3e6ec91 - device-xiaomi-surya: Drop, we have a generic package now
- 32893324 - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit listadded 6 commits
- 370ca441 - qcom-sm7150: New device
- 2ef15c48 - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- adfca098 - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- f5a083a0 - device-xiaomi-davinci: Drop, we have a generic package now
- bb3424e2 - device-xiaomi-surya: Drop, we have a generic package now
- 70c76aca - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit listadded 6 commits
- 4096f7b3 - qcom-sm7150: New device
- eaa4eabd - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- f5a67132 - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- 95b5bc2b - device-xiaomi-davinci: Drop, we have a generic package now
- 50a56cc3 - device-xiaomi-surya: Drop, we have a generic package now
- baf3935c - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit listadded 5 commits
- 909ae411 - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 77615387 - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- 33152810 - device-xiaomi-davinci: Drop, we have a generic package now
- 197e2544 - device-xiaomi-surya: Drop, we have a generic package now
- c59411b5 - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit listadded 17 commits
-
c59411b5...fc2dfa0d - 8 commits from branch
postmarketOS:master
- c97731d0 - linux-postmarketos-qcom-sm7150: Prepare for EFI
- 14eccce5 - main/hexagonfs-firmware-loader: New package
- 49d98a8d - systemd/postmarketos-base-systemd: add hexagonfs-firmware-loader to system preset
- a3773401 - qcom-sm7150: New device
- 4f81569b - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 1f1d5fff - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- e3313a37 - device-xiaomi-davinci: Drop, we have a generic package now
- 0766e2d0 - device-xiaomi-surya: Drop, we have a generic package now
- 63a1e8cd - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit list-
c59411b5...fc2dfa0d - 8 commits from branch
added 9 commits
- 87f7ff5c - linux-postmarketos-qcom-sm7150: Update to 6.13.5, prepare for EFI
- c9d70c2d - main/hexagonfs-firmware-loader: New package
- 0b2526dc - systemd/postmarketos-base-systemd: add hexagonfs-firmware-loader to system preset
- 7d5d7df7 - qcom-sm7150: New device
- 902a4fa6 - alsa-ucm-conf-qcom-sm7150: Fix speakers when booting with U-Boot
- 9365822b - TMP: main/msm-firmware-loader: Use version compatible with SM7150
- b0dae4b7 - device-xiaomi-davinci: Drop, we have a generic package now
- b3c0c832 - device-xiaomi-surya: Drop, we have a generic package now
- 23ca6fe7 - soc-qcom-sm7150: Drop, this is in the generic package now
Toggle commit list