Allwinner sunxi
Community maintained Allwinner SoC based boards
5284 topics in this forum
-
i was able to get analog audio from the orange pi one (with some soldering of course) and its plugged into my speakers, but the sound quality is poor while using the default mpv player that came with the image. Were is the equalizer so i can change things like frequencies to make more bass or treble? The music sounds flat like from a portable dvd player.
-
Reputation Points
- 1 reply
- 4.1k views
- 2 followers
-
-
@ag123, @c0rnelius, and anyone else that has interest in sound on these devices. I have been able to put together a patch that enables audio for H161/H618 devices. So far only audio on HDMI works. Analog audio is still generating an error on startup. The patches were taken from a git repository by warpme: https://github.com/warpme/minimyth2/tree/master/script/kernel/linux-6.6/files , and probably came from the Zunlong SDK. A lot of the code was written by Allwinner. @pixdrift generated a version of the patches for Armbian and I continued to work on them. I have a git repository if anyone would like to test, partic…
-
Reputation Points
- 40 replies
- 26.8k views
- 1 follower
-
-
Hello All, Trying to get sound working on my A20 micro. After switching to the Mainline kernel, the sun4i_codec loads and everything seems to be there. But alsamixer, aplay, etc all say that there's no such device. Running as root does not help so this is not a permissions issue. mute@micro:~$ uname -a Linux micro 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux mute@micro:~$ dmesg |grep sun4i-codec [ 10.491588] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok mute@micro:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevic…
-
Hi all, I need a help. I installed the armbian Debian Jessie 4.9.5 in my cubietruck. It is connected via HDMI. How do I set the output of sound to be HDMI? Thanks and best regards
-
Hi, i got a Pinebook and install the latest Armbian Image. All is working fine, only the sound output make problems. It isn't matter if i play a mp3 file or a play a YT Video. The sound is just strechted, drawned, like in slow motion. What can i do to solve this issue? Any ideas? Thank you for your help.
-
Reputation Points
- 5 replies
- 3.5k views
- 1 follower
-
-
My problem with Cubieboard3: input audio file hallo.mp3 with content "Hallo Otto" play hallo.mp3 --> Output on analog audio clipped to: plop lo otto plop It looks like the audio channel must be switched on and off for use. What can I do?
-
Issue: 1. I have Armbian 22.05 installed on emmc 2. I have run apt upgrade 3. During the process, I got an error due stated that no space on /boot 4. I have tried to reboot but no sign that board starting 5. I have burn SD, load from SD, copy SD boot to emmc boot and than can boot from emmc again The main question is how to prevent this issue in future? How to clean-up /boot from obsolete kernels and avoid space issue?
-
Reputation Points
- 1 reply
- 2.2k views
- 1 follower
-
-
Hello, I have installed MPD & ALSA (pulseaudio is removed) on CUBIETRUCK. Wtihin modules I added "sun4i_codec" & "sun4i_spdif" to get loaded. With "aplay -l" I only get: **** List of PLAYBACK Hardware Devices **** card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 LSMOD shows: Module Size Used by bnep 10570 2 hci_uart 17987 1 evdev 12164 1 ir_lirc_codec 4920 0 lirc_dev 8310 1 ir_lirc_codec sunxi_cir 3735 0 sun4i_ts 3990 0 nvmem_sunxi_sid 2159 0 nvm…
-
Reputation Points
- 25 replies
- 7.8k views
-
-
A speed test on my Laptop shows >300 MBPS download speed. when i run the same test using my orange pi 2e+ on the same ethernet GB switch , I get 50 MbPS download. I disabled wifi. tested the cable.What's going on?
-
Reputation Points
- 7 replies
- 5.6k views
- 2 followers
-
-
Hi, I'm using the orange pi plus 2e with armbian server installed on eMMC via the built-in script,as the title says i want ways to reduce boot times. I only need ethernet and usb since i will be using it as a "virtualhere" server. Thanks, linux super noob. regards.
-
Reputation Points
- 18 replies
- 15.1k views
- 1 follower
-
-
Dear All, I build a minecraft server for my 2 lovely kids,,[ and a little bit for myself ] on my Bpi M2 http://www.banana-pi.org/m2.html I run armbian on the board, and i am very happy with this OS> 64gb sd class 10 U3 in it... I read in the documentation that i can give the CPU a boost, with Performance tweaks.. https://docs.armbian.com/ Only i can not let the server crash, so i hope there is some on that can help me with the tweak. I do not now how i can make this tweak and i need a stable server, so i think i cannot go to the highest settings. Only what i say... no experience with this tweak. …
-
Reputation Points
- 1 reply
- 2.7k views
- 1 follower
-
-
Dear.I run for years on my cb2 a home automation system..Only now i need some more power. [ my cpu is running to his max ]Can i speed up the cpu of the CB2?I hope that there ia someone that can help me to let live my cb2 longer..Thanks..
-
Reputation Points
- 1 reply
- 2.2k views
- 1 follower
-
-
I was struggling to make SPH0645 I2S microphone to work with H3 mainline kernel (4.14.87), on NanoPi Neo Core. After weeks of distress, I finally made it work! Maybe some will find it useful. Here's what I did: 1- In file sound/soc/sunxi/sun4i-i2s.c, change the following line { SUN8I_I2S_RX_CHAN_SEL_REG, 0x00000000 } to { SUN8I_I2S_RX_CHAN_SEL_REG, 0x00001000 } You may have to download the linux-source package for your kernel version, or you can build your own kernel. It's weird that in legacy kernel, this register was assigned 0x00001000 by default (and the mic worked easily on that kernel). Not sure why it's changed. I'm not …
-
Reputation Points
- 1 reply
- 4.7k views
- 2 followers
-
-
Hello, I tied to activate SPI an a BananaPI M1 an Armbian VERSION=23.11.1 but didnt succeeded! I activated "spidev" at armbian-config and tried diferent configurations in "armbianEnv.tx. with: overlays=spi0 spi-spidev param_spidev_spi_bus=0 i get roland@bananapi:~$ dmesg | grep spi roland@bananapi:~$ lsmod | grep spi spidev 20480 0 roland@bananapi:~$ ls /dev/spidev* /dev/spidev0.0 roland@bananapi:~$ I installed "Rf24" library for an nrf24l01 module and tried "scanner" "gettingstarted" and my own c++ file. Al long as I define a wrong "CE" pin, I get response from the nrf24I01 modul. Mostly I get some senseless info, but …
-
Reputation Points
- 0 replies
- 1.3k views
-
-
Hi @all, I currently try to build a door-opener with a NanoPi Neo and a MFRC522 Rfid-Module. Unfortunately I don't get the SPI working. I loaded the newest Armbian-Debian from the Website: uname -r = 4.14.18-sunxi and downloaded the SPI-library for NanoPi: https://github.com/wertyzp/WiringNP By using armbian-config I activated "pwm", "sei-add-cs1", "spi-jedec-nor" and "spi-spidev". The problem: If I try to activate SPI with gpio load spi I get the following error-message: modprobe: FATAL: Module spi-sun7i not found in directory /lib/modules/4.14.18-sunxi gpio: Unable to load spi-sun7i So it seems that wiringNp d…
-
Reputation Points
- 1 reply
- 5.2k views
- 1 follower
-
-
Hi to you all. I've had a functional boot from USB flash drive on my OrangePi Zero and when I've updated kernel yesterday from main repository and reboot_ed boot stoped working. I've tried on another fully functional OrangePi Zero with same rom on it and still not working. I've tried to put new "virgin" image to USB flash drive and still nothing. Tried to erase spi and write it againe and still nothing. Any idea what could happened. I'll try today to get serial console to see what is going on during the boot proces.
-
Reputation Points
- 3 replies
- 3.6k views
-
-
Hello, I am working with a Nanopi Neo Air incorporating the System on Chip Allwinner H3. I need to establish a serial communication via the SPI bus, to do this I am looking for some information related to the SPI bus. Can you help me to know the following information please: - What are the min and max SPI bus frequencies that I can use with the Nanopi Neo Air (Allwinner H3)? How can I calculate them? And are there specific frequency values to use (meaning the relationship is not linear, for example: 3.84MHz, 4.34MHz, etc)? - Can the Nanopi Neo Air be configured as an SPI bus master and as a slave (not at the same time) or o…
-
Reputation Points
- 3 replies
- 4.5k views
- 1 follower
-
-
(Finally this forum lets me enter a new topic. It's failing most of the time, making it really hard to solve my actual problem if the infrastructure also fails.) I'm using an Orange Pi Zero board and try to make it talk to a radio module via SPI. The whole thing already works on a Raspberry Pi so the module and cabling is correct. But the module doesn't respond to requests on the Orange Pi. Since this doesn't do anything, I searched for issues like this and along the way found an SPI loopback tool. I tried it and it returned all zeros. The tool readme suggests that the MOSI and MISO pins are not connected, but they are. I checked and resoldered those pins and …
-
Hello! I am using armbian on orangepi zero. Currently SPI_CS line is LOW in default state and goes HIGH when selecting. Does it possible to invert it's state to be HIGH in default state and to be pulled down during line selection?
-
Hi all, I bought this ethernet: The idea is connect to the SPI, but not sure what pines i must to connect... i follow this: Raspi.tv So i connect the pines, exactly like there say, but he connect on the UART not in the SPI :S (have 2 pines more, but the pines that he conenct i have in my ethernet board) So i connect to the gpio of my board and well turn on! yeah! xD: If i fo ifconfig i see this: root@bananapim2:~# ifconfig bond0 Link encap:Ethernet HWaddr 7e:99:6b:7c:04:39 UP BROADCAST MASTER MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 drop…
-
Reputation Points
- 7 replies
- 6.9k views
-
-
I notice there is a 16mb spi flash on the bottom of my orange pi zero. I read it is possible to boot off it. Has anyone done it, and is it useful? Is it possible to run without the sd card? I am interested in locking the sdcard to read only for reliability during power loss, and storing application configuration data to the spi flash if possible. Can it be mounted with a filesystem, or is it better to use a ramdisk and store it periodically to flash?
-
Reputation Points
- 3 replies
- 7.6k views
-
-
Hi all! I have Orange Pi Zero with armbian kernel 4.14. i'm not sure about the topic name, but to me seems like that. I've managed to make spi tft work flawlessly on my zero. But after i've continued with touchscreen module, i've got problems. After X is started, i can confirm touch is working, because when i touch the display, mouse pointer moves. But in the strange way, very laggy (more than a second to respond), but is works only for ~10 secs, then display stops to redraw. And it is not because of bad contacts! Because i've soldered everything together. And it also freezes if i don't touch it. The system is still working tho,…
-
Is it possible to add some gpio chip select for support more than one chip select on board ? Loooked on https://github.com/armbian/linux ... ers/spi/spi-sunxi.c I am not found any support of gpio here. Also here https://github.com/armbian/linux/blob/sun8i/drivers/spi/spi-sunxi.h we can see that only one chip select can be used: /* About CS */ #ifdef CONFIG_ARCH_SUN8IW1P1 #define SUNXI_CS_BITMAP(ch) (ch%2 == 0 ? 1 : 3) #define SUNXI_CS_NUM(ch) (ch%2 == 0 ? 1 : 2) #endif #ifdef CONFIG_ARCH_SUN9IW1P1 #define SUNXI_CS_BITMAP(ch) (ch == 3 ? 7 : 1) #define SUNXI_CS_NUM(ch) (ch == 3 ? 4 : 1) #endif #ifndef SUNXI_CS_BITMAP #defi…
-
Reputation Points
- 17 replies
- 19.4k views
- 3 followers
-
-
Hello, i update my OrangePiZero OS from Linux 5.10.43-sunxi to Linux 5.10.60-sunxi my screen fbtft spi lcd stop working , the screen is black. If there is a solution to this issue I would love to get help, thanks! here my configuration (work on 5.10.43). (Armbianmonitor link of 5.10.43 on top) (Armbianmonitor link of 5.10.60 Attached as a file ) fbtft.dts /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&spi1>; __overlay__ { status = "okay"; }; }; fragment@1 { target = <&pio>; __overlay__ { spi1_cs_pins: spi1_cs_pins { pins = "PA13"…
-
Reputation Points
- 1 reply
- 3.8k views
- 2 followers
-
-
I built an adapter for a SPI interface SD Card Reader (https://www.ebay.com/itm/161201009722). I'm assuming I need to add in an overlay to make this reader show up, but I am not sure what that should be.
-
Reputation Points
- 4 replies
- 2.6k views
- 1 follower
-
-
Hello, guys, has anyone ever faced issues with SPI controller on BananaPi M2 ? I am having a weird issue which is confirmed by at least 2 peripherals: Waveshare 3.5 LCD and NRF24 wireless chip. The data incoming from MISO is always shifted by 1 bit to the left. , i.e. reading STATUS register of NRF24 gives 0x1C instead of expected value 0xE. The same story with other registers. Saleae logic analyzer is always showing correct pictures !!! See attached image as an example of reading STATUS register from NRF24: master is sending 0x07 and receiving 0x0E (14). I have tweaked byte rate and other parameters - no result. I have finally tried to connect using…
-
Hello, I try to communicate via SPI, if i try receive data over SPI on MISO pin I got message without last bit so I should receive 0x23 and i got 0x22. SPI is set on MODE 3. It has same behaviour on PI PC and PC2. If i try on RPi it works fine. Do you have anybody some advice ? Regards Jan
-
Hello, I try to communicate via SPI, if i try receive data over SPI on MISO pin I got message without last bit so I should receive 0x23 and i got 0x22. SPI is set on MODE 3. It has same behaviour on PI PC and PC2. If i try on RPi it works fine. Do you have anybody some advice ? Regards Jan
-
Hi Armbian for Orange Pi Pc. how can I set the SPI mode to 3. When I try #include <linux/spi/spidev.h> //Needed for SPI port #define SPI_INTERFACE "/dev/spidev0.0" uint8_t mode, mode |= SPI_CPHA; mode |= SPI_CPOL; ioctl(file, SPI_IOC_WR_MODE, &mode) returns not allowed. Thanks Brett
-
Reputation Points
- 0 replies
- 2k views
- 1 follower
-
-
Hello, I am using nanoPi Neo Core with mini shield nanoPi NEO CORE/CORE2. The OS that i am using is Armbian stretch downloaded from this link : https://www.armbian.com/nanopi-neo/ The armbian image that I am using is : Armbian_5.65_Nanopineo_Debian_stretch_next_4.14.78 If I try to enable SPI without doing update and upgrade, it works. If I do update and upgrade and then try to activate SPI, it is not working. I dont find the spi device in /dev. Any idea what could be the problem? P.S: Before last week, I didn't have this problem. So I think it is related to a recent update done on this image. Thanks in advance. …
-
Reputation Points
- 11 replies
- 5.9k views
-
-
Hello Genius , I am using Orange Pi Zero with (Armbian_5.38) to communicate with my ADC(AD7124-4) while by activating all channels(0 to 7=total 8) SPI able to display only odd channels(1,3,7) not all(evens and odds = total 8=>1,2,3,....7).when same code I run in raspberry pi without any changes it is working fine and displaying all channels(evens and odds=0 to 7=>total 8). I also tried old OS version with Armbian_5.35,Armbian_5.30 but still facing problem. Does anyone know proper solution for it?
-
Reputation Points
- 4 replies
- 4k views
- 1 follower
-
-
I have recently been trying to get my spi ili9341 working under kernel 6.6, having gotten it working previously. I checked to ensure there were no changes in the overlay required by the newer kernel. I confirmed that the pins were configured correctly and that the ILI9341 DRM module had loaded.. Despite this I was met with a white screen. Think I must have missed something I swapped out my SD card for another using an image based on kernel 5.15.88, where I was able to recieve a display. Looking back over the dmesg log, I noticed a slight difference in behaviour with the older kernel. firstly we can clearly see that the SPI driver is requesting to use gpio 34 as…
-
Hi all, I try to use SPI on the BananaPi M2 Berry. The devices are activated in the configfile and the devices spidev0,0 and spidev1.0 are shown in the /dev .directory but the spi-bus did not work. DMESG shows the following error - messages : [ 0.944871] sun6i-spi 1c05000.spi: Failed to request TX DMA channel [ 0.944893] sun6i-spi 1c05000.spi: Failed to request RX DMA channel [ 0.945987] sun6i-spi 1c06000.spi: Failed to request TX DMA channel [ 0.946006] sun6i-spi 1c06000.spi: Failed to request RX DMA channel OS version is 6.2.12-sunxi Any idea what's wrong ?
-
Hello! I'm trying to get SPI working with Armbian on Cubietruck. Armbian 5.20 Debian Jessie I edited fex, enabled spi as here https://linux-sunxi.org/SPIdev#Configuring_your_FEXbut no spidev device appeared. I have no device tree file in /boot/. Here https://docs.armbian.com/Hardware_Allwinner-A20/is mentioned SPI ready and tested with ILI9341 based 2.4″ TFT LCD displayAs I understand the SPI driver is already in Armbian kernel but to enable spidev I need to do something else? Can anyone explain how to enable SPI on Cubietruck?
-
Reputation Points
- 1 reply
- 3.3k views
-
-
I cannot get SPI working on my Nanopi Duo or rather there is no /dev/spi*. I build a custom Kernel with the build process and Network and other stuff works. Loading the spi-spidev overlay in various ways did not help. (Loading via U-Boot, during runtime, combine the overlay and devicetree and compile it as whole) By the way, the Images from https://www.armbian.com/nanopi-duo/ are not even booting through U-Boot for me. Some Infos:
-
Reputation Points
- 2 replies
- 3.3k views
-
-
Hello, I'm using an SPI device with my board and kernel 3.4. It works like a charm, except that in the bin/fex file I had to add the following lines : [spi_devices] spi_dev_num = 2 [spi_board0] modalias = "spidev" max_speed_hz = 1000000 bus_num = 2 chip_select = 0 mode = 3 full_duplex = 0 manual_cs = 0 [spi_board1] modalias = "spidev" max_speed_hz = 1000000 bus_num = 1 chip_select = 0 mode = 3 full_duplex = 0 manual_cs = 0 without those lines, no /dev/spidevX.Y Now I'm testing new kernels (Jessie Kernel 3.19 / 4.0.4 mainline) and it seems that the bin/fex is ignored now. It uses the device tree files. (/boot/dtb/) but I don't know what I have to do to get my…
-
Reputation Points
- 3 replies
- 6k views
- 1 follower
-
-
Orange pi one refuse to add spi to /dev/. It's 5.73 armbian kernel 4.19.20-sunxi. I've activated spi dev from armbian-config but no device after reboot. Gpio and i2c work great . Anyone had problem like this? Послато са Redmi Note 6 Pro уз помоћ Тапатока
-
Reputation Points
- 6 replies
- 3.8k views
-
-
Good day. My trouble - is not started spi, on orange pi pc, with ARMBIAN 5.25 stable Ubuntu 16.04.2 LTS 4.10.0-sun8i I read documentation for DTB overlays on official site https://docs.armbian.com/Hardware_Allwinner_overlays/ Check armbianEnv.txt, edit DTB (dts) sun8i-h3-orangepi-pc.dts And change status from "disabled" to "okay spi@01c68000 { ...... status = "okay"; ....... This is my /boot/armbianEnv.txt verbosity=1 console=serial overlay_prefix=sun8i-h3 overlays=w1-gpio spi-spidev param_spidev_spi_bus=0 But SPI not started This is boot log h…
-
Reputation Points
- 7 replies
- 9.4k views
-
-
Hi all. I have problem with SPI on my board . I find solution but I want to know why .. On first : Linux orangepizero 5.4.20-sunxi #20.02.1 SMP Mon Feb 17 02:09:41 CET 2020 armv7l armv7l armv7l GNU/Linux If go to armbian-config and enable SpiDev .. then reboot not find SPI device on my dev tree .. if look to armbianEnv.txt there is spi-spidev but on dev tree no SPI device .. My solution is this : on /boot/dtb/overlay is file sun8i-h3-spi-spidev.dtbo , decompile it and there is this text : /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/aliases"; __overlay__ { spi0 = "/soc/spi@01c6…
-
Reputation Points
- 2 replies
- 8.1k views
- 1 follower
-
-
After some hack, I use the SPI port on OPi One to connect with a MAX6675 board. The SPI port on One is SPI0, so armbianEnv.txt should include these: overlays=spi-spidev param_spidev_spi_bus=0 param_spidev_spi_cs=0 the MAX6675 connects to OPi One as: MAX6675 One GPIO ------------------------------------------ VCC PIN17 GND PIN20 SCK PIN23 CS PIN24 SO PIN21 Then use the attachment program to read f…
-
Reputation Points
- 0 replies
- 2.1k views
-
-
Hi I' am trying to use the SPI device on the Olimex Lime 2 board but i am having a lot of trouble. Basicaly i do not see the spidev on the device three. i am using the last image (Armbian_5.91_Lime2_Debian_buster_next_4.19.59), i have activated the overlays and that is the my armbianEnv.txt file verbosity=1 logo=disabled console=both disp_mode=1920x1080p60 overlay_prefix=sun7i-a20 rootdev=UUID=3563b9df-bd15-4366-b897-da0963dfd5a0 rootfstype=ext4 overlays=spi-spidev usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u Where am i wrong? Thanks in advance for any kind of help
-
Reputation Points
- 1 reply
- 2.4k views
- 1 follower
-
-
Hello everyone, I encountered an issue while using SPI with my Orange Pi 3 LTS, and now I'm going to share some solutions. Perhaps the Armbian Team can assist me in resolving the final problem. These tests were conducted on Armbian 23.02.2 Bullseye with Linux 5.15.93-sunxi64. The initial step I took to ensure the appearance of `spidev` on the Orange Pi 3 LTS was to include these configurations in `/boot/armbianEnv.txt`. overlays=spi-spidev1 param_spidev_spi_bus=0 param_spidev_spi_cs=0 Note: If `spi-spidev` and `spi-spidev1` are added together, it will not work, and the `spidev` will not appear when using the `ls /dev/sp*` command. …
-
Reputation Points
- 9 replies
- 15.9k views
- 2 followers
-
-
I first noticed this on my Orange Pi Zero. The latest Armbian releases (4.13.x) have some kind of gap between bytes when transmitting over SPI. I have an SPI performance test built into my SPI_LCD code: https://github.com/bitbank2/SPI_LCD If you run the demo program, it measures how many frames per second it can write to an SPI-connected LCD. On older Armbian builds with kernel version 3.x, it would usually get 27-33FPS on the H2/H3 boards. With the mainline kernel builds and running the same code, I'm seeing 9-17FPS (depending on the board). The H5 doesn't seem to be affected (I'm using an Orange Pi Zero +2 H5 for testing also). Anyone else seeing…
-
Reputation Points
- 0 replies
- 2.5k views
-
-
I'm trying to make working 3.5" 320*480 TFT SPI display with touch screen on NanoPi K1 Plus with Armbian 20.05.2 (kernel 5.4.43). For now it works, but the touchscreen has issues. In empty `startx` session cursor works for few minutes and then hangs, restarting `startx` make it working again for a while. If I try to run x session with chrome, the cursor hangs immediately. openbox-session & chromium --no-first-run --disable --disable-translate --disable-infobars --disable-suggestions-service --disable-save-password-bubble --start-maximized --kiosk --disable-session-crashed-bubble Any ideas how to fix it? Screen image Sp…
-
Neo has one SPI port and I need two, so would like to add another spi using spi-gpio, but no success (I think). I am using Armbian 23.02.2 Bullseye, default kernel does not enable it, recompiled using linux-source-5.15.93-sunxi.tar.xz, enabled spi-gpio as module. Digged around forum, prepared below dts and armbian-add-overlay succeeded. But there is no message arrived when loading (dmesg shows nothing about spi) and no /dev/spi* created. Is it OK or there must be something? Please advise.... / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/"; __overlay__ { …
-
I am working on a project with armbian 23.8.1 embedded in a banana pi m2 zero. I need to use the spi 0 with the two select chips. When I initialize I can only initialize spidev0.0 or spidev 0.1. There is no way that can initialize both. Configure the armbianEnv.txt file with the following parameters: overlays= spi-add-cs1 spi-spidev param_spidev_spi_bus=0 param_spidev_spi_cs=1 Also try other combinations and nothing. Then try to modify the .dtb file by adding cs-gpios and changing status = "okay" but it doesn't work
-
Hi there 👋 I'm using a NanoPi Duo2 with Armbian 21.08.1 Bullseye and Linux jenkins-agent-arm32 5.15.93-sunxi #23.02.2 SMP Fri Feb 17 23:49:46 UTC 2023 armv7l GNU/Linux I want to use an SPI screen on it, but I don't know which library to use to handle the GPIO... I've tested quite a few and none of them seem to work. I have enabled SPI and I2C in `armbian-config` and `sudo i2cdetect -y 0` works (even if nothing is found), but what is the next step? sudo i2cdetect -y 0 [sudo] password for poddingue: 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- --…
-
Reputation Points
- 0 replies
- 2k views
- 1 follower
-
-
Hi, https://www.armbian.com/orange-pi-pc2/ states: "Following features should work:" ... "SPI+USB boot" . I was trying to load u-boot from the SPI (but without success). I followed the instructions in u-boot/board/sunxi/README.sunxi64 : $ ./sunxi-fel spiflash-write 0 spl/sunxi-spl.bin $ ./sunxi-fel spiflash-write 32768 u-boot.itb Booting from SPI ends with an exception: U-Boot SPL 2017.09-armbian (Sep 13 2017 - 12:23:18) DRAM: 1024 MiB Trying to boot from sunxi SPI "Synchronous Abort" handler, esr 0x02000000 ELR: 4a000000 LR: 125cc x 0: 000000004a000000 x 1: 0000000000000000 x 2: 0000000000007000 x 3: 000000007…
-
Reputation Points
- 17 replies
- 14.8k views
- 2 followers
-
-
Heya, Configuration :: Friendlyarm NanoPi Neo (Allwinner H3) Matrix TFT2.8 (https://www.friendlyarm.com/index.php?route=product/product&product_id=102) Armbian Release: Bionic 5.8.y found here: https://www.armbian.com/nanopi-neo/ I have this st7789v-based display working on spi0.0 by utilising a custom overlay tft28.dts as below, but I cannot get the ads7846 touchscreen controller to use an additional gpio chip select (ie: spi0.1) because the ads7846 driver seems to be holding that additional cs line in a 'logic 0' state at zero volts. I believe the hardware is not at fault because it works correctly using the Friendl…
-
Reputation Points
- 4 replies
- 5.4k views
- 1 follower
-
-
Hi I want to use SPI0 with cubietruck. SPI2 works. However I failed with SPI0. What needs to be done (in script.fex, kernel, etc) to get it work?
-
Hi, As you can see in the armbianmonitor output, an error prevents from using the Spi with the Orange pi Zero board using a newly downloaded Armbian image. The output refers to the Armbian-Hirsute image (the last one tested) but the same error also occurs with the Buster and Focal images. Unfortunately I don't have the knowledge to correct the following error myself: [3.349869] sun6i-spi 1c68000.spi: chipselect 0 already in use [3.349901] spi_master spi0: spi_device register error / soc / spi @ 1c68000 / flash @ 0 [3.349953] spi_master spi0: Failed to create SPI device for / soc / spi @ 1c68000 / flash @ 0 The only commands exe…
-
Good day to all! I was wondering how would I be able to spin down the hard drives connected to my bananapi media/file server to save power and reduce wear and tear. Thank you in advance!
-
Reputation Points
- 5 replies
- 5.7k views
-
-
Hi, I have managed to install u-boot on the spl flash, and it properly runs and detects everything, but i've run into a bit of an issue, while loading the kernel, it gets stuck. To create the usb drive I just cloned the partition of the sd card (not the whole card, just the ext4 partition), I don't know if that can be the issue. here is the full log: https://pastebin.com/jPEkMnYq Any ideas?
-
Hi, I am looking for a solution or tutorial to help me enable splash screen for Orange Pi One. Thanks.
-
Hello! I had a problem. I noticed for the third time in a week. After one day of standby (idle) is disabled WLAN. Not connected for SSH. It is unacceptable. How to fix it? ------------------------------------------------------------- BananaPi Pro (yellow/black) Vanilla Jessie.
-
I’ve been running Armbian from an SSD for a while using this guide: https://jamesachambers.com/orange-pi-zero-2-usb-ssd-boot-guide/ Recently, after running apt update && apt full-upgrade, the following issues have occurred: 1. Wi-Fi adapter is no longer detected. 2. CPU utilization exceeds 80% when accessing the Gnome launcher or starting GUI apps (e.g., a web browser, even without opening a webpage). 3. The system becomes laggy and nearly unusable, noticeable when moving the mouse. Are there recent changes to Armbian that affect SSD booting? Is there a workaround for these issues?
-
Reputation Points
- 2 replies
- 2k views
- 1 follower
-
-
Latest kernels include experimental fbttf modules. I connect cheapest oled screen(128x64px) via SPI to orange pi pc. Connections: data - spi0 mosi (PC0 pin 19) clk - spi0 clk (PC2 pin 23) cs - spi0 cs (PC3 pin 24) d/c - PC7 (pin 18) vcc - 3.3v (pin 1) gnd - gnd (pin 6) dts overlay: /* * adafruit13m-overlay.dts * * based on overlay for RPi https://github.com/kenrestivo/linux/blob/3d61a22b05cbf7ac2f6b620dcd45c2fb49fb9442/arch/arm/boot/dts/overlays/adafruit13m-overlay.dts */ /dts-v1/ /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target-path = "/aliases"; __overlay__ { spi0 = "/soc/spi@01c6800…
-
Reputation Points
- 0 replies
- 5.1k views
-
-
Hello wonderful people! I am having trouble getting my SSD1351 1.5" RGB SPI OLED working with my NanoPi Neo v1.4 running armbian 23.11.1 with kernel 6.1.63.. Since the removal of fbtft_device from the linux kernel I have had a really hard time getting any screen to work with any of my SBC's (except RaspberryPi using the fbcp_ili9341 library) I have tried converting fbcp_ili9341 for use with the NanoPi but I keep getting "Failed to load VideoCore kernel Mailbox"... so I gave up on that lol.. Then I learned dtoverlay was a thing and after days of searching around I eventually found a .dts file for the SSD1351 here (https://github.com…
-
Reputation Points
- 10 replies
- 4.4k views
-
-
Hi! I've been using Armbian on my a20 olinuxino lime2 board without issues for over a year now. Yesterday i decided to reflash the installation image onto the SD board. I've tried to flash it to different SD cards using the same method (SD card formatter + etcher), all of them booted but the SSH server always refuses the connection. Are there any workarounds to this?
-
Dear Igor, first of all: Thank you very much for the work on armbian! My problem now is: I installed armbian on my cubieboard 2 (on 16 GB SD card) and first everthing went fine. I did all the management via putty and ssh but since a couple of days I can't ssh anymore. That means, ssh login with username and password is succesful, but I do not get any command line. Besides I get a couple of other problems: One is, when I boot up, I takes about 10 min, since problems with "LSB", this means: It takes about 5 minutes withe the message: "a start job is running for LSB: raise network interfaces" Similiar problems occur during shutting down the system (…
-
due to systemd updates to a new version, maybe it's not compact with old kernel. after system upgrade, it fails to start sshd. after read code, insystemd-tmpfile chase_symlinks() return -EBADF from kernel, I guess legacy kernel not compact with newer systemd.
-
Reputation Points
- 36 replies
- 24.2k views
- 4 followers
-
-
Hi, I'm using several Orange Pi Zero boards. At any given time, when I run "reboot now", I can no longer access the OPI via ssh. I tested the following distributions: Armbian_5.25_Orangepizero_Ubuntu_xenial_default_3.4.113 Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113 All the programs I installed, which start from boot normally work, but I can not access via SSH. Is there any corruption of ssh files? Thank you for your help
-
I've just asked this question on the UNIX StackExchange - but I am hoping that the Armbian wizards may have a better idea on what is happening. The setup: - Machine 1 is an Arch Linux laptop, on which `ssh` is spawned, connecting to an Armbian-running SBC (an Orange PI Zero). - The SBC itself is connected via Ethernet to a DSL router, and has an IP of 192.168.1.150 - The laptop is connected to the router over WiFi. - There's also another laptop (Machine 2) connected via Ethernet to the DSL router. When benchmarked with `iperf3`, the link between the laptop and the SBC is less than the theoretical 56 MBits/sec - as expected, since …
-
Hi, i have a problem with my two Orange Pi Zero´s The Orange Pi Zero´s are installed with the latest Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113 Both Opis are only connected to 5V2A over the microUSB Port and the LAN Port (not WLAN) and use a recommended Sandisk 16GB microSD Card. Both Pi´s are not reachable over SSH maybe 15 Minutes after boot. Direct after the boot SSH is working. Other Services like ping and the installed snmp deamon are working pretty well. Only SSH access stops working after maybe 15 Minutes. There is nothing connected to the OPIS. Is there a known problem with SSH deamon? Greets and thx for help …
-
Reputation Points
- 8 replies
- 4k views
- 1 follower
-
-
I know I need to find out which drivers to use... I just don't know where to start, I know I've seen some people having success with these displays - ili9488, and a couple others - I just don't know if this fits one of those overlays or not. (nothing I've tried so far has worked). Any help identifying and pointing in the right direction, I would greatly appreciate. Trying to get this to work on my Orange Pi Zero 3 4gb. (uploading images has failed.... so I guess I'll link them?) https://imgur.com/a/NORYCj7 *edit 12/21 - renamed topic since I've Identified the display, going to track my (our?) progress with trying to get it to work…
-
Reputation Points
- 17 replies
- 12.7k views
- 1 follower
-
-
Greetings, I recently purchased an Orange Pi Zero for the purpose of Pi-Hole. I have been running Pi-Hole on a Raspberry Pi-1 under Jessie and the stability was great. I never had to worry about it. However, with Orange Pi Zero, running Armbian/Jessie as well, I get a maximum of 2 days of up-time. This is a standard armbian/jessie installation with only pi-hole installed. Since there is no video output (I did not purchase the extension board), I had to perform a power-off/on. Without ruling out the possibility of hardware fault (SD card or USB power supply), does anyone have stability problem of Armbian/Jessie on Orange Pi Zero? …
-
Hi, From months i'm using the raspberry boards to monitor, control, log and to sending commands to remote stations. I've fighted against wifi devices that stop to work untill i've tried the raspberry pi3 and the edimax dongles, correct the sd errors (untill i've decided to run the boards with a readonly fs), installed the (software) watchdog, etc... but now everything works perfectly from months on more then 20 boards equipped with good power supply and sd. The last months i've tried to replace the raspberry pi board, with the orange pi lite board and armbian jessie 5.20 server. With the old version of orange pi pc, connected by ethernet, everything works fine, but wi…
-
Reputation Points
- 52 replies
- 23.8k views
- 2 followers
-
-
A quick one... is there an estimated date on when a stable version (next version) will be released for OPI Zero...? I am looking for to have the following included: > Full H2+ support / would be great with the goal to to force the power consumption to the lower side > SPI boot from USB > Working serial gadget / Serial through OTG
-
Reputation Points
- 3 replies
- 3k views
- 1 follower
-
-
Is it possible to return to the old standart motd on armbian jessie sounds like a joke but im an minimal user and when it is possible how can i do this thank you
-
Reputation Points
- 1 reply
- 2.2k views
-
-
Hi, Lime2 A20 not even detecting mini usb ethernet, which was working perfectly fine on 3.xx. Manfu: Netgear USB: USB 2.0 Ethernet Adapter P/N: 322-10167-01 dmesg doesn't even list the device. Could board's port be damaged? I tired usb port with usb ethernet, it lists as: I'm using arbmian Ubuntu 18.04 with beta packages. Thanks
-
Reputation Points
- 3 replies
- 3k views
-
-
Nanopi neo air stucks on "Starting kernel..." after some random power losses (2-50) during loading I think it's because of corruption of armbianEnv.txt. Normal UART logs: UART Logs with stucking on "Starting kernel" U-Boot SPL 2024.01_armbian-202ns16550_serial serial@1c28000: p024.01-S866c-P7738-Hadc5-Vefe9-B2eb2-R448a (Feb 06 2026 - 03:49:45 +0000) Allwinner Technology 0) Model: FriendlyARM NanoPi NEent from FAT... Unable to use mmc 1:1... ial Err: serial Net: No ethernet found. starting USB... No working controllers found 1(part 0) is current device Scacr 5475 bytes read in 2 ms (2.6 MiB/s) ## Executing script at 43100000 U-boot loaded from eMMC or s…
-
Hi, first post here, so a bit of context: I have owned my Orange Pi PC for a while and have it set up running the latest Armbian with legacy kernel, serving files over AFP and SMB on the local network and running a Transmission daemon. I set it up with the desktop image but followed the instructions in the documentation to remove the desktop environment etc. I believe that this has left the VDPAU and Cedrus related files intact. As I am using it as a media server I thought it would be interesting to leverage the H3's capabilities of encoding H.264 to convert old DivX files into a more modern format, but none of the solutions I have found for this work correctly. It seems…
-
Reputation Points
- 2 replies
- 9.3k views
- 1 follower
-
-
Hi guys, its the first time im gonna post here so bear with me, i am a recent user of orange pi zero 3, one with 4GB RAM and i have been able to run the latest community release on it, things work besides audio thru hdmi, but i have noticed that the video encoding and decoding is not working, albeit 3d acceleration works thru panfrost and Mesa. I have been digging this topic and i wanted to share what i found and maybe validate if im right or perhaps i am not getting this well. 1. Video encoding and decoding in G31-MP2 is something separated from what Mesa and panfrost would do, so even if those work i cant get video acceleration with h.264 etc. …
-
Reputation Points
- 7 replies
- 14.6k views
- 3 followers
-
-
Hi there, I am using Workstation edition on OPi PC+, system quite up to date. Problem: wired ethernet looks hardwired to DHCP (client) and I want to use static address(es). There is Network Monitor but I can't edit / delete "ifupdown(eth0)" connection. I can create another connection for wired eth in NM, static address, but it does not go active on system startup. I can switch off "eth0" and activate another connection from NM desktop, but I want system to start automatically with static IP (w/o user action).
-
Reputation Points
- 1 reply
- 2.2k views
-
-
What's the current status of the mainline kernel? What kind of practical restrictions are there? I've seen on the Sunxi wiki that Ethernet is still WIP. So no Ethernet? I use my Orangepi PC as a "NAS/media server/download server".
-
Hello, my syntek is on Orangepi Lite successfully identified as 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device but I don't see it in /dev (usually it displays as /dev/video0 on Raspberry) Any idea how can I play video from Syntek in vlc? Many thanks
-
The following message is logged when you start using the following versions of the vanilla kernel debian jessie and get stuck. [ TIME ] Timed out waiting for device dev-ttyS0.device. [ DEPEND ] Denpendency failed for Serial Getty ono ttyS0. 4.3 and 4.5 install to the SD card by entering the same State. legacy kernel even experiencing the same symptoms and can't get to the login prompt. What should I do?
-
Hi, I am using orangepi+, i have a problem. My os version is Armbian_5.20_Orangepiplus_Debian_jessie_3.4.112_server. but, when i use reboot command, somtimes it's stopped, it's stop point is -> Starting LSB: set CPUFreq Kernel parameters... I don't know why it's stoped.. plz reply. Thanks.
-
Reputation Points
- 4 replies
- 2.8k views
-
-
Hello everyone. I'm experiencing some strange issue with my cubieboard and its connection to the internet. I boot it up and it works correctly, but after a day or two, I can't communicate with it using a ssh program, or vnc viewer. My other two servers that uses Linux Mint is working normally, so I think the problem is not my router. (I even swapped the Ethernet cables between my servers). If I connect a display on my cubieboard and try to ping my Windows computer, then I'm able to ssh my cubieboard using my computer. Sometimes I'm unable to connect to my cubieboard via ssh using my windows and my Android phone, but if I try using my Linux machine, I can connect with…
-
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.
-
Reputation Points
- 0 replies
- 1.7k views
- 1 follower
-
-
Good afternoon, I am using armbian 5.25 on orangepipcplus with legacy kernel. when visiting google.com site with firefox, I will only see the "mobile" site with restricted functionality. On the bottom of the screen there is a link "Google-Ansicht klassisch" which should bring me to the desktop version of google. But when pressing this a popup tries to come up but will not finish its presentation. Now this tab is blocked, I never get to accept google terms and conditions and can not use google. Do you see the same behaviour? Is there any known remedy? PS: Yes, I tried firefox "safe mode" - same thing! Thanks, gnasch
-
Reputation Points
- 0 replies
- 1.8k views
- 1 follower
-
-
Hello, I have installed Armbian on my Banana M1+ and I have noticed „something“ strange in network communication. The network connector blinked rapidly even though nothing was running so I have installed iftop and found out this: iftop -i eth0 -NP Ankh-Morpork => a81.sub72.net78.udm.net Ankh-Morpork:51413 => a81.sub72.net78.udm.net:57855 Ankh-Morpork => ip70-118.245.80.crimea.com Ankh-Morpork:51413 => ip70-118.245.80.crimea.com:52026 Ankh-Morpork => adsl-225.37.6.247.tellas.gr Ankh-Morpork => ip5653f1a5.direct-adsl.nl Ankh-Morpork:51413 => adsl-225.37.6.247.tellas.gr:29932 Ankh-Morpork:51413 => ip5653f1a5.direct-adsl.nl:6881 I am won…
-
Scenario 1:[router]<--(ethernet)-->[pcDuino3] pcDuino3 IP: 192.168.1.5 root@pcduino3nano:~# dpkg-reconfigure tzdata Current default time zone: 'America/Bogota' Local time is now: Wed Dec 31 20:48:49 COT 1969. Universal Time is now: Thu Jan 1 01:48:49 UTC 1970. root@pcduino3nano:~# date Wed Dec 31 20:49:01 COT 1969 root@pcduino3nano:~# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== yak.osoal.org.n .INIT. 16 u - 64 0 0.000 0.000 0.000 bunny.zeroloop. .INIT. 16 u - 64 0 0.000 0.000 0.…
-
Hello, Me, again !! I used pwm on Lime2 with 3.4.109 and works fine (generating sounds with 2-3 Khz) But, with 3.4.112, I have sound up to 363 Hz. Beginning with 364 Hz ... no sound !! I verified with an oscilloscope and I don't have rectangular waves over 364 Hz . Did anybody experienced such a strange thing ? What can be this 364 limit ? Thanks, Regards,
-
Reputation Points
- 0 replies
- 2.2k views
-
-
Hello, everybody. I have an orange pi pc2 device with armbian-release on it: BOARD=orangepipc2 BOARD_NAME="Orange Pi PC2" BOARDFAMILY=sun50iw2 VERSION=5.46 LINUXFAMILY=sunxi64 BRANCH=next ARCH=arm64 IMAGE_TYPE=custom BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image I was install my nodejs app on it, which lunch on start up. Device now is remote. Everything was fine, but now i have a look at log (my nodejs log) and see strange reboots after that my app dose not lunch. When I ask people (device is remote and is ON) do OUT/IN power on it - after that everesing fine until the another randoml…
-
Reputation Points
- 4 replies
- 3.2k views
- 2 followers
-
-
Hi, I have noticed very strange behaviour of my OrangePi PC Plus. Device is connected to internet via Wifi. After successful connection, device is connected to VPN service. A cron script is checking every minute if VPN is working, and if not, it is restarting connection. On every hour, Network Manager is being restarted (you will see why is that so later). On every minute NTP is querryed for time synchronisation. After VPN restart or rebooting of device, device sends an e-mail notification via GMail. On eth0 there is DHCP server running (dnsmasq), which is providing internet to a device connected to OrangePi. So basically, you plug in ethernet cabl…
-
Reputation Points
- 0 replies
- 2.6k views
- 1 follower
-
-
I am operating a headless data acquisition system with Orange Pi Zero Plus2. In the readings I collect among others data from a discrete separate 18B20 sensor and record the H3 CPU temperature. The 18B20 reading comes from the w1 kernel routine, the CPU temp is provided by armbian OS. With the new OS 5.8.16 I see a strange effect: reading .... the external sensor at /sys/bus/w1/devices/<sensID>/temperature and the CPU temperature at /etc/armbianmonitor/datasources/@soctemp it gives the same reading correct to a 1/100 degree. Even when the system runs low power - this cannot be true. I have no idea how these results can be mixed in t…
-
Reputation Points
- 6 replies
- 5.3k views
-
-
Hello ! I recently reimaged my BPi M1 with the vanilla headless Debian Jessie from Armbian. But I have two problems: Main problem (the worst): I have a RAID SATA to USB enclosure (this one: BS-EHD-35/DUALB). After some times and randomly, the drives stops spinning and the enclosure stops itself. I've disabled any power management on hard drive, setup a cron job to write a file every 5 min, disabled autosuspend in usb core... I didn't have this problem with the legacy kernel. I cannot downgrade to it, because I'm using BTRFS with some non-compatible extensions. Note: this is a server with apache, Deluge, Plex and Sonarr. Side problems (I can live with if the first is O…
-
Hello, i am a "newbee" , just got yesterday my orange pi and did not get it working..... after hours i managed but it is strange ( i think ) the orange does NOT start with NO monitor cable attached..... it does does NOT start with a hdmi-dvi converter.... ( that i found on the web ). The ONLY way i get it started is : 1 - HDMI cable attached to a HDMI monitor AND 2 - Power button pushed AND 3 - then as last one plugin the power cable.... is that normal ?. i doubt it , that is why i ask... also then I have armbian working, super, no problem. but when hitting the restart button in Armbian the orange Pi plus 2e s…
-
Reputation Points
- 3 replies
- 2.3k views
-
-
i have an Orange Pi Zero. I add a simple Soundcard with sound in to the USB. I want to stream the sound comes from the AudioIn (usb) in to my local Wlan. What do i need? Is it possible with icecast2, darkice and Pulseaudio like in this Tutorial: https://michaelfranzl.com/2013/11/25/audio-streaming/ ?? or there other ways? thank you for help.
-
Just run these commands one by one : sudo apt-get install git automake libglib2.0-dev gstreamer0.10-alsa gstreamer0.10-tools libgstreamer0.10-dev libupnp-dev libxml2-dev gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-fluendo-mp3 gstreamer0.10-pulseaudio pulseaudio git clone https://github.com/hzeller/gmrender-resurrect.git cd gmrender-resurrect ./configure LIBS=-lm make sudo make install gmediarender -f OPI and to add video play back install gstreamer: sudo apt-get install gstreamer1.0 the last command run gmediarender server and now u cat sream audio from phone using any app that support dnla. like this app: https://play.google.com/store…
-
Hello, Installed some updates recently on OrangePi PC Plus and after reboot I'm stuck on boot screen with message "Starting kernel...". Would this be logged somewhere? Any way to recover from this or should I start from scratch? boot error
-
Reputation Points
- 15 replies
- 12.8k views
- 1 follower
-
-
I'm trying to send a music from my NAS on the base of Cuibetruck (Allwinner Tech SOC A20 ARM Cortex-A7 Dual-Core T) Ubuntu Xenial with Armbian Linux 3.4.113-sun7i with bluealsa to my bluetoothreceiver connected to speakers. My working configs are in my answer to the question: https://askubuntu.com/questions/1197072/sending-audio-to-bluetooth-speaker-with-bluealsa Anyway when I play mp3 with mpd or wav with aplay the music is extremely stuttering. Question on bluealsa Github (https://github.com/Arkq/bluez-alsa/issues/279) ended with advice to check UART set up (which is already too complicated for me). My question is anybody managed to setup a nice and smooth audio ou…
-
This is based on the guide at http://linux-sunxi.org/Qt5_For_Mali_Binarieswith modification. 1. compile armbian (In my case Jessie without desktop) from source https://github.com/igorpecovnik/lib 2. log in and edit /etc/modules-load.d/modules.conf add following line: 8189fs mali ump drm mali_drm sunxi_cedar_mod 3. Change the default gcc to gcc-4.8: sudo apt-get install gcc-4.8 g++-4.8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 10 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 10 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20 sudo update-alternatives --install /usr/bin/g++ g++…
-
Hi I have a suggestion to modify update-mot.d script 30-sysinfo. It reports battery chargin or not depending on percentage (if <100% then is charging): # Battery info for Allwinner # kernel 4.4+ axp_dir="/sys/power/axp_pmu" if [[ -e "$axp_dir" ]]; then status_battery_connected=$(cat $axp_dir/battery/connected) if [[ "$status_battery_connected" == "1" ]]; then status_battery_charging=$(cat $axp_dir/charger/charging) status_ac_connect=$(cat $axp_dir/ac/connected) battery_percent=$(cat $axp_dir/battery/capacity) # dispay charging / percentage if [[ "$status_ac_connect" == "1" && …
-
Reputation Points
- 3 replies
- 3.3k views
- 1 follower
-
-
With every upgrade I struggle with a "changed to default" login welcome message and have to do my modifications again. Therefore I would like to explain my changes and hope you can integrate them in the default version...: Your welcome message prints the $BOARD_NAME as ASCII art. Probably you have dozens of boards and can distinguish them in this way. So after login-in you directly see which board it is. I have only one type of "boards" (Cubietruck) and distinguish them by their hostname. So I have to replace "$BOARD_NAME" with "$(hostname -s)" in /etc/update-motd.d/10-header to identify my boards. What do you think about a change in that direction?
-
Reputation Points
- 1 reply
- 4.4k views
-
-
Hi Everyone. I have been looking for a way to connect this keypad directly to my Orange Pi PC+ directly through gpio without resistors. https://www.adafruit.com/product/1332 I also need software (hopefully either bash or python) to read a key press and then either run a script or perform a command. If anyone here done this or even connected 1 switch to gpio (without resistors), could you please post the solution or a link to follow. Thanks. V
-
Reputation Points
- 4 replies
- 4.4k views
-
-
Hello, Im currently working on making lima run with an original 5"-LCD on BananaPro. My problem is to make it work with the sun4i-drm driver. At boot everything works fine and the display shows u-boot and kernel outputs but when the kernel starts the sun4i-drm driver the display freezes and turns white after some seconds. dmesg says: [ 11.178221] sun4i-drm display-engine: bound 1e00000.display-frontend (ops 0xc09986d4) [ 11.178361] sun4i-drm display-engine: bound 1e20000.display-frontend (ops 0xc09986d4) [ 11.178858] sun4i-drm display-engine: bound 1e60000.display-backend (ops sun4i_backend_ops [sun4i_backend]) [ 11.179226] sun4i-drm dis…
-
Reputation Points
- 11 replies
- 19.2k views
- 1 follower
-
-
When testing my most recent builds using the Armbian build framework I found that I was experiencing a constant load greater than 1.00. At first, I thought this is probably normal to have a load during the system boot but after waiting over 10 minutes I found that the load did not decrease. Firstly, I used HTOP but could not find a process that was heavy utilising the CPU with the relative CPU usage show as low. Next I tried using TOP which revealed a process called kworker: freezeable_power. Trying to search for the issue I did not find much until I came across this old forum post that described the same issues I was having: https://forum.armbian.com/topic/75…
-
Reputation Points
- 0 replies
- 1.7k views
- 1 follower
-
-
Hi, there are invalid references inside sun50i-h5-fixup.scr, I think. I use NANOPINEO2, myself compiled linux-*-current-sunxi64_20.05.0-trunk_arm64.deb, kernel 5.4.28-sunxi64 #trunk SMP PREEMPT. amrbianEnv.txt (reduced): overlay_prefix=sun50i-h5 overlays=i2c0 uart1 uart2 usbhost1 usbhost2 usbhost3 param_uart1_rtscts=1 param_uart2_rtscts=1 For example, the row param_uart2_rtscts=1 leads to use following rows of sun50i-h5-fixup.scr: fdt get value tmp_phandle1 /soc/pinctrl@1c20800/uart2 phandle fdt get value tmp_phandle2 /soc/pinctrl@1c20800/uart2_rts_cts phandle fd…
-
Reputation Points
- 3 replies
- 3.7k views
- 1 follower
-