Jump to content

Search the Community

Showing results for tags 'orangepizero2'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. Hi all, has anyone ever tried to use an atomic firmware upgrade system like rauc or swupdate? https://rauc.readthedocs.io/en/latest/ https://sbabic.github.io/swupdate/swupdate.html I am playing with rauc, in order to do that I have to customize the partitioning of the SD/eMMC: - root1 (4GB) - root2 (4GB) - data (8GB, or remaining space) Can someone suggest how to customize partitioning in such way? I played around setting USE_HOOK_FOR_PARTITION=yes, and hooking the create_partition_table but had no luck. Any hint? Thanks in advance! Andrea
  2. Hello, I've been using OPiZ2 for about 2 years as Pi-hole in gravity-sync with another one (Orange Pi 3 LTS running Open Media Vault with no problem). Today I found out it was dead, no connection and just a blank screen. It must have happened in the past few days, because I checked it on sunday and it was up and running. I'm almost sure I was using it with Armbian_22.11.0-trunk_Orangepizero2_sid_edge_6.0.6. i have extracted the sd card and checked it on Windows with Diskinternals reader and Minitool Partition Wizard, no problem found. The most recent files and folders have been modified on 2024-07-12, eleven days ago, much prior to my checking, so there is no info about the last hours/days. When I first installed Armbian, I used a version that would brick the OpiZ2 with apt upgrade, but a long time has passed and I don't remember if that issue was fixed. Now, can I somehow resuscitate this install? If not, can I clone/recover at least the pi-hole/unbound/gravitysinc settings? And what version of Armbian should I use? I've downloaded Armbian_24.5.3_Orangepizero2_bookworm_current_6.6.31_minimal, but I came here to ask before doing something.
  3. I got my 320x240 ILI9341 touchscreen to work with the image from the OrangePI site: Armbian_23.5.2_Orangepizero2_bookworm_legacy_4.9.318_minimal The display is one I bought from Amazon Hosyond 2.8 Inches TFT LCD Touch Screen Shield Display Module 320x240 SPI Serial ILI9341 with Touch Pen Compatible with Arduino R3/Mega2560 Development Board This document was very helpful getting the display set up on the OPZero 2: https://tienda.tettsa.gt/wp-content/uploads/2022/08/OrangePi_Zero2_H616_User-manual_v3.7.pdf I still don't have the touch part working. If anyone has success getting 2 selects working with SPI1 on OPZero2 and touch working, let me know. The basic steps to getting the SPI LCD to work are: 1) wire up the display to the OPZero2 2.8 Inch TFT SPI 240x320 => OPZero2 1 - VCC => (1) 3.3v 2 - GND => (6) Gnd 3 - CS => (24) Spi1 CS 4 - RESET => (7) GPIO 6 5 - DC => (11) GPIO 1 6 - SDI (MOSI) => (19) Spi1 MOSI 7 - SCLK => (23) Spi1 CLK 8 - LED => (13) GPIO 0 9 - SDO (MISO) => (21) Spi1 MISO 10 - T_CLK 11 - T_CS 12 - T_DIN 13 - T_DO 14 - T_IRQ 2) Install Armbian_23.5.2_Orangepizero2_bookworm_legacy_4.9.318_minimal - must be legacy kernel to work 4.9 is OK 3) sudo apt install fbi kbd armbian-config 4) sudo armbian-config set up desktop now to make the LCD work and start on boot 5) sudo nano /boot/armbianEnv.txt overlays=spi-spidev param_spidev_spi_bus=1 param_spidev_spi_cs=1 extraargs=fbcon=map:1 6) sudo nano /etc/modules-load.d/fbtft.conf fbtft fbtft_device 7) sudo nano etc/modprobe.d/fbtft.conf options fbtft_device custom name=fb_ili9341 gpios=dc:70,reset:73,led:69 speed=16000000 busnum=1 cs=1 bgr=1 txtbuflen-32768 fps=10 rotate=90 😎 sudo dpkg-reconfigure console-setup select UTF-8 select Guess optimal character set select terminus select 6/12 9) sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf Section "Device" Identifier "myfb" Driver "fbdev" Option "fbdev" "/dev/fb1" EndSection Now when it boots it should boot to the SPI LCD Display
  4. My friend, when he next inserted the microSD card into the Orange Pi Zero 2 slot, the microSD slot fell off the board 😞 It is not possible to solder it because some of the tracks on the board have become detached so Is it possible to run the ArmBian system on OZPi v2 with a copy of the microSD system on a USB Pendrive? I am looking for a method to run OZIPI v2 without microSD on the system via USB disk
  5. First off, I would like to give the crew at Armbian a huge heartfelt thanks for all the awesome work you do under sometimes trying conditions. I would like to present Archian, the bastard child of Armbian & Arch. Why … well, the project I am working on needed current versions of phosh & plasma-mobile and the versions on jammy/bookworm were quite old. The OPi supplied image was quite flaky so I had to find a way to mash these together. And this is the result. It does need to be run as root ! The script has 3 arguments: init - downloads the armbian image file, arch rootfs and arch packages. You need to then write the image to an SD-CARD install - this installs arch over the armbian image on the SD-Card finish - run this option on a booted image as root It has limited/no error checking so run this at your own risk. A wise/cautious person would run the install commands manually as it could really mess up your host system if it goes badly. It could be easily modified to work with different boards but OPi Zero 2W is what I have. Don't forget to edit the script before running it so that ‘things’ point to where you want them. The root password is root. You will need an external screen & keyboard to use it as networking wont work until it is fully installed. Have a play and let me know any issues. archian.sh
  6. I built an image for the `orangepi-z-2w` via `./compile.sh build BOARD=orangepizero2w BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no KERNEL_CONFIGURE=no RELEASE=bookworm`. The wifi connects (shows as active), however, I am unable to get on the internet (pinging results in `network is unreachable`, also can't ping the device itself). Am I building wrong? Thanks! Some notes: - I've been using `Armbian_24.2.6_Orangepizero2w_bookworm_current_6.6.28.img.xz` in the past (downloaded from armbian.com), and the wifi works just fine.
  7. When I tried using a c++ library called sfml which tried opening a window and it gave me an error and after trying every solution on the internet I gave up. And after trying other Debian images I noticed all of them don't have a desktop environment pre installed. So does Debian have graphics at all?
  8. Hi, does anyone have experience with video playback? is playing 1080p in anyway possible? Which image would you recommend for Orange Pi Zero 2 H616 1GB? Is a desktop x11 mandatory?
  9. @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, particularly on boards other than orangpizero3, on which I have tested. repository: https://github.com/stephengraf/armbian_build_sg.git There is another repository mentioned in the Armbian Forum: https://github.com/NickAlilovic/build If anyone has interest and skills to debug the analog audio, the dmesg errors are: [ 7.125509] ahub_dam-snd-soc-dummy-dai: substream ahub_dam-snd-soc-dummy-dai has no playback, no capture [ 7.125539] sunxi-snd-mach soc:ahub_dam_mach: ASoC: can't create pcm ahub_dam-snd-soc-dummy-dai :-22 [ 7.125780] sunxi-snd-mach: probe of soc:ahub_dam_mach failed with error -22
  10. Hello, I am new to Armbian and Linux in general. I am using an OrangePi Zero 2 (H616) board and need to enable the hardware UART. To do this, I tried using the simplest method I could find: running the command armbian-config -> System -> Hardware. However, in the section where I should find options for peripherals to enable, I found nothing. I have tried installing different versions of Armbian, but nothing changed: - Armbian_24.5.1_Orangepizero2_jammy_current_6.6.31.img - Armbian_24.2.1_Orangepizero2_bookworm_current_6.6.16.img - Armbian_23.8.3_Orangepizero2_bookworm_current_6.1.53.img - Armbian_24.5.1_Orangepizero2_noble_current_6.6.31.img I also tried installing the system on different SD cards, but nothing changed. Please tell me, what am I doing wrong? Thank you.
  11. 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. 2. It is possible because the android 12 TV version from the manufacturer can do it in a very easy way, but as far as i understood this is because it is using some kind of closed source driver, that the SoC manufacturer provided (that almost all the boards made with the allwinner H616/H618 would run, so it isnt like orange pi dedicated developers to create the android being offered but it is a stock stuff that Allwinner has available for whoever buys their chips) 3. There are efforts to reverse engineer this properly called CEDRUS but there is kind of a lack of information about them since 2019, it is supposedly present in the kernel, but as many others have said and tried for some reason is not working with H616//h618. Anyone knows if it is still being developed? In conclusion the state of things with hardware decoding and encoding of video in ARM is like a wasteland, at least for linux, these chips, ARM chips we get are mostly developed for android TV boxes or TVs or tablets, but they do not develop for linux, that maybe transferring the necessary code to make it work could be trivial, but with thin resources and doing the bare minimum and being closed source the SoC manufacturer has no interest in creating this support and it is left to open source volunteers to find a way. Which means that support for the H616/H618 might come several years into the future perhaps never. Am I interpreting reality right?, i had some hopes to create something like a jellyfin box with accelerated hardware coding and decoding but nothing might be possible, there is maybe some hope, i read somewhere in the LibreELEC forums that someone made it possible to run it with video decoding (if i am not mistaken) with no audio, so perhaps someone found a way?, thanks in advance.
  12. Using Orange Pi zero 2 Debian bookworm minimal 24.5.1 image , I have disabled Network manager and enabled ifupdown service with static IP configuration. Linux orangepizero2 6.6.31-current-sunxi64 #1 SMP Fri May 17 10:02:40 UTC 2024 aarch64 GNU/Linux Trying to restrict ssh to listen on IP assigned to end0 only, but it is ignoring the ListenAddress 192.168.8.1:22 directive. It listens on all interfaces, which I do not want. sudo service ssh status ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; disabled; preset: enabled) Active: active (running) since Thu 2024-05-30 16:10:42 UTC; 22s ago TriggeredBy: ● ssh.socket Docs: man:sshd(8) man:sshd_config(5) Process: 1362 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS) Main PID: 1363 (sshd) Tasks: 1 (limit: 932) Memory: 1.3M CPU: 231ms CGroup: /system.slice/ssh.service └─1363 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups" May 30 16:10:41 orangepizero2 systemd[1]: Starting ssh.service - OpenBSD Secure Shell server... May 30 16:10:42 orangepizero2 sshd[1363]: debug3: already daemonized May 30 16:10:42 orangepizero2 sshd[1363]: debug3: oom_adjust_setup May 30 16:10:42 orangepizero2 systemd[1]: Started ssh.service - OpenBSD Secure Shell server. May 30 16:10:42 orangepizero2 sshd[1363]: debug1: Set /proc/self/oom_score_adj from 0 to -1000 May 30 16:10:42 orangepizero2 sshd[1363]: debug2: fd 3 setting O_NONBLOCK May 30 16:10:42 orangepizero2 sshd[1363]: Server listening on :: port 22.
  13. Hi. I would like to know if someone can help me. I was successfully able to compile armbian 6.6.30 with all of @Stephen Graf patches for my orangepi zero 3 having Full Audio working even on HDMI. see below for reference. Now I have a 2nd project. It runs the h616 with 2GB DDR3 RAM with AXP313. Can someone help me with a patch for the AXP313 on h616. Or alternatively, could my h618 orangepi zero 3 setup work if I patch it to run with DDR3? If so where can I find such a patch. Thanks in advance.
  14. Hello everyone Now I have finished compiling armbian once and want to check and change the device tree of uboot, but I don't know where to download it, only see the kernel source code in cache/source, so I want to ask
  15. Hello, I hope someone might help me on this. Is anyone here using the ENC28J60 Ethernet port on an Orange Pi Zero 2W or Orange Pi Zero 3? If so, can you please share the file .dts (or .dtbo) that is working for you? I've generated a .dtbo using the file in https://github.com/armbian/sunxi-DT-overlays/blob/master/examples/spi-enc28j60.dts, with: dtc -I dts -O dtb -o /boot/overlay-user/spi-enc28j60.dtbo spi-enc28j60.dts but still it doesn't work. It says "chip not found". I'm using the same cable pinout as in my Raspberry Pi Zero 2W and it works successfully, but not in the Orange Pi Zero 2W. Any idea?
  16. Hello! I have a Zero2 board with 1GB of RAM. I compiled a Debian 12 desktop image for Zero2 using Armbian and I want to play online videos through a web browser. Unfortunately, the results have been disappointing as the performance for 1080p videos is very slow. I tried using swap, but it didn't help. I also attempted to play 1080p videos using MPV and VLC. MPV can still play the videos, but it feels sluggish, and VLC gets stuck on the screen until the playback is finished. I would like to know how to configure Zero2 on Linux to achieve video acceleration. I'm new to this, so I would appreciate some guidance. Thank you!
  17. Hi guys, I've been running an armbian edge image i've compiled using the build tool (armbian bookworm 6.7.12), and it's been working perfectly, with good gpu support and hdmi out working. Now this is not strictly an armbian question, but i've been wondering: is there any way to overclock that chip even slightly? There doesn't seem to be a single post about that that i could find specifically for the H616? Any and all answers welcome!
  18. Hi all, Armbian v23.11 build fails while compiling ATF, reporting weird "cannot find cr" message: https://paste.next.armbian.com/evewilodap Can you please help? Thanks in advance!
  19. I tried to install armbianmonitor on the opi zero 2, but unfortunately this fails: orangepizero2:~$ sudo armbianmonitor -r Installing RPi-Monitor. This can take up to 5 minutes. Be patient pleaseE: Unable to locate package rpimonitor /usr/bin/armbianmonitor: line 697: /usr/share/rpimonitor/scripts/updatePackagesStatus.pl: No such file or directory /usr/bin/armbianmonitor: line 193: /etc/rpimonitor/template/raspbian.conf: No such file or directory /usr/bin/armbianmonitor: line 196: cd: /etc/rpimonitor/: No such file or directory sed: can't read /etc/rpimonitor/template/temperature.conf: No such file or directory sed: can't read /etc/rpimonitor/template/cpu.conf: No such file or directory sed: can't read /etc/rpimonitor/template/version.conf: No such file or directory Can I do something to resolve this or do I just need to have patience
  20. Hi all, I would like to use the PWM1 in order to drive a charge pump, but I am struggling to enable PWM using the DTB on Armbian v23.11. Anyone succeeded in configuring PWMs in H616? Thanks in advance!
  21. Hello all, I am receiving this error while building the image: Error: Partition(s) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64 on /dev/loop0 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. I am . This happens in the partitioning phase (lib/functions/image/partitioning.sh line 229, using branch "v23.11" commit bba856bb57823556e12fa180284c7490fdd3708d😞 run_host_command_logged partprobe "${LOOP}" Investigated a lot, tried to unmont the image, losetup -d the loop device but nothing helped. Can you please help me? Kind regards, Andrea
  22. Hello I've tried both Bookworm and Jammy (also older version). None boot up - nothing. The red LED starts blinking after after a few seconds. Yes the SD card is good, Yes the power supply is good (both work with the official images). Yes I've tried different SD card and power supplies. Is there an image/version someone can confirm was tested and works? thank you
  23. I have armbian installed on a 128gb sd card but it looks to be partitioned to about 2gb. How would I go about expanding the partition to include the rest of the 126gb? root@orangepizero2:~# df -h Filesystem Size Used Avail Use% Mounted on udev 422M 0 422M 0% /dev tmpfs 99M 1.9M 97M 2% /run /dev/mmcblk0p1 1.9G 1.7G 125M 94% / tmpfs 493M 0 493M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 493M 0 493M 0% /tmp /dev/zram1 47M 680K 43M 2% /var/log tmpfs 99M 0 99M 0% /run/user/0
  24. I run "armbianmonitor -u" and I got this : https://paste.armbian.com/bapohonaja My SBC is orangepi zero 2, and I tried to use it as a NAS. But sometime the system hangup because I push to much file in my usb-disk. And I G**gle about it. Somebody said because usb driver is "UAS". So I use command "lsusb -t" and bingo, my usb driver is "uas": ``` >: lsusb Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 152d:0562 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >: lsusb -t /: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ohci/1p, 12M /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ohci/1p, 12M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ohci/1p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ehci/1p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ehci/1p, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ehci/1p, 480M |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 480M ``` I tried "/etc/modprobe.d/disable_uas.conf" with "options usb-storage quirks=152d:0562:u" and "update-alternatives -u" and reboot but failed. I tried "/boot/armbianEnv.txt" with "usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x152d:0x0562:u" and "update-alternatives -u" and reboot but failed. Still "uas" there! Is that posible to change "uas" driver to "usb-storage"?
  25. I have been trying to get DS3231 to work with the OrangePi Zero 2 via the i2c bus. I have tried setting the following settings in /boot/armbianEnv.txt overlay_prefix=sun8i-h6 overlay=i2c0 i2c1 i2c2 However, I am not able to use i2c tools to read the DS3231. Any suggestions are welcomed. Thank you in advance!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines