Re-Booting Issue with Omega 2+ LTE - Need Assistance
-
Ok. I will buy an eth expansion board and go from there.. I know that this is probably a new thread but is it possible to take an image of the device once I have installed and created my application? So this would include my python installation, MQTT libraries, compiled program etc. So everything on the Omega2+ LTE.
The idea is to be able to quickly flash new units with a 'working' image and not have to go through all the intermediary steps.
Thanks in advance!
-
@Lazar-Demin It looks like the issue is with procd failing to process due to missing json libs, wondering how that would stop the boot into commandline. Can test it right now so I'm interested in your read on this for future players.
-
@crispyoz sorry,but a bit out of my knowledge level
-
@MickB said in Re-Booting Issue with Omega 2+ LTE - Need Assistance:
is it possible to take an image of the device once I have installed and created my application? So this would include my python installation, MQTT libraries, compiled program etc. So everything on the Omega2+ LTE.
The idea is to be able to quickly flash new units with a 'working' image and not have to go through all the intermediary steps.Yep, it's possible to "clone" the firmware + setup on one device and flash new units with it. It has some drawbacks but it's a good solution for small volumes. More info here: https://community.onion.io/topic/4563/faq-is-it-possible-to-clone-the-firmware-running-on-an-omega2-device-and-copy-it-to-other-omega2-units
The other option is to build your own version of the firmware. Right now that's a little more difficult, but we're working on streamlining that
@crispyoz said in Re-Booting Issue with Omega 2+ LTE - Need Assistance:
It looks like the issue is with procd failing to process due to missing json libs, wondering how that would stop the boot into commandline. Can test it right now so I'm interested in your read on this for future players.
proc.d is actually responsible for setting up
/dev/console
to be stdin/out/err (source). If it can't start then it'll never be able to setup the command line.As to what's causing it not to start: I'm guessing one or more of the partitions on the flash got partially overwritten or perhaps corrupted. Just based on the problem description in the first post.
So it's possible the
libjson-c.so
shared library object isn't available anymore. Making proc.d crash since it relies on this shared library.Just my take tho, does it sound plausible?
-
@Lazar-Demin I had a read through the cloning info... I have a question regarding the use of USB devices on the Omega 2+ LTE. The device has one USB port which is used mainly for power or serial connectivity with a PC etc. How can I attach a USB drive to the Omega?
-
@MickB You would have to use a microSD card instead of a usb drive on the Omega2 LTE
The process is the same, just the mount point of the microSD card will be named differently. See https://docs.onion.io/omega2-docs/using-a-microsd-card.html#storage-devices-and-linux
-
@Lazar-Demin I am trying to use the ethernet web recovery option. I do not understand the instructions in the documentation. I am confused about the sequence of plugging the ethernet cable into my PC and then creating the IPV4 point. I note that the cable should not be plugged into the Omega 2+LTE initially, but if this is the case then how do i Create a new local access point for the device? Please excuse the ignorance as I am not well versed with configuring the LAN details.
This is my boot sequence which seems to indicate that the device found and initialized the eth adaptor??
Just curious why there is not 'Undefined Network' showing ????
-
All solved... No need for assistance... thanks
-
@MickB Could you post the solution for your issue? Just to help future users who may encounter the same thing
-
@Lazar-Demin I followed your instructions using an ETH cable and then used option [0] : Web recovery mode
-
I am having the same problem but the web portal isn't accepting the firmware. For reference the logs are the same but when I upload the firmware in the web portal it says: Loading: ### Error: couldn't find start of data in next packet!
-
@thomas166 which binary are you using? Did you try downloading it again and re-trying?
-
@MickB I tried several different versions. For the omega2lte I tried version omega2lte-v0.3.3-b251.bin, omega2lte-v0.3.4-b257.bin. I even tried the one in the web recovery article for the omega2: omega2-v0.3.2-b235.bin. And yes, I redownloaded several times. I was using this url for the binaries btw: http://repo.onioniot.com/omega2/images/
I also tried uploading a new uboot binary and they all give that same error for some reason. I choose the file, hit upload and the console just prints: Loading: ### Error: couldn't find start of data in next packet!.
Not sure why it's doing this but now I have 3 omega2lte devices that are bricked.
-
@MickB please post the boot log for the device(s) that are "bricked"
-
@crispyoz I do not have any devices that are bricked
-
just a PSA for future users encountering similar issues: @thomas166 found a solution to his issue - see this post