Search the Community
Showing results for tags 'orangepizero'.
-
Well it took me longer than i hoped but i have managed to forward port icenowys code for TVE on the H2+/H3 to mainline armbian. It seems to work totally fine, with a few caveats. First: Sample images of it in action -> https://imgur.com/a/vXQEM Second: the patch itself -> https://github.com/stevenj/h3-tve/tree/v0.0.11 Third a prebuilt image for Orange Pi Zero: -> https://github.com/stevenj/h3-tve/releases/tag/v0.0.11 Howto: just put the patch into userpatches for the sunxi-next kernel, and build. it should apply cleanly. Its for H2+/H3. I have only tried it on a orange pi zero, but it should work on all H2+/H3 boards. You then need to edit /boot/armbianEnv.txt add tve to overlays to enable it. the driver will only run and enable tv out when the tv out devices are specifically enabled, so i created an overlay which does this. If you want to turn TV out off, just remove tve from the overlays line. My armbianEnv.txt overlays looks like this: overlays=usbhost2 usbhost3 tve If you want copious amounts of DRM debug info in your logs, add this as well: extraargs=drm.debug=0xF Its not needed, unless you really want the debug info. Notes: 1. The default mode is PAL, with 720x576 resolution. Thats outside of normal PAL displayable area, and so the screen overscans. I dont know how to correct this, although its mostly just annoying with terminals. I also don't know how to change the video mode to NTSC. 2. The standard font is a bit thin for composite video, and causes slight strobing and color impurity. Its because PAL needs pixels to be a certain MINIMUM width or color information can not be properly encoded. A way to resolve this is use : # apt-get install fbterm ... $ fbterm -s 20 This will run a terminal which is easy to change the font, and pick a bigger one. its much easier to read. Look at the help for fbterm to work out everything it can do. 3. I used the program "fim" to display the test images. there are others for doing stuff on the terminal. 4. I haven't tried X. I am not interested in running an X terminal on a TV, but it should probably work fine. Other than that it all seems good. I originally tested my hardware with the legacy kernel, and the image quality from this patch seems superior to what the legacy kernel produces. (legacy was noisy) The only other thing you need to know is Orange Pi Zero is missing filter circuity from its Composite Output, the most important thing you need to do is put a 50 ohm resistor between the signal and GND. i soldered one inside my RCA connector, it fits fine and isn't too difficult. IF you don't do this the image will bloom and look like total crap, so you have been warned. As this patch allows TVE to be enabled/disabled through use of the Device Tree overlays, i think it should be fine if the Armbian devs want to include it. I am happy to clean out some of the debug messages i added if they are interested in making a standard part of the build. If not, its easy enough to build your own image, just follow the guides on how to rebuild armbian. EDIT: I need to mention, all props go to Icenowy Zheng who wrote the original driver. I just tweaked the device tree stuff and got it in a state where it can apply cleanly to the armbian mainline kernel and build system. Original code is here: https://github.com/Icenowy/linux/tree/tve-v2
-
on orange pizero ,i installed pm-utils and with the pm-suspend command i put it in suspend . If I try to wake it up , with etherwake or other WOL programs (which send magic packets in LAN to the pizero's macadress) the pizero will not wake up . Do you know any tricks?
-
Hello, I'm trying to enable I2C access in U-Boot, for orange PI zero. I've downloaded the Armbian build, and tried to compile with CREATE_PATCHES, exactly like the tutorial here: https://zuckerbude.org/armbian-using-create-patches/ However, the build never stops and waits for me to make changes. I've attached the build log. I *think* I just need to add the following lines to orangepi_zero_defconfig: CONFIG_I2C0_ENABLE=y CONFIG_I2C1_ENABLE=y I guess that would be my next question- is this the proper way to change this config is via CREATE_PATCHES? I tried just changing the defconfig file and re-running compile.sh, but that didn't seem to help. Thanks in advance! build.log
-
Hi, This will be my first time using Armbian and OrangePi, sorry if theres stupid questions. I want to write a C++ application that uses LVGL to display information on a USB screen and have a few questions. 1) Will I be able to this screen in this setup. It uses the frame buffer (/dev/fb0). There are instructions for RaspberryPi, where its just plugged in and the frame buffer is available to use. 2) If I just use the latest Armbian Ubuntu version for this board what is the newest version of C++ I can use? (C++11/14/17 etc) 3) Is there a tool chain available to be able to cross compile my application (specifically from MacOS) then put the binary on the OrangePi? Or will I have to use something like docker and build for ARM? Thanks!
-
Hi , I am trying to install headers on my orang pi using command #apt install linux-headers-$(uname -r) getting the following message Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-5.4.27-sunxi E: Couldn't find any package by glob 'linux-headers-5.4.27-sunxi' E: Couldn't find any package by regex 'linux-headers-5.4.27-sunxi' could someone help me in how do I install headers ?, I am trying to comiple a kernel module. thanks
-
Hello everyone, I am using Orange Pi Zero LTS 512MB (H3 Cpu) hardware. As an image; I am using "Armbian 22.08 Jammy Kernel 5.15.y, Updated: Sep 24,202". The MAC address changes every time the Wi-Fi is turned on. I tried several different images. I tried a few simple fixes posted on the forums, but only managed to fix it for ethernet. But it was not successful for Wi-Fi. I need an image or solution that does not change the MAC address. Is there anyone who can help with this?
-
Could You please help me install package firmware-misc-nonfree on orangepizero (5.15.77-sunxi, Armbian 22.11.0-trunk Bullseye)? I need driver mt76x0u for: "Mediatek MT7610U". Attempt to instal of package finish with error. I tried to install package armbian-firmware-full, but it take 270 MB of space and first package is much smaller and from this reason suitable for me. root@orangepizero:~# apt-get --reinstall install firmware-misc-nonfree Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: firmware-misc-nonfree 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded. Need to get 8,953 kB of archives. After this operation, 36.5 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/non-free armhf firmware-misc-nonfree all 20210315-3 [8,953 kB] Fetched 8,953 kB in 1s (8,208 kB/s) Selecting previously unselected package firmware-misc-nonfree. (Reading database ... 24611 files and directories currently installed.) Preparing to unpack .../firmware-misc-nonfree_20210315-3_all.deb ... Unpacking firmware-misc-nonfree (20210315-3) ... dpkg: error processing archive /var/cache/apt/archives/firmware-misc-nonfree_20210315-3_all.deb (--unpack): trying to overwrite '/lib/firmware/dvb-fe-xc4000-1.4.1.fw', which is also in package armbian-firmware 22.11.0-trunk dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/firmware-misc-nonfree_20210315-3_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
-
I used https://github.com/piter75/armbian-build for building images via vm-kvm for my Orange servers. Now I want compile application hostapd with forcing 40MHz, but I don't want build/compile it on orange pi servers. Is possible use environment armbian-build for building mentioned application? Or some docker container with armbian in which I can mentioned application to compile?
-
Hi to everyone, I configured Network Manager to have a local-link connection (eth0-ll) as DHCP fallback (eth0-auto). When I do the following: Connect Orange Pi in a net without DHCP, obtaining a local link address Unplug ethernet cable Plug another ethernet cable connected to a network with DHCP If step 2 and step 3 are executed rapidly, the Orange Pi doesn't detect the network switching and eth0 keeps its local-link address. When I perform such steps slowly, Orange Pi detect which ethernet cable is not plugged in and then everything works as expected. How can I increase the refresh rate of the ethernet cable state? eth0-auto.nmconnection [connection] id=eth0-auto uuid=f3e05ca1-169d-43e7-9482-a1ed73cf6eb1 type=ethernet autoconnect-priority=100 autoconnect-retries=2 interface-name=eth0 permissions= [ethernet] mac-address-blacklist= [ipv4] dhcp-timeout=10 dns-search= method=auto [ipv6] addr-gen-mode=stable-privacy dns-search= method=disabled [proxy] eth0-ll.nmconnection [connection] id=eth0-ll uuid=29cd8244-a477-41f8-be44-85c3c5c2bf57 type=ethernet autoconnect-priority=50 interface-name=eth0 permissions= [ethernet] mac-address-blacklist= [ipv4] dns-search= method=link-local [ipv6] addr-gen-mode=stable-privacy dns-search= method=disabled [proxy]
-
Hello. I'v recently tried to update by old orange pi zero to latest armbian and it does not boot. Serial console is dead silent. I'v tried different armbian releases, sdcards, but result is the same. However card with old boots perfectly fine. Image orangepizerolts also works, but it has huge overheating problem. I'v tried to flash uboot to spi, but it does not boot either. Sadly old uboot did not worked with latest armbian. Any idea?
-
Hello, I've been running Armbian for a while on an Orange Pi Zero without any issue. Every now and then I perform an apt update && apt dist-upgrade on that board but today the upgrade process failed with the following error and I'm not sure how to fix it. renaud@AnetA8:~$ sudo apt update && sudo apt dist-upgrade -y Hit:1 http://ports.ubuntu.com focal InRelease Hit:2 http://ports.ubuntu.com focal-security InRelease Hit:3 http://ports.ubuntu.com focal-updates InRelease Hit:4 http://ports.ubuntu.com focal-backports InRelease Hit:5 http://armbian.hosthatch.com/apt focal InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done Try Ubuntu Pro beta with a free personal subscription on up to 5 machines. Learn more at https://ubuntu.com/pro The following packages will be upgraded: armbian-firmware 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/9,409 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 38016 files and directories currently installed.) Preparing to unpack .../armbian-firmware_22.08.6_all.deb ... Unpacking armbian-firmware (22.08.6) over (22.08.1) ... Replacing files in old package linux-firmware (1.187.33) ... dpkg: error processing archive /var/cache/apt/archives/armbian-firmware_22.08.6_all.deb (--unpack): unable to open '/lib/firmware/ath11k/WCN6855/hw2.1/board-2.bin.dpkg-new': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/armbian-firmware_22.08.6_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) All other packages were successfully upgraded, the only one failing is armbian-firmware. Here is the output of armbianmonitor -u : http://ix.io/4en4 Thanks for any help
-
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.
-
Hello fellow Armbianers! I'm using Orange Pi zero. My only complaint is the 30s boot time. Looking at the log files, seems like it only takes 5 seconds to boot once the kernel is loaded. The majority of this 30s is spent in uboot somewhere? Does anyone know how to speed up this boot process? I'm always just booting from SD card, don't need USB boot/network boot, console, or any of that. Thanks!