3 ms·
It's the same issue with phones. If manufacturers settled on a hardware configuration that prioritized hardware compatibility and discovery like x86 computers a
by heavyset_go 6y ago
It's the same issue with phones. If manufacturers settled on a hardware configuration that prioritized hardware compatibility and discovery like x86 computers and ARM servers do by implementing things like BIOS or EFI, ACPI, unlocked bootloaders, etc, we'd be able to treat these devices the same way we do with our desktops and laptops.
Theoretically, we'd be able to download some generic OS image and load them onto devices like we can with Linux ISOs and x86 laptops whenever manufacturers decide to stop supporting older devices.
Instead, each device is a custom hardware configuration, with peripherals hardcoded to specific addresses instead of attached to enumerable buses.
Unfortunately, it's much cheaper and easier to design custom SoCs with custom bootloaders for each device than it is to go the compatibility and discovery route that x86 manufacturers did decades ago, and that ARM servers do today.
Sadly, as manufacturers turn to custom ARM SoCs for laptops and desktops, they're also walking away from hardware compatibility and discovery, which means that the days of being able to load generic Linux images on your computers are coming to an end.
For example, with some ARM Chromebooks and all ARM Macs, you can't just boot a generic ARM Linux ISO, because ARM SoCs are custom and unique hardware configurations that lack ACPI etc. This is the reason you need to use a custom Linux image for Raspberry Pis, instead of using generic ARM ISOs like you can on ARM servers, and it's the same reason that a lot of work needs to be done before Linux will work well on M1 Macs.
- fsflover 6y ago> Theoretically, we'd be able to download some generic OS image and load them onto devices like we can with Linux ISOs and x86 laptops whenever manufacturers decide to stop supporting older devices. That’s exactly how GNU/Linux smartphones Librem 5 and Pinephone work.
- heavyset_go 6y agoYou don't have to use images that were built for the specific SoCs they're built on? For example, on ARM servers I can load this generic ISO[1], and it will work. I can't do that with a Raspberry Pi, however. Do those phones have UEFI and ACPI support, or SBSA[2] support? If so, can you point me to where I can read more about it? Google is failing me here. [1] https://ubuntu.com/download/server/arm https://ubuntu.com/download/server/arm [2] https://en.wikipedia.org/wiki/Server_Base_System_Architecture https://en.wikipedia.org/wiki/Server_Base_System_Architectur...
- fsflover 6y ago> You don't have to use images that were built for the specific SoCs they're built on? All necessary patches are upstreamed. Librem5: https://puri.sm/posts/purism-and-linux-5-7/ https://puri.sm/posts/purism-and-linux-5-7/. Pinephone: https://xnux.eu/devices/pine64-pinephone.html https://xnux.eu/devices/pine64-pinephone.html. > Do those phones have UEFI and ACPI support, or SBSA[2] support? If so, can you point me to where I can read more about it? This question is beyond my knowledge, but you can already install >17 operating systems on Pinephone (https://xnux.eu/p-boot-demo/ https://xnux.eu/p-boot-demo/) and >3 on Librem 5 (PureOS, Mobian, postmarketOS [1]), so it should be there. [1] https://puri.sm/posts/adventures-of-porting-postmarketos-to-the-librem-5/ https://puri.sm/posts/adventures-of-porting-postmarketos-to-... More info on Librem 5: https://source.puri.sm/Librem5/community-wiki/-/wikis/Frequently-Asked-Questions https://source.puri.sm/Librem5/community-wiki/-/wikis/Freque...
- fsflover 6y agoIt doesn’t have UEFI–it uses u-boot instead. To test whether it has ACPI support, someone who has the phone should do this: sudo apt install acpi acpi -V To determine its level of SBSA would take hours of reading the spec and testing each thing in the spec, and I doubt that very many people care about SBSA. From https://forums.puri.sm/t/frequently-asked-questions-for-the-librem-5/10239/70 https://forums.puri.sm/t/frequently-asked-questions-for-the-....