sony-tuba: new device
Add new device Sony Xperia XA, code name is sony-tuba.
Building kernel, flashing, ssh through usb and display work. Buttons and a lot of other things do not work.
Tested with the single sim model F3111, but the expectation that also dual sim can be made to work using the same package.
The correct source for the vendor kernel is Sony Developer World. Unfortunately, the kernel for this particular model does not seem to be available in their Git repositories. Zip archives do have kernel sources, but not for the most recent build 33.3.A.1.126. .115 seems to be the latest that is available. A request to make the latest build available has been sent to Sony, but no response has been received. In the mean time, third party SonyCustoms repository looks like it has the correct content and is used here.
Vendor kernel build included running a tool called DrvGen which emits the device tree config cust.dtsi
. Unfortunately, running the tool as part of postmarketOS build is quite challenging, as it has been built against glibc and, being both a gui and a cli tool at the same time, depends on some graphical libraries as well. Following the precedent set by kernel-wiko-lenny3 package, a patch is applied to disable running the tool and add the generation result to source tree.
EDIT: Added a new commit after quite a lot of review had already taken place. Adding package msm-fb-refresher
fixed nonresponsiveness issue with the screen and allowed to confirm that the touchscreen works.
Merge request reports
Activity
- Resolved by Administrator
I will add a wiki entry as required by ci.
By Otto Liljalaakso on 2020-09-30T14:40:31
- Resolved by Administrator
I will fix kconfig as required by ci.
By Otto Liljalaakso on 2020-09-30T14:40:46
- Resolved by Administrator
I will fix APKBUILD indentation as required by ci.
By Otto Liljalaakso on 2020-09-30T14:42:16
added 5 commits
-
49a8733f...b21f9f70 - 4 commits from branch
postmarketOS:master
- 3baaffb8 - sony-tubass: new device
By Otto Liljalaakso on 2020-09-30T14:59:15
-
49a8733f...b21f9f70 - 4 commits from branch
- Resolved by Administrator
Generally SONY ss/ds devices only differ by storage size and uh having one more SIM slot. Please remove "ss" from the name, as it makes no sense to duplicate the package for the DS variant. Kernel probably has the device trees for both models (if there are any differences on MTK..) already.
By Konrad Dybcio on 2020-10-01T19:51:50
Edited by Administrator
- Resolved by Administrator
added category::device label
- Resolved by Administrator
- Resolved by Administrator
added 2 commits
By Otto Liljalaakso on 2020-10-03T07:50:13
added 1 commit
- 453b4e27 - sony-tuba: Fix display not refreshing
By Otto Liljalaakso on 2020-10-04T10:15:29
- Resolved by Administrator
EDIT: Added a new commit after quite a lot of review had already taken place. Adding package
msm-fb-refresher
fixed nonresponsiveness issue with the screen and allowed to confirm that the touchscreen works.In case the custom around here is to make new merge request if features are added after reviewing has started, let me know and I will split the new parts into a separate request.
By Otto Liljalaakso on 2020-10-06T17:59:56
Edited by Ghost User
added 23 commits
-
453b4e27...da720510 - 22 commits from branch
postmarketOS:master
- 15dd5c52 - sony-tuba: new device
By Otto Liljalaakso on 2020-10-08T17:38:44
-
453b4e27...da720510 - 22 commits from branch
added 4 commits
-
15dd5c52...e8a3b624 - 3 commits from branch
postmarketOS:master
- f9519a87 - sony-tuba: new device
By Otto Liljalaakso on 2020-10-11T11:53:47
-
15dd5c52...e8a3b624 - 3 commits from branch
- Resolved by Administrator
One more update: Change downstream kernel package to comply with How to properly backup downstream kernels article in the wiki.
Initially, I was following Porting to a new device, which is quite unclear regarding the kernel backup scheme. I would have wanted to improve the page in this respect. But, there are a lot of references to LineageOS there, making it sound like LineageOS is a trusted source of vendor kernels. The backup article does not say anything about that at all. I was left unclear if LineageOS kernels should also have the backup repositories or not. Lacking this information, I could not do anything except fixing this merge request.
By Otto Liljalaakso on 2020-10-12T05:35:11
Edited by Administrator
added 5 commits
-
f9519a87...a248ec3e - 4 commits from branch
postmarketOS:master
- 97fa300b - sony-tuba: new device (Sony Xperia XA) (MR 1613)
By Bart Ribbers on 2020-10-13T08:09:05
-
f9519a87...a248ec3e - 4 commits from branch