batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 511 forks source link

Batocera 39 Bootloader Fail OrangePi 3 LTS #11185

Open TKwolf778 opened 6 months ago

TKwolf778 commented 6 months ago

Batocera build version

batocera-h6-orangepi-3-lts-39-20240302 10/03/2024

Your architecture

OrangePi 3 LTS

Your Graphic Processor Unit(s) (GPU)

Mali T720

Issue description

I had Batocera loading with version 38 a few days ago. I've tried to update and tried to download and fresh install Batocera 39 and even tried various sd cards and multiple OrangePi 3 LTS boards and no matter what I try the board refuses to load with Batocera 39.

Detailed reproduction steps

I installed Batocera on sd card using rufus/etcher. Put sd card into OrangePi 3 LTS. Power OrangePi 3 LTS board. Red debug light appears, and board is unable to boot load. No keyboard or display.

Details of any attempts to fix this yourself

No response

Details of any modifications you have made to Batocera.

I've also tried copying the boot files from Batocera 38, can get to the splash screen by doing so, but then it gets stuck on the splash/loading screen. Otherwise as said above, this is happening with a fresh installed image.

Logs and data

No response

rtissera commented 6 months ago

Is your board OrangePi 3 or OrangePi 3 LTS ? They are not the same require different bootloaders. Only OrangePi 3 LTS is supported, while we could add support for orangepi 3 "origina"l easily. Please confirm as another user has same version booting fine on OrangePi 3 LTS (but ethernet/wifi/bt issues) here : 11200

TKwolf778 commented 6 months ago

The board is definitely OrangePi 3 LTS.On 18 Mar 2024 1:43 am, Romain TISSERAND @.***> wrote: Is your board OrangePi 3 or OrangePi 3 LTS ? They are not the same require different bootloaders. Only OrangePi 3 LTS is supported, while we could add support for orangepi 3 "origina"l easily. Please confirm as another user has same version booting fine on OrangePi 3 LTS (but ethernet/wifi/bt issues) here : 11200

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

rtissera commented 6 months ago

@TKwolf778 so you confirm the issue appears booting from SD ? Do you have some eMMC installed ? If so, with that bootloader / OS on it ?

filipeaguiar commented 6 months ago

@rtissera I'm not @TKwolf778, but mine DID came with an eMMC with Android. I've managed to run the v38 before while the support was in Beta. Now I can confirm that the board doesn't boot.

dmanlfc commented 6 months ago

@rtissera can you provide a v40 image with the fix from yesterday?

rtissera commented 6 months ago

sure : https://drive.google.com/drive/u/0/folders/1Ad9hIYTkoUBFFwUD3DpBiEN-JXPDwjV6 Expect no Ethernet, no Wifi, no BT. Work in progress. But it should boot properly on ALL Orange Pi 3 LTS boards.

Le mer. 3 avr. 2024 à 09:27, Daniel Martin @.***> a écrit :

@rtissera https://github.com/rtissera can you provide a v40 image with the fix from yesterday?

— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/11185#issuecomment-2033756641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAW4WBLZUNYZGWU2UIRQGQTY3OVPFAVCNFSM6AAAAABEPVNGMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTG42TMNRUGE . You are receiving this because you were mentioned.Message ID: @.***>

rtissera commented 6 months ago

@filipeaguiar can you test the v40 dev image I provided and report back please ? Would be much appreciated !

TKwolf778 commented 6 months ago

I was going to proceed with the v38 beta that was working for me flawlessly. However, I've managed to find some spare time to revisit and tinker. Thank you everyone for your inputs so far. I'm in a position where I can test with multiple of these boards. Someone purchased 16 orange pi 3 LTS all at the same time and I can confirm that all of them have come with a custom chinese android 9 OS pre-installed on the eMMC as @filipeaguiar confirmed.

After more testing with v39 I was suddenly able to boot with my main test board that I was tinkering with. The only action I remember taking of any significance was doing a factory reset from within the android OS before putting a freshly flashed Batocera v39 SD card in and it has booted successfully ever since. Unfortunately, repeating those steps with another Orange Pi 3 LTS board did not return the same results and I still can not get the second board to boot into Batocera v39.

I have tried formatting the eMMC to wipe all data, then tried booting into Batocera v39 and it was still ineffective. I then tried installing Armbian OS onto the eMMC of that second OPi3LTS, then Batocera v39 sd card in and turning on, but still did not boot. I then tried using Armbian script to "update the bootloader" but this didn't work either.

I will now add an additional note that when successfully booted into Batocera v39, the red light on the OPi3LTS does not turn to green, it stays on. This is the same observable behaviour also for "failed boot", except that there is no image displayed to any monitors I've tried (and I've tried several different ones). A second observation I'll add, while scouring various forums on the internet to help find potential solutions I've come across a few other posts regarding the OPi3LTS boards sometimes being randomly finicky about booting from some sd cards possibly. -(Edit): I've tried 4 new brands of sd cards (5 in total) this does not seem to be related to the issue.

Not sure if this is helpful but just updating everyone as I continue struggling to find a solution.

My next steps may be to try the v40 dev image and try a few different sd cards with the v39 image.

TKwolf778 commented 6 months ago

@filipeaguiar can you test the v40 dev image I provided and report back please ? Would be much appreciated !

Hi @rtissera, the v40 image booted. It hangs for an extended time, about 1-2 full minutes on the splash screen but then proceeds as normal to the animation and then into the OS. It also crashed after about a minute just the first time it was loaded up, but since then seems to be working fine with no crashes - I even tried some of the stock, provided games and had no issues. Went back to v39 and still wouldn't boot from OPi3LTS board number 2, but still does boot from identical board number 1.

filipeaguiar commented 5 months ago

I can confirm that the v40 image works on the board. Despite the red debug light never going away it worked fine (except the already mentioned wifi and bt not working).

Like @TKwolf778 I was able to play the native Batocera games without any issue. Looking foward a fully working version to test with my roms.

lamerjack commented 4 months ago

Waiting for a fully working v40 version... where i can download the v38? Regards. Enrico.

TKwolf778 commented 4 months ago

@lamerjack v38 for orange pi 3 lts https://mirrors.o2switch.fr/batocera/orangepi-3-lts/init/last/

lamerjack commented 2 months ago

Hi all. v39 will be fixed for Orange PI 3 LTS or is better to wait for v40?

filipeaguiar commented 1 month ago

Hi all. v39 will be fixed for Orange PI 3 LTS or is better to wait for v40?

Since v40 is out and Opi 3 LTS isn't between the devices that get it I also want to know.

lbrpdx commented 1 month ago

There is a v40 build available on https://mirrors.o2switch.fr/batocera/orangepi-3-lts/butterfly/last/ Nobody has validated it, so we don't know if it works or not (nobody on the dev team currently has access to this device). If you can test it and let us know, we can release it.

TKwolf778 commented 1 month ago

I've been testing both the butterfly beta and rc builds and they seem solid. Thanks dev team!

lbrpdx commented 1 month ago

@TKwolf778 thanks for the feedback, we’ll get it pushed to the website then.

filipeaguiar commented 1 month ago

There is a v40 build available on https://mirrors.o2switch.fr/batocera/orangepi-3-lts/butterfly/last/ Nobody has validated it, so we don't know if it works or not (nobody on the dev team currently has access to this device). If you can test it and let us know, we can release it.

Yesterday I tested this version. The system boots fine but I can't get wifi neither Bluetooth. There's a "boot" file in this link. Do I have to flash it or copy it somehow?