View previous topic :: View next topic |
Author |
Message |
Banana Moderator
Joined: 21 May 2004 Posts: 1634 Location: Germany
|
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 495 Location: San Diego, California USA
|
Posted: Tue Sep 03, 2024 11:14 pm Post subject: |
|
|
Probably not quite yet. Kernel support for all the drivers isn't all in. Even when the drivers are all in, each machine is likely to need to a different Device tree configuration. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1634 Location: Germany
|
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 495 Location: San Diego, California USA
|
Posted: Thu Sep 05, 2024 4:11 am Post subject: |
|
|
There is ARM support in the Linux kernel. But it takes more than that. You need drivers for the actual devices that are on the machine. Stuff like power controllers, memory controllers, Wifi chips, Bluetooth chips, storage controllers, etc. And, in the ARM world, you need to specify how the various pieces of hardware are connected together and where in the memory map the registers are used to control them. That's what device trees are for.
The PC world is different. Different manufacturers try to make their low level interfaces conform to various standards so that the kernel can figure out how to talk to all of the them. In the ARM world each piece of hardware is configured differently. The kernel must be given a "device tree" which is a map to the hardware configuration.
Qualcomm is still working on adding drivers for much of the chip internals. Then we're going to need device tree configurations for the different models out there.
https://www.qualcomm.com/developer/blog/2024/05/upstreaming-linux-kernel-support-for-the-snapdragon-x-elite
In the mean time if you want to experiment with ARM hardware how about trying hardware that is well supported. Like a Raspberry Pi or something similar. I've converted my main server at home from an aging PC to a RPi 5. It's a snappy little machine that takes much less energy. |
|
Back to top |
|
|
Banana Moderator
Joined: 21 May 2004 Posts: 1634 Location: Germany
|
|
Back to top |
|
|
Spargeltarzan Guru
Joined: 23 Jul 2017 Posts: 319
|
Posted: Thu Sep 05, 2024 8:44 am Post subject: |
|
|
I am also considering to upgrade my notebook soon and was thinking about the Lenovo Yoga 7x. The combination of similar or maybe better performance and longer battery time was somehow charming to me.
What I have absolutely no idea on is once the kernel has full support for Snapdragon, what about the rest of the Portage tree? Wouldn't it be necessary to develop every package with proper ARM support?
Kernel 6.11. should have much better support:
https://www.phoronix.com/news/Linux-6.11-SoC-Platforms _________________ ___________________
Regards
Spargeltarzan
Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 495 Location: San Diego, California USA
|
Posted: Thu Sep 05, 2024 4:35 pm Post subject: |
|
|
For the most part, the core system "just works" on ARM. Think of it this way, I'd say that most of the routers out there on the market are running some form of Linux. And a large percentage of them are some kind ARM chip. Linux ARM support has all been there for quite a while.
I have an ARM-based VM on my MacBook that runs an Ubuntu image. It includes the full desktop environment.
And, finally, I have a small Gentoo VM running on my M3 Max MacBook Pro. That is, by far, the fastest Gentoo environment I own. It absolutely flies. I'm looking forward to Snapdragon based hardware as well. Whether it happens with the current generation of chips or we have to wait another generation I predict they will be wonderful. |
|
Back to top |
|
|
|