I can't connect to my Onion2 by console or ssh terminal by the default password...
Posts made by Giovanni Gentile
-
Omega Onion 2 default password not working
-
RE: I Can't Access Omega2 Consule
@Trina-Bradley Are you connected to the board?
Try by using your browser 192.168.3.1 -
/dev/mem not exist and fast-gpio not work
I upgraded firmware, fast-gpio gives segmentation fault.
Also power-down not work because use fast-gpio.
Please fix firmware and release patch.Thanks
-
Switch Off not work
Can I switch off the board in a good version?
I can put off the power cable, but I want close all the process before.
I can try
power-down -f
but not work. -
Console disappeared
My Onion2 haven't consol. I see only:
Index of /console/../
modified: Tue, 07 Feb 2017 20:35:46 GMT
directory - 0.00 kbytelib/
modified: Tue, 07 Feb 2017 20:35:46 GMT
directory - 0.00 kbyteI want restore factoy firmware.
This not work:firstboot -y
sync
reboot -
RE: Omega2 does not turn off unable to use GPIO
@WereCatf said in Omega2 does not turn off unable to use GPIO:
@Giovanni-Gentile @chris-stratton already told you that the functionality needed by fast-gpio is broken. It doesn't matter if you use it in a script or command-line, it won't work until Onion-devs release a fixed firmware.
When?
-
RE: Omega2 does not turn off unable to use GPIO
@Chris-Stratton said in Omega2 does not turn off unable to use GPIO:
@Giovanni-Gentile said in Omega2 does not turn off unable to use GPIO:
@Chris-Stratton said in Omega2 does not turn off unable to use GPIO:
/sys/class/gpio interface
-ash: /sys/class/gpio: Permission denied
It's a directory of psuedo-files, not an executable.
You can interact with it with tools like
echo
andcat
or from both high and low level languageshttps://www.kernel.org/doc/Documentation/gpio/sysfs.txt
What may be more challenging is the pin mux - my understanding is that is broken too, so you will only be able to use the pins where the bootup state has set them into GPIO mode, vs. some other function.
Indeed, you cannot use fast-gpio as that depends on /dev/mem
And it appears that due to that you also cannot change the pinmux which sets what pins are in GPIO mode vs other modes.
However you can use the /sys/class/gpio interface for those pins that are already in GPIO mode at boot.
It's correct. Now I have used this:
gpioctl dirout-high 11
and
gpioctl dirout-low 11the GPIO 11 is free. led blink.
How can I make a new dev/mem?
-
RE: Omega2 does not turn off unable to use GPIO
@Chris-Stratton
This code:
#!/bin/ashconnected
LED_PIN=6fast-gpio set-output $LED_PIN
while true
dofast-gpio set $LED_PIN 1
sleep 1
fast-gpio set $LED_PIN 0
sleep 1
doneresult:
Segmentation fault
Segmentation fault
Segmentation fault
Segmentation fault -
RE: Omega2 does not turn off unable to use GPIO
@Chris-Stratton said in Omega2 does not turn off unable to use GPIO:
/sys/class/gpio interface
-ash: /sys/class/gpio: Permission denied
-
Omega2 does not turn off unable to use GPIO
If i use the consolle I don't can shutdown the system. If I use Terminal also I can't shutdown.
Also I can't use GPIO pins. In consolle I don't can set pin 1 or 0 or input or output. Also when I use fast-led not work.
I read
Segmentation fault
Also When type in terminal
omega2-ctrl gpiomux get
I read:
I unable to open mmap
Why? -
RE: Documentation is incomplete
@Vlad-Leonov said in Documentation is incomplete:
The syntax at https://docs.onion.io/omega2-docs/using-gpios.html is shown as:
fast-gpio read <gpio pin>
but
fast-gpio read 5
gives the error I stated (technically Segmentation fault) and
fast-gpio 5 read
Doesn't error but gives no response.UP