@francisco-vieira Agree with @crispyoz it does look like the filesystem is corrupted on these units.
A few questions for you:
Do you have any external circuits or signals connected to the Omega's SPI pins?
Do you have any programs running on the device that write to the filesystem on a regular basis?
Could you give us an idea of what kind of environment these devices are operating in?
@luckycometdaft said in Cross Compiling OpenWrt Package:
... I have installed MQTT on board and there is a .so file in Board. Now, how do I cross-compile with this library?
Look through my first post in the manual [Manual] How to make native C/C++ application step by step. There is part of it:
... Second problem in third-party libraries - Omega; opkg manager doesn't install -dev files of libraries and it's will be a problem in your application.
You have to know OpenWRT it's a minimal disk-size system. It have no .h-files to build anything in. I think you compiled your application into the Omega board (direct compilation). In this case you had install GCC build system with common h-files, but you need append your third-party h-file for special .so library.
You have to find this and append manually. You can find your h-file from so-library repository.
But I recommend you compile via SDK. You will need it in future if touch to build native applications.
If you want to interface a lot of devices, you would typically adopt mux/demux technique, with a middle-level "device aggregator".
See this: https://www.instructables.com/id/Tims-PCA9685-Controller
One side (the micro-controller -uC- facing side) is I2C, while the "physical device" facing side is PWM. The micro-controller talks to 9685 (device aggregator), which in turn would talk to the devices connected to its 16 channels.
Note that the above URL has Atmel 8-bit uC/Arduino as the "controlling platform". The point is that, we are making use of the I2C interface which is present in almost any uC .
Further, the data sheet of the 9685 provided in the above link:
https://cdn-shop.adafruit.com/datasheets/PCA9685.pdf says that, "The
PCA9685 operates with a supply voltage range of 2.3 V to 5.5 V and the inputs and outputs are 5.5 V tolerant". So, you can drive it using 3.3v.
Picking the the right hardware to meet a "specific requirement" is an art, that takes time to get anywhere near the mastery. Getting used to the "datasheet" is the basic requirement. Luckily, the Internet has tons of resources providing implementation details of various project.
@crispyoz @Scruffy I'll second that as many, many people have been bitten by the current surge required as the WiFi modem comes on line. Capacitance across and near the power/gnd is a good thing and long wires add series inductance which is a bad thing.
@tjoseph1 This is more of a question for Onion engineers, I'm a software engineer so I can only go by what's in the OS source code. Poweroff does not turn off the power, it simply kills off processes so as to halt the system.
300 baud and then 1200 baud..? So lucky..
Read somewhere, it was the time Kevin Mitnick was doing his research .!
I was dialing into a terminal/access server situated in a data center with 256kbps backbone over G.703 copper. The days of redhat 5 (not RHEL)..
@ab09 We need to know what firmware version you are using.
Make sure you have you updated to the latest firmware version.
Perform a factory reset to you can be sure it is nothing you have done to mess up the configuration.
When booting do you see the Warp Core splash screen?
Some people have had issues connecting to WiFi if they have the device set to US frequencies. In /etc/config/wireless look for this :
config wifi-device 'radio0'
option type 'ralink'
option variant 'mt7628'
option country 'US'
Remove it and reboot.
If that doesn't fix the issue, try fixing the channel instead of option channel 'auto' set it to a valid channel for your region. Channel 11 is usually good but your situation may differ so you can try anything in the range 1 - 11 for 2.4Ghz
Looks like your connection to Community was lost, please wait while we try to reconnect.