flatcar / Flatcar

Flatcar project repository for issue tracking, project documentation, etc.
https://www.flatcar.org/
Apache License 2.0
679 stars 29 forks source link

Raspberry Boot issue #1176

Open tardich opened 12 months ago

tardich commented 12 months ago

Description

I'm trying to install Flatcar on a Raspberry Pi 4B with 4GB RAM, booting from a USB drive. I'm following the instructions from https://www.flatcar.org/docs/latest/installing/bare-metal/raspberry-pi/, and I can see it starting to boot. Seeing the large Raspberry on the screen and, after 1 or 2 seconds, I'm seeing the boot menu: Flatcar default, Flatcar USR-A and Flatcar-USR-B. Then, after a couple of seconds, it boots Flatcar default where I see:

EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Exiting boot services...

Then the screen goes black, and a blinking underscore cursor appears. After a few seconds, I see the drive LED flashing for a few seconds, then nothing more

Impact

Raspberry PI doesn't boot Flatcar

Environment and steps to reproduce

  1. Executing install steps exactly as defined in the documentation
  2. Connecting the drive to the raspberry Pi
  3. Power on the Raspberry Pi

Expected behavior

Have the Raspberry booting up

Additional information

I'm using the latest pftf/RPi4 (v1.35). But tried a couple of them, including v1.28 which was used at the time of writing

mickkael commented 8 months ago

I have tried the same tutorial but with a Raspberry Pi 5 8GB. The UEFI is used from https://github.com/worproject/rpi5-uefi The Disk is a SSD with a USB3 to SATA Adaptor. The output is exactly the same as yours.

Selecting Flatcar USR-A or B has the same output.

ader1990 commented 8 months ago

Hello,

I have tried to reproduce the bug on a Raspberry PI 400 (which should be very similar if not same) using the latest stable Flatcar release and the docs from https://www.flatcar.org/docs/latest/installing/bare-metal/raspberry-pi/, but I could not reproduce the issue.

My workflow:

  1. Boot latest x64 Raspbian from USB stick 1 and update eeprom. Shutdown the Raspberry. The imaging was done using another x64 computer, Ubuntu 22.04, downloading latest Raspbian image and use dd for imaging.
  2. Create the USB stick 2 image using the how-to https://www.flatcar.org/docs/latest/installing/bare-metal/raspberry-pi/ flatcar-install -d /dev/sda -C stable -B arm64-usr -o '' -i config.json. It installed Flatcar stable 3602.2.3. The imaging was done using another x64 computer, Ubuntu 22.04.
  3. Detach USB stick 1 and attach USB stick 2
  4. Boot Flatcar: saw the Raspberry logo, the boot menu: Flatcar default, Flatcar USR-A and Flatcar-USR-B. Then it booted Flatcar, the screen goes black, and a blinking underscore cursor appears in the top-left part of the screen. After a few minutes, the Flatcar login console appears.

EEPROM version: VL805_FW 000138c0.

There is a config.json bug where the auto-login does not work and a soft power off / power on is required to make auto login work. This is an issue with how the grub.cfg changes are performed and maybe needs a fix in the config.json from the documentation?

Thank you.

ArKam commented 7 months ago

I can definitely reproduce the same issue on a rpi4b 8Gb and solved it by both switching to alpha channel and adding the oem empty switch while installing to the sdcard or hdd. I’ve also mount the oem partition on /oem using ignition but I doubt it change things drastically.