Jump to content

Search the Community

Showing results for tags 'orangepione'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feature Requests
  • Using Armbian
    • Beginners
    • Advanced users - Development
  • Upcoming Hardware (WIP)
    • News
    • Khadas VIM4
    • Radxa Zero 2
    • Odroid M1
    • NanoPi R5S
  • Maintained Hardware
    • Board does not start
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Unmaintained (CSC/EOL/TVB) / Other
    • TV boxes
    • Off-topic
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Old bug tracker - read only
    • Old bug tracker - read only
  • TV Boxes's General Chat
  • TV Boxes's Reviews/Tutorials
  • TV Boxes's FAQ
  • TV Boxes's TV Boxes running Armbian
  • TV Boxes's Rockchip CPU Boxes
  • TV Boxes's Amlogic CPU Boxes
  • TV Boxes's Allwinner CPU Boxes
  • Android's Forums
  • Gaming on ARM's Reviews
  • Gaming on ARM's Issues

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


Skype


Github


Location


Interests

  1. How do I enable the cgroup memory controller on Armbian? I’m trying to control memory usage on my orange pi one using systemd with a unit file as follows: [Service] Slice=influxGroup.slice MemoryAccounting=true MemoryHigh=100M MemorySwapMax=250M The command systemd-cgls confirms that the influxGroup.slice has been created, yet memory is not controlled in line with the parameters in the unit file. I think the issue may be that cgroup memory controller is not enabled. I haven’t done anything to enable it, but I did notice that dmesg appears to indicate an enable statement in the kernel parameters: [ 0.000000] Kernel command line: root=UUID=5446759b-56c9-4877-ad1f-15e43cbb95cc rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=f22f559a-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 However /proc/cgroups would indicate (I think) that it is not enabled. #subsys_name hierarchy num_cgroups enabled Cpuset 10 1 1 cpu 3 8 1 cpuacct3 8 1 blkio2 8 1 memory5 28 1 devices9 87 1 freezer6 1 1 net_cls8 1 1 perf_event 11 1 1 net_prio 8 1 1 pids4 90 1 rdma7 1 1 So my broadest question is how do I get the system to do what the unit file asks for, which reduces to (I think) a narrower question of: how do I enable the cgroup memory controller on Armbian?
  2. Hello, I'm running Armbian on a Orange pi one. In htop I found out that the CPU temperature is not correct. So I tried to figure out what happens. The CPU is define not as hot as the value says. For me it looks line that the factor is about 2. I just wanted to inform about it. I can also deliver more information if required and also support to debug... I started the following commands for verification. $ cat /sys/devices/virtual/thermal/thermal_zone0/temp 63809 $ armbianmonitor -m Running unprivileged. CPU frequency will not be displayed. Stop monitoring using [ctrl]-[c] Time CPU load %cpu %sys %usr %nice %io %irq CPU C.St. 13:02:16: --- 0.00 0% 0% 0% 0% 0% 0% 63,0°C 0/4 13:02:21: --- 0.00 1% 0% 0% 0% 0% 0% 64,7°C 0/4 $ cat /etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=orangepione BOARD_NAME="Orange Pi One" BOARDFAMILY=sun8i BUILD_REPOSITORY_URL=https://github.com/armbian/build BUILD_REPOSITORY_COMMIT=03d2395d37 VERSION=22.05.1 LINUXFAMILY=sunxi ARCH=arm IMAGE_TYPE=stable BOARD_TYPE=conf INITRD_ARCH=arm KERNEL_IMAGE_TYPE=stable BRANCH=current $ uname -a Linux orangepione 5.15.43-sunxi #22.05.1 SMP Sat May 28 08:17:47 UTC 2022 armv7l GNU/Linux
  3. Hi, I was trying to use OrangePi One to add a filter to my USB camera, so that I can apply some image processing to the original input image. The original project uses raspberrypi: https://github.com/likeablob/rpi-wfh-webcam It captures the image from a USB Camera, then applys some image processing on Raspberry Pi. Lastly, it creates a virtual camera that sends the output image to the PC. I would like to achieve the same effect using OrangePi One (Armbian), and the only problem left is to simulate a virtual camera using the USB Gadget. What I tried: $ sudo modprobe g_webcam musb-hdrc.4.auto: failed to start g_webcam: -22 According to this post, a more preferred way to do this is to use configfs: I followed instructions here: https://developer.ridgerun.com/wiki/index.php?title=How_to_use_the_UVC_gadget_driver_in_Linux But unfortunately, it returned with the same error: Invalid Argument: sudo modprobe libcomposite dwc2 usb_f_uvc mkdir -p /sys/kernel/config/usb_gadget/g1 cd /sys/kernel/config/usb_gadget/g1 echo 0x0525 > idVendor echo 0x0102 > idProduct mkdir -p strings/0x409 echo 0123456789 > strings/0x409/serialnumber echo $(hostname) > strings/0x409/manufacturer echo "UVC Gadget" > strings/0x409/product mkdir configs/c.1 mkdir configs/c.1/strings/0x409 mkdir functions/uvc.0 mkdir -p functions/uvc.0/streaming/uncompressed/u/360p cat <<EOF > functions/uvc.0/streaming/uncompressed/u/360p/dwFrameInterval 666666 1000000 5000000 EOF mkdir functions/uvc.0/streaming/header/h cd functions/uvc.0/streaming/header/h ln -s ../../uncompressed/u cd ../../class/fs ln -s ../../header/h cd ../../class/hs ln -s ../../header/h cd ../../class/ss ln -s ../../header/h cd ../../../control mkdir -p header/h ln -s header/h class/fs ln -s header/h class/ss cd ../../../ echo 2048 > functions/uvc.0/streaming_maxpacket ln -s functions/uvc.0 configs/c.1 ls /sys/class/udc > UDC Does this mean the Allwinner H2/H3 USB IP Core does not support g_webcam / usb_f_uvc ? (Both g_serial and g_eth works, but not g_webcam)
  4. Hi! Now that the camera interface has been merged in mainline Kernel, I would like to try to use the OrangePi OV5640 camera module on my OrangePi One. So with the latest Armbian Bionic (20.02.1, kernel 5.4.20), I have been trying to get a device tree overlay. But for now, it fails to compile with: $ sudo armbian-add-overlay sun8i-h3-csi.dts Compiling the overlay Error: sun8i-h3-csi.dts:27.23-24 syntax error FATAL ERROR: Unable to parse input tree Error compiling the overlay My current overlay looks like this: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&pio>; __overlay__ { csi_mclk_pin: csi-mclk-pin { pins = "PE1"; function = "csi"; }; }; }; fragment@1 { target = <&i2c2>; __overlay__ { status = "okay"; ov5640: camera@3c { compatible = "ovti,ov5640"; reg = <0x3c>; pinctrl-names = "default"; pinctrl-0 = <&csi_mclk_pin>; clocks = <&ccu CLK_CSI_MCLK>; clock-names = "xclk"; AVDD-supply = <&reg_aldo1>; DOVDD-supply = <&reg_dldo3>; DVDD-supply = <&reg_eldo3>; reset-gpios = <&pio 4 14 GPIO_ACTIVE_LOW>; /* CSI-RST-R: PE14 */ powerdown-gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* CSI-STBY-R: PE15 */ port { ov5640_ep: endpoint { remote-endpoint = <&csi_ep>; bus-width = <8>; data-shift = <2>; /* lines 9:2 are used */ hsync-active = <1>; /* Active high */ vsync-active = <0>; /* Active low */ data-active = <1>; /* Active high */ pclk-sample = <1>; /* Rising */ }; }; }; }; }; fragment@2 { target = <&csi>; __overlay__ { status = "okay"; port { csi_ep: endpoint { remote-endpoint = <&ov5640_ep>; bus-width = <8>; hsync-active = <1>; /* Active high */ vsync-active = <0>; /* Active low */ data-active = <1>; /* Active high */ pclk-sample = <1>; /* Rising */ }; }; }; }; }; So the line 27, which seem to trigger the error is: `clocks = <&ccu CLK_CSI_MCLK>;` Also, according to the documentation, the regulator fields are required but this board does not have much regulators (like AXP209), so I have no idea what to write here. But this is my first time writing a device-tree overlay so I am not sure what is wrong with this line. Could someone guide me to get my overlay right? And, does anyone already got the CSI interface working with OV5460 sensor on a H3 based board? Thank you.
  5. Hi all, Orange Pi One Armbian_20.02.0-rc1_Orangepione_bionic_current_5.4.14 Enable w1-gpio /boot/ambianEnv.txt: overlays=w1-gpio param_w1_pin=PD14 param_w1_pin_int_pullup=1 dmesg | grep -E 'w1|wire' [ 5.271798] Driver for 1-wire Dallas network protocol. [ 5.304021] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file What and where else needs to be done?
  6. I'am running the latest Stretch server version on a PiOne (Linux 4.14.65-sunxi). I think that something is going wrong with the logrotate. The rotation is done in /var/log.hdd directory (see also the scripts in /etc/logrotate.d/). But the original file of each is in /var/log directory and is not "cleared" after the rename, because it is not renamed. So, if Zram copies /var/log directory to the /var/log.hdd directory, the original file in /var/log with old logging and included new logging is written to the /var/log.hdd directory. In the next logrotate this growing file is compressed. In this situation/in my case the compressed files contains all the loggings and not only the loggings of the last day or week or month, depending which file is compressed. And the file is still growing and growing. Is my conclusion right or is something wrong in my Stretch installation. In the latest case, I could not find it. Please give me a hint.
  7. while updating my dev-OPiOne Welcome to Armbian bullseye with Linux 5.5.8-sunxi package bsp-kernel[20.05.0-trunk] u-boot[20.05.0-trunk] dtb [20.05.0-trunk] firmware [20.05.0-trunk] config[20.05.0-trunk] branch[dev] Linux opi-one 5.5.8-sunxi #trunk SMP Wed Mar 18 21:19:37 +03 2020 armv7l GNU/Linux via apt update I did get the follwing error-message: Trigger für mime-support (3.64) werden verarbeitet ... E: Schreibfehler - ~LZMAFILE (28: Auf dem Gerät ist kein Speicherplatz mehr verfügbar) I did found out via df that /dev/zram0 = /var/log is used up to 100% :( root@opi-one(192.168.6.114):~# df Dateisystem 1K-Blöcke Benutzt Verfügbar Verw Eingehängt auf /dev/zram0 49584 48560 0 100% /var/log but only zram0 seems to be full and not the complete memory: MiB Mem : 491,5 total, 124,5 free, 101,3 used, 265,8 buff/cache MiB Swap: 245,8 total, 242,8 free, 3,0 used. 360,8 avail Mem After a reboot there is also 64% of the /dev/zram0 used and I dont know why :( root@opi-one(192.168.6.114):~# df Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf /dev/zram0 49584 28996 17004 64% /var/log Is there any chance to gain some space in /dev/zram0 or to configure a little bigger /dev/zram0? (to use a part of the 265Mb remaining cache/buffer-ram) The complete update to newer packages/kernel seems also to work with the full /dev/zram = /var/log: Welcome to Armbian bullseye with Linux 5.5.15-sunxi package bsp-kernel[20.05.0-trunk] u-boot[20.05.0-trunk] dtb [20.05.0-trunk] firmware [20.05.0-trunk] config[20.05.0-trunk] branch[dev] Linux opi-one 5.5.15-sunxi #trunk SMP Sat Apr 4 17:39:03 +03 2020 armv7l GNU/Linux
  8. I usually attach a GPS module to OrangePi One to act as a GPS ntp server . GPS serial data can use any UART port. but PPS pulse can use PA7 or UART_RTS, I most connect to PA7, works very well. Recently I bought a GPS modules for Rasberry Pi, it connect the PPS to pin 12, in One it's PD14 But when I set param_pps_pin=PD14 in armbianEnv.txt , it can't work at all . see /sys/kernel/debug/gpio , there is no GPIO 110 (PD14) at all. So don't use PD14 as a PPS pulse input.
  9. Hi guys orangepi-one and i'm trying to install the Super Nintendo Classic Controller wich is i2c bus /---------\ | | | 1-2-3 | | 4-5-6 | | _____ | \_/ \_/ ``` | Controller Pin | Function | Pi Pin | |---------------:|---------------|-----------| | 1 | I2C data | 3 (SDA) | | 2 | device detect | - | | 3 | +3.3V | 1 (+3.3V) | | 4 | GND | 6 (GND) | | 5 | not connected | - | | 6 | I2C clock | 5 (SCL) | i have wired the controller to the orangepi bus port 0 and port 2 i found a driver for the raspberrypi , i tried to install it but is not working i don't know what i'm doing wrong i followed the instruction in the github https://github.com/nutki/rpi-nintendo-cl...controller i have added to the armbianev.txt overlays=i2c0 i2c1 i2c2 usbhost0 usbhost1 usbhost2 usbhost3 i have installed i2c-tools and both controllers are been detected on port 0 and 2 as static id 52 $ sudo i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- 52 -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- $ sudo i2cdetect -y 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- 52 -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- when i tried to cmake . make it gives me a bunch of errors can someone point me in the right direction to make this controllers work thanks
  10. Hello everyone! You need to run an orange from battery power. I achieved by lowering the frequency of the current to 160mA. But I can't turn off the GPU. since I don't need it and ethernet. uname -a Linux orangepione 5.9.14-sunxi #20.11.3 SMP Fri Dec 11 20:31:12 CET 2020 armv7l GNU/Linux root@orangepione:~# I installed the h3consumption utility, but it does not output information to the console. root@orangepione:~# h3consumption -p root@orangepione:~# from teams root@orangepione:~# h3consumption -g and root@orangepione:~# h3consumption -g off change but no current. I think the core is very new. I don’t know which way to go, install the old kernel or look for how to disable the GPU and ETH in the new kernel. Thanks in advance!
  11. Hi guys I have an OPi1 with armbian 5.83 kernel 4.19 and I can't use otg. It seems powered but it doesn't recognize anything. I read this topic but I can't understand what to do. I just want to attach an external storage or a wifi dongle, to avoid using an usb hub. So I think I shoud use the otg as host for what I understood, right? thank you in advance for any help
  12. Hi all, I am hoping there is a straight forward solution to this; I've read this thread on turning on and off the usb OTG using GPIO commands: The concept is really clever and I was hoping to use it as part of my Octoprint 3D printing setup so that I can turn off printer when not in use. The only catch is that the method requires modifying the ./bin/orangepione.bin file which isn't present on my version of Armbian (Buster). TL;DR according to the post I need to 1. convert ./bin/orangepione.bin to FEX, 2. edit the file by adding "usb_drv_vbus_gpio = port:PL02<1><0><default><0>", 3. convert it back to bin, 4. use the commands "echo 0 > /sys/class/gpio/gpio354/value" or "echo 1 > /sys/class/gpio/gpio354/value" to turn off/on the pin and thus usb. Is there an equivalent file where I could modify the line "usb_drv_vbus_gpio =" which would allow me to control pin PL2? Alternatively is it possible to control pin PL2 using the WiringOP? I am currently using it to control a relay however while looking into it I could not find any reference to PL2. I'm fairly new to Linux and Armbian so any guidance at all would be very much appreciated.
  13. I am trying to install Tensorflow on my Orange Pi One. Everything seems okay on install, but pip says ERROR: Could not find a version that satisfies the requirement tensorflow ERROR: No matching distribution found for tensorflow My guess is that the OS is a 32bit version and that Tensorflow runs on 64bit ones only. However, I can't find any source of checking whether the Armbian version I have is 32bit or 64bit.
  14. hi i'm having problems wih high baud rates on the orangepi one speeds at 115200 bauds works fine but i want to go higher 1 or 2 mega any help
  15. i just installed Armbian_20.11.6_Orangepione_buster_current_5.10.4.img the software is trying to install a driver and is requesting the linux headers, i tried to install the linux headers but is says E: unable to locate package linux-headers-5.10.4 then i switched to the nightly upgrades in the armbian-config and now is on 5.10.7 also tried to install iand i keep getting the same msj E: unable to locate package linux-headers-5.10.7 any clues with this problem ? thanks http://ix.io/2MjH
  16. So I click load desktop and it completes that but when I try to enable it asks me if I want to enable autologin and it doesn't matter if I choose yes or no it just says killed, what's wrong? , i have an internet connection
  17. Hello, I am using OPI one with Armbian_5.90_Ubuntu_bionic_4.19.57, so I fliped my 7" touch screen display vertically (rotated 180) by modifing: /etc/X11/xorg.conf/01-armbian-defaults.conf and it worked, but the touch doesn't correspond with it (still points as it was before rotation). how can i flip the touch information (x,y) coordinates vertically (rotate by 180)? Regards,
  18. Guys please help me. My orange pi one with Armbian installed and running Pi Hole. The HDMI Output is not working, And when I try to enter this command h3disp [-h/-H] -m [video mode] [-d] [-c [0-2] it say access denied. My point is there's no output this play on my device. I hope someone understand me and help me thank you.
  19. I'm not sure if I should pursue this here or if I should open a ticket through Debian Bugs. A recent update now causes mpd to segfault. mpd comes from the Debain armhf repository. I'm not sure how to determine if this is a hardware issue with my board somehow or if there is an interaction with a new kernel or if it's because the package updated the binary or a library. To make sure it wasn't something weird in my configuration I moved the conf file out of the way and re-ran mpd with the same result. If it helps, I can post an strace output of the issue. James
  20. Good evening, I ran into some problems with sbc-bench on a couple of Allwinner boards Orange Pi Zero, Orange Pi Zero+, Orange Pi One and Nanopi Neo 2 spcifically. The 7 Zip benchmark causes the following error: ./sbc-bench.sh: Zeile 611: 4206 Bus-Zugriffsfehler "${SevenZip}" b >> ${TempLog} Most likely due to a problem with the ZRam: zram: Decompression failed! err=-22 This happens on all boards under Debian and focal with different SD cards and power supplies. The benchmark ran previously on this setups without any issues – unfortunately I don’t know when it stopped working and hence cannot narrow down the change that caused the problem. The benchmark results and armbianmonitor output from the Orange Pi one as an example: http://ix.io/2EPZ http://ix.io/2ES2 Is this a known issue? Is there a solution? Daniel
  21. Hello I have an Orangepi One which fails after running for a certain time. In the failed "state" pinging it still works, but SSH connections to the Orangepi or from the Orangepi to the Server via Autossh won't work any more. A PHP application running on it is still working. It looks like the issue is that it winds back the time to something ridiculous. Hard reset with pulling Power fixes this for again a certain time till it happens again. I wrote a script which runs every Minute via Cronjob and logs the current time to a file. Before the rewind already something weird is happening. The cronjob is executed twice on 04.40. I have no idea what is happening there and if it is related to the rewinding. Fri 30 Oct 2020 04:34:01 AM CET Fri 30 Oct 2020 04:35:01 AM CET Fri 30 Oct 2020 04:36:01 AM CET Fri 30 Oct 2020 04:37:01 AM CET Fri 30 Oct 2020 04:38:01 AM CET Fri 30 Oct 2020 04:40:02 AM CET Fri 30 Oct 2020 04:40:02 AM CET Fri 30 Oct 2020 04:41:01 AM CET Tue 13 Nov 1979 05:23:13 PM CET Tue 13 Nov 1979 05:24:01 PM CET Tue 13 Nov 1979 05:25:01 PM CET Tue 13 Nov 1979 05:26:01 PM CET Tue 13 Nov 1979 05:27:01 PM CET Tue 13 Nov 1979 05:28:02 PM CET Tue 13 Nov 1979 05:29:01 PM CET Tue 13 Nov 1979 05:30:01 PM CET
  22. Hello all ! I connected relle to pins (Physical): Relle Orange in 35 gnd 6 ucc 2 But it is constantly active (on), although the port status 32 is off (0). Why is that? # gpio write 24 1 Changes the port status, but has no effect on the relay. Relle ist ON alweys! If you physically disable the pin (in - 35), then the relay is turned off. I just installed the system. I did not install any additional services and packages. Maybe I need to configure something in the system to activate the GPIO?
  23. it appears the pins on the esp8266 12e are also on the orange pi one. Can I connect the pins to an armbian orange pi one and then test the esp8266 12e? I want to test if wifi works. Is required software present in armbian? Or should I get an usb adapter https://ae01.alicdn.com/kf/HTB1pm33XifrK1RjSspbq6A4pFXaf.jpg?width=1000&height=1000&hash=2000 and utilize a x86 gnulinux computer? It says the esp8266 12e supports i2c. Does the orange pi one have i2c pins, such that I can test the wifi of the esp8266 12e from an i2c connection on the armbian orange pi one? Is required software present in armbian? Thanks.
  24. I made an application with opengles which works correctly in armbian xenial 3.4.113, I always have 40 or 50 fps, also if I run the es2gears program it gives me a constant 300 fps, I wanted to change to a more current kernel and download armbian buster, but here my program runs at 5 or 6 fps, and es2gears does not exceed 30 fps. I was reading the posts on the subject in the forums and I found that installing the lima driver activated 3d acceleration, but I could not make it work. Some information that can help me activate 3d acceleration with kernel 5.8 I am using an orange pi one thanks: D
  25. OK, being away for a while and having 5.x kernel and sunxi_cedrus around I need some directions. I had some embedded 3.x desktop installations in a community museum showing videos (using mpv after a button press) which need revising. So I decided to update the firmware/scripts etc. These are Orange Pi One's... In the past I installed 3.x desktop version as it has better video acceleration. What should I do now? I don't see a focal desktop in downloads. Is it OK to use the focal server, install xfce4 on top of it? Will I have video acceleration? I've been using HEVC .mkv files... Thanks in advance Bülent ~# uname -a Linux myhostname 5.8.16-sunxi #20.08.12 SMP Sat Oct 17 13:46:53 CEST 2020 armv7l armv7l armv7l GNU/Linux :~# dmesg | grep -i cedr [ 6.324285] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned. [ 6.331485] cedrus 1c0e000.video-codec: Device registered as /dev/video0
×
×
  • Create New...