Yuga: mainlining progress
I will track here my progress to mainliny Yuga (Sony Xperia Z). The idea is to use the DTS file that was kindly mainlined by Sony and figuring out the right config to get it work with PostmarketOS.
Because I don't feel capable to build my own serial cable for this device, I want to get dmesg output via ram_console (which is the only thing this device supports downstream).
If you have any ideas, your help is greatly appreciated ;)
Status
- No dmesg output (not via serial cable, not via ram_console)
- Does not boot: device shows nothing but a red notification LED.
Done
- Add debug hook to initramfs
- Add maximum-attention hook to initramfs (to test if we get into the initramfs)
- Added ram_console support to mainline using patches from this repo
- Build kernel with yuga DTS file + qcom config from linux-postmarketos-qcom
- Add kernel to the boot.img
- Get it flashed with
fastboot flash boot
command
Todo
- Find a way to get to dmesg output:
- through ram_console driver port in mainline
- getting initramfs up with USB networking so we can telnet ?
Progress
-
Bootup with USB networking and SSH -
Notification LED and backlight -
Display -
Battery -
Wifi -
Bluetooth -
3D acceleration -
NFC -
Touchscreen -
USB OTG -
Accelerometer -
Audio -
SMS -
Calls -
Mobile data -
GPS -
Camera
Reference
Edited by Administrator