Jump to content

Search the Community

Showing results for tags 'orangepi4'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Community
    • Announcements
    • Feature Requests
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Upcoming Hardware (WIP)
    • News
    • Odroid M1
    • ROCK 5B
    • Orange Pi 5
  • 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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL







  1. I tried a lot few days to driver a 3.5" TFT(the display ic is ST7701S,touch ic is FT5316) MIPI DSI color display panel on Orange Pi 4 with kernel 5.10.y . but I unexpected found it worked on linux 4.4 legacy kernel ( but I don't want use legacy kernel ),that below: But on kernel 5.x have some serious error in dmesg: [ 6.135383] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm]) [ 6.136150] rockchip-drm display-subsystem: bound ff960000.mipi (ops dw_mipi_dsi_rockchip_ops [rockchipdrm]) [ 6.405472] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO [ 6.427829] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO [ 6.448508] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO [ 6.469160] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO [ 6.490170] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO ...... what's mean 'dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO' ? I found the code in https://elixir.bootlin.com/linux/v5.10.6/source/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c : static int dw_mipi_dsi_gen_pkt_hdr_write(struct dw_mipi_dsi *dsi, u32 hdr_val) { int ret; u32 val, mask; ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, val, !(val & GEN_CMD_FULL), 1000, CMD_PKT_STATUS_TIMEOUT_US); if (ret) { dev_err(dsi->dev, "failed to get available command FIFO\n"); return ret; } dsi_write(dsi, DSI_GEN_HDR, hdr_val); mask = GEN_CMD_EMPTY | GEN_PLD_W_EMPTY; ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, val, (val & mask) == mask, 1000, CMD_PKT_STATUS_TIMEOUT_US); if (ret) { dev_err(dsi->dev, "failed to write command FIFO\n"); return ret; } return 0; } Someone has tried to do this ?
  2. Hi, I'd really like to set up an affordable pi hole on my new network. I think I have it narrowed down to three choices, but I'm not sure which to select. There's an orange pi 3 LTS kit available for $61. However, there is a warning listed on that Armbian image regarding the PCIE controller, that I don't understand the implications of. How serious is that problem? For a significantly less I can pick up this android TV box, that has set up tutorials on YouTube for Armbian. TX3 Mini Android 8.1 TV Box 4K TV Amlogic S905W Quad core H.265 Decoding 2.4GHz WiFi TV Box - 2GB/16GB. But it's not clear to me how much more challenging this would be to set up/maintain compared to an orange pi. Lastly, there's an orange, For Lts Kit for $110 which is initially quite a bit more than I wanted to pay, but I'm wondering if the ease of setup, and potential additional functionality might make it worth it. It's still less than half the price of a similarly powered raspberry pi at the moment.
  3. IT'S FINALLY HERE... THE OFFICIAL ROCKCHIP-LEGACY MULTIMEDIA INTEGRATION After two years of using a separate script to enable the multimedia features in RK3399 Legacy Kernel, the whole framework has been incorporated to the official Armbian packaging system. The choice distro for this integration is Debian Buster (see FAQ at the end of this post about the reasons). I. Installation Download a Armbian Buster Legacy Desktop image for your board, and install it with the standard Armbian method. Install the complete multimedia solution with sudo apt update && sudo apt upgrade sudo apt install media-buster-legacy-rk3399 --install-recommends The switch "--install-recommends" will add the whole Kodi binary addons collection (retro-gaming cores, music visualizations, screensavers, additional media decoders/encoders, vfs, etc.), plus the GLES-to-OpenGL wrapper "gl4es". II. Features Accelerated GLES/EGL X desktop: No action needed. Accelerated Chromium, with WebGL and video display acceleration: No action needed Desktop video player capable of smooth 4K HEVC-HDR: Use the "Rockchip Gst Player" from the Multimedia menu, or choose it with right-click on the media file. Command-line 4K playing is also possible with "gst-play-1.0 --videosink=kmssink". RKMPP-accelerated MPV: Use normally for standard operation (windowed with mouse-operated GUI). For fullscreen, keyboard-operated mode, use the command line switch "--gpu-context=drm" (this will allow you to play smooth 4K). - See instructions below, in the next post, for playing YouTube videos up to 4K with this MPV. ISP Camera with real-time h.264/1080p HW encoding: Using the Gstreamer Plugin. Check this wiki for instructions on how to use it. Most of it applies to Armbian, except for the selection of ov5647/imx219 camera, which must be done using DT overlays. OpenCL 1.2 support: It will be fully functional, no further action needed. You can download some tests and examples from this link. Kodi 18.9 Leia with full RKMPP+GBM acceleration, 4K-HDR capable: You can start it from LightDM menu as your user account: Alternatively, you can also run it as a system service with these command lines: sudo systemctl disable lightdm sudo systemctl enable kodi-gbm sudo reboot Full collection of Kodi binary add-ons: Includes retrogaming cores, media encoders and decoders, PVR, screensavers, vfs and audio visualizations. They are all installed with the package "kodi-addons-full", but are disabled by default. They need to be enabled individually within the Kodi GUI. OpenGL 2.1 support through the gl4es wrapper: It is installed with the package "gl4es", with no further action needed. III. Sources This is the list of the sources used for the packages: IV. FAQ ¿Why did you use Debian Buster as a base for this implementation? It was the most appropriate for several reasons. Upstream Rockchip-Linux developers use Debian buster, so the software could be ported with less modifications than if we chose a different distro. Besides, it is a completely stable distro, unlike Bullseye, which is a moving target as of today. It also has Chromium as a package, unlike Focal that uses snap instead. For last, it has a good backports repo, with several libs that would otherwise need to be compiled and maintained if we chose, for example, Focal. ¿Why Legacy instead of Mainline? This is an implementation based on the vendor's BSP kernel. It has been tested and is reliable, which many people will prefer rather than having a bleeding-edge, less stable implementation. In addition to that, Mainline upstream multimedia support is still a WIP, and lacks many features that are only present on Legacy kernels. ¿Will you add new features to this implementation? No, this implementation will only receive bug fixes if necessary. From now on, all multimedia work will be focused on Mainline and recent distros (like Focal or Bullseye). All new features will go there.
  4. What i know orange pi has two microphone option. 1- on board microphone 2 - from audio in out When i check with arecord -l i see only one card which is realtek5651 ı have tried voice record with arecord. ı couldnt get any voice. with usb sound card i can record. i can listen with on board auido out. Why i can not get any voice from on board microphone or audio in.? you can see my alsa values http://alsa-project.org/db/?f=351ef8f0285ef89eaa267f2b7ff9866f06ef3413 you can see all informations http://ix.io/2rH8
  5. Hello, I'm trying to figure out how to convert the img.xz file into a usable ISO file to boot onto a USB drive. I have no idea, tried using a few converter tools and they don't seem to be doing the job. Anyone know of a way to accomplish this? Thank you.
  6. Hello! Trying to build legacy buster desktop image for orangePi4 ends with error Processing triggers for libc-bin (2.28-10+deb10u1) ... Processing triggers for systemd (241-7~deb10u8) ... Processing triggers for dbus (1.12.20-0+deb10u1) ... [ o.k. ] Checking MD5 sum of installed packages [ debsums ] [ error ] ERROR in function create_rootfs_cache [ main.sh:588 -> main.sh:549 -> debootstrap.sh:59 -> debootstrap.sh:343 -> general.sh:0 ] [ error ] MD5 sums check of installed packages failed [ o.k. ] Process terminated [ error ] unmount_on_exit() called! [ main.sh:1 -> image-helpers.sh:0 ] [ o.k. ] Unmounting [ /home/lord/build/.tmp/rootfs-b9124b12-3d75-454e-a579-cf4a2a7ea928/ ] [ error ] ERROR in function unmount_on_exit [ main.sh:1 -> image-helpers.sh:94 -> general.sh:0 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated root@lord-VirtualBox:/home/lord/build# build system Ubuntu 22.04 on virtual box. Any suggestions how to overcome this?
  7. Hi everyone, After the last armbian update with a new kernel does the internal networkcard not work anymore! Luckely does a USB NIC work and can i run everything but on only 100Mbps iwonstead of 1Gb of the internal NIC. What i remember did this problem also a few years ago happen. I have pasted all the required info to pastebin because armbianmonitor -u does not work. I got an error that network is not availble. Thank you all for you support!
  8. I've installed the OPI 4 image awhile ago for my PI as that was the only one available. I've since installed just the kernel targeting this model. Is there a way I can ensure future kernel updates will look for the lts model? Thank you. (Also the topic tags are missing the 4lts model as of this moment)
  9. I use orangepi 4B. I use console Ubuntu with kernel 4 from Xunlong And my CPU Temperature (by htop) is about 70°C I use console armbian with kernel 5 (Governor = powersave). And my CPU Temperature is about 79°C Why so? I want to get 70°C in armbian too.
  10. Hi there, now I have pure bug report: done apt update + apt ugprade, GUI frozen, even no SSH, about an hour later (I was outside my house) (probably) restarted but up to multiuser, no GUI at all. Howeve I CAN log over SSH, sthe issue "startx", but ONLY as ROOT. (much indesired, as ex web browser should never be started as root). I can enable remote X in /etc/X11/xinit/xserverrc , then start remote X session. Also "init 5" attempts to start X, but crashes. How to diagnose and repair? Laurent
  11. Hello! I'm trying to build xunlong kernel from https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-5.10-rk3399. I see a .dts file for OrangePi 4 ... but no suitable defconfig or any description what defconfig to use. What I'm doing wrong?
  12. Can't enable (using armbian-config) GUI ("desktop") without enabling 'auto-login". If I try to do so, GUI simply doesn't start. OrangePi 4 (not B), Armbian Buster. Which log shoud I look for info / include on forum?
  13. Board orangepi4b uname -a Linux orangepi4 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64 GNU/Linux Got syntax error on armbianmonitor -u: armbianmonitor -u "System diagnosis information will now be uploaded to syntax error at or near "" Please post the URL in the forum where you've been asked for" set -x armbianmonitor -u Network/firewall problem detected. Not able to upload debug info. Please fix this or use "-U" instead and upload whole output manually attached file err is output from armbianmonitor -U Anyway I had to reflash after a microSD broke. Previously I used 4.4.213-rk3399 (don't recall the armbian version) and then built in wifi worked. Now I used the latest image 5.10.63-rockchip64, and I can't get the built in wifi to work. As I think I recall right, i added the module rtl8189fs with "insmod 8189fs" and the kernel log said [ 4584.914559] RTL871X: module init start [ 4584.914579] RTL871X: rtl8189fs v4.3.24.8_22657.20170607 [ 4584.914783] RTL871X: module init ret=0 but I can't find the device with nmtui or lshw. What Am I doing wrong? err
  14. What is the current pcie link speed set for stable Armbian 5.9.x release? I know stock kernels from orange pi have it set to Gen 1 speed. Need to test some Gen 2 hardware and see if it works.
  15. Oh,I fixed this problem spend 2 weeks,I finally heard sound from 3.5 mm jack (this jack is OMTP otherwise need keep press headphone button) I see this topic,and I compair https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/rt5640.c and https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/rt5651.c,this rt5651 not enable mclk and orangepi4"s rt5651 linked i2s1,the i2s1's SCLK_I2S_8CH parent not SCLK_I2S1_8CH defult and need set alsamixer in following(also use alsactl save this alsamixer state): amixer set 'HPO L' on amixer set 'HPO R' on amixer set 'HPOVOL L' on amixer set 'HPOVOL R' on amixer set 'HPO MIX HPVOL' on amixer set 'OUT MIXL DAC L1' on amixer set 'OUT MIXR DAC R1' on amixer set 'Stereo DAC MIXL DAC L1' on amixer set 'Stereo DAC MIXR DAC R1' on And I not familiar with electronics,I did some patch and hope this can help armbian fix fix-i2s1-clk.patch orangepi4-rt5651.patch orangepi4-i2s_8ch_mclk.dts Armbian applied this patch to 'Armbian build system' and with minor tweaks,you can use it by 'Armbian build system' latest branch.
  16. I've built custom Linux 5 kernel for Oprange PI 4 including only options required for this board and module drivers for peripheral devices. Long story shor: It works, it boots, it runs, it's hot. Now I _think_ I've located cause of overheat: Linux 5.*.* 08:58:34: 1800/1416MHz 2.84 50% 1% 8% 0% 40% 0% 73.3°C 0/5 08:58:40: 1800/1416MHz 2.85 28% 0% 7% 0% 20% 0% 73.3°C 0/5 08:58:45: 1800/1416MHz 3.35 62% 0% 8% 0% 53% 0% 75.6°C 0/5 08:58:50: 1800/1416MHz 3.96 48% 1% 9% 0% 37% 0% 73.9°C 0/5 08:58:55: 1800/1416MHz 4.04 42% 0% 8% 0% 33% 0% 76.9°C 0/5 08:59:00: 1800/1416MHz 4.20 71% 1% 8% 0% 61% 0% 75.6°C 0/5 Compared to this, working on top capacity ~54 degrees: Linux 4.*.* 10:05:44: 1200/1200MHz 2.44 31% 1% 19% 0% 10% 0% 0/5 10:05:49: 1200/1200MHz 2.73 28% 2% 18% 0% 7% 0% 0/5 10:05:55: 1200/1200MHz 2.67 32% 6% 23% 0% 1% 0% 0/5 10:06:00: 1200/1200MHz 2.61 31% 6% 22% 0% 1% 0% 0/5 10:06:05: 1200/1200MHz 2.56 32% 6% 23% 0% 2% 0% 0/5 10:06:10: 1008/1200MHz 2.44 23% 1% 19% 0% 2% 0% 0/5 10:06:15: 1008/1200MHz 2.80 27% 0% 17% 0% 9% 0% 0/5 At the same time on 5.* kernel my USB HDD starts to make strange noises of re initialization. As I get it, 4.* stock kernel is limited by max frequency, which results less heat and less power consumption (obviously). When I run it full speed my USB voltage diminishes. Are any heads up on system tuning for this board?
  17. Hi guys, I am using Orange Pi 4 (RK3399) and put in a SD card Armbian buster (and other time bionic) from the official web site but nothing happens. I have tried so many times using dd command from my debian OS and windows tools to write image on SD card but nothing again. When I start the board with Android the SD card could be read by android, but when I reboot just the red led shines and the screen of monitor doesn't show nothing. I would like some help because I would use my board in my project of postgraduate. Nowadays I am so disappointed with this problem. Best regards.
  18. Hi all, So if a lot of you maybe know is a heatsink and fan a must for the OrangePi 4. With my temporarly installed fan makes a lot of noise i maked yesterday the step to order a Noctua NF-A4x20 5V PWM. The price was arround €17,- not the cheapest but te reviews are amazing. Even on full speed its a lot more silence then the 20x20 mini fan but with a good air flow. But as you could read did i choose for a PWM variant so i could control the rpm´s with a PWM GPIO pin. And amazingly it did work! I have the PWM pin connected to pin 7 of the OrangePi 4. Commands to start pwm for the first time: cd /sys/class/pwm/pwmchip1/ echo 0 > export echo 1000000 > pwmchip1/pwm0/period echo 500000 > pwm0/duty_cycle #and with this step the fan goes on a lower speed echo 1 > pwm0/enable #and back on full speed without PWM echo 0 > pwm0/enable So it´s really nice. And i found a nice script for the Nanopi M4 with also a RK3399 chip from @mar0ni in this topic To make it complete i paste also here the script from @mar0n
  19. Hi there, Just got OPi4 after some problem from Chineses... Problem: - no at all output at HDMI (connected to HDMI-VGA converter and 1920x1024 VGA LCD display, works with OPi PC+), - if Eth connected device gots (after few minutes) IP from DHCP. - no server running on that IP (tried telnet, ssg, WWW), PING works. uSD card with Armbian Buster for OPi4. What to check next? Console? What speed? 115200 or 1.500.000?
  20. @Igor Kernel enabled Bootsplash works great on the recent 20.08 on Orange Pi 4. However there is a delay of around 20 - 30 seconds before this Bootsplash comes up. Is is possible to enable bootsplash on u-boot also on this image? I built a custom image 20.08-trunk with option "Kernel enabled bootsplash' disabled however could not see u-boot bootspalsh on this image. -Rajesh
  21. Hi all! Is it possible to configure Orange Pi 4 wifi to work in AP mode ? Will both 5ghz and 2.4 ghz be supported ? Thanks for advance in answer.
  22. Looks like OPi4 has two active UART interfaces (ttyS2, S4). S2 is connected to the back 3 pins which are the debug ports, and S4 is uart on pins 19,21. Is there anyway to bring up another interface for UART on Pins 8, 10? Ive tried adding uart1,2,3 etc in armbianEnv file in /boot as well as console=display but non of this works.
  23. Hi, I'm struggling to get some sound through a PCM5102a module connected to GPIOs. I guess I've to make a dts-overlay to enable it on i2s0 but I didn't succeed, I'm very new to that. Could anyone tell me how to achieve that ? Many thanks for your work !
  24. Hello, I tried Armbian_21.02.1_Orangepi4_bionic_current_5.10.12_minimal.img and Armbian_21.02.1_Orangepi4_buster_current_5.10.12.img but these two version the eth0 doesn't work. This is the ifconfig printout Last login: Thu Feb 25 09:07:13 2021 root@orangepi4:~# ifconfig eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 6e:6d:04:05:d9:8c txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 35 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet netmask inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet netmask broadcast inet6 fe80::120d:4bf9:fc2a:4604 prefixlen 64 scopeid 0x20<link> ether c0:84:7d:31:4f:92 txqueuelen 1000 (Ethernet) RX packets 90 bytes 10915 (10.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 100 bytes 18412 (17.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Tried using nmtui to activate but it does not activate and return | | | Could not activate connection: │ │ │ │ │ Connection 'Wired connection 1' │ │ │ │ │ is not available on device eth0 │ │ │ │ │ because device has no carrier
  25. After Seeing all that spi nmve boot hype for the other boards and some time left i took the effort to level up the Orange Pi boards because they are the same as the rest it has a rk3399. The Uboot was a mess so i matched it with the kerenel dts a lot and corrected some issues. Dts debug is not the friendliest debug it compiles or not And after some trial and error (a lot ) and finding a spi nor flash wich is supported (or you add one of your own) it costs a esp8266 has 4mb spi flash or a old printer who had a 4mb and 8mb i got a boot from spi so . and with reading the armbian forum i saw 150balbes talked about usb boot and didnt know if usb3 works well after adding some tcphy usb was seen by uboot . so SPI > USB3 boot works and take note USB3 not USBC (fusb30x) yet so next attempt was emmc so ordered some emmc chips , and because there are a lot i made the mistake to order 4.5 instead at least 5.0 so emmc is not checked but should work nothing realy changed there maybey the env in uboot option and you saw also the ? with nvme yeah that is in the mailbox from ali but should also work but is not tested . And even take the kernel dts and changed that to match the other dts in alphabetic order and added USBC so kernel sees the usbc port and change to what is connected as you can see in the kernel logs .only it broke a little the hdmi uboot option why i think it was late and forgot a dts option but i got both the dtb so only have to check what option i forogot to combine those 2 usbc and hdmi . And sure there will be mistakes by me but at least the orangepi4 has is dts updated and more boot options as before and even more as other boards. i attach the armbian patches and log files for who is interested . have fun with it ow ps you have to change the \build\config\boards\orangepi4.conf and add BOOT_FDT_FILE="rockchip/rk3399-orangepi-4.dtb" and in \build\config\sources\families\rk3399.conf add BOOT_SUPPORT_SPI=yes hdmi.dtb hdmi.dts kernel-rockchip64-dev.patch orangepi-4-rk3399_defconfig rk3399-orangepi-4-kernel.dts rk3399-orangepi-4-uboot.dts sd-boot-log.txt sd-dmesg.txt spi-sd-sd-bootlog.txt spi-sd-sd-dmesg.txt spi-sd-sd-dmesg-usbc.txt spi-usb3-hdmi-bootlog.txt spi-usb3-hdmi-dmesg-console.txt spi-usb3-hdmi-dmesg-desktop.txt u-boot-rockchip64-dev.patch usbc.dtb usbc.dts
  • Create New...