10 ms·
Theres been plenty of ARM support on Linux the issue if I am not mistaken is that ARM isnt a processor its a spec you license and manufacturers go from there so
by giancarlostoro 6y ago
Theres been plenty of ARM support on Linux the issue if I am not mistaken is that ARM isnt a processor its a spec you license and manufacturers go from there so code between processors should be completely icompatible even within the same manufacturer. You see discussions about it on HN plenty of times. Theres plenty of ARM based devices out there though due to the rising popularity of SBCs. Then we have the Pinebook and similar devices.
- timthorn 6y agoThat's true in embedded and mobile, but not the case in the server space. The platform has been standardized so that the same Linux ISO will work on any mainstream Arm server. https://developer.arm.com/architectures/platform-design/server-systems https://developer.arm.com/architectures/platform-design/serv...
- my123 6y agoWindows on Arm machines ship with UEFI and ACPI by design, using the same specs as in Arm server land.* * minus quirks/some deviations from the spec because Qualcomm
- rev_d 6y agoI'm wondering if the solution to this involves shipping more software via something like the AUR (Arch User Repository) rather than in binary packages. It's not necessarily sane to maintain binaries for each and every device flavour, but as long as the code is reasonably portable & each manufacturer keeps their LLVM IR/JVM bytecode backends in order, that might be enough to overcome some of the pain. I've always found Arch distributions to be more usable on ARM systems than Debian distros simply because they user-friendly ways of building & installing from source. Building from intermediate representation might be the right mix of obfuscation, performance, friendliness, and portability for the consumer space.
- giancarlostoro 6y agoI think providing source based installations should be a secondary approach to distros that do provide prebuilt binaries. The benefit to prebuilt binaries is basically you only need to download it, not wait hours and hours for sources to build, plus no need to pull down every developer only dependency.
- aseipp 6y agoIt's not really an issue on "desktop class" devices you want to run Linux on and similar to x86 in practice. When people say "modern ARM devices" they are always talking about 64-bit ARMv8. Of those available chips, there simply aren't many differences in terms of available ISA features. All of the "real" differences come down to microarchitectural ones e.g. Cortex-A53 vs Cortex-A55 or whatever. But Linux distros don't need to maintain builds for all of those uarchs, anymore than Debian needs to maintain separate builds for "Haswell vs Skylake vs Zen2" on x86. You can of course compile from source and make this distinction yourself. But it's basically par for the course, like it has been in the x86 world for a while. The reasons most ARM devices require special "builds" for $YOUR_FAVORITE_OS almost entirely comes down to bootloader/peripheral nonsense. There wasn't (until recently) any standardized way to discover devices attached to your favorite ARM chip, nor any standard boot protocol, like we have in the x86 world. Therefore every device needed its own little description of the attached peripherals and (often) needed a little support in the bootloader -- uboot -- to accompany it. Therefore there are normally device-specific kernel/bootloader packages in your favorite distro, and specific installation instructions, but not every package needs this treatment. Once you install the distro, you can use the same ARM userspace binaries/packages as any other device, more or less. However, ARM is now settling on ACPI/UEFI like in the x86 world to handle booting and peripheral discovery in a generic manner. You can, for example, use UEFI/TianoCore on the Raspberry Pi 4 today, and boot generic ARMv8 distro images of your choosing, just like you do with x86 systems.
- my123 6y ago> code between processors should be completely icompatible even within the same manufacturer Hello, Arm is explicitly managed to prevent such a scenario to happen. Where things can and do diverge is the boot mechanism and peripherals, even if it has been getting better with time. (Arm servers and Windows on Arm machines using UEFI + ACPI) However, for user-mode code, compatibility is mandated and checked by Arm, even for designs not made by them. As such, don't worry about it.
- giancarlostoro 6y agoAh this is the bit I was not aware of! Thanks for that, I pick up bits of knowledge about ARM as people share them.