93 lines
2.7 KiB
Markdown
93 lines
2.7 KiB
Markdown
# 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 | | |
|
|
| Fast Charging | to do, low priority | |
|
|
| Fingerprint Reader | to do | |
|
|
| Flashlight | ✅ | ✅ |
|
|
| GPS | | |
|
|
| IPA | ✅ | ✅ |
|
|
| microSD | ✅ | was already part of upstream |
|
|
| Modem | added (but requires UFS) | ✅ |
|
|
| 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 | added (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.
|
|
|
|
## 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
|
|
|
|
## 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)
|