@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.
@György-Farkas said in emmc 8GB disabled:
Is it possible to install any packages with opkg to an eMMC external storage (without pivot overlay, extroot, Omega2 Pro FW of course)?
It is possible, but looks like it might take some additional work: https://openwrt.org/docs/guide-user/additional-software/opkg#non-standard_installation_destinations
@Ian-Smith The MAX31855 breakout board has/is "3.3 to 5v power supply and logic level compliant!" writes Adafruit.
According to the schematic this is correct - there are a 5V-to-3.3V LDO (IC2) and two 5V-to-3.3V level shifters for the input pins of MA31855 (D1, R1 for SCK and D2, R2 for /CS).
Omega2's boot problem is caused by the R1, R2 pull up resistors because the SPI SCK and CS1 pins must be floating at boot time.
connect this board to "normal" GPIOs and run some software SPI program
use any cheap boards which are don't have level shifters for the input pins (ie. not 5V tolerant board)
remove/desolder R1, R2 and use 0 Ohm or a piece of wire instead of D1, D2
I'm sure the above suggestions are correct although I don't have such Adafruit board.
@Lars-Wassini ds.onion.io is used by device-client that was used to integrate with the old onion cloud service. Since the onion cloud is no longer available you can remove device-client app.
opkg remove device-client
If you upgrade to the latest firmware this is no longer included anyway
So from what I can find it looks like the best way to do this is to set the disabled option property on the network interface.
To switch to Cellular execute commands:
uci set network.hologram.disabled=0
uci set wireless.radio0.disabled=1
To switch to WiFi execute commands:
uci set network.hologram.disabled=1
uci set wireless.radio0.disabled=0
If there is a better way of doing this please let me know.
@Nagarjuna-Reddy tmpfs is a temporary filesystem running on the RAM. So that won't help in this case.
Like we mention in the FAQ: Use the Omega2+/2S+ during development for the most flexibility. If and when you start thinking about production, you'll have a better idea of your storage and memory requirements, and can choose between the 2 and 2+ variants.
Btw, this topic looks like a duplicate to https://community.onion.io/topic/4058/onion-omega2s-memory-issue/
Please keep the discussion of a single topic in one thread - otherwise the forum will get bloated with duplicate threads.