Friday, May 10, 2024

[fedora-arm] Fedora 40 and Helios64 => success

Hi all,

after couple years of sitting under the desk I have thought it's time
to try Fedora on Helios64. There was progress in mainline kernel
regarding the hardware support in the past year or two, so why not to
give it a try. There is no mainline u-boot support for Helios64, thus
the idea was to use Armbian's u-boot, which should support EFI boot,
combined with Fedora minimal disk image. After some head scratching and
resolving 2 issues I got the login prompt.

First issue is that Armbian's u-boot is bigger than 1 MB, thus our disk
layout, where the first partition (EFI) starts at 9 MB, means it gets
overwritten a bit. Solution was to shift all partitions 1 MB further.
Perhaps we should default to the 10 MB in the official images too.

Second issue was a crash quite late in the boot in cpu_idle() for CPU
#5, which seems to be the low-power core. Workaround was to limit the number of
cpus to 4 using kernel's maxcpus= parameter.

The result is

[dan@helios64 ~]$ sudo dmesg | head
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.8.5-301.fc40.aarch64 (mockbuild@5efd934e27f44ed09084502b9de5d773) (gcc (GCC) 14.0.1 20240328 (Red Hat 14.0.1-0), GNU ld version 2.41-34.fc40) #1 SMP PREEMPT_DYNAMIC Thu Apr 11 20:30:05 UTC 2024
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: Helios64
[ 0.000000] efi: EFI v2.9 by Das U-Boot
[ 0.000000] efi: RTPROP=0xf4ece040 SMBIOS=0xf4ecd000 MOKvar=0xf4da0000 MEMRESERVE=0xf4d97040
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xf755c2c0-0xf7572fff]
[ 0.000000] Zone ranges:


With regards,

Dan
--
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

No comments:

Post a Comment