The preceding text is a derivative work of the "FAQ" and "Terms of Service" by Discourse, which is licensed GPLv2. This text therefore is also licensed under the terms of the GNU Public License, version 2.
@Jesuso @WickedCreations I can't help but wonder why you would be trying to compile on the Omega, why do you not use the cross compiler?
IoT devices are very low on resources and you will spend so much time and frustration waiting for things to compile and some code may not compile due to the required resources. Instead if you cross compile you can use your favorite IDE and simply scp/ftp the binary to your device.
@Adam-Jimerson OpenWrt uses procd and the source code provides no mechanism for setting a workinf directory. I've used 2 methods to achieve a default directory.
Use a script as your init.d command, in that script change to the required working directory before executing the actual binary.
These days I added code to my daemon to set a working directory via uci configuration or command line parameter.
I prefer option 2 but it takes more work.
Thank you, crispyoz, and gyorgy farkas, I had verified the wifi was working and also serial communications. The problem was ytring to update firmware or install console, always errored out or just sat there with progress indicator circling regardless of time spent, without any download of software or installing happening. With your help and hints, I succeeded in updating oupgrade, and then updating firmware, and installing console. The problem was in the oupgrade file origionally installed. Again thanks, everything working as it should now.
@crispyoz I was already at a point of unable to duplicate. Turns out I did some of the same actions you did, so between us I think we've figured this out to the extent it needs to be figured out. Have a great day!
@unique1984 said in DS 1307 RTC Simple Bash Client:
echo -e "<date> Show the date [YYYYMMDDHHMMSS] from RTC"
can you help me it's not working for me?
I got the output is
i am using isl12026 datasheet
instead of your address value place i used 0x20 is this currect?
REGCONTROL=$(i2cget -y 0 0x20 0x07)
YEAR=$(i2cget -y 0 0x20 0x06)
MONTH=$(i2cget -y 0 0x20 0x05)
DATE=$(i2cget -y 0 0x20 0x04)
DAYOFWEEK=$(i2cget -y 0 0x20 0x03) # day of week 1-7 monday-sunday
HOUR=$(i2cget -y 0 0x20 0x02)
MINUTE=$(i2cget -y 0 0x20 0x01)
SECOND=$(i2cget -y 0 0x20 0x00)
i got the below output. can u please help me solve this problem.
Official Onion Omega2 Documentation Updating the Bootloader
I'm afraiid - using this method - you can flash (update/restore) Omega2's UBoot with a well working UBoot.
Is the internal flash accessible over the SPI pins?
You have an Omega2S+ module on a Development Board where the SPI pins of the modul's on-board flash are exposed to MOSI, MISO, CLK, CS0.
So - in this case - the answer is (most probably) YES.