3.8 KiB
pdx213-temp
Some notes on my work getting Mobian to run on the Xperia 10 III (codename pdx213).
Status
Device Tree Status
| Component | Status | sent to sm6350-mainline? |
|---|---|---|
| ADSP | ✅ | ✅ |
| Battery (percentage and temperature) | ✅ | ✅ |
| Bluetooth | ✅ | ✅ |
| Calls | ||
| Camera | to do | |
| CDSP | ✅ | ✅ |
| Display Panel | ✅ | ✅ |
| DP via USB-C | low priority | |
| Fast Charging | to do, low priority | |
| Fingerprint Reader | low priority, probably not supported by the kernel anyway | |
| Flashlight | ✅ | ✅ |
| GPS | ||
| IPA | ✅ | ✅ |
| microSD | ✅ | was already part of upstream |
| Modem | ✅ (requires UFS, but for testing I could work around this) | ✅ |
| NFC | to do, low priority | |
| RTC | added, needs testing | ✅ |
| Sound | to do | |
| SMS | ||
| Thermals | ||
| Touch | occasionally does not work | was already part of upstream |
| UFS | broken, need help | |
| USB-C | ? | |
| Wifi | ✅ (requires modem) | ✅ |
| Vibration | to do, low priority |
No status means I haven't even had a look at that component.
So far no work has been put in supporting the sensors (accelerometer, magnetometer, ambient light, ...).
Where To Help
- Thermal Sensors / Thermal Zones (no idea what I need to do)
- PMIC
- Camera
- vibration module
- NFC
- UFS
- USB-C
And I will also need help with upstreaming the changes to the kernel, can someone else please do that? Thanks.
Kernel Work
I'm currently working here: https://github.com/erebion/linux/commits/pdx213-wip/
Current goal: Making the usable Later goal: Trying to add everything else that can be added without writing new drivers
Note: I'm rebasing occasionally to make sure it does not become too chaotic, so pulling from that repo will lead to merge conflicts.
Issues To Solve
Touch
[ 63.964541] gpi 900000.dma-controller: Error in Transaction
[ 63.964562] geni_i2c 988000.i2c: DMA txn failed:3
[ 63.964594] geni_i2c 988000.i2c: GPI transfer failed: -5
[ 63.966484] s6sy761 0-0048: failed to turn off sensing
[ 64.599984] gpi 900000.dma-controller: Error in Transaction
[ 64.600041] geni_i2c 988000.i2c: DMA txn failed:3
[ 64.601254] geni_i2c 988000.i2c: GPI transfer failed: -5
Occasionally stops working after logging in, no idea why.
Modem
[ 50.440514] qcom_q6v5_pas 4080000.remoteproc: fatal error received: dog_hal_common.c:180:DOG detects stalled initialization, triage with IMAGE OWNER
[ 50.440562] remoteproc remoteproc1: crash detected in modem: type fatal error
[ 50.440733] remoteproc remoteproc1: handling crash #1 in modem
[ 50.440744] remoteproc remoteproc1: recovering modem
[ 50.473165] ath10k_snoc 18800000.wifi: firmware crashed! (guid c1e5bbb2-ee6c-4853-9f47-ba65dbda4174)
[ 91.131777] qcom_q6v5_pas 4080000.remoteproc: fatal error received: dog_hal_common.c:180:DOG detects stalled initialization, triage with IMAGE OWNER
[ 91.131827] remoteproc remoteproc1: crash detected in modem: type fatal error
[ 91.131998] remoteproc remoteproc1: handling crash #2 in modem
[ 91.132009] remoteproc remoteproc1: recovering modem
[ 91.179283] ath10k_snoc 18800000.wifi: firmware crashed! (guid a814647c-fc5c-4ad6-b35e-8b88eec81fef)
Modem crashes. Reason is unknown for now.
Unlocked Achievements
- getting a first half broken Mobian build that boots
- getting the display to display stuff
- full graphics support (I can play an episode of Star Trek: Stange New Worlds, although without sound)
- playing a song via Bluetooth for the first time
- Wifi works! :D
Mobian Work
Not much that is required in terms of changes, mainly adding the device to Mobian recipes.
To Do:
- Push changes for Mobian recipes to git
- Add droid-juicer config
- Amend qcom-phone-utils package (initramfs hooks, perhaps more)