Re: Odroid C2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
Tried to take on this challenge with very moderate success. That is not surprising being a complete NOOB in regards to UEFI and never doing more than the usual-user stuff with GRUB. (So bear with me and have a little patients..) 

I am working with FC29 (Kernel 4.18.16-300) now, if it is better to work with FC28 please comment on that. 

Did not dive in detail into the necessary bootloaders and additions (fib/create ??) to main-line uboot because I nicked two apparently working boot-loading stacks from other distros. One originates from a (UEFI) booting Suse image and one from a Arch Linux ARM package (2). Cross checked the Alarm bootloaders with the Suse image which booted with it. Looking at the PKGBUILD it is a pristine as you can gat and decided to go with it for the time being.


The autoboot was unsuccessful with both bootloader-stacks with more or less the same errors:
## Starting EFI application at 01080000 ...
System BootOrder not found.  Initializing defaults.
Could not read \EFI\: Invalid Parameter
Error: could not find boot options: Invalid Parameter
start_image() returned Invalid Parameter
## Application terminated, r = 2
EFI LOAD FAILED: continuing...

See  autoboot ‘alarm-mainline-uboot’  and  ‘autoboot suse-uboot’ (1) for full logs

After stopping autoboot and loading grub manual form the u-boot shell:
(see ‘manual booteufi’ (1))

=> load mmc 0:2 ${fdt_addr_r} /dtb/amlogic/meson-gxbb-odroidc2.dtb
=> load mmc 0:1 ${kernel_addr_r} /EFI/fedora/grubaa64.efi
=> bootefi ${kernel_addr_r} ${fdt_addr_r}

The kernel does boot and starts system (PID 1) to stop there. 
see also (1) ‘kernel boot’ 

Meanwhile I added :
console=ttyAML0,115200n8 earlycon 
to the kernel cmdline and removed Plymouth entirely to see as much as possible on the serial-monitor.

First things first:
How do I get the EUFI autoboot playing along without compiling a u-boot script with the above commands which led to load grub ?

And to be frank I am a bit stuck right now..
- Is system unable to (re)mount the initrootfs ?
- Does my serial monitor die on me?

All suggestion are welcome! 

Thaks and greeting Mark

(1) Logs and transcripts https://gist.github.com/markVnl/79c7852d308eb8162da12fc5942ea2ba
(2) https://archlinuxarm.org/packages/aarch64/uboot-odroid-c2-mainline
(3) https://github.com/archlinuxarm/PKGBUILDs/blob/master/alarm/uboot-odroid-c2-mainline/PKGBUILD
_______________________________________________
arm mailing list -- arm@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to arm-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux