Just submitted version three of my patch series to the kernel mailing list.

It enables a couple of things for the Xperia 10 III: flash, Wifi, Bluetooth, … :D

Still not a usable phone, but it’s a lot of work that I sitting in front of me, so it’ll likely take a lot of time to make this a useful device… If anyone wants to help making a small Linux phone phone with mainline kernel support, waterproof case and a headphone jack a reality… :p

All this mainlining stuff isn’t actually very hard, it’s mostly trying to figure out how stuff works and a lot of trial and error. At least with my approach of enabling all components that have drivers (most of them) and leaving the rest for the future and other contributors. The device trees of similar devices are very helpful examples as well.

Also, I’m testing with Mobian, these patches has not been tested with Nura yet (which is why the wiki doesn’t show those things as supported), so that’s also where someone could help out. :D

I’ve summarised it all - in a way that’s easier to read - on my own repo: https://git.erebion.eu/forgejo/erebion/pdx213-temp

This work was assisted by… my brain. I don’t need lying chat bots for this, I can think. I prefer to do it the slow and sustainable way, the one that’ll pay off much more when this thing is well-supported and will be able to run Linux for years.

  • Arthur Besse@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I was really expecting your last paragraph to say the opposite of what it says 😂

    gif of Jeremiah Johnson (Robert Redford) nod of approval

    I don’t have this device but, on behalf of everybody who does and will be able to run mainline linux on it in the future due to your work: thank you!

    • erebion@news.erebion.euOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      I was really expecting your last paragraph to say the opposite of what it says 😂

      I’m not fine with others making it look like porting devices can only be done with “AI” while pretty much all of the work is done without it, not the other way around.

      Quickly slop porting over a device may look impressive on the surface, but creates a lot more work later on.

      I like what Nura does: Put in the work once, get it upstream, save a lot of work later on. Maintaining downstream forks with a lot of quick hacks for dozens of projects just isn’t sustainable. (Perhaps that’s the reason SailfishOS has very slow development: Too many downstream things to maintain… This might also be why they are slowly opensourcing more components: They are probably hoping the community does the work for them.)

    • erebion@news.erebion.euOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Same. And as there’s no small 5G device option for mainline Linux yet, I thought someone has to do it… so, uh, I didn’t hide quickly enough from the work. :p