@Moonshiner Yes, it's not in the DTS
If you want to make the change when the device boots, you can use omega2-ctrl to change the pin multiplexing. See the ephy group here http://docs.onion.io/omega2-docs/using-gpios.html#using-gpios-multiplexing
However, if you're using a more recent version of the bootloader, GPIO43 should be set to act as a GPIO by default. Learn more about checking your bootloader version, the bootloader changelog, and updating it here: http://docs.onion.io/omega2-docs/Web-Recovery-flash-bootloader.html
Sorry, I have been away for a few days.
You did not answer about the input 0.47uF. Do you have it?
When you measure the 3.1V output, what is the input from the 3.7V cell?
If the drop across the LM3940 is 0.6V then that is out of spec.
I have over 10 LM3940s in operation (some SMD, some TO220). None of them behaves like that.
I can only guess yours is unstable (long wires or no 0.47uF) or the 3.7V is no longer 3.7V with the Omega2 connected or (very unlikely) the LM3940 is out of spec. I assume you are using a "real" LM3940 (ie reputable brand and not a counterfeit one). However, I doubt it would be a fake one because I cannot imagine there would be any money in making a fake version of such a cheap item.
@victoriano Serial ports of Omega2S+ on Omega2 DASH
Unfortunately I don't have such device so according to the schematic:
UART0 (/dev/ttyS0) - Serial Console (via an on-board CP2104 USB-to-Serial chip - Micro USB port)
TXD0 GPIO12 - CP2104 RXD0
RXD0 GPIO13 - CP2104 TXD0
TXD1 GPIO45 - Expansion Header GPIO45
RXD1 GPIO46 - Expansion Header GPIO46
TXD2 GPIO20 - not exposed
RXD2 GPIO21 - drives LEDA via the Q3 PNP inverter
You could connect a USB-to-Serial converter/cable to the USB Host Port to get one more serial line.
@Modest-Polykarpovich I tried but the device did not appear in /dev/
echo rtc_m41t80 0x68 > /sys/class/i2c-dev/i2c-0/device/new_device
[ 152.302693] i2c i2c-0: new_device: Instantiated device rtc_m41t80 at 0x68
root@Omega-61B6:/# lsmod | grep 41t8
rtc_m41t80 8704 0
root@Omega-61B6:/# i2cdump -y -f -r 0-6 0 0x68 c
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 ff ff 7f 07 3f 1f ...????
@Marko-Lukat said in How can I pass one GPIO pin to an other?:
Pin 16 and 17 (UART2) is connected AT_RX and AT_TX respectively. The UART2 doesn't work by the way.
Let's take a step back. Just short pin 16/17 (jumper wire), start a terminal of your choice on /dev/ttyS2 (on the Omega), disable local echo and start typing. Do you see any response (i.e. remote echo)?
root@Omega-5BE1:~# picocom -b 9600 /dev/ttyS2
port is : /dev/ttyS2
flowcontrol : none
baudrate is : 9600
parity is : none
databits are : 8
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv
imap is :
omap is :
emap is : crcrlf,delbs,
Yes, when I short GPIO16 and GPIO17 (UART2) with a jumper wire then I can see what I type... :-)
@CAP-33 uhttpd is installed in the standard Omega firmware build and you can add php7 support. Take a look at this link:
I find nginx performs a lot better than uhttpd, you can see the installation details here:
@ckielstra Since there is no other suggestions I have 2 thing you could look at.
/etc/config/fstab allows you to set up mount points with the various configs. I use one for the sdcard on my devices to set up the mount point and the file system type. The docs refer to an additional "options" option which can be used to set mount options. I expect this includes the ro option but I have not tried it.
The USB hotplug script is executed when you insert a USB device, you could add your own script to remount in read only mode. This is a hack you could use in the absence of a better solution.