Jump to content

Search the Community

Showing results for tags 'orangepizeroplus2-h3'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Product Groups

  • Misc
  • Support

Categories

  • Armbian
  • Armbian releases

Categories

  • Volunteering opportunities

Calendars

  • Community Calendar

Categories

  • Members

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. I need 3 USB ports (webcam, wifi 5G, 3d printer). On Zero Plus 2 H3/H5 micro usb port is occupied by usb charger, because none of my devices can play as power source. So, only 2 usb ports left, not enougth. Is it possible to make micro usb useable somehow? For example, via custom usb cable etc. I need micro-usb male / micro usb male cable (OPI <-> 3d printer board) + supply power somehow. PS. i don't like to add external usb hub.
  2. I have seen this old thread but since last post was long time ago and it was shell based I decided to go with new one ... I have the udev setup (you can see some old versions inside commented out too) root@orangepizeroplus2:~# cat /etc/udev/rules.d/60-python-pifacecommon.rules #KERNEL=="spidev*", GROUP="gpio", MODE="0660" #SUBSYSTEM=="gpio*", ACTION=="add|change", RUN+="/usr/bin/find /sys/class/gpio -exec /bin/chmod g+u {} + -exec /bin/chown :gpio {} +" #KERNEL=="gpio*", GROUP="gpio", MODE="0660" #SUBSYSTEM=="gpio*", ACTION=="add|change", RUN+="/usr/bin/find /sys/class/gpio -exec /bin/chmod g+u {} + -exec /bin/chown :gpio {} +" KERNEL=="spidev*", GROUP="gpio", MODE="0660" KERNEL=="gpio*", MODE:="0660", GROUP:="gpio" SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ chown -R root:gpio /sys/class/gpio ; \ chmod -R 777 /sys/class/gpio ;\ chown -R root:gpio /sys/devices/virtual/gpio ;\ chmod -R 777 /sys/devices/virtual/gpio; \ chown -R root:gpio /sys/devices/platform/soc/*.gpio/gpio ;\ chmod -R 777 /sys/devices/platform/soc/*.gpio/gpio; \ chmod -R 777 /sys/class/gpio/gpio1/* ;\ chgrp gpio /sys/class/gpio/gpio1/* ;\ chgrp -R gpio /sys/devices/platform/sunxi-pinctrl/gpio ;\ chmod -R ug+rw /sys/devices/platform/sunxi-pinctrl/gpio ' " #SUBSYSTEM=="gpio", PROGRAM="/bin/sh -c '/bin/chown -R root:gpio /sys/devices/soc.0/*pinctrl/gpio'" #SUBSYSTEM=="gpio", PROGRAM="/bin/sh -c '/bin/chmod -R ug+rw /sys/devices/soc.0/*pinctrl/gpio'" root@orangepizeroplus2:~# and when I do it step by step from shell I kinda get it working but a simple GPIO.setmode(GPIO.BOARD) GPIO.setup(self.pin, GPIO.IN) fails .. depending on the number of restarts it fails on /sys/class/gpio/gpio1/direction or in one other file there .. python user is in gpio group, all files are 777... IOError: [Errno 13] Permission denied: '/sys/class/gpio/gpio1/direction' root@orangepizeroplus2:~# ls -la /sys/class/gpio/gpio1/direction -rwxrwxrwx 1 root gpio 4096 Sep 21 07:52 /sys/class/gpio/gpio1/direction looks like some race, OPi:GPIO is trying to access them faster then udev is chowning and chmoding files... I'm banging my head for days no more ideas system is: Welcome to ARMBIAN 5.32 user-built Debian GNU/Linux 8 (jessie) 3.4.113-sun8i root@orangepizeroplus2:~# uname -a Linux orangepizeroplus2 3.4.113-sun8i #4 SMP PREEMPT Thu Sep 21 03:24:39 CEST 2017 armv7l GNU/Linux I can change the system to any other one (other kernel, other whatever..) if that will help, I was going with the older kernel hoping this will solve the problem, having identical problem with Welcome to ARMBIAN 5.27 stable Debian GNU/Linux 8 (jessie) 4.10.11-sun8i root@orangepione:~# uname -a Linux orangepione 4.10.11-sun8i #2 SMP Tue Apr 18 17:55:20 CEST 2017 armv7l GNU/Linux so, if anyone have any idea what to try I'd really appreciate some help
  3. Hey guys, I would like to interface a small RGB24 LCD on the H3 GPIO, similar to this on raspberry pi : https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/README.md http://blog.reasonablycorrect.com/raw-dpi-raspberry-pi Is this feature already present on armbian device tree overlay? If no, how would one make it? Could someone help drawing the big picture so I know where to start? After having a look at this section : https://docs.armbian.com/Hardware_Allwinner_overlays/ I understand that it would require writing a dt overlay (.dts file) to attribute the different functions to the GPIOs. But then how to write the functions? I am quite familiar with the LCD datasheet and RGB pins function, the part that is still mistery for me is the driver writing: what file format? what programming language? where to drop the file? Thanks! Pierre
  4. The documentation on the Orange Pi Zero Plus 2 is somewhat scarce. I couldn't find information on the GPIO map for the 26-pin header anywhere, but I manually mapped it. I did this with an LED on each successive pin and testing through the /sys/class/gpio driver until I found the one to control it. This caused a bunch of resets and eventually corrupted my sd card, but I got the info Each of the numbers below is the GPIO number used for /sys/class/gpio. For example, 110 means gpio110. The list is by pin number from 1 to 26. A value of -1 means unavailable (as far as I could discover): -1, -1, 12, -1 (pin 1,2,3,4) 11,-1,6,0 (pin 5,6,7,8) -1,1,352,107 (pin 9,10,11,12) 353,-1,3,19 (pin 13,14,15,16) -1,18,-1,-1 (pin 17,18,19,20) -1,2,14,13 (pin 21,22,23,24) -1,110 (pin 25, 26) I've added this table to my SPI_LCD project to make it easier to use for generic GPIO access without having know the details of working with the sysfs kernel driver: https://github.com/bitbank2/SPI_LCD P.S. The red LED on the board is mapped to GPIO17
  5. Hi, I am new to Orange Pi, Armbian and this forum. Done lots of Raspberry Pi and other Linux stuff. Can someone tell me if the Orange Pi Zero Plus 2 H3 & H5 boards are supported by armbian? They are available on Aliexpress here(H3) and here(H5). They are not listed on the download page, but are listed in this post. Also, if they are supported, is it better choosing the H3 or H5 variant? Seems to me like the H3 might have better software support, and might be the better choice.
  6. Hello! Faced the problem that in new versions of the system does not work sound! in the / dev / snd / folder is empty. Who faced this problem how to solve it?
  7. Last year I started a solar-sensing project with the Orange-Pi-Zero (256k), Armbian5.25, legacy kernel and made it work after a while. The Wifi funktion was rather poor and deteriorating, so I ordered a new OpiZero-Plus2-H3, same physical shape and connectors (I thought). Now the -P2 Armbian image 5.30 for the new board loaded perfectly, the Wifi function is really improved due to better hardware. The python part of the code works (still) perfectly. Only (most of) the gpio-functions of my project do not work any more with the new board attached. I use PA07, PA13 and PA14 for bit-bang gpio and a 1-wire sensor via the kernel. I modified the OPi-P2 fex file, shipped with Armbian, turning off hdmi and SPI functions the same way as before, setting min clk to 408 MHz and max clk to 1200 MHz. Powersaving seems much improved. I checked the fex file for other connections to my nodes - nothing. I loaded the kernel drivers as before. But the result is: PA13 and PA14 work as before, the PA7 input pin does not see any levels (open), the 1-wire device is not recognized, neither the old or a brand-new component. I am pretty stuck - the alternative pin PA16 cannot be activated because it is not mapped in the pyA20-H3 driver. The author duxingkei33 writes the mapping can be expanded, but I could not find enough information how to define the extra parameters. The SPI built-in interface would use PA 13,14,16 but they are not all included in the pin mapping. Q: is the 1-wire function in the new Armbian for OpiZero-P2 already a tested function? Is there something new with the gpio-connector? Is there any more information available about the pin and connectors mappings for the pyA20-H3 driver? Is there already any other I/O-experience with the new Zero-P2 board around ? After quite some hours I am running out of ideas to fix it. I added the modified/reduced fex file. orangepizeroplus2-h3.fex
  8. Hello. In my project, I want to use a linphone with support for the h264 codec. In repositories there is a version of linphone but without the specified codec. I tried to build a linphone from the source code, but failed. The matter is that the assembly of the dependent package belle-sip hangs (the assembly lasted 2 days). Tell me, does anyone have any experience in successfully building a linphone from git? Now I'm trying to build a linphone on the Orange Pi zero plus 2 H3 board.
  9. How to start a sound&microphone on the Orange Pi Zero 2+ H3? root@orangepizeroplus2:/# aplay -l aplay: device_list:268: no soundcards found... root@orangepizeroplus2:~# uname -a Linux orangepizeroplus2 4.11.5-sun8i #3 SMP Thu Aug 3 08:36:37 CEST 2017 armv7l armv7l armv7l GNU/Linux root@orangepizeroplus2:~# lsmod Module Size Used by can_raw 16384 1 bluetooth 270336 0 qmi_wwan 24576 0 qcserial 16384 2 usb_wwan 16384 1 qcserial sun8i_codec_analog 24576 0 snd_soc_core 122880 1 sun8i_codec_analog snd_pcm_dmaengine 16384 1 snd_soc_core usbserial 32768 6 qcserial,usb_wwan snd_pcm 77824 2 snd_pcm_dmaengine,snd_soc_core sun8i_ths 16384 0 uio_pdrv_genirq 16384 0 cpufreq_dt 16384 0 uio 16384 1 uio_pdrv_genirq thermal_sys 57344 2 cpufreq_dt,sun8i_ths mcp251x 20480 0 can_dev 24576 1 mcp251x can 36864 1 can_raw usb_f_acm 16384 1 u_serial 20480 3 usb_f_acm g_serial 16384 0 libcomposite 40960 2 g_serial,usb_f_acm brcmfmac 172032 0 brcmutil 16384 1 brcmfmac cfg80211 204800 1 brcmfmac rfkill 24576 5 bluetooth,cfg80211
  10. Hi, I trying to use UART 1 & UART 2 at OPi Zero 2 Plus with no success with armbian stable and ubuntu server. I test all combinations, of fex settings, turn off everything except required uarts, set uart_type = 2 and etc, and it did not connect. UART0 and UART3 works fine, but I need cts-rts lines from uart2 for hi speed (it's uart_type = 4, but I would like to start regular uart first). tested with picocom, ft232 & pl2303 I use 8 & 10 pins for uart 1 and 11&13 for uart2 as described at http://linux-sunxi.org/Orange_Pi_Zero Is it correct pins? Thanks
  11. Hi, It's been a while that I'm trying to activate the AP of the OP Zero 2+ but in vain. I already succeded activating it on the OP Light using hostapd.conf and interfaces.conf, but when I tried the exact same configuration on OP Zero 2+ the AP didn't work. I tried a lot of solutions found in the internet, but none of them seem to work. Please any help would appreciated !
  12. Did they improve the wifi on the orange pi zero plus 2, or does the wifi have the same problems as the orange pi zero?
  13. Hi, What are the boot priorities on the Orange Pi Zero 2+ H3 / H5 boards? In case of a working eMMc boot, is it possible to prohibit any boot through SD? Thanks /R
  14. Funnily with Zero Plus 2 a silent downgrade to H3 happened (I would assume that's related to Xunlong's software guy Buddy not being able to resolve voltage regulation issues with Allwinner's BSP and H5): http://www.cnx-software.com/2017/03/17/18-9-orange-pi-zero-plus-2-board-allwinner-h3-wifi-bluetooth-le-hdmi-and-8gb-emmc-flash/
  15. Hi, Does anyone has image for Orange Pi Zero 2+ H3 Ubuntu Dekstop Kernel > 4.x? Thanks.
  16. recently I installed the Ubuntu Desktop on Orange Pi Zero 2+ H3 the Orange Pi Zero 2+ H3 device has only one micro USB OTG port during the first Armbian installation this port should be in dual mode -> power of course and in my opinion the second mode should be a HID gadget (g_hid) in this case we will be able to plug the keyboard via some micro USB hub and setup the system unfortunately this doesn't work like this and right now the installation process isn't so ease now the questions begins -> is it possible? Any clue how to do this? Thx PS I was able to do the installation because I have Orange Pi Zero Expansion board which is compatible with Orange Pi Zero Plus 2 H3 (confirmed with Xunlong)
  17. I just wanted to share some instructions on how to control all GPIO pins on the OrangePi Zero Plus 2 board. These instructions are meant for newbies but it can be extremely helpful if you are new to Armbian, OPI and GPIO. At least it would have been for me. There is a total of 17 different pins to control according to the schematic below. These pins are highlighted in blue numbers that indicate what GPIO port they are available at. Use these numbers in order to know that pins to control. Look for instructions further down. First off some basics: Activate a pin by exporting it. For example. In order to activate IO-0 run: echo "352" > /sys/class/gpio/export Set the direction of the port. echo "out" > /sys/class/gpio/gpio352/direction Turn it on: echo "1" > /sys/class/gpio/gpio352/value Turn it off: echo "0" > /sys/class/gpio/gpio352/value To figure out what number to use for each pin follow the schematics above or read from the list below. I really have not figured out wether it is safe to control all pins(and not just IO-pins) for output but it seems to work when I verify with a voltmeter. These pins were identified using the official schematic for the board: http://linux-sunxi.org/File:ORANGE_PI-ZERO-PLUS2_V1_0.pdf If you are interested to learn how pins are identified based on the schematic please dig deeper into these files in the GIT repo: https://github.com/armbian/linux/blob/sun8i/drivers/pinctrl/pinctrl-sunxi.h https://github.com/armbian/linux/blob/sun8i/arch/arm/mach-sunxi/include/mach/pinctrl.h GPIO Table SDA = 12 SCL = 11 IO-GCLK = 6 IO-0 = 352 IO-2 = 353 IO-3 = 3 SPI1-MOSI = 15 SPI1-MISO = 16 SPI1-CLK = 14 TXD0 = 15 RXD0 = 16 IO-1 = 107 IO-4 = 19 IO-5 = 18 IO-6 = 2 SPI-CE0 = 13 SPI-CE1 = 110 I hope this helps someone.
  18. HI! Does anyone have experience with WiFI on Orange Pi Zero Plus 2? I tried to use image Armbian Legacy 3.4.113 for NanoPi NEO Air, (hardware is same H3, wifi AP6212) without success. No any wlanX interface. Thank you for your help!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines