Product Being Used
Device: Onion Omega2 APSoC DRAM: 128 MB
Carrier Board: Onion Omega2+
Firmware Version
Firmware:
UBoot Version: Unable to retrieve as the device gets stuck during boot.
Below details got from the same device while it is in working mode (in detailed log named as Onion_Omega_2+_Normal_Working_log.txt)
Image Name: MIPS OpenWrt Linux-4.14.81
Linux version 4.14.81 (root@c34dd7d43957) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0+7498-730f2344ba)) #0 Fri Nov 25 04:10:54 2022
Description of the Issue and Context
The issue occurs after running custom scripts (main_app.py with main program and check_system_status.sh for auto reboot) through /etc/rc.local.
The device gets stuck in bootloader mode after running for 8–9 days with the following conditions:
An orange LED remains constantly ON.
The device hostname is not available, and the usual Onion Omega2 UBoot Version log does not appear during boot.
Internet connection was working previously, but the device is currently not connected to the internet.
Resetting for 10–15 seconds only resets the device momentarily, with the orange LED returning to a steady ON state.
Log after reset
/ __ ___ ()__ ___ / __ _ _ ___ ___ ____ _
/ // / _ / / _ / _ \ / // / ' / -) _ / _ /
///////// /////, /,/
W H A T W I L L Y O U I N V E N T ? /__/"
Board: Onion Omega2 APSoC DRAM: 128 MB
relocate_code Pointer at: 87f60000
21-11-2024 14:32:08.90 [RX] - flash manufacture id: c2, device id 20 19
find flash: MX25L25635E
*** Warning - bad CRC, using default environment
Expected Behavior
The device should boot normally, display the hostname, and show the Onion Omega2 UBoot Version during startup.
and other logs as mentioned in the attached file Onion_Omega2+_NotWorking.txt.
Observed Behavior
The device fails to boot correctly, getting stuck in bootloader mode with a steady orange LED and no hostname availability.
Only a partial boot log is available after resetting.
Steps to Reproduce the Issue
Configure the device to execute main_app.py and check_system_status.sh via /etc/rc.local.
Let the device run for maximum 8–9 days while performing normal operations.
Reboot the device.
Observe the device failing to boot properly and entering bootloader mode with a constant orange LED.
What's Been Attempted to Resolve the Issue (But not working)
Reset the device for 10–15 seconds.
Result: The orange LED remains steady, and the boot fails as before.
Verified the /etc/rc.local configuration for any errors.
Attempted to re-establish an internet connection without success.
Help Looking For?
Steps to recover the device from its current stucked bootmode state.
Assistance in diagnosing the issue with the bootloader or firmware.
Guidance to prevent this issue in the future.
#############################################
Normal Working Log (Before Failure)
[0_1732531326774_Onion_Omega2+_Normal_Working_log.txt](Uploading 100%)
Not Working Log (after Failure)
[0_1732531366575_Onion_Omega2+_NotWorking.txt](Uploading 100%)
Also attaching log images of working and not working device below
I am unable to access the bootloader command line on the "stuck" device. After a reset, I can only retrieve the log from the port, as mentioned below.
I followed the steps to activate Web Recovery Mode, but the U-Boot version is not displayed. After resetting for 10-15 seconds and repeatedly pressing the Enter/Space bar keys to exit boot mode, I still see the same log as shown in the previously mentioned image ("################## ONION OMEGA2+ ISSUE - Not Working Device") and do not see the menu option.
/ __ ___ ()__ ___ / __ _ _ ___ ___ ____ _
/ // / _ / / _ / _ \ / // / ' / -) _ / _ /
///////// /////, /,/
W H A T W I L L Y O U I N V E N T ? /__/"
Board: Onion Omega2 APSoC DRAM: 128 MB
relocate_code Pointer at: 87f60000
flash manufacture id: c2, device id 20 19
find flash: MX25L25635E
*** Warning - bad CRC, using default environment
Could you please guide me on how to recover the "stuck" device?