@crispyoz thank you sir.
Best posts made by Nagarjuna Reddy
Latest posts made by Nagarjuna Reddy
set password for onion omega serial port
I am using onion omega2S development board. I was connected USB from board USB to Laptop. I opened putty and i gave COM port address and baud rate. After it has login without asking a password. Can we set up a password to log in?
Note: password is asking when i was connected to login through Wifi.
RE: static ethernet
sir, i have connected ethernet cable directly from my PC to onion. for that, i have given static IP address in onion
config interface 'wan'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.60'
option netmask '255.255.255.0'
and meantime i am running PPP connection(GSM Modem) using chat comgt. the problem is when i have added python and shell scripts are in /rc.local files are not running in the background and same time reboot function also not working. what could be the issue.?
RE: static ethernet
I have enabled PPP communication connecting to GSM modem using chat comgt (hologram) and meantime i have to ping office host IP address. yes, I was able to pinging after added static IP in /etc/config/network file. I want to run some python scripts after boot for that i have added scripts in /rc.local. After reboot scripts are not running and same time reboot command also not working. So what could be the issue?
start-stop-deamon -b -S -x python /root/hello.py // i have given this way in rc.local
RE: SPI-flash memory
one of onion omega developer(Lazar Demin) said below reasons
Since SPI flash cannot be easily connected and disconnected like USB storage or SD cards, the Linux kernel does not support automatic detection of SPI flash devices or partitions on the devices.
Instead, the SPI flash must be defined in the Kernel Device Tree.
See how the Omega's internal flash device and partitions are defined in the device tree specification (DTS) here: https://github.com/OnionIoT/source/blob/openwrt-18.06/target/linux/ramips/dts/OMEGA2.dtsi#L103
To support an external flash, you'll need to:
- Add the SPI flash & it's partitions to the DTS
- build a new firmware with the modified DTS.
I have verified it clearly. but I am worrying about onion guys are saying(Onion Corporation is not responsible for any damage to your device caused by using custom firmware or packages not built and released by Onion Corporation).
can you please help me sir how to add SPI code in custom firmware for detection of external SPI bus device.