Hi Johannes,

On 19.11.22 13:24, Johannes Kastl wrote:
Hi all,

I recently installed openSUSE MicroOS on a Pine64 (LTS or whatever it is called). Installation was a breeze, but now intermittently it hangs during reboots.

It hangs in the "BIOS" boot phase, aka before grub is started and the OS takes over.

I get errors like these when I open the serial console once I notice the hang:

     Unknown command 'jT)HL' - try 'help'
     =>

Is it possible that there is noise on your serial line?

So that "hit any key to stop autoboot" in grub gets activated?

Seems like it fails to properly detect that there is no PXE/tftp to boot from and it should really boot from the sdcard. Or something else makes it stop the autoboot and enters 'jT)HL' as command.

line noise? Is the serial always connected?

Unfortunately I failed to find proper instructions on how to disable PXE boot and nail it down to only boot from sdcard.

I don't know about the Pine64, but I guess the first boot loader you can see is U-Boot.

Reboot with the serial console connected and you'll probably see U-Boot reading bootaa64.efi from the EFI partition of your rootdevice and that is the GRUB2 binary.

Before it loads grub, you can interrupt it on the serial console and then will be in U-Boot's shell. Check the u-boot documentation for details, but "printenv" will get you started with the current settings.

On the raspberrypi, the u-boot config can actually be written to the "bootpartition" as u-boot.env file, if you are lucky the pine64 is configured similar (making for an easy way to save your old settings... and restore them in case you screw up...), but it is also possible that U-Boot env is stored in a flash partition of the device. In that case, copy-pasting the output of "printenv" to a safe place is something I'd recommend before you start playing around with it ;-)

Good luck and have a lot of fun...

        seife
--
Stefan Seyfried

"For a successful technology, reality must take precedence over
 public relations, for nature cannot be fooled." -- Richard Feynman

Reply via email to