News for hackers. Stuff that matters.
Re:Lichee Pi 4A by doubled112 on Monday December 26, 2022 @08:33AM (#34137480)
I’ll admit I was sticking to Pis because of the community and support, but is mainline support on the Raspberry Pi looking better these days?

The Pi4 has been out a while now, and Fedora just added “support”

Its in quotes because theres no WiFi, no Bluetooth, and I cannot get it to boot to desktop using their image.

Arch Linux ARM has been pushing images that don’t boot on the 400 for over a year now, but if I install the Raspberry Pi kernel in a chroot before first boot it even works.

What I’ve found is that if you want it to work you’re stuck on Raspberry Pi OS, a bastardized Debian distro, anyway.

Is your experience different? There was a time there was choice and they just worked. Somehow it feels as though it has gone backward and I’m tinkering with some no-name made in China SBC again.

Re:Lichee Pi 4A by c0l0 on Monday December 26, 2022 @08:39AM (#34137524)
Regarding mainline: No, not really - but I think we're in for a decent future with much-expanded mainline support.

The difference between the bastardized stuff from the Pi Foundation and everyone else's is that the former has enough momentum behind it that it's safe to assume it doesn't simply wither away, which makes enough difference for me not to experiment with others that almost certainly will. (I have a small drawer full of SBCs without any remaining software support at home from a past where I did not live/buy by that standard.)

Re:Lichee Pi 4A by rfoo on Monday December 26, 2022 @09:34AM (#34137881)
> the former has enough momentum behind it that it's safe to assume it doesn't simply wither away

Given that:

- The underlying SoC since RPi 3B (released six years ago) all supports AArch64.

- The Pi foundation refused to ship an AArch64 Raspbian image until early this year.

- The reason being "armv7 works on every RPi, aarch64 not, we don't have enough resource to maintain two archs".

I doubt it has enough momentum.

Re:Lichee Pi 4A by geerlingguy on Monday December 26, 2022 @12:31PM (#34139738)
The Pi Foundation had a 'beta' ARM64 image build since 2020, they finally decided to highlight it on their download pages and installer this year after working through a number of compatibility bugs (none of which I ever ran into, but some would).
Re:Lichee Pi 4A by fest on Monday December 26, 2022 @09:35AM (#34137884)
Well, at least with Raspberry Pi, if there is a particular hardware feature, there is at least support for it from Raspbian/RPi foundation.

With many SBCs you're on your own if you need something besides "kernel boots, video output works" (e.g video encoding, MIPI input, GPU are often neglected on many SBCs with less momentum behind them).

Re:Lichee Pi 4A by geerlingguy on Monday December 26, 2022 @12:33PM (#34139750)
If only it were that generous... for many boards (especially ones that include newer RockChip SoCs, getting video output would be a wonderful innovation.
Re:Lichee Pi 4A by sigjuice on Monday December 26, 2022 @10:10AM (#34138185)
Wifi does work on the Pi 4 with Fedora 37. I tried that just a few hours ago.
Re:Lichee Pi 4A by public_defender on Monday December 26, 2022 @10:26AM (#34138313)
Correct me if I'm wrong, but this seems to confuse hardware support (e.g. drivers) for "working out of the box" with a particular distro. I have a CM4. It worked out of the box with RPi OS, but needed some hacking to get working with Alpine. The important thing is that it was possible to pull some configs from RPi OS to set up wifi on Alpine. The drivers were all in both kernels, so I assume they were in upstream, but had no reason to check.

I think the point of GP is that some hardware on these SBCs has no open source drivers and you can't get them, which is way different.

Also, again maybe I don't understand something, but the RPi OS is not "bastardized" in any special way. The whole point of the Linux ecosystem is that you bastardize things. It's actually good that there is a distro customized for RPi and that it submits some changes upstream but not all, right? I think GP was saying that they didn't want to depend on some weird hacks the manufacturer did to get closed hardware to work, which again is different.

Re:Lichee Pi 4A by rwmj on Monday December 26, 2022 @10:38AM (#34138429)
Fedora ships only upstream kernels, so working out of the box with Fedora is the same as being in the mainline (Linus) kernel.
Re:Lichee Pi 4A by public_defender on Monday December 26, 2022 @10:46AM (#34138539)
> working out of the box with Fedora is the same as being in the mainline (Linus) kernel.

That's not right. For example, in my case with wifi the microcode was named incorrectly and one of the other configs needed to be updated, but the drivers were there. Nobody has said what the problem is/is not in Fedora.

Re:Lichee Pi 4A by rwmj on Monday December 26, 2022 @11:29AM (#34139088)
Unless Fedora renamed the microcode blob that's likely to be an upstream problem too.
Re:Lichee Pi 4A by ilyt on Monday December 26, 2022 @12:48PM (#34139922)
> The drivers were all in both kernels, so I assume they were in upstream, but had no reason to check.

Nope, not all is upstreamed, IIRC camera gave me grief, I just installed rasbpian after

Re:Lichee Pi 4A by jaredhallen on Monday December 26, 2022 @10:51AM (#34138605)
> What I’ve found is that if you want it to work you’re stuck on Raspberry Pi OS, a bastardized Debian distro, anyway.

I've been running Ubuntu on my 3b for a few years now. The original image was 20.04, and I recently upgraded to 22.04 using do-release-upgrade without any grief. It has worked pretty painlessly for me.

Re:Lichee Pi 4A by archontes on Tuesday December 27, 2022 @05:12PM (#34154557)
I'm running ubuntu server on my 3b as well, and other than some initial networking finagling, it's been painless.
Re:Lichee Pi 4A by squarefoot on Monday December 26, 2022 @11:15AM (#34138906)
> What I’ve found is that if you want it to work you’re stuck on Raspberry Pi OS, a bastardized Debian distro, anyway.

Ambian, Dietpi, and Alpine all support it, along with many other boards that are not just easier to find these days but also cheaper and sometimes more powerful than the Raspberry Pi.

https://www.armbian.com/download/?device_support=Supported

https://dietpi.com/#downloadinfo

https://alpinelinux.org/downloads/

Re:Lichee Pi 4A by ilyt on Monday December 26, 2022 @12:47PM (#34139894)
Debian Stable ran network/bt/wifi on rPi4, but camera was broken, haven't tried much beyond that.
Re:Lichee Pi 4A by swinglock on Monday December 26, 2022 @01:02PM (#34140072)
There's Ubuntu support as well.

https://ubuntu.com/raspberry-pi