Skip to content

Boot gets stuck at "Starting kernel ..." (eMMC + prebuilt binaries) #2

@hoseinyavarzadeh

Description

@hoseinyavarzadeh

Description
I am attempting to replicate the OpenCCA environment on a Rock5B using the pre-built binaries provided in the systex25 release. While the flashing process completes successfully via rkdeveloptool, the boot process hangs indefinitely at the "Starting kernel ..." stage over UART.

Environment
Host OS: macOS (rkdeveloptool installed manually)

Target Hardware: Rock5B

Power Supply: Anker Nano II via Anker PowerExpand 6-in-1 (as recommended)

Serial Connection: USB-to-TTL adapter (accessed via /dev/tty.usbserial-XXXXX)

Binaries: opencca.tar.gz (systex25)

Steps to Reproduce:

  1. Preparation: Download and extract the release package.
wget https://github.com/opencca/opencca-releases/releases/download/opencca/systex25/opencca.tar.gz
tar -xzf opencca.tar.gz
MaskROM Entry: Booted the Rock5B into MaskROM mode (confirmed via rkdeveloptool ld).
  1. Flashing:
sudo rkdeveloptool db ./tools/rk3588_spl_loader_v1.08.111.bin
sudo rkdeveloptool wl 0 ./rootfs/opencca-image-rockchip-rock5b-rk3588.img
sudo rkdeveloptool rd
  1. Boot: Connect to UART and monitor output during power-on.
    The bootloader initializes, but the output stops completely after the following line: Starting kernel ...

HDMI Output: No signal detected on HDMI.

Serial Logs: See the attached minicom.txt for the full trace prior to the hang.

Questions
Is there any reason that this might happen and boot get stuck at "Starting kernel ..."?

Is the lack of HDMI output expected during the initial kernel phase of OpenCCA, or should there be a console visible?

Are there specific environment variables or boot.scr modifications required when flashing from a macOS host that might differ from the Linux instructions?

Is it possible the SPL loader or the image itself requires a specific firmware version on the SPI flash before writing the rootfs?

Any guidance on debugging this kernel hang would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions