Manjaro ARM UEFI build?

I have installed Ubuntu, Fedora and AlmaLinux on my Phytium D2000 ARM computer.
Debian fails on mine, but others have it working.

Are there any plans to release Manjaro ARM for UEFI?
Will it include AMDgpu?

While we currently do not have any UEFI supported builds, it is something we would like to get working and as such, yes, there are plans for it. No ETA though.

Inclusion of amdgpu is gonna really depend on how good our UEFI/EFI based images are gonna be on a standard UEFI based machine. Because it’s a pretty big driver, that will make the kernel some MB’s larger than it is now.

Yes it does work for me on solid run honeycomb.

We will soon have uefi arm images once we have more arm devices with uefi support.

You can always try manjaro arm image and load it from efi shell.

Is there a way we can get phytium at affordable price for the project?

I downloaded the generic ARM KDE image.
https://manjaro.org/download/#generic-aarch64-kde-plasma

I wrote the image to a USB stick, but how can I try to boot from the efi shell?

I bought my Phytium computer from Dragonbox.de.
I think they said they still had a couple of units and would put them in the webshop later on.
But they sell for desktop prices, a bit over €550, not exactly in the SBC price range.

Create startup.nsh file under /boot

Startup.nsh file should contain similar content like extlinux.conf except the dtb argument

Then boot into efi shell and cd into the usb drive and run startup.nsh

If the kernel have needed drivers for the device then it will load else you will have errors.

I doubt we have enabled drivers for this device though.

I copied extlinux.conf in the top directory of the BOOT partition and renamed it to Startup.nsh.
I removed the dtb line.

Booting the EFI shell I got the message it wants to start startup.nsh.
But I get messages like:
LABEL is not recognized as an internal or external command (etc.)
KERNEL is not recognized as an internal or external command (etc.)
APPEND is not recognized as an internal or external command (etc.)

Any suggestions?
I have never worked with EFI shell before.

Oh ok.

I will share the startup.nsh that will work for you, once I am at my desk.

Relevant Arch wiki page: https://wiki.archlinux.org/title/EFISTUB#Using_UEFI_Shell
except that on Manjaro ARM the kernel file is called “Image” instead of “vmlinuz-linux”

1 Like
startup.nsh
Image root=LABEL=ROOT_MNJRO rw rootfstype=ext4 initrd=initramfs-linux.img console=tty1,1500000 earlycon=pl011,mmio32,0x21c0000 pci=pcie_bus_perf fsck.fix=yes fsck.repair=yes

console, earlcon, pcie will depend on the device configuration.

1 Like

Well, it does try to boot and I see output.
Network gets initialised.
Started OpenSSH Daemon.
Starting Permit User Sessions…
Finished Permit User Sessions.
Starting Hold until boot process finishes up…
Starting Terminate Plymouth Boot Screen…

And I guess nothing happens after that.

Sounds like GPU drivers are missing. Can you get to a TTY with CTRL+ALT+F2?

What GPU do you have in it? We currently don’t have any nvidia or amd drivers in our kernel.

Yes, I can get to TTY with CTRL+ALT+F2.
Logged in as root (no password).
My machine has a (mobile?) AMD Radeon RX-550.

That would need the amdgpu driver, which is currently not enabled in our ARM kernels.

1 Like

Yes you need amdgpu pkg and then add it to mkinitcpio.conf

Also you will need amd icode in the startup.nsh script…

AH right. That might be needed to be enabled but there is one kernel which have it enabled which i use for honeycomb.

Is it possible to install the kernel with amdgpu enabled?
Once I have that, I can install amdgpu with apt?

Amdgpu support have to be enabled in the kernel config before compiling it.
Do you plan to enable it for linux pkg? @Strit

Not apt but pacman, Manjaro uses pacman so the command will be like this.

sudo pacman -S amdgpu

If we have an image ready that can take advantage of it, where it’s also likely that it actually has an AMD GPU installed, yes.
At this point, I don’t think we provide any image for a device where it’s possible.