Skip to content
Snippets Groups Projects

sony-tuba: new device

Merged Imported Administrator requested to merge sony-tubass into master
All threads resolved!

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.

Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator added category::device label · Imported

    added category::device label

  • Administrator added 1 deleted label · Imported

    added 1 deleted label

  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Otto Liljalaakso on 2020-10-01T19:45:40

  • Administrator changed title from sony-tubass: new device to sony-tuba: new device · Imported

    changed title from sony-tubass: new device to sony-tuba: new device

    By Otto Liljalaakso on 2020-10-01T19:51:10

  • Administrator changed the description · Imported

    changed the description

    By Otto Liljalaakso on 2020-10-01T19:51:10

  • Administrator
  • Administrator
  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Otto Liljalaakso on 2020-10-02T17:11:44

  • Administrator added 1 commit · Imported

    added 1 commit

    Compare with previous version

    By Otto Liljalaakso on 2020-10-02T17:53:37

  • Administrator resolved all threads · Imported

    resolved all threads

    By Alexey Min on 2020-10-02T23:30:21

  • Administrator approved this merge request · Imported

    approved this merge request

    By Alexey Min on 2020-10-02T23:30:30

  • Administrator added 2 commits · Imported

    added 2 commits

    • b0255ecb - 1 commit from branch postmarketOS:master
    • 80178e32 - sony-tuba: new device

    Compare with previous version

    By Otto Liljalaakso on 2020-10-03T07:50:13

  • Administrator approved this merge request · Imported

    approved this merge request

    By Alexey Min on 2020-10-03T15:57:13

  • Administrator added 1 commit · Imported

    added 1 commit

    • 453b4e27 - sony-tuba: Fix display not refreshing

    Compare with previous version

    By Otto Liljalaakso on 2020-10-04T10:15:29

  • Administrator changed the description · Imported

    changed the description

    By Otto Liljalaakso on 2020-10-04T10:17:56

    • Author Owner
      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
  • Administrator approved this merge request · Imported

    approved this merge request

    By Alexey Min on 2020-10-04T23:12:20

  • Administrator added 23 commits · Imported

    added 23 commits

    Compare with previous version

    By Otto Liljalaakso on 2020-10-08T17:38:44

  • Administrator resolved all threads · Imported

    resolved all threads

    By Otto Liljalaakso on 2020-10-08T17:40:42

  • Administrator approved this merge request · Imported

    approved this merge request

    By Alexey Min on 2020-10-09T02:15:44

  • Administrator added 4 commits · Imported

    added 4 commits

    Compare with previous version

    By Otto Liljalaakso on 2020-10-11T11:53:47

    • Author Owner
      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
  • Administrator approved this merge request · Imported

    approved this merge request

    By Alexey Min on 2020-10-12T05:34:00

  • Administrator approved this merge request · Imported

    approved this merge request

    By Bart Ribbers on 2020-10-13T08:07:22

  • Administrator added 5 commits · Imported

    added 5 commits

    Compare with previous version

    By Bart Ribbers on 2020-10-13T08:09:05

  • Administrator resolved all threads · Imported

    resolved all threads

    By Bart Ribbers on 2020-10-13T08:09:24

  • Administrator merged · Imported

    merged

  • Please register or sign in to reply
    Loading