[SOLVED] Kernel corrupted after factory reset
-
With ethernet expansion try:
https://docs.onion.io/omega2-docs/Firmware-Flashing-Web-Recovery.htmlbetter keep out anything except what is in description
-
@Marc-André-Fleischmann well, I don't have ethernet extension, because there was no need purchasing that one, thought.
-
Then you should use the USB option. And you can only use an USB storage. There is no option to use the microSD card.
-
@Marc-André-Fleischmann Hopefully, you were wrong. If you have Omega 2+ that has microSD card slot you can restore the firmware, just substitute "USD device" onto "microSD card". Going to write up an article.
-
The problem was solved. The device can be restored from a microSD card, see description: https://community.onion.io/topic/3019/how-to-fix-device-firmware-with-a-microsd-card
-
@Denys-Makogon said in [SOLVED] Kernel corrupted after factory reset:
The problem was solved. The device can be restored from a microSD card, see description: https://community.onion.io/topic/3019/how-to-fix-device-firmware-with-a-microsd-card
Sorry I'm afraid you are mistaken.
Your How to fix device firmware with a microSD card description seems to be wrong.
I think Omega2(+) can not be restored from a microSD card with @Colt-Burns's method.
Omega 2+ USB Firmware Install after Brick.Apologies if I misunderstood something.
Please let us know how did you mount the microSD card on UBoot.
Please let us know how did you write the image to the Flash from that microSD card.
A full (step by step log of your procedure would be nice.
Thank you in advance..
-
@György-Farkas Okay. I did the following steps:
Please let us know how did you write the image to the Flash from that microSD card.
- Took my microSD card and formatted, in FAT.
- Downloaded an image from an Onion Omega official firmware repository.
- Renamed a file to
omega2.bin
- Moved
omega2.bin
to the microSD card. - Mounted (physically) a card to its slot.
- Turned on Omega 2+ chip with pressed restore button.
- Picked restore from USB storage device.
- Voila, the device was updated and functions correctly.
Please let us know how did you mount the microSD card on UBoot
I didn't do that on my own. Just followed the steps I mentioned above.
-
Probably you did not watch the UBoot messages after step #7
Option [2] selected.
System Load Linux then write to Flash via USB Storage.
Looking for a USB Storage.
If suitable image is found on USB Storage writing to Flash will be attempted.
U-Boot will look for a FAT file system.
(Re)start USB...
LOW LEVEL INIT USB0:
Scanning bus 0 for devices...
...
USB_STORAGE: 0 Storage Device(s) found
No USB Storage found. No F/W upgrade from USB Storage will be attempted.After this your Omega2+ performed a normal boot.
I think your kernel was not corrupted or you were able to fix it fully accidentally...
-
@György-Farkas kernel was corrupted for sure, that's something I can tell you with honesty. The device was literally dead, only after inserting a microSD card with a new firmware my device was able to update itself and become functional.
-
You wrote:
Omega2+, probably 0.1.10 b160... [ 28.551976] device eth0.1 entered promiscuous mode [ 28.556855] device eth0 entered promiscuous mode [ 28.588837] br-wlan: port 1(eth0.1) entered forwarding state [ 28.594681] br-wlan: port 1(eth0.1) entered forwarding state [ 30.588807] br-wlan: port 1(eth0.1) entered forwarding state [ 32.028929] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8701d944 [ 32.028929] [ 32.042988] Rebooting in 3 seconds..
I wrote in Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ... and a possible reason on 2017-02-05:
Omega2+, 0.1.9 b150 (from 0.1.5 b130 to 0.1.9 b150 several FirmWares), without dock / with Arduino Dock 2... [ 20.900878] device eth0.1 entered promiscuous mode [ 20.905758] device eth0 entered promiscuous mode [ 20.940478] br-wlan: port 1(eth0.1) entered forwarding state [ 20.946310] br-wlan: port 1(eth0.1) entered forwarding state [ 22.939289] br-wlan: port 1(eth0.1) entered forwarding state [ 24.809528] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 8701d944 [ 24.809528] [ 24.823293] Rebooting in 3 seconds..
This Kernel panic is a known bug of the closed source MediaTek WiFi driver. Now we know it can not manage if there is a WiFi AP in the neighborhood with some Unicode character in its SSID.
Onion @administrators deeply kept silent about this bug.It seems Onion's new WARP CORE driver (also closed source ???) can manage this situation.
Unfortunately Onion @administrators do not say too much about thisbugfeature (as usual ;-).Since you did not mount the microSD card it is absolutely invisible for the bootloader (Das U-Boot).
@Denys-Makogon said in [SOLVED] Kernel corrupted after factory reset:
@György-Farkas kernel was corrupted for sure, that's something I can tell you with honesty. The device was literally dead, only after inserting a microSD card with a new firmware my device was able to update itself and become functional.
Well... no one but you should know if this correct (or not