ryan4yin / nixos-rk3588

Minimal NixOS running on RK3588/RK3588s based SBC(Orange Pi 5 Plus, Orange Pi 5, Rock 5A, etc)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

orange pi 5 image fails to boot

i-am-logger opened this issue · comments

commented

here is the logs through the RS232

I used on commit @50eda9b

nix build .#sdImage-opi5

Log from serial port

Device 0: unknown device
failed to find reset-gpios property
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
failed to find reset-gpios property
No ethernet found.
Could not get mtd 0
## Booting FIT Image FIT: No fit blob
FIT: No FIT image
Unknown command 'bootrkp' - try 'help'
  1. Did you boot from a SD card?
  2. Does this prebuilt image work? https://github.com/ryan4yin/nixos-rk3588/releases/tag/2023082700
commented

just tested, does not work either.

My pre-built image works fine on my orange pi 5.
Based on the information available, I can't tell what the problem is.

Have you performed Flash U-Boot to SPI flash?

i'll double check, i know i did it for the pi5 plus but not sure about the pi5...i'll redo and let you know

just tried on the orange pi 5 1.2 (5 not 5b) again, also had a friend try and the board does not boot...i'll be able to provide debug logs in a few days

commented

I've tried to boot latest master and #14. Before flashing spi (as expected), it didn't work. But after flashing it, everything is great.