pumuckl

Members
  • Content Count

    15
  • Joined

  • Last visited

About pumuckl

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Orange Pi Zero Plus | 5.83 | arm64 | aarch64 | 4.19.38-sunxi64 Hello Armbian community, I set up the wifi with armbian-config, but Wifi connection get lost or after reboot it does not connect again. Is there something I could to. would it help to turn off power management ? how too? looks like i am not the first with this problem: 9213-orange-pi-zero-plus-wifi-looses-connection-tip But if its possible I do not want to turn off the network manager ____________________________________________________________________________________________ And it looks I have also a problem with the character set, i noticed this on OPI Win and on the Zero +. when I make the first update after Installation, I am asked too choose the character set. I am from Austria, therefore I choose "Latin central europa" and even with guess the optimal character set", I have a strange behavior on ssh connection. mostly from copy and paste from the Browser is this "feature" know or do I something wrong? greetings and thanks again looks like
  2. Hello, I used the wiringPi.c above, and from make I get some error: root@orangepizeroplus:/home/pi/WiringOP-Zero# make ds1302.c:30:10: fatal error: wiringPi.h: No such file or directory #include <wiringPi.h> ^~~~~~~~~~~~ compilation terminated. Makefile:67: recipe for target 'ds1302.o' failed make[1]: *** [ds1302.o] Error 1 after make install I use: chmod +x ./build sudo ./build this finish without an error and the gpio`s are working well thanks greetings
  3. Hello again, I have Problems to "make" the alexa/avs-device-sdk on the OrangePi zero plus. looks like I have a memory overflow. All memory the ram and the swap file is full, at 95% of the compilation, when the "make" command runs. 480 M the memory and about 250M for the swap file. is ist possible to reduce the memory usage, touring "make" (like -y2 too use more cores) or could i temporary increase the swap file? How? with my orangepi winplus the compilation was successful. the maximum memory usage, while compiling was about 900M greetings
  4. The Problem was infront off, the computer. The instruction, I followed is for Ubuntu Linux and not for Ubuntu and debian . So I put Ubuntu to the sd card, now it worked. I tried to install a ubuntu dev to debian. Many Thanks
  5. Hello, My orange Pi runs with Armbian Stretch 4.19.y. I like to use Orangepi boards, for audio streaming via Alexa Skills therefor I need to install gstreamer plugins apt install libgstreamer-plugins-good1.0-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libgstreamer-plugins-good1.0-dev E: Couldn't find any package by glob 'libgstreamer-plugins-good1.0-dev' E: Couldn't find any package by regex 'libgstreamer-plugins-good1.0-dev' this deb is only amd64 and i386, but i found this deb: libgstreamer-plugins-base1.0-dev_1.10.4-1+deb9u1_armhf.deb here: https://packages.debian.org/stretch/libgstreamer-plugins-base1.0-dev but it is not install able: root@orangepiwin:~# apt install /root/libgstreamer-plugins-base1.0-dev_1.10.4-1+deb9u1_armhf.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libgstreamer-plugins-base1.0-dev:armhf' instead of '/root/libgstreamer-plugins-base1.0-dev_1.10.4-1+deb9u1_armhf.deb' 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: libgstreamer-plugins-base1.0-dev:armhf : Depends: libc6-dev:armhf but it is not going to be installed or libc-dev:armhf Depends: libgstreamer1.0-dev:armhf (>= 1.10.0) but it is not going to be installed Depends: libglib2.0-dev:armhf but it is not going to be installed Depends: libxml2-dev:armhf but it is not going to be installed E: Unable to correct problems, you have held broken packages. root@orangepiwin:~# Sorry I am still a beginner at linux, but is there a chance to install this Dependencie? greetings
  6. hello Armbians, Since over an year I try to use this useless Board. Now i want too switch 3 Relays modules with the gpio system, after an udp command. I installed Wiring pi , gpio readall work gpio write 25 1 , works to the inputt get the value 1 gpio mode 25 out, does not work echo 36 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio36/direction echo 101 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio101/direction the input is without an error but with gpio readall nothing changes this code I wrote to use the gpio with python export38= open('/sys/class/gpio/export','w') export38.write('38') export38.close() active_low38= open('/sys/class//gpio/gpio38/active_low','w') active_low38.write('1') active_low38.close() direction38= open('/sys/class//gpio/gpio38/direction','w') direction38.write('out') direction38.close() value38= open('/sys/class//gpio/gpio38/value','w') value38.write('1') value38.close() but also with gpio readall nothing changes. this code work on an rpi3 export26= open('/sys/class/gpio/export','w') export26.write('26') export26.close() active_low26= open('/sys/class//gpio/gpio26/active_low','w') active_low26.write('1') active_low26.close() direction26= open('/sys/class//gpio/gpio26/direction','w') direction26.write('out') direction26.close() value26= open('/sys/class//gpio/gpio26/value','w') value26.write('1') value26.close() with gpio the pin 37 changes to high. on the opiwin the values in the filesystem changes but not with gpio readall does somebody else have this problems? does the gpio system not work or wiring pi?
  7. good day everyone, Just for fun , i try to run gpu miner on OPI win plus, with open CL. https://github.com/hominoids/sgminer-arm but i face several problems and It would be nice if some buddy could help me. I cant install all needed libs: root@orangepiwin:~# apt-get install mali-fbdev -y Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mali-fbdev https://forum.odroid.com/viewtopic.php?f=98&t=29571 To install Download ARM Computer Vision and Machine Learning library, is that value true: usr/lib/arm_compute-v18.03-bin-linux/lib/linux-armv7a-neon-cl https://forum.armbian.com/topic/1420-opengl-on-mali-gpu-bananapi-orangepi-pc-etc/ 1. Install: # install GLX Gears, mesa GL and GLU libraries apt-get -y install mesa-utils # install development tools apt-get -y install build-essential automake pkg-config libtool ca-certificates git cmake subversion # install required libraries apt-get install libx11-dev libxext-dev xutils-dev libdrm-dev x11proto-xf86dri-dev libxfixes-dev # get source code git clone https://github.com/robclark/libdri2 git clone https://github.com/linux-sunxi/libump git clone https://github.com/linux-sunxi/sunxi-mali git clone https://github.com/ssvb/xf86-video-fbturbo git clone https://github.com/ptitSeb/glshim # install mali driver cd sunxi-mali git submodule init git submodule update git pull wget http://pastebin.com/raw.php?i=hHKVQfrh -O ./include/GLES2/gl2.h wget http://pastebin.com/raw.php?i=ShQXc6jy -O ./include/GLES2/gl2ext.h make config ABI=armhf VERSION=r3p0 mkdir /usr/lib/mali echo "/usr/lib/mali" > /etc/ld.so.conf.d/1-mali.conf make -C include install make -C lib/mali prefix=/usr libdir='$(prefix)/lib/mali/' install cd .. 2. Build # Step 1: build and install helper libraries cd libdri2 autoreconf -i ./configure --prefix=/usr make make install cd .. cd libump autoreconf -i ./configure --prefix=/usr make make install cd .. # Step 2: build video driver cd xf86-video-fbturbo autoreconf -i ./configure --prefix=/usr make make install cd .. # Step 3: build GL wrapper cd glshim cmake . make cp lib/libGL.so.1 /usr/lib/ # replace the software GL library with the wrapper cd .. 3. Configure your system - configure your kernel to allocate memory for the GPU - make sure mali and mali_drm kernel modules are loaded - give your user permissions to access /dev/ump and /dev/mali - configure Xorg to use fbturbo driver 4. Test: # run a basic test glxgears # install and run a GL benchmark apt-get -y install globs /usr/lib/globs/benchmarks/GL_pointz/gl_pointz # try to run a real game apt-get -y install billard-gl billard-gl This all worked out for me rather nicely. The only issue I have encountered is a segfault that many GL programs get when they shut down. I'm currently debugging this issue, but it would be helpful to know others experience it as well, and perhaps get some advice from people experienced in GLX or SDL. Edit: I know glxgears is not a real benchmark, but let me give you some numbers to make it clear what I'm talking about. Results are from Orange Pi PC clocked at 1296000 Hz (and are CPU-bound): user@bananapi:~$ glxgears LIBGL: Initialising glshim libGL: built on Jun 12 2016 06:12:01 LIBGL: Current folder is:/home/user libGL:loaded: libGLESv1_CM.so libGL:loaded: libEGL.so 2074 frames in 5.0 seconds = 414.688 FPS 2071 frames in 5.0 seconds = 414.085 FPS 2070 frames in 5.0 seconds = 413.915 FPS ^C But cat get it work So far I tried it with booth kernels 4.19 and 3.10 will this generally work on OPI WIN? is the instruction correct? greetings
  8. Thanks for the fast reply. This morning I could test it, with the older kernel 1-wire is working. thanks
  9. Hello, i like to work with 1wire 18b20 sensors on my Oragne Pi one , with the latest Armbian Bionic . root@orangepione:~# uname -r 4.14.65-sunxi In this forum and in the orange pi forum, there are some instructions, but I think they are out of date. 1.edit your /etc/default/cpufrequtils After edit. $ cat /etc/default/cpufrequtils ENABLE=true MIN_SPEED=480000 MAX_SPEED=1200000 GOVERNOR=interactive 2.reboot Edited by nopnop2002 at 2017-8-5 17:10 1.edit your /etc/default/cpufrequtils After edit. $ cat /etc/default/cpufrequtils ENABLE=true MIN_SPEED=480000 MAX_SPEED=1200000 GOVERNOR=interactive 2.reboot 3.driver load sudo modprobe w1-gpio sudo modprobe w1-therm Until here, this works but then I get: # sudo modprobe w1-sunxi modprobe: FATAL: Module w1-sunxi not found in directory /lib/modules/4.14.65-sunxi I aktivated W1 gpio in armbian-config/system/hardware this is the output of dmesg: [ 1.245629] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 1.245640] cpu cpu0: _opp_add: OPP not supported by regulators (1296000000) [ 1.245985] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal-cpufreq-0 failed:-17 [ 1.247906] NOHZ: local_softirq_pending 80 [ 1.248715] NOHZ: local_softirq_pending 02 [ 1.249027] of_cfs_init [ 1.249111] of_cfs_init: OK [ 1.249216] vdd-cpux-dummy: disabling [ 1.249220] vcc3v0: disabling [ 1.249225] vcc5v0: disabling [ 1.249227] usb0-vbus: disabling [ 1.251585] Freeing unused kernel memory: 1024K [ 1.317269] NOHZ: local_softirq_pending 80 [ 1.321935] NOHZ: local_softirq_pending 80 [ 1.327276] NOHZ: local_softirq_pending 80 [ 1.332280] NOHZ: local_softirq_pending 80 [ 1.831391] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.831398] [drm] No driver support for vblank timestamp query. [ 1.841228] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_platform_driver_exit [sun8i_mixer]) [ 1.841528] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 1.841549] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_platform_driver_exit [sun4i_tcon]) [ 1.966469] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy) [ 1.967468] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver [ 1.967817] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops [sun8i_dw_hdmi]) [ 1.967857] [drm] Cannot find any crtc or sizes [ 1.968291] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 2.091399] rc_core: IR keymap rc-cec not found [ 2.091420] Registered IR keymap rc-empty [ 2.091827] rc rc0: RC for dw_hdmi as /devices/platform/soc/1ee0000.hdmi/rc/rc0 [ 2.092441] input: RC for dw_hdmi as /devices/platform/soc/1ee0000.hdmi/rc/rc0/input0 [ 2.499851] random: fast init done [ 2.531421] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 3.006461] [drm] Cannot find any crtc or sizes [ 3.242165] systemd[1]: System time before build time, advancing clock. [ 3.280369] ip_tables: (C) 2000-2006 Netfilter Core Team [ 3.303396] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 3.304234] systemd[1]: Detected architecture arm. [ 3.343442] systemd[1]: Set hostname to <orangepione>. [ 4.097778] random: systemd: uninitialized urandom read (16 bytes read) [ 4.104921] systemd[1]: Created slice System Slice. [ 4.106034] random: systemd: uninitialized urandom read (16 bytes read) [ 4.106314] systemd[1]: Listening on Journal Audit Socket. [ 4.106607] random: systemd: uninitialized urandom read (16 bytes read) [ 4.106852] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.107954] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.108581] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.109049] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.109338] systemd[1]: Reached target Swap. [ 4.238551] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 4.459317] systemd-journald[232]: Received request to flush runtime journal from PID 1 [ 4.918711] Driver for 1-wire Dallas network protocol. [ 5.078820] thermal thermal_zone0: failed to read out thermal zone (-110) [ 5.166527] asoc-simple-card sound: i2s-hifi <-> 1c22800.i2s mapping ok [ 5.407723] zram: Added device: zram0 [ 5.421363] zram: Added device: zram1 [ 5.423905] zram: Added device: zram2 [ 5.424657] zram: Added device: zram3 [ 5.425578] zram: Added device: zram4 [ 5.680041] zram1: detected capacity change from 0 to 64659456 [ 6.145450] thermal thermal_zone0: failed to read out thermal zone (-110) [ 6.505614] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search. [ 6.753330] random: crng init done [ 6.753342] random: 7 urandom warning(s) missed due to ratelimiting [ 6.778463] Adding 63140k swap on /dev/zram1. Priority:5 extents:1 across:63140k SSFS [ 6.780763] zram2: detected capacity change from 0 to 64659456 [ 6.798117] Adding 63140k swap on /dev/zram2. Priority:5 extents:1 across:63140k SSFS [ 6.800323] zram3: detected capacity change from 0 to 64659456 [ 6.817613] Adding 63140k swap on /dev/zram3. Priority:5 extents:1 across:63140k SSFS [ 6.819763] zram4: detected capacity change from 0 to 64659456 [ 6.837622] Adding 63140k swap on /dev/zram4. Priority:5 extents:1 across:63140k SSFS [ 6.875993] zram0: detected capacity change from 0 to 52428800 [ 7.166308] EXT4-fs (zram0): mounted filesystem without journal. Opts: (null) [ 7.166323] thermal thermal_zone0: failed to read out thermal zone (-110) [ 8.472331] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 8.486641] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 8.486658] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 8.487103] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 11.582988] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 11.583031] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 51.682236] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c [ 51.686179] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered. [ 107.822458] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46 [ 107.826367] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered. [ 152.680655] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca [ 152.684609] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca is not registered. [ 220.102887] w1_master_driver w1_bus_master1: Attaching one wire slave 00.200000000000 crc 23 [ 220.106738] w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered. [ 276.242980] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a00000000000 crc af [ 276.246926] w1_master_driver w1_bus_master1: Family 0 for 00.a00000000000.af is not registered. [ 309.798495] w1_master_driver w1_bus_master1: Attaching one wire slave 00.600000000000 crc 65 [ 309.806800] w1_master_driver w1_bus_master1: Family 0 for 00.600000000000.65 is not registered. I cant find the gpio for 1 wire like this: $dmesg [ 34.067409] W1_SUNXI: Added w1-gpio on GPIO-10 so how I can find the right pin to use 1wire pls help thx
  10. Hello again, I downloaded the latest Orange Pi Win Ubuntu server – legacy kernel and installed it. It works fine, but when I connect from my win10 notebook via ssh with “putty” or “Windows power shell” the connections stops after the input of the right password. If the Password is wrong i have to re type it. Service ssh status: pam_unix(sshd:sessions): session opened for user root (uid=0) So it looks like the ssh on my “OPI win” works, but on putty I have only a blinking cursor. When I connect ssh via my android phone it works, without problems. Had anyone ells this problem? greetings from Austria Edit1: Solved the problem with this instruction How To Fix SSH Hanging it is working now greetings
  11. This for example? It has the same gpu as the A64. looks like the ASUS-Tinker-Board ist better. link pls greetings thanks
  12. I made many test and i found out that: The preinstalled mpv player works, 720p with about 20% cpu usage. Even 1080p works as long as u don’t move the window. The GTK Youtupe player works also. It looks like kodi don’t support the Hardware Acceleration, with the same 720p file, the cpu usage gets to 80% and the playback is jerky. Looks like Kodi use its one video player. Found something about here: https://forum.kodi.tv/showthread.php?tid=313544 Why the Acceleration works only with mpv? The PVR add-ons are also not working, I can install it and activate it but they are not running and every restart of kodi I get a message to activate it. I can live with that issues, or I use this board for some think different. The Cpu in this board is powerful . The Gpu is good enough for desktop, but compared with TV boxes its weak, should have checked this before buying. Thank to all for you work and this operating system
  13. Thanks for you answer. I tried a lot the last days, and I noticed that the Armbian Ubuntu build is ready to use. So I downloaded it and installed it on sd. And everything was working, so I tried to install kodi and it also worked. In a quick test I noticed that the video quality is not very good. I also installed vlc and the video quality was the same, also with mpv. Even watching YouTube is just with 480p possible, above it is not not ok. I found something about Hardware Accelerating, but I belief it’s already integrated in this apps. Is there something I can to, to make it better? Or is this the maximum of this cpu/gpu, what I can accept. Greetings
  14. Hello I try to install Kodi on a Orange Pi Win plus, but it stops with errors http://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux this commands are working apt-get install software-properties-common add-apt-repository ppa:team-xbmc/ppa apt-get update at this poit i have Troubles apt-get install kodi i didnot find a soulution on google i know the builds are not ready, but is ther a soulution or what can i to. sry for my bad english