99 lines
		
	
	
	
		
			3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
	
		
			3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
# pdx213-temp
 | 
						||
 | 
						||
Some notes on my work getting Mobian to run on the Xperia 10 III (codename pdx213).
 | 
						||
 | 
						||
## Status
 | 
						||
 | 
						||
- amending Device Tree
 | 
						||
- porting Mobian
 | 
						||
 | 
						||
### To Do
 | 
						||
 | 
						||
- getting remaining hardware working (incomplete list)
 | 
						||
 | 
						||
#### Debugging Bluetooth
 | 
						||
 | 
						||
```
 | 
						||
[    6.040452] Bluetooth: HCI UART driver ver 2.3
 | 
						||
[    6.040479] Bluetooth: HCI UART protocol H4 registered
 | 
						||
[    6.042465] Bluetooth: HCI UART protocol QCA registered
 | 
						||
[    6.079021] Bluetooth: hci0: setting up wcn399x
 | 
						||
[    6.210871] Bluetooth: hci0: QCA Version size mismatch len 15
 | 
						||
[    6.210899] Bluetooth: hci0: QCA Failed to get version (-84)
 | 
						||
[    6.210907] Bluetooth: hci0: Retry BT power ON:0
 | 
						||
[    6.357824] Bluetooth: hci0: QCA Version size mismatch len 15
 | 
						||
[    6.357853] Bluetooth: hci0: QCA Failed to get version (-84)
 | 
						||
[    6.357866] Bluetooth: hci0: Retry BT power ON:1
 | 
						||
[    6.500581] Bluetooth: hci0: QCA Version size mismatch len 15
 | 
						||
[    6.500607] Bluetooth: hci0: QCA Failed to get version (-84)
 | 
						||
[    6.500616] Bluetooth: hci0: Retry BT power ON:2
 | 
						||
[    6.646696] Bluetooth: hci0: QCA Version size mismatch len 15
 | 
						||
[    6.646721] Bluetooth: hci0: QCA Failed to get version (-84)
 | 
						||
```
 | 
						||
 | 
						||
Haven't been able to figure out what's wrong.
 | 
						||
 | 
						||
#### Debugging Touch
 | 
						||
 | 
						||
Occasionally stops working after logging in, no idea why.
 | 
						||
 | 
						||
### Done
 | 
						||
 | 
						||
- 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)
 | 
						||
 | 
						||
## Kernel Work
 | 
						||
 | 
						||
I'm currently working here: https://github.com/sm6350-mainline/linux/pull/1
 | 
						||
 | 
						||
Current goal is just to get a somewhat usable phone, then tidying everything up and trying to support everything else that I can support 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.   
 | 
						||
 | 
						||
### Device Tree Status
 | 
						||
 | 
						||
| Component | Status | sent to sm6350-mainline? |
 | 
						||
| --------- | ------ | ------------------------ |
 | 
						||
| ADSP | ✅ | |
 | 
						||
| Battery | | |
 | 
						||
| Bluetooth | debugging | |
 | 
						||
| Camera | to do | |
 | 
						||
| CDSP | ✅ | |
 | 
						||
| Display Panel | ✅ | true |
 | 
						||
| Fast Charging | to do, low priority | |
 | 
						||
| Fingerprint Reader | to do | |
 | 
						||
| Flashlight | ✅ | true |
 | 
						||
| IPA | ✅ | |
 | 
						||
| Modem | to do, requires UFS | |
 | 
						||
| NFC | to do, low priority | |
 | 
						||
| PMIC | | |
 | 
						||
| RTC | to do | |
 | 
						||
| Sound | to do | |
 | 
						||
| Thermals | | |
 | 
						||
| Touch | occasionally does not work | was already part of upstream |
 | 
						||
| UFS | broken, need help | |
 | 
						||
| USB-C | | |
 | 
						||
| Wifi | added, but requires modem as well | |
 | 
						||
| Vibration | to do, low priority | |
 | 
						||
 | 
						||
No status means I haven't even had a look at that component.
 | 
						||
 | 
						||
I'll need help for:
 | 
						||
  - Thermal Sensors / Thermal Zones (no idea what I need to do)
 | 
						||
  - PMIC
 | 
						||
  - USB-C
 | 
						||
  - Camera
 | 
						||
  - fast charging stuff
 | 
						||
  - vibration module
 | 
						||
  - NFC
 | 
						||
 | 
						||
And I will also need help with upstreaming the changes to the kernel, can someone else please do that? Thanks.
 | 
						||
 | 
						||
(highest priority first)
 | 
						||
 | 
						||
## Mobian Work
 | 
						||
 | 
						||
Not much that is required in terms of changes, mainly adding the device to Mobian recipes.
 | 
						||
 | 
						||
To Do: Push changes to git
 |