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.
I have followed the instructions. Unfortunately, my attempts were unsuccessful. I do have an expansion dock.
Factory reset with dock button didn't work. I pressed the button for 10 seconds but nothing happened. I think the onboard LED supposed to flash after 10 seconds but it didn't happen.
The device is not recognized. I have connected the Omega to my MacBook after installing the driver but it doesn't show up in the connected USB devices. I have tried the same steps on an another Mac but device doesn't show up as well. I don't have a Windows machine.
Is there any other option?
I'm also having this issue, I tried uncommenting (some and all) of the lines from distfeeds.conf but now I get an error when running opkg update :
opkg_download: Failed to download http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/onion/Packages.gz, wget returned 8.
I checked http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc (parent of the offending feed, and noticed there is no onion directory (I looked at mirrors and the folder isn't there either). So I proceeded to comment out that particular feed and tried to install gcc, resulting in:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for gcc:
* libstdcpp6 *
I also tried with the lede repositories (feeds) suggested by the documentation (https://docs.onion.io/omega2-docs/c-compiler-on-omega.html, which seem to point back to openwrt snapshots), but that had the same result.
I'm running out of ideas, is there another way to get the dependency, I looked around and I found it here: https://downloads.openwrt.org/snapshots/targets/ar71xx/generic/packages/Packages, but it seems to be for the wrong architecture (and mips is not listed under targets a few dirs up).
@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.
Thanks for the reply, both of you. My apologies for not mentioning my firmware version. I managed to download cksum on its own from here : https://downloads.openwrt.org/releases/17.01.7/packages/mipsel_24kc/packages/
Package name is coreutils-cksum_8.23-3_mipsel_24kc.ipk. Installed it via opkg.
Looks like your connection to Community was lost, please wait while we try to reconnect.