batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.03k stars 522 forks source link

Black screen on RK3399 FriendlyELEC NanoPI M4V2 #9976

Open ValdikSS opened 1 year ago

ValdikSS commented 1 year ago

The image for RK3399 FriendlyELEC NanoPI M4V2 seem to be broken. There's no video output on the screen.

First of all, for some reason this image boots whatever is present on EMMC if it's written to MicroSD card, requiring to remove EMMC from the board (it's pluggable). If EMMC is not removed and MicroSD with Batocera is plugged in, Android system present on EMMC is booted. This seems like a u-boot misconfiguration, all of other OS tested successfully boot from MicroSD without requiring to remove EMMC.

Second, if EMMC is removed, Batocera seems to be booting but is unable to output anything via HDMI. It seems that the OS hangs during boot, usually on INIT: Entering runlevel: 3 message.

I've tried different MicroSD cards and both high-quality 5V power over USB-C and 12V over M4-PSU.

The image I'm trying to boot: 1b78aeef25fc88043853a2a21888c5c2e40f4460 batocera-rk3399-rockpro64-37-20230618.img.gz

UART Log: batocera_nanopi_m4v2_no_boot.txt

dmanlfc commented 1 year ago

can you try v38 ? https://mirrors.o2switch.fr/batocera/rockpro64/butterfly/last/batocera-rk3399-rockpro64-38-20230922.img.gz

ValdikSS commented 1 year ago

can you try v38 ? https://mirrors.o2switch.fr/batocera/rockpro64/butterfly/last/batocera-rk3399-rockpro64-38-20230922.img.gz

Boots from EMMC. Without EMMC, I can see partition resizing dialog (ncurses pseudo-graphical program), then reboot, then black screen again. In other words, no changes.

dmanlfc commented 1 year ago

@rtissera can you test rk3399? i don't have a board. this is the second rk3399 report, the other is the opi4.

retro98boy commented 1 year ago

The image for RK3399 FriendlyELEC NanoPI M4V2 seem to be broken. There's no video output on the screen.

First of all, for some reason this image boots whatever is present on EMMC if it's written to MicroSD card, requiring to remove EMMC from the board (it's pluggable). If EMMC is not removed and MicroSD with Batocera is plugged in, Android system present on EMMC is booted. This seems like a u-boot misconfiguration, all of other OS tested successfully boot from MicroSD without requiring to remove EMMC.

Second, if EMMC is removed, Batocera seems to be booting but is unable to output anything via HDMI. It seems that the OS hangs during boot, usually on INIT: Entering runlevel: 3 message.

I've tried different MicroSD cards and both high-quality 5V power over USB-C and 12V over M4-PSU.

The image I'm trying to boot: 1b78aeef25fc88043853a2a21888c5c2e40f4460 batocera-rk3399-rockpro64-37-20230618.img.gz

UART Log: batocera_nanopi_m4v2_no_boot.txt

The image for RK3399 FriendlyELEC NanoPI M4V2 seem to be broken. There's no video output on the screen.

First of all, for some reason this image boots whatever is present on EMMC if it's written to MicroSD card, requiring to remove EMMC from the board (it's pluggable). If EMMC is not removed and MicroSD with Batocera is plugged in, Android system present on EMMC is booted. This seems like a u-boot misconfiguration, all of other OS tested successfully boot from MicroSD without requiring to remove EMMC.

Second, if EMMC is removed, Batocera seems to be booting but is unable to output anything via HDMI. It seems that the OS hangs during boot, usually on INIT: Entering runlevel: 3 message.

I've tried different MicroSD cards and both high-quality 5V power over USB-C and 12V over M4-PSU.

The image I'm trying to boot: 1b78aeef25fc88043853a2a21888c5c2e40f4460 batocera-rk3399-rockpro64-37-20230618.img.gz

UART Log: batocera_nanopi_m4v2_no_boot.txt

Plug in the keyboard and try powering it on again

See this issues

The image for RK3399 FriendlyELEC NanoPI M4V2 seem to be broken. There's no video output on the screen.

First of all, for some reason this image boots whatever is present on EMMC if it's written to MicroSD card, requiring to remove EMMC from the board (it's pluggable). If EMMC is not removed and MicroSD with Batocera is plugged in, Android system present on EMMC is booted. This seems like a u-boot misconfiguration, all of other OS tested successfully boot from MicroSD without requiring to remove EMMC.

Second, if EMMC is removed, Batocera seems to be booting but is unable to output anything via HDMI. It seems that the OS hangs during boot, usually on INIT: Entering runlevel: 3 message.

I've tried different MicroSD cards and both high-quality 5V power over USB-C and 12V over M4-PSU.

The image I'm trying to boot: 1b78aeef25fc88043853a2a21888c5c2e40f4460 batocera-rk3399-rockpro64-37-20230618.img.gz

UART Log: batocera_nanopi_m4v2_no_boot.txt

Can you try plugging in the keyboard and powering it on again?

See this issues

https://github.com/batocera-linux/batocera.linux/issues/10098#issue-1931767423

ValdikSS commented 1 year ago

@retro98boy, no, unfortunately plugging the keyboard in did not change anything.

retro98boy commented 1 year ago

no, unfortunately plugging the keyboard in did not change anything.

After plugging in the keyboard and powering on, wait for a while, then plug and unplug the HDMI?

ValdikSS commented 1 year ago

After plugging in the keyboard and powering on, wait for a while, then plug and unplug the HDMI?

Did not help. There IS an HDMI-signal (the monitor powers on), but it's black. Replugging HDMI cable resulted in the same situation.

Switching TTYs with alt+ctrl+f[123456] does not change anything (even after alt+sysrq+r), nothing on the screen. Numlock indicator responds to numlock button press, so the board does not hang.

Maxpako commented 1 year ago

I also have an rk3399 (but it's a RockPro64), and the same happens to me, black screen and I do have audio, but no video. To solve it I just reconnect the HDMI and then batocera reloads the frontend automatically.

Since it's similar, try to remove the emmc, sometimes the board tries to use the u-boot from the EMMC to boot the SD. I do have to disable the EMMC to boot from SD, otherwise u-boot from the OS in the EMMC messes up things.

Tonymac32 commented 1 year ago

I just want to make sure I'm not off base here, but the download links for the M4V2 points at the rockpro64 image. Unless some downright sorcery is in play here that shouldn't work, they have very different device trees.

Extra info: Rock4 images boot but I'm getting a black screen and the menu audio. Rockpro64 image doesn't boot on the rockpro64 2.0 or the M4V2

Maxpako commented 1 year ago

I just want to make sure I'm not off base here, but the download links for the M4V2 points at the rockpro64 image. Unless some downright sorcery is in play here that shouldn't work, they have very different device trees.

Extra info: Rock4 images boot but I'm getting a black screen and the menu audio. Rockpro64 image doesn't boot on the rockpro64 2.0 or the M4V2

Same as me, audio but no video. Try to disconnect and reconnect the hdmi while hearing the audio, that should reload batocera frontend and bring video till next boot.

Maxpako commented 11 months ago

@ValdikSS did you try the workaround from https://github.com/batocera-linux/batocera.linux/issues/10451?

ValdikSS commented 11 months ago

Contrary to everyone here, I don't have the audio either. Yes, I tried to unplug the HDMI and plug it again.