this post was submitted on 25 Sep 2024
91 points (98.9% liked)

Linux

48461 readers
423 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 0x0@programming.dev 7 points 2 months ago (14 children)

Aren't they arm-based? What's the hurdle?

[–] Vitaly@feddit.uk 24 points 2 months ago (1 children)

If the devs don't have access to the hardware then it's impossible to make drivers for a specific laptop

[–] 0x0@programming.dev 2 points 2 months ago (4 children)

If it's arm-based is the CPU so alien as to not being usable without a very generic kernel?

As for the hardware, is it so unique there are no drivers already?

[–] Markaos@lemmy.one 40 points 2 months ago (1 children)

I can't speak for these specific laptops, but unlike x86, ARM generally doesn't have a way for an OS to discover the available hardware, and most ARM platforms historically didn't do anything to help. There is a standard for UEFI on ARM where the UEFI is supposed to tell the OS about the hardware, but as far as I know this is only a thing on ARM servers and these laptops might not support it.

Without any way of probing for hardware or getting the information from UEFI, Linux has to somehow be compiled with all the info about the hardware built-in. And the build will be model-specific (there's a way to pass a file describing the hardware to Linux from the bootloader which enables a single kernel to be used on multiple models and have just a small part of the bootloader be model-specific, but somebody still needs to make that file and the manufacturers clearly don't intend to do that).

[–] BearOfaTime@lemm.ee 10 points 2 months ago (1 children)

Yep, an OS would need to be monolithic for a given device.

Something the computer world decided was a Bad Thing in about 1978.

[–] daggermoon@lemmy.world 1 points 2 months ago

Are we really going back to the dark ages?

[–] rotopenguin@infosec.pub 8 points 2 months ago

ARM systems don't have the whole ACPI thing to describe what hardware is where. Linux has to bodge together its view of the system with a devicetree instead. If you don't know what device IP blocks are integrated into the SOC (and locked behind an NDA), good luck blindly guessing. You don't even get EFI booting, you get shit like "the rpi gpu runs its own proprietary bootloader lol".

[–] boredsquirrel@slrpnk.net 6 points 2 months ago (1 children)

Yes the drivers are all different afaik. You need a device tree, and hardware to debug what you wrote.

Just a kernel doesnt help much.

[–] Vitaly@feddit.uk 2 points 2 months ago (1 children)

It would be cool if they provided at least a virtual machine to test on

[–] boredsquirrel@slrpnk.net 1 points 2 months ago (1 children)
[–] Vitaly@feddit.uk 1 points 2 months ago (1 children)

Because if they can't provide them with real hardware at least a VM would be great

[–] boredsquirrel@slrpnk.net 1 points 2 months ago (1 children)

Like a VM emulating their exact hardware? Didnt know that was a thing

[–] Vitaly@feddit.uk 2 points 2 months ago

I'm not sure if it's possible

[–] woelkchen@lemmy.world 5 points 2 months ago

There's more hardware in a notebook than just the CPU. It's pointless without network and GPU drivers, for example. Also the ARM DeviceTree stuff is BS.

load more comments (12 replies)