Message ID | CAK8P3a1vFJ+uUGPGifZGhECXvxA=2u745WrGNZb08s1nHkZQ9g@mail.gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | ARM: SoC: changes for v5.9 | expand |
Hi! > 2. In the past few merge windows we have seen an increase in (usually > older) Android phones and tablets gaining mainline kernel support. > This time we get a total of eight Snapdragon phones and two Tegra > tablets. To me this indicates that we finally have sufficient driver > support, in particular on the GPU side, to make this workable. > It also shows the impact that a single hobbyist developer can have, > as most of the new support was submitted by Konrad Dybcio who only > started contributing kernel patches to mainline Linux for postmarketos > earlier this year. I'm happy to see that. So far, Nokia N900 is reaonably supported (basically everything but Bluetooth works, voicecalls miss userland daemon for audio), and Motorola Droid 4 (modem needs some more in kernel, camera will be hard). Is there anything with similar support coming in, or is it usual "it boots, serial console works"? Should we have some kind of linux-phones mailing list? There is quite a lot of stuff common in phones. Best regards, Pavel
On Wed, Aug 5, 2020 at 7:27 PM Pavel Machek <pavel@ucw.cz> wrote: > > 2. In the past few merge windows we have seen an increase in (usually > > older) Android phones and tablets gaining mainline kernel support. > > This time we get a total of eight Snapdragon phones and two Tegra > > tablets. To me this indicates that we finally have sufficient driver > > support, in particular on the GPU side, to make this workable. > > It also shows the impact that a single hobbyist developer can have, > > as most of the new support was submitted by Konrad Dybcio who only > > started contributing kernel patches to mainline Linux for postmarketos > > earlier this year. > > I'm happy to see that. So far, Nokia N900 is reaonably supported (basically everything > but Bluetooth works, voicecalls miss userland daemon for audio), and Motorola > Droid 4 (modem needs some more in kernel, camera will be hard). > > Is there anything with similar support coming in, or is it usual "it boots, > serial console works"? My impression is that the newly added phones are still fairly rudimentary, but some others that were added in the past releases have gotten further. I don't know any details, but I've added Konrad to Cc, he can comment on his work. One of the missing pieces with the OMAP based phones has always been the GPU, and on that front I think by now almost every other GPU is ahead. > Should we have some kind of linux-phones mailing list? There is quite a lot of > stuff common in phones. PostmarketOS is probably the right place to look for this. Arnd
Thanks for all the kind words, I really appreciate it. >My impression is that the newly added phones are still fairly rudimentary, >but some others that were added in the past releases have gotten >further. I don't know any details, but I've added Konrad to Cc, he can >comment on his work. Thanks for adding me. The Sony sdm630/6 phones are shaping up really well, but most of the work is not upstreamed yet mainly due to SMMU maintainers not liking Qualcomm code and looking for cleaner solutions. As time progresses, more things will see the light of the upstream. The current-ish progress can be seen on my github [1]. And much more is yet to come. Regarding msm8992/4, there is a need for the 20nm DSI PHY driver. It exists for every other gen of qcom SoCs since 2013, but due to low interest in these platforms, this specific one never got there. I tried emailing the person who wrote most of the present ones, but gmail told me the mail didn't exist :shrug:. >> Should we have some kind of linux-phones mailing list? There is quite a lot of >> stuff common in phones. >PostmarketOS is probably the right place to look for this. First of all: postmarketOS, not PostmarketOS :P I would actually say that's incorrect. With the release of the PinePhone and the Librem 5, the Linux mobile community has entered its heyday and plenty mobile-oriented distributions have arisen (for example Mobian, Manjaro ARM, Pure OS-ARM etc.) and some have gotten more attention than before (think Ubuntu Touch, Maemo Leste). pmOS is only one of many. The current thing to do is every distro maintains their own kernel (or over 100 like in pmOS, which is terrible for the poor CI :/) and only a small percentage of patches end up being upstreamed for various reasons (clean-ness of the code, will of the maintainers, time constraints..). As time goes, we're gonna see more stuff being added. [1] https://github.com/konradybcio/linux/commits/58ninges_labs Konrad
On Wed 2020-08-05 21:06:45, Arnd Bergmann wrote: > On Wed, Aug 5, 2020 at 7:27 PM Pavel Machek <pavel@ucw.cz> wrote: > > > 2. In the past few merge windows we have seen an increase in (usually > > > older) Android phones and tablets gaining mainline kernel support. > > > This time we get a total of eight Snapdragon phones and two Tegra > > > tablets. To me this indicates that we finally have sufficient driver > > > support, in particular on the GPU side, to make this workable. > > > It also shows the impact that a single hobbyist developer can have, > > > as most of the new support was submitted by Konrad Dybcio who only > > > started contributing kernel patches to mainline Linux for postmarketos > > > earlier this year. > > > > I'm happy to see that. So far, Nokia N900 is reaonably supported (basically everything > > but Bluetooth works, voicecalls miss userland daemon for audio), and Motorola > > Droid 4 (modem needs some more in kernel, camera will be hard). > > > > Is there anything with similar support coming in, or is it usual "it boots, > > serial console works"? > > My impression is that the newly added phones are still fairly rudimentary, > but some others that were added in the past releases have gotten > further. I don't know any details, but I've added Konrad to Cc, he can > comment on his work. > > One of the missing pieces with the OMAP based phones has always > been the GPU, and on that front I think by now almost every other GPU > is ahead. I have working 3D on Droid 4 with Maemo Leste... but I'm not sure what kind of hacks are involved. (And not sure I want to know). > > Should we have some kind of linux-phones mailing list? There is quite a lot of > > stuff common in phones. > > PostmarketOS is probably the right place to look for this. Yes, I monitor postmarketOS a bit. But I believe we should have something cross-distro. I'm more involved with Maemo Leste, but there are other players -- at least Librem and Jolla. Best regards, Pavel
Hi! > Thanks for all the kind words, I really appreciate it. Thanks for good work :-). > >My impression is that the newly added phones are still fairly rudimentary, > >but some others that were added in the past releases have gotten > >further. I don't know any details, but I've added Konrad to Cc, he can > >comment on his work. > > Thanks for adding me. The Sony sdm630/6 phones are shaping up really > well, but most of the work is not upstreamed yet mainly due to SMMU > maintainers not liking Qualcomm code and looking for cleaner > solutions. As time progresses, more things will see the light of the > upstream. The current-ish progress can be seen on my github [1]. And > much more is yet to come. > > Regarding msm8992/4, there is a need for the 20nm DSI PHY driver. It > exists for every other gen of qcom SoCs since 2013, but due to low > interest in these platforms, this specific one never got there. I > tried emailing the person who wrote most of the present ones, but > gmail told me the mail didn't exist :shrug:. I won't pretend to understand all this. Do you normally have modems working? > >> Should we have some kind of linux-phones mailing list? There is quite a lot of > >> stuff common in phones. > > >PostmarketOS is probably the right place to look for this. > > First of all: postmarketOS, not PostmarketOS :P > > I would actually say that's incorrect. With the release of the > PinePhone and the Librem 5, the Linux mobile community has entered its > heyday and plenty mobile-oriented distributions have arisen (for > example Mobian, Manjaro ARM, Pure OS-ARM etc.) and some have gotten > more attention than before (think Ubuntu Touch, Maemo Leste). pmOS is > only one of many. > > The current thing to do is every distro maintains their own kernel (or > over 100 like in pmOS, which is terrible for the poor CI :/) and only > a small percentage of patches end up being upstreamed for various > reasons (clean-ness of the code, will of the maintainers, time > constraints..). As time goes, we're gonna see more stuff being > added. I did not know how popular PinePhone is. Does it currently have useful battery life? Would something like phone@vger.kernel.org be useful for low-level stuff? Best regards, Pavel
> I did not know how popular PinePhone is. Does it currently have useful > battery life? It basically sells out in a few days after a new batch is up :D You might want to join some pine64 irc/matrix/telegram channels. Currently, as far as I'm aware (I haven't got one), it can survive a full day but enhancements are still coming. > Would something like phone@vger.kernel.org be useful for low-level > stuff? It would certainly make for less spam (yes, I once got (jokingly) called out for "spamming" linux-arm-msm :D) on the general arm lists. Many commits just tackle DTS or some bizarre only-found-on-phones hardware. Considering Xiaomi releases 1 phone a week on average, expect to be flooded when mainlining gets popular on sites like XDA-Developers forums where many Android devs currently are. Also it would be easier for people to find other phone/mobile developers. Also, you guys might want to consider arch/arm64/boot/dts/qcom/vendor in the future to prevent it from becoming a mess of a directory that arch/arm/boot/dts is (though that will obviously take some time) :P Konrad
>Regarding msm8992/4, there is a need for the 20nm DSI PHY driver.
Well... Of course I meant DSI PLL there. It's so easy to mistake
three-letter acronyms..
Konrad