Jump to content

Search the Community

Showing results for tags 'orangepi3'.

  • 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

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. Hi there, how do I configure / start an WiFi AP on OPi3? In armbian-config (found using google, and found on OPiPC+) from my current Buster (OOB + update / upgrade) there is NO option to set up an AP. I may configure it "manually" (edit config files) but I need some tutorial if there is no "menu style" config.
  2. Hi I want make VPU work on OPI 3 with mainline kernel I apply the LibreELEC Kernel patch and /dev/video0 is registry. I also apply LibreELEC FFMPEG Patch and build with v4l2-request But when I decode videos,VLC did't decode frames and kernel say's : cedrus 1c0e000.video-codec: Missing required codec control Why? What should I do?
  3. I have a headless Orange pi 3 and wanted to be able to test a new install. Is it possible to issue a specific reboot command that will switch to boot from one storage to the other storage? I have armbian bionic installed and running on the EMMC. and A new bionic build installed on a new SD card. So, if i'm tinkering with the new build on the SD card, can i reboot to the EMMC without removing the SD card, and then similarly reboot from the EMMC into the SD card build??
  4. Hi there, as I've connected my laptop e-mail client (Thunderbird) to my OPi3 I started to receive strange emails "from root ("cron daemon") to root": Subject "Cron <root@orangepi3> /usr/lib/armbian/armbian-truncate-logs" "error: syslog-ng:8 lines must begin with a keyword or a filename (possibly in double quotes) error: unattended-upgrades:10 lines must begin with a keyword or a filename (possibly in double quotes)" What should I do? Line 8 in armbian-truncate-logs is comment, so error is not there.
  5. Hi there, just got OPi3 (4x 1.8GHz, 2GB RAM, eMMC), and I have (probably) issue with display settings (resolution / refresh rate?). I have an 1280x1024@60Hz VGA monitor, connected to an KVM switch (VGA+USB), then to HDMI->VGA converter. It worked OK for my 2 OPiPC+. Now what happens when I connect OPi3 instead od one of OPiPC+: - installed "OOB" Armbian Buster for OPi3, (server), - during initial startup there was NO question about monitor resolution (differs from initial startup for PC+), - only login / new user dialog. - now screen "flickers", text mode for few seconds, then blank screen, "power" LED of monitor is lit, like there is signal. Random periods. - can user armbian-config to set up basic parameters, network and install "desktop", - can SSH and do remote X session, - during boot-up to GUI there is NO display at all. - if I log in as root (CLI) and then issue "startx", GUI starts, but shifted 1/4 screen high (part of GUI offscreen), 1/4 screen high black bar on bottom. Questions: - hardware problem, or Armbian config problem? - how do I change screen resolution / refresh rate (CLI or GUI)? For text mode and X.
  6. 1.Only OpenGL ES2.1 and 1.x work: chenyifei@orangepi3:~$ glxinfo|grep OpenGL OpenGL vendor string: Panfrost OpenGL renderer string: Mali T720 (Panfrost) OpenGL version string: 2.1 Mesa 20.2.0-devel OpenGL shading language version string: 1.20 OpenGL extensions: OpenGL ES profile version string: OpenGL ES 2.0 Mesa 20.2.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16 2.glx did't work with panfrost dri: chenyifei@orangepi3:~$ cat /var/log/Xorg.0.log|grep GL [ 10447.384] (II) Initializing extension GLX [ 10447.384] (EE) AIGLX error: sun4i-drm does not export required DRI extension [ 10447.395] (II) IGLX: Loaded and initialized swrast [ 10447.395] (II) GLX: Initialized DRISWRAST GL provider for screen 0 3.Some programs run slow,they report error like this: libGL: Failed load driver sun4i-drm libGL: Failed create dri screen. 4 .WebGL did't work on chromium. Why?
  7. I want to make panfrost work on H6 platform, I use linux 5.6.16 latest mesa Xorg 1.20 I install and run them. But they dispaly : DRM_IOCTL_PANFROST_MMAP_BO failed: No such file or directory What should I do?
  8. Hi guys! I am making a separated network to connect my OPi3 to my old notebook to run some codes of my research. So, the problems is with ethernet connector in Orange Pi 3 that when I connect the cable from OPi3 to my switch LEDs just flash slow and in big intervals. When I try to ping from OPi3 to computer the ping just happens after big time later. I verify the cable and the switch with other devices (my personal notebook and my notebook from work). Everything is ok and running well. One thing blow my mind: when I connect cable from OPi3 directly to my notebook the LEDs of ethernet of OPi3 works normally but in the armbian the networks not always being up and even LEDs flash normal in the software it comes down being necessary to activate again. So, I am new on networks and connections. I saw the topic: But nothing could be used in my case. I hope you can help me! Below I out the videos before I connect OPi3 to my notebook and in the second video after, remembering I just connect OPi3 to notebook to "activate" the ethernet connector, after this both, OPi3 and notebook were connected to switch. VID_20200707_162920_284.mp4 VID_20200707_171510_950.mp4
  9. I have move system to emmc, and want to use sdcard to storage videos from camera. So I want to sdcard can automount/umount after hotplug. I have try to use udev to fulfill it. But it seems not work. I add a rules for udev at /etc/udev/rules.d: ACTION=="add",KERNEL=="mmcblk2p1",RUN+="/etc/udev/sdcard_hotplug.sh add /home/opi/Videos/sdcard %k" ACTION=="remove",KERNEL=="mmcblk2p1",RUN+="/etc/udev/sdcard_hotplug.sh remove /home/opi/Videos/sdcard %k" And add a shell file at /etc/udev/sdcard_hotplug.sh #!/bin/bash case $1 in add) mkdir -p $2 mount -t exfat -o iocharset=utf8,rw,sync,umask=0000,dmask=0000,fmask=0000 /dev/$3 $2 ;; remove) umount $2 rm -rf $2 ;; esac Add chmod a+x for it. Test it ok. But udev seems not work! I have use udev monitor to test if remove and insert sdcard can generate event. It works. And use udevadm test, and it also ok. Anybody can help me?
  10. Hi all together, on a Raspberry Pi 3b and 3b+ as well as on a Odroid-C2 I know how to switch off the blinking LEDs s or Power LEDs. Does anybody know how I can switch off or dim that extremely bright red power LED from the OrangePi3? I tried a script snippet like this: echo none > /sys/class/leds/orangepi\:red:\power/trigger But it wont work. Has anybody a helpful hint for an unpatient contemporary? Thanks for help :o)
  11. Hi, I want to use a gpio in CON12 to wakeup orange pi 3. But I can not figure it out. I am using armbian 5.4.43. I have done some researh about this question. It seems the basic process shoule be: 1、choose the right pin to wakeup. Cause some pins can not support interrupt and wakeup event. But I can not find which gpio support wakeup event. It seems I should choose pin on PL or PM ports. But according the schmatic, lots of them have been used as other usages: PIN DEFINE CFG PL0 PMU-SCK 3 PL1 PMU-SDA 3 PL2 RECOVERY 2 PL3 LINK-LED 1 PL4 POW-LED 1 PL5 USB0-DRVVBUS 1 PL6 MUTE 1 PL7 STATUS-LED 1 PL8 PL9 IR-RX 2 PL10 BT-WIFI-ON 1 PM0 WL-WAKE-AP 0 PM1 BT-WAKE-AP 0 PM2 AP-WAKE-AP 1 PM3 WL-REG-ON 1 PM4 BT-REG-ON 1 It seems only PL8 isavailable, but PL8 is also used as PWM pin 2、 write a dts file and let it using gpio-keys driver. For examples choose KEY_WAKEUP. But There need more detail about how to write dts files even after I read some examples. I don't know if I should choose "&pio" or "&r_pio". I can not find any file descript this part. (I have found some descriptiion about PL port and others. &pio is used for PA~PK, &r_pio is used for PL port. And Only Pins on PL port can be used as wakeup source.) (I have test PL8 and PL10. All of them return -22 after reboot when i user dmesg | grep to search gpio. I don't know if I have made some mistake) /dts-v1/; /plugin/; / { compatible = "allwinner,sun50i-h6"; /* * This fragment is needed only for the internal pull-up activation, * external pull-up resistor is highly recommended if using long wires */ fragment@0 { target = <&r_pio>; __overlay__ { gpio_key_wakeup: gpio_key_wakeup { pins = "PL8"; function = "gpio_in"; bias-pull-up; }; }; }; fragment@1 { target-path = "/"; __overlay__ { gpio-keys-user { /* * Use "gpio-keys" for EINT capable pins, "gpio-keys-polled" for other pins * add "poll-interval" property if using "gpio-keys-polled" */ compatible = "gpio-keys"; pinctrl-names = "default"; pinctrl-0 = <&gpio_key_wakeup>; key_wakeup{ label = "GPIO KEY_WAKEUP"; linux,code = <143>; /* KEY_WAKEUP, see include/uapi/linux/input-event-codes.h */ gpios = <&r_pio 0 8 1>; /* PA10 GPIO_ACTIVE_LOW */ }; }; }; }; }; The error message is : opi@orangepi3:~$ dmesg | grep -i gpio [ 2.642632] sun50i-h6-r-pinctrl 7022000.pinctrl: pin PL8 already requested by gpio-keys-user; cannot claim for 7022000.pinctrl:360 [ 2.642646] gpio-keys gpio-keys-user: failed to get gpio: -22 [ 2.642662] gpio-keys: probe of gpio-keys-user failed with error -22 [ 3.343678] sunxi-mmc 4020000.mmc: Got CD GPIO 3、armbian describe we can use "armbian-add-ovelay" to add a custom dts to /boot/user_overlays. But if my dts file have some error if I can delete the relative file directly ? Or I need use other command? (armbian-add-overlay is unavailable for H6 chip. We need to use dtc compile dts file to dtbo and then move it to /boot/overlay-user) 4、add the right ovelay to user-overlays line in /boot/armbianEnv.txt I know it is a old question. But I am so sorry as a newbie can not draw s whole picture about how to use gpio-keys and device tree. Anybody can give me some instructions? Thanks so much!
  12. Hi there, with Armbian Buster "OOB" (+update) I have following problem on Orange Pi 3: - Firefox (with language Polish) does not play network radio: https://www.rmfon.pl/play,25#p , - at the same time: - there are /dev/snd/ files, only for HDMI, but I have read that currently there is no driver for H6 audio, so I may expect at least ALSA is working, - VLC plays MP3 files correctly, (but it can play with pulse and ALSA), - pulseaudio is not started / configured / present. What should I do?
  13. Hi all! I sadly found that I can't watch my videos. Everything's fine with youtube, nevertheless. But video I tested (h264 + avc1, m4v and avi containers) looks like fast slideshow, and sound is VERY ugly! I've tried to install mali-midgard-dkms, I've failed (see below). What should I do to watch the videos? Convert 'em all to some chosen codec? Add to sources.list kind of "unstable" thing and upgrade? Install another armbian image? Find proper mali drivers and compile it carefully? Please, help! armbianmonitor -u http://ix.io/2mXg __@opi3 ~ # apt-get install mali-midgard-dkms 9:14:29 Reading package lists... Done Building dependency tree Reading state information... Done mali-midgard-dkms is already the newest version (16.0+pristine-4). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] Setting up mali-midgard-dkms (16.0+pristine-4) ... Building for 5.4.28-sunxi64 Building for architecture arm64 This package appears to be a binaries-only package you will not be able to build against kernel 5.4.28-sunxi64 since the package source was not provided Removing old mali-midgard-16.0 DKMS files... ------------------------------ Deleting module version: 16.0 completely from the DKMS tree. ------------------------------ Done. Loading new mali-midgard-16.0 DKMS files... Building for 5.4.28-sunxi64 Building initial module for 5.4.28-sunxi64 Error! Bad return status for module build on kernel: 5.4.28-sunxi64 (aarch64) Consult /var/lib/dkms/mali-midgard/16.0/build/make.log for more information. dpkg: error processing package mali-midgard-dkms (--configure): installed mali-midgard-dkms package post-installation script subprocess returned error exit status 10 Errors were encountered while processing: mali-midgard-dkms E: Sub-process /usr/bin/dpkg returned an error code (1) __@opi3 ~ # apt-get install mali-t76x-x11-driver 9:49:35 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mali-t76x-x11-driver:armhf : Depends: mali-midgard-dkms:armhf but it is not installable E: Unable to correct problems, you have held broken packages.
  14. Hi everyone, I am trying to set the pin 26 (PL08) on orange pi as Input but sometimes it is flashing. I did put a 10K external pull up resistor and it is exported as input pin. I did the same thing with the pin 22 (PD21) and this one is steady, no problems until now. I did not add anything on overlays for these pins. Any idea what I am doing wrong? Thanks
  15. Hello! Here's the outputs: $ uname -a Linux opi3 5.4.28-sunxi64 #20.02.7 SMP Sat Mar 28 17:25:10 CET 2020 aarch64 GNU/Linux $ sudo aplay -l **** List of PLAYBACK Hardware Devices **** card 0: allwinnerhdmi [allwinner-hdmi], device 0: 5091000.i2s-i2s-hifi i2s-hifi-0 [5091000.i2s-i2s-hifi i2s-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0 ...and that's all! There's no second card. I tested HDMI sound with my TV -- works fine, sound plays. But I need to use 3.5mm jack. Is it physically damaged? Or what could I do? Help, please!
  16. I am trying to access control on Orange PI 3 , H6 some gpio,s using "gpiod" package that I installed from here : apt install gpiod I cannot control gpio's from port L such as 360, 354, 355 , ... +------+-----+----------+------+---+OrangePiH7+---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | | | 4.3v | | | 1 || 2 | | | 5v | | | | 123 | 0 | SDA.0 | ALT2 | 0 | 3 || 4 | | | 5V | | | | 122 | 1 | SCL.0 | ALT2 | 0 | 5 || 6 | | | 0v | | | | 119 | 2 | PWM0 | OFF | 0 | 7 || 8 | 0 | OFF | PL02 | 3 | 354 | | | | 1v | | | 9 || 10 | 0 | OFF | PL03 | 4 | 355 | | 121 | 5 | RxD3 | ALT4 | 0 | 11 || 12 | 0 | OFF | PD18 | 6 | 114 | | 120 | 7 | TxD3 | ALT4 | 0 | 13 || 14 | | | 0v | | | | 363 | 8 | PL10 | OFF | 0 | 15 || 16 | 0 | OFF | PD15 | 9 | 111 | | | | 4.3v | | | 17 || 18 | 0 | OFF | PD16 | 10 | 112 | | 230 | 11 | MOSI.1 | ALT2 | 0 | 19 || 20 | | | 0v | | | | 231 | 12 | MISO.1 | ALT2 | 0 | 21 || 22 | 0 | OFF | PD21 | 13 | 117 | | 229 | 14 | SCLK.1 | ALT2 | 0 | 23 || 24 | 0 | ALT2 | CE.1 | 15 | 227 | | | | 1v | | | 25 || 26 | 0 | OFF | PL08 | 16 | 360 | +------+-----+----------+------+---+----++----+---+------+----------+-----+------+ | GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO | +------+-----+----------+------+---+OrangePiH7+---+------+----------+-----+------+ as you can see in above table, all 300+ gpio's that cannot be controlled are from PLxx.
  17. Hello, I installed Ubuntu Bionic on sdcard and run Kodi on OrangePI but it seems very hot and hang out to reboot every 5mins. Do you encourter the same problem? And how to install Ubuntu into eMCC?
  18. Hello everybody, the images from armbian for my Orange Pi 3 work very fine and stable. Thank you for that. I came to armbian by links form orangepi.org. When I tried to get an Android image from there I got an Xutuntu image. (https://drive.google.com/drive/folders/1Urh9-yljq9Mrrafp7ZWRVf_s_AdjUoTQ) Do you know where to get an Android for my Orange Pi 3? Thanks if you have information for me about that.
  19. I want to control a fan via a script. I found a bunch of tutorials for pwm, but they were either for older version of Armbian, or for another board. I could not find a tutorial for Allwinner H6 boards. Apparently simple overlays=pwm doesn't work anymore. Anyone have any pointers as to how to go about it? my goal is to do something like $ ./setfan.sh 50 Setting Fan Duty Cycle to 50%... Nothing more complicated. I have a 5V fan for the system and I just want to tune how fast it should run - now it's going full 100% and it's louder than I'd like. I planned to do this with a trimmer but because the world situation and distances, the trimmers will arrive only after several weeks. And while I was thinking about it I figure why not just use the GPIO pins for driving the fan with pwm? Should be easily doable, I think. I just don't know how EDIT: I've been trying with WiringOP (now that I found a recent version that had support), but I've bumbed into another weird problem: The PWM pin on the OPi3 board is (physical) pin #7. If I do "gpio readall", it even lists that pin as "PWM.0" (It has WPi number 2), but when I try to put it into pwm mode (via 'gpio -1 mode 7 pwm' or 'gpio mode 2 pwm'), I only get an error that says: the pin you choose doesn't support hardware PWM you can select wiringPi pin 42 for PWM pin or you can use it in softPwm mode There is no WPi pin number 42. If I try to enable pwm on that ('gpio mode 42 pwm') I get an error "[pinMode:L1384] the pin:-1 is invaild,please check it over!" So no dice there either, unfortunately.
  20. Hi I have an orange pi 3 board ,I want to turn on and use 5v cooler fan that uses GPIO ( pin 2 and pin 4 ) , how can I do that? thank you
  21. Hi in the last build of 17/05/2019, https://dl.armbian.com/orangepi3/nightly/Armbian_5.87.190517_Orangepi3_Ubuntu_bionic_dev_5.1.0.7z armbian won't boot and there are a black display My board is a opi3 2gbram + mmc 8GB The board is working, because in the mmc, I have installed an old version (5.82) and I can bood from the SD card with android 7 get form here: http://www.orangepi.org/downloadresources/OrangePi3/2019-01-23/orangepi3_0e7dae8bb1bf9678fda5754272.html I tried to connect via ssh from another computer, and it's works, I login, changed the default passwd, but after 1 or 2 minutes, the opi3 reboot and from this moment, the reboot is every 30-40 seconds so I don't have the time to login again with ssh I tried again following this doc: https://docs.armbian.com/User-Guide_Fine-Tuning/ # nano /boot/boot.cmd disp.screen0_output_mode=1280x720p60 # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr but nothing it doesn't works Now I will try to use the debian build image version instead ubuntu one....
  22. Hello Everyone, I have an Orange Pi 3 and I want to wipe the default OS and replace it with Armbian. It has some foreign default OS which appears to be Android based and without a word of English. The Armbian documentation wasn't much help because it didn't provide any instructions for this sort of hardware. If any of you could give me some pointers that would be very much appreciated.
  23. I installed Armbian onto a reliable 16GB class 10 SD card, put it into an Orange Pi 3 with a 5v 3000 mA power supply (not a phone charger) and I've bumped into this error.. ALERT! /dev/mmcblk0p1 does not exist. Dropping to a shell! The armbianmonitor -u command was not found so I had to take a photo of the computer screen. I'm not sure what is going on here and I couldn't find someone who had this error on an Orange Pi 3 before. If anyone has some advice I'd love to hear it.
  24. Had a bit of a success with HDMI audio and also video acceleration on OrangePi 3. What was needed was to apply some patches from LibreELEC, namely ones from projects/Allwinner/patches/linux/ . For HDMI audio to work you need 0004-sun4i-i2s-improvements.patch , which contains support for I2S on H6. When done right you should see in dmesg: asoc-simple-card sound: i2s-hifi <-> 5091000.i2s mapping ok Also what helped was an IRC chat that Jernej had with mirko some time ago: https://irclog.whitequark.org/linux-sunxi/2018-03-14 For video acceleration you need 0005-cedrus-improvements.patch and compile Cedrus driver. When done right you should see in dmesg: cedrus 1c0e000.video-codec: Device registered as /dev/video0 For a good measure I applied other patches in that directory as well, some needed modifications to apply to 5.5 kernel (LibreELEC uses 5.4) . Then FFMPEG needs to be compiled with v4l2_request to actually do the acceleration To get Kodi GUI acceleration working you need to compile mesa 20.0.0-devel from Mesa GIT. Kodi then needs to be compiled as GBM version. I also applied patches that LibreELEC has for Kodi into my Kodi tree. @jernej sounds the above about right?
  25. Hi, I am facing an i2c problem on orange pi 3. The i2c0 is enabled in armbian-config. The i2cdetect output is correct, as I know my two slave boards connecting to gpio pin3 (SDA) and pin5(SCL) have the addresses 0x20 and 0x23. pi@orangepi3:~$ sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: 20 -- -- 23 -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- pi@orangepi3:~$ However, when I use wiringOP library to access(read and write) slave i2c chip(mcp23008) registers, it always return -1. int main(int argc, char** argv) { int fd_s1 = wiringPiI2CSetup(SLAVE_1_DEVICE_ID); //0x20 if (fd_s1 == -1) { std::cout << "Failed to init I2C Slave 1 communication." << std::endl; return -1; } int fd_s2 = wiringPiI2CSetup(SLAVE_2_DEVICE_ID); //0x23 if (fd_s2 == -1) { std::cout << "Failed to init I2C Slave 2 communication." << std::endl; return -1; } std::cout << "I2C communication successfully setup." << std::endl; int reg_read; reg_read = wiringPiI2CReadReg8(fd_s1, REG_IODIR); //The register address is correct, as this code ran on raspberry Pi correctly std::cout << reg_read << std::endl; } Run output: I2C communication successfully setup. -1 The wiringOP library is from https://github.com/orangepi-xunlong/WiringOP In the wiringPi library (in wiringOP), the code in wiringPiI2C.c shows that all APIs return -1, if the ioctl system call returns fault. Not sure what I should investigate next step to solve this problem. Thanks.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines