<?xml version="1.0"?>
<rss version="2.0"><channel><title>Orange Pi Zero 2 Latest Topics</title><link>https://forum.armbian.com/forum/140-orange-pi-zero-2/</link><description>Orange Pi Zero 2 Latest Topics</description><language>en</language><item><title>Orange Pi Zero 2W repeatedly asks for Wi-Fi password</title><link>https://forum.armbian.com/topic/57235-orange-pi-zero-2w-repeatedly-asks-for-wi-fi-password/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	 
</p>

<p>
	I am using an Orange Pi Zero 2W with a graphical user interface (GUI). I downloaded and installed the official Orange Pi Zero 2W image.
</p>

<p>
	 
</p>

<p>
	Unfortunately, I keep running into a Wi-Fi connection issue. After booting, the system repeatedly asks me to enter my Wi-Fi password. If I don’t enter it, I have no internet connection.
</p>

<p>
	 
</p>

<p>
	What’s interesting is:
</p>

<p>
	 
</p>

<p>
	If I disable and re-enable Wi-Fi in the network manager, it automatically reconnects to the known network without asking for the password again.
</p>

<p>
	Alternatively, a system reboot also restores the Wi-Fi connection automatically.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	I have already seen online that this seems to be a known issue, but I haven’t found a proper or permanent solution so far.
</p>

<p>
	 
</p>

<p>
	Has anyone experienced similar behavior or knows how to configure Wi-Fi so that it connects reliably and permanently without repeatedly asking for the password?
</p>

<p>
	 
</p>

<p>
	Thanks in advance!
</p>
]]></description><guid isPermaLink="false">57235</guid><pubDate>Mon, 05 Jan 2026 13:45:02 +0000</pubDate></item><item><title>Request: Looking for archived Armbian 23.02.2 Bullseye (Kernel 5.10) for Orange Pi Zero 2W</title><link>https://forum.armbian.com/topic/56797-request-looking-for-archived-armbian-23022-bullseye-kernel-510-for-orange-pi-zero-2w/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I am looking for a specific legacy image for the Orange Pi Zero 2W: Armbian 23.02.2 Bullseye with Kernel 5.10.160.
</p>

<p>
	The reason I need this specific version is to use the device as a USB UVC (Webcam) gadget via ConfigFS. On the newer 6.6/6.12 mainline kernels, I am facing a "Permission Denied" error when trying to write to hHeight, even as root. After researching, it seems this is a known kernel-level restriction in newer versions, and the legacy 5.10 kernel is the most stable for UVC gadget functionality.
</p>

<p>
	I’ve checked the current archive mirrors but could only find the 6.6.x versions. Could anyone provide an official archive or a reliable mirror link for the following image? Filename: Armbian_23.02.2_Orangepizero2w_bullseye_legacy_5.10.160.img.xz
</p>

<p>
	Thank you for your help.
</p>
]]></description><guid isPermaLink="false">56797</guid><pubDate>Fri, 19 Dec 2025 21:34:35 +0000</pubDate></item><item><title>Orange Pi Zero 2 (H616) - No /dev/spidev on recent kernel for ST7735S display</title><link>https://forum.armbian.com/topic/55300-orange-pi-zero-2-h616-no-devspidev-on-recent-kernel-for-st7735s-display/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I'm trying to get an ST7735S LCD display working with my Orange Pi Zero 2 (H616). This setup was working correctly with older Armbian kernels, but after a recent update, I can no longer get the SPI device to appear.
</p>

<p>
	I have already tried a couple of different configuration methods without success.
</p>

<p>
	 
</p>

<p>
	System Information:
</p>

<p>
	Board: Orange Pi Zero 2 (H616)
</p>

<p>
	Display: ST7735S (SPI)
</p>

<p>
	 
</p>

<p>
	Kernel Version: Linux orangepizero2 6.12.43-current-sunxi64 #2 SMP Wed Aug 20 16:30:58 UTC 2025 aarch64 GNU/Linux
</p>

<p>
	I have recently updated armbian-config by running the update from the script itself.
</p>

<p>
	 
</p>

<p>
	Attempt 1: Using armbianEnv.txt
</p>

<p>
	My first attempt was to edit /boot/armbianEnv.txt and add the required overlays. Here is my configuration:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">verbosity=1
bootlogo=false
console=both
disp_mode=1920x1080p60
rootdev=UUID=aef396b8-ac79-477c-b797-466fc4d881a6
rootfstype=ext4
overlays=sun50ih616spidev1_0 sun50ih616spidev1_1 sun50ih616spispidev sun50ih616tft35_spi
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u</span></pre>

<p>
	 
</p>

<p>
	After rebooting with this configuration, the device nodes are not created. The output of ls /dev/spidev* is empty.
</p>

<p>
	 
</p>

<p>
	Attempt 2: Using a custom user overlay
</p>

<p>
	Next, I tried creating a custom Device Tree Overlay. I created the file /boot/overlay-user/sp1-spidev.<abbr title="Device tree source">dts</abbr> with the following content:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">/dts-v1/;
/plugin/;

/ {
    compatible = "allwinner,sun50i-h616";
    
    fragment@0 {
        target = &lt;&amp;spi1&gt;;
        __overlay__ {
            status = "okay";
            pinctrl-names = "default";
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            
            spidev@0 {
                compatible = "spidev";
                reg = &lt;0&gt;;
                spi-max-frequency = &lt;50000000&gt;;
            };
        };
    };
};</span></pre>

<p>
	 
</p>

<p>
	I then added sp1-spidev to the overlays line in armbianEnv.txt.
</p>

<p>
	This method seems to be partially working. After a reboot, I can see the SPI master controller:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ ls /sys/class/spi_master/
spi0  spi1</span></pre>

<p>
	 
</p>

<p>
	However, the spidev device is still missing. ls /dev/spidev* is still empty.
</p>

<p>
	 
</p>

<p>
	Diagnostic Information
</p>

<p>
	Here is the output of dmesg filtered for "spi". It seems to refer to spi0, not spi1 which I am trying to configure, but I'm including it for completeness.
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ dmesg | grep -i spi
[    2.821043] spi-nor spi0.0: supply vdd not found, using dummy regulator</span></pre>

<p>
	 
</p>

<p>
	My Question
</p>

<p>
	I don't understand why the /dev/spidev* device is not being created, even when the spi1 master appears to be correctly enabled via the overlay. It seems like the spidev driver is not binding to the device.
</p>

<p>
	Since this worked on older kernels, has the method for enabling SPI devices changed? What is the correct procedure now? Is there something I'm missing in my overlay file or configuration?
</p>

<p>
	Thank you for your help
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">55300</guid><pubDate>Wed, 24 Sep 2025 14:22:30 +0000</pubDate></item><item><title>At least it can run Octoprint</title><link>https://forum.armbian.com/topic/55563-at-least-it-can-run-octoprint/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I have two Orange Pi Zero 2 for two years, I didn't know what to do with it.
</p>

<p>
	 
</p>

<p>
	Yesterday I  have installed Armbian_25.5.1_Orangepizero2_noble_current_6.12.23.
</p>

<p>
	 
</p>

<p>
	The serial was a bit buggy during installation (display + key press), I have used option -L with screen:<br />
	<br />
	 
</p>

<pre class="ipsCode prettyprint lang-c prettyprinted"><span class="pln">screen </span><span class="pun">-</span><span class="pln">L </span><span class="pun">/</span><span class="pln">dev</span><span class="pun">/</span><span class="pln">ttyUSB0 </span><span class="lit">115200</span></pre>

<p>
	<br />
	Thank you for your great work !
</p>
]]></description><guid isPermaLink="false">55563</guid><pubDate>Tue, 07 Oct 2025 10:57:31 +0000</pubDate></item><item><title>Need Kernel source for linux-image-current-sunxi64 6.12.20</title><link>https://forum.armbian.com/topic/51785-need-kernel-source-for-linux-image-current-sunxi64-61220/</link><description><![CDATA[<p>
	Hi, I need linux kernel source to compile a custom module. The one I downloaded from kernel.org did not work, got module format error, indicating the kernel is different.
</p>

<p>
	i did not have this problem compiling the same module for Armbian lepotato (amlogic)
</p>

<p>
	 
</p>

<p>
	Where do I get the kernel source for my Orangepi Zero 2? <br />
	<br />
	Linux orangepizero2 6.12.20-current-sunxi64 #1 SMP Sat Mar 22 19:54:28 UTC 2025 aarch64 GNU/Linux
</p>

<p>
	linux-headers-current-sunxi64/bookworm,now 25.2.3 arm64 [installed]<br />
	  Armbian Linux current headers 6.12.20-current-sunxi64
</p>

<p>
	linux-image-current-sunxi64/bookworm,now 25.2.3 arm64 [installed]<br />
	  Armbian Linux current kernel image 6.12.20-current-sunxi64
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">51785</guid><pubDate>Mon, 05 May 2025 22:26:39 +0000</pubDate></item><item><title>Zero2 edge kernel 6.16 no overlays</title><link>https://forum.armbian.com/topic/54579-zero2-edge-kernel-616-no-overlays/</link><description><![CDATA[<p>
	Suddenly the 6.16 kernel was released in apt , who did it? why all overlays missed? 
</p>
]]></description><guid isPermaLink="false">54579</guid><pubDate>Mon, 18 Aug 2025 01:36:13 +0000</pubDate></item><item><title>SPI Boot [for USB or PXE without MicroSD]</title><link>https://forum.armbian.com/topic/51044-spi-boot-for-usb-or-pxe-without-microsd/</link><description><![CDATA[<p>
	SOURCE: <a href="https://github.com/MathiasStadler/orange-pi-zero-boot-from-spi" rel="external nofollow">https://github.com/MathiasStadler/orange-pi-zero-boot-from-spi</a>
</p>

<p>
	 
</p>

<p>
	I spent the whole day trying to boot without a microSD, and I finally got it, using the Orange Pi Zero SPI boot tutorial, with a few adjustments.
</p>

<p>
	 
</p>

<p>
	First of all, you’ll need a microSD card. I used this Armbian version <a href="https://armbian.lv.auroradev.org/dl/orangepizero2/archive/Armbian_24.11.1_Orangepizero2_noble_current_6.6.62_minimal.img.xz" rel="external nofollow">Armbian_24.11.1_Orangepizero2_noble_current_6.6.62_minimal.img.xz</a>
</p>

<p>
	 
</p>

<p>
	Once the system has booted from the microSD:
</p>

<pre class="ipsCode">sudo apt update &amp;&amp; sudo apt upgrade -y
reboot</pre>

<p>
	After the system reboots, <strong>we need to check if the SPI flash is detected:</strong>
</p>

<pre class="ipsCode">cat /proc/mtd
#It should return something like:
dev:    size   erasesize  name
mtd0: 00200000 00001000 "spi0.0"
#Double-check with:
ls -l /dev/mtd*
#You should get something like:
crw------- 1 root root 90, 0 Apr 10 19:34 /dev/mtd0  
crw------- 1 root root 90, 1 Apr 10 19:34 /dev/mtd0ro  
brw-rw---- 1 root disk 31, 0 Apr 10 19:34 /dev/mtdblock0

/dev/mtd/
total 0  
drwxr-xr-x 2 root root 60 Apr 10 19:34 by-name</pre>

<p>
	 
</p>

<p>
	If you see a device at <em>/dev/mtd0</em> or <em>/dev/mtd/by-name/spi0.0</em>, you can flash U-Boot to the SPI.
</p>

<p>
	 
</p>

<pre class="ipsCode"># Create an empty image
sudo dd if=/dev/zero count=2048 bs=1K | tr '\000' '\377' &amp;gt; spi.img

# Write U-Boot to the image
sudo dd if=/usr/lib/linux-u-boot-current-orangepizero2/u-boot-sunxi-with-spl.bin of=spi.img bs=1k conv=notrunc

# Flash the image to SPI
sudo flashcp -v spi.img /dev/mtd0 
# Or /dev/mtd/by-name/spi0.0</pre>

<p>
	 
</p>

<p>
	<strong>Now it's time to plug in the USB drive (SSD or flash drive):</strong>
</p>

<pre class="ipsCode"># Install Armbian to the USB stick, pendrive or SSD
# Follow the instructions in the menu, default values are usually fine
# DON'T REBOOT the device after this step
sudo nand-sata-install

# Mount the USB stick
sudo mount /dev/sda1 /mnt

# Copy (overwrite) the /boot directory
sudo cp -a /boot /mnt

# Now edit /mnt/boot/boot.cmd and set the correct root device:

setenv rootdev "/dev/sda1"

#Then generate the new boot.scr

sudo mkimage -C none -A arm -T script -d /mnt/boot/boot.cmd /mnt/boot/boot.scr

#Finally, edit armbianEnv.txt to update the rootdev by UUID:

blkid /dev/sda1

#Copy the UUID and update this line rootdev=UUID=your-usb-uuid

nano /mnt/boot/armbianEnv.txt
</pre>

<p>
	 
</p>

<p>
	Now the moment of truth:
</p>

<pre class="ipsCode">sudo shutdown -Fh now</pre>

<p>
	 
</p>

<p>
	<strong>Disconnect power and remove the microSD card.</strong>
</p>

<p>
	<br />
	Reconnect the power adapter and the system should boot from the USB drive.
</p>

<p>
	 
</p>

<p>
	If there's no sign of life, it's highly recommended to use a UART adapter to debug. Some boards require a jumper between <abbr title="General purpose input/output">GPIO</abbr> pins 13 and 14 to boot from SPI — on my board (V1.5), this was not necessary.
</p>
]]></description><guid isPermaLink="false">51044</guid><pubDate>Fri, 11 Apr 2025 03:52:11 +0000</pubDate></item><item><title>Is it possible to have graphics using the Debian Bookworm image?</title><link>https://forum.armbian.com/topic/41414-is-it-possible-to-have-graphics-using-the-debian-bookworm-image/</link><description><![CDATA[<p>
	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?
</p>
]]></description><guid isPermaLink="false">41414</guid><pubDate>Wed, 19 Jun 2024 22:40:37 +0000</pubDate></item><item><title>Bluetooth doesn't appear after boot very often in Orange Pi 2W</title><link>https://forum.armbian.com/topic/52560-bluetooth-doesnt-appear-after-boot-very-often-in-orange-pi-2w/</link><description><![CDATA[<p>
	I've got Orange Pi 2W board and installed Debian 12 Home Assistant image to it (<a href="https://dl.armbian.com/orangepizero2w/Bookworm_current_minimal-homeassistant" rel="external nofollow">image link</a>). There is a huge problem with it. Very often there is no bluetooth module appeared in system. I need to reboot system for 10-15 timer to make it work. What can be a reason?
</p>

<p>
	I attached 2 boot logs (with good BT appears and no BT appears), I hope it will help to find out the issue.
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="zip" data-fileid="14596" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=14596&amp;key=689f4cb242068008c8738de740af72e9" rel="">boot_log_bt_good_02.zip</a>
</p>

<p>
	<a class="ipsAttachLink" data-fileext="zip" data-fileid="14597" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=14597&amp;key=df191a1ca0fc5559058e5a062f962dbd" rel="">boot_log_bt_bad_02.zip</a>
</p>
]]></description><guid isPermaLink="false">52560</guid><pubDate>Thu, 05 Jun 2025 07:25:57 +0000</pubDate></item><item><title>problem with st7735 in an orangePI zero 2 (H616)</title><link>https://forum.armbian.com/topic/29649-problem-with-st7735-in-an-orangepi-zero-2-h616/</link><description><![CDATA[<p>
	Hi,<br />
	I would like to use st7735 in an orangePI zero 2 (H616).<br />
	The st7735 module was purchased at the following link:<br />
	<a href="https://it.aliexpress.com/item/33031122936.html?spm=a2g0o.order_list.order_list_main.32.c5eb36966Y6eGs&amp;gatewayAdapt=glo2ita" rel="external nofollow">https://it.aliexpress.com/item/33031122936.html?spm=a2g0o.order_list.order_list_main.32.c5eb36966Y6eGs&amp;gatewayAdapt=glo2ita</a><br />
	Armbian usage.<br />
	<br />
	I connected st7735 in the following way:<br />
	<abbr title="Orange Pi"><abbr title="Orange Pi">OPI</abbr></abbr> --------&gt; st7735<br />
	23 --------&gt; SCK<br />
	19 --------&gt; SDA<br />
	24 --------&gt; CS<br />
	13 --------&gt; AD<br />
	11 --------&gt; RTD<br />
	4 --------&gt; VCC<br />
	25 --------&gt; GND<br />
	<br />
	I then ran the following command:<br />
	sudo modprobe fbtft_device custom name=fb_st7735r gpios=dc:3,reset:0 speed=16000000 rotate=90<br />
	<br />
	The screen stays white with a red stripe at the bottom.<br />
	<br />
	I can't find any errors in dmesg.<br />
	/dev/fb1 is created<br />
	<br />
	how can i use the command<br />
	<br />
	con2fbmap 1 1<br />
	which I found by following this guide:<br />
	<a href="https://www.instructables.com/Orange-Pi-Zero-Connect-TFT-SPI-ST7735/" rel="external nofollow">https://www.instructables.com/Orange-Pi-Zero-Connect-TFT-SPI-ST7735/</a><br />
	Thank you
</p>
]]></description><guid isPermaLink="false">29649</guid><pubDate>Fri, 11 Aug 2023 20:25:29 +0000</pubDate></item><item><title>Comapitibility before start</title><link>https://forum.armbian.com/topic/49866-comapitibility-before-start/</link><description><![CDATA[<p>
	Hi, I'm actually working on a project with this hardware:
</p>

<p>
	IR + controller : <a href="https://es.aliexpress.com/item/1005005651928240.html?spm=a2g0o.order_list.order_list_main.5.21a9194dT8Becw&amp;gatewayAdapt=glo2esp" rel="external nofollow">https://es.aliexpress.com/item/1005005651928240.html?spm=a2g0o.order_list.order_list_main.5.21a9194dT8Becw&amp;gatewayAdapt=glo2esp</a>
</p>

<p>
	MPR121: <a href="https://es.aliexpress.com/item/1005005097989944.html?spm=a2g0o.order_list.order_list_main.11.21a9194dT8Becw&amp;gatewayAdapt=glo2esp" rel="external nofollow">https://es.aliexpress.com/item/1005005097989944.html?spm=a2g0o.order_list.order_list_main.11.21a9194dT8Becw&amp;gatewayAdapt=glo2esp</a>
</p>

<p>
	Bluetooth speaker, but i would use the chip that comes with orange pi .<br />
	<br />
	My answer is that i have all of these working inside a raspberrie pi 3 b 1.2, with python to detect the mpr121 pulsations and ir pulsations and manage connection Bluetooth, my problem is that I want to be sure that works, and actually the orange pi zero 2w its soo good cause comes already with antenna, so good, cause my project going to be Bluetooth intensive, its more powerful, comes with usb-c, its perfect for what i need,
</p>

<p>
	 
</p>

<p>
	but my main problem is that there's soooo difficult to find any guides about <abbr title="General purpose input/output"><abbr title="General purpose input/output">gpio</abbr></abbr> config, or test with devices like the ir or mpr121, so It's possible to make this setup with the orange py zero 2, if it, there's somewhere with an extense guide on how to use it, or at least someone that know's it (I can pay for the help).<br />
	<br />
	Thank you very much. 
</p>

<p>
	Apologies for my English....
</p>
]]></description><guid isPermaLink="false">49866</guid><pubDate>Sun, 16 Feb 2025 13:00:51 +0000</pubDate></item><item><title>[partly solved] OrangePi Zero2 freezes or looses WiFi connection</title><link>https://forum.armbian.com/topic/49766-partly-solved-orangepi-zero2-freezes-or-looses-wifi-connection/</link><description><![CDATA[<p>
	Hi everybody,<br />
	Since some time i have a problem with my OrangePi Zero2. Not sure about when it started exactly, but possibly it came with the latest kernel upgrade. Until then the device was working without any problems and absolutely stable.
</p>

<p>
	Unfortunately i have no connection by cable, only with Wifi and possibly it is only the Wifi connection which isn't working anymore?
</p>

<p>
	I found the following entries in /var/log/kern (which are the latest entries until the device restarts):
</p>

<p>
	 
</p>

<p>
	2025-02-10T19:54:40.037397+01:00 orangepizero2 kernel: [86427.304061] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection sm_state (5), status: (2)!<br />
	2025-02-10T19:54:40.037459+01:00 orangepizero2 kernel: [86427.304105] unisoc_wifi unisoc_wifi wlan0: sprdwl_report_connection KNAECKEBROED failed status code:1!<br />
	2025-02-10T19:54:40.365435+01:00 orangepizero2 kernel: [86427.632069] sprdwl:sprdwl_fc_add_share_credit, 536, mode:1 closed, index:0, share it<br />
	2025-02-10T19:54:55.573468+01:00 orangepizero2 kernel: [86442.837864] warning: `iwconfig' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
</p>

<p>
	 
</p>

<p>
	is this a common issue with one of the latest updates or kernel?  
</p>

<p>
	 
</p>

<p>
	Here the link to the actual armbianmonitor -u  from this device<span>:</span>
</p>

<p>
	<a href="https://paste.next.armbian.com/runuloneco" rel="external nofollow">https://paste.next.armbian.com/runuloneco</a>
</p>

<p>
	 
</p>

<p>
	Best regards,
</p>

<p>
	Chris
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">49766</guid><pubDate>Tue, 11 Feb 2025 12:11:46 +0000</pubDate></item><item><title>gpio_keys: failed to get gpio: -22</title><link>https://forum.armbian.com/topic/23482-gpio_keys-failed-to-get-gpio-22/</link><description><![CDATA[<p>
	Hi everyone,
</p>

<p>
	 
</p>

<p>
	I'm struggling to get gpio_keys working.
</p>

<p>
	 
</p>

<p>
	I'm trying to use the overlay, which I have attached below, but after reboot there is no event node listed in "/dev/input/". (There is only one node named mice.)
</p>

<p>
	 
</p>

<p>
	Inspecting dmesg, I found the following error messages:
</p>

<pre class="ipsCode">[    1.529891] sun50i-h616-pinctrl 300b000.pinctrl: pin PC8 already requested by gpio-keys-user; cannot claim for 300b000.pinctrl:72
[    1.529917] gpio-keys gpio-keys-user: failed to get gpio: -22
[    1.529926] gpio-keys: probe of gpio-keys-user failed with error -22
</pre>

<p>
	 
</p>

<p>
	Inspecting the <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> file of my board (orange pi zero 2), I found that PC5,PC6 and PC8 are already listed as mmc2-pins, but mmc2 is disabled, so I don't think that this is the issue. However, I have no idea what else might be wrong.
</p>

<p>
	 
</p>

<p>
	Any help?
</p>

<p>
	 
</p>

<p>
	Attachements:
</p>

<p>
	 
</p>

<p>
	custom-keys.<abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> Overlay:
</p>

<pre class="ipsCode">/dts-v1/;                                                                                                                                                                                                          
/plugin/;                                                                                                                                                                                                          
                                                                                                                                                                                                                   
/ {                                                                                                                                                                                                                
  compatible = "allwinner,sun50i-h616";                                                                                                                                                                            
                                                                                                                                                                                                                   
  fragment@0 {                                                                                                                                                                                                     
    target = &lt;&amp;pio&gt;;                                                                                                                                                                                               
    __overlay__ {                                                                                                                                                                                                  
      custom-buttons: custom-buttons {                                                                                                                                                                           
        pins = "PC5","PC6","PC8";                                                                                                                                                                                  
        function = "gpio_in";                                                                                                                                                                                      
        bias-pull-up;                                                                                                                                                                                              
      };                                                                                                                                                                                                           
    };                                                                                                                                                                                                             
  };                                                                                                                                                                                                               
                                                                                                                                                                                                                   
  fragment@1 {                                                                                                                                                                                                     
    target-path = "/";                                                                                                                                                                                             
    __overlay__ {                                                                                                                                                                                                  
      gpio-keys-user {                                                                                                                                                                                             
        compatible = "gpio-keys";                                                                                                                                                                                  
        pinctrl-names = "default";                                                                                                                                                                                 
        pinctrl-0 = &lt;&amp;custom-buttons&gt;;                                                                                                                                                                            
                                                                                                                                                                                                                   
        play_button {                                                                                                                                                                                              
          label = "GPIO Key 1";                                                                                                                                                                                 
          linux,code = &lt;25&gt;;                                                                                                                                                                                       
          gpios = &lt;&amp;pio 0 69 1&gt;;                                                                                                                                                                                   
        };                                                                                                                                                                                                         
        vol_up_button {                                                                                                                                                                                            
          label = "GPIO Key 2";                                                                                                                                                                               
          linux,code = &lt;22&gt;;                                                                                                                                                                                       
          gpios = &lt;&amp;pio 0 70 1&gt;;                                                                                                                                                                                   
        };                                                                                                                                                                                                         
        vol_down_button {                                                                                                                                                                                          
          label = "GPIO Key 3";                                                                                                                                                                             
          linux,code = &lt;32&gt;;                                                                                                                                                                                       
          gpios = &lt;&amp;pio 0 72 1&gt;;                                                                                                                                                                                   
        };                                                                                                                                                                                                         
      };                                                                                                                                                                                                           
    };                                                                                                                                                                                                             
  };                                                                                                                                                                                                               
};                                                                                                                                                                                                                 
</pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23482</guid><pubDate>Sun, 11 Sep 2022 21:14:55 +0000</pubDate></item><item><title>cpufreq-info hangs indefinitely</title><link>https://forum.armbian.com/topic/49177-cpufreq-info-hangs-indefinitely/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    <div class="cTemplateField">
        <span class="cTemplateField_label"></span>
        <span class="cTemplateField_value">Armbianmonitor: 
<div class='ipsType_break ipsContained'>
<a href='https://paste.next.armbian.com/gekusedoso' target='_blank'  rel="nofollow noreferrer">
	
		
			https://paste.next.armbian.com/gekusedoso
		
	
</a>
</div></span>
    </div>
    
    
</div><p>
	Hey folks, I have a really weird issue where any time I try to `cat` any of the cpufreq files or use any of the cpufreq commands, it just hangs indefinitely. I've made sure that everything is up to date, reinstalled cpufreq, and because I have 2 of the same board, have confirmed that it's an issue with both of my Zero 2s.<br />
	I also ran `strace` on one of the cpufreq commands and found that it's getting hung on a write step:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">openat(AT_FDCWD, "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", O_WRONLY) = 3
write(3, "ondemand", 8</span></pre>

<p>
	<br />
	Other than this, the device has been doing just fine. Any advice on this is welcome!<br />
	<br />
	OrangePi Zero2<br />
	Armbian (24.11.1)<br />
	aarch64 6.6.62-current-sunxi64<br />
	<br />
	(also attempted on the latest edge version of the kernel)
</p>
]]></description><guid isPermaLink="false">49177</guid><pubDate>Tue, 07 Jan 2025 16:03:19 +0000</pubDate></item><item><title>Help with Orange Pi Zero 2W REALTIME kernel compile issue</title><link>https://forum.armbian.com/topic/49018-help-with-orange-pi-zero-2w-realtime-kernel-compile-issue/</link><description><![CDATA[<p>
	In short, I'm trying to build a FULLY-PREEMPT-REALTIME system to run on my Orange Pi Zero 2W.   
</p>

<p>
	 
</p>

<p>
	I used this post as a reference, and got quite far. But, I'm stuck on something that I believe I undestand, but don't know how to resolve. 
</p>

<p>
	I don't believe this is a probleme specific to my board though.
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="205198" data-embedcontent="" data-embedid="embed8180181857" src="https://forum.armbian.com/topic/24362-advise-on-forking-armbianbuild-for-preempt_rt-support-rock64-as-test-board/?do=embed" style="height:420px;max-width:502px;"></iframe>

<p>
	 
</p>

<p>
	 
</p>

<p>
	What I've done so far with success is both install and run a pre-built Armbian Image on this board, as well as build my own image and run it.  Both work perfectly.
</p>

<p>
	 
</p>

<p>
	Now, I'm attempting to apply the RT patch and build a fresh image (or even just a Kernel) to get the FULL REALTIME kernel support working. 
</p>

<p>
	However, the build system fails after the kernel is built sucesfully, as it is unable to find the resulting kernel image generated.
</p>

<p>
	I belive the issue is simply that when the RT .patch is applied and configured to the kernel, it builds a kernel file with an alterered filename.  
</p>

<p>
	Instead of <strong>6.6.65-current-sunxi64</strong> It creates <strong>6.6.65-rt47-current-sunxi64 </strong> 
</p>

<p>
	As a result, the build process for the kernel stage fails as it's unable to find the file it is expecting to find.
</p>

<p>
	 
</p>

<p>
	Here is what I have done, and what outputs I am finding.
</p>

<p>
	 
</p>

<p>
	As stated, It was a success with A locally built clean Armbian
</p>

<pre class="ipsCode">./compile.sh BOARD=orangepizero2w BRANCH=current RELEASE=bookworm BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=no AUFS=no KERNELBRANCH='tag:v6.6.65'</pre>

<p>
	System booted up and ran as normal.
</p>

<pre class="ipsCode">$ uname -a 
inux orangepizero2w 6.6.65-current-sunxi64 #2 SMP Wed Dec 11 15:13:43 UTC 2024 aarch64 GNU/Linux</pre>

<p>
	 
</p>

<p>
	I then attempted to apply the PREEMPT_RT kernel patch.
</p>

<p>
	download and gunzip
</p>

<p>
	<a href="https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.6/patch-6.6.65-rt47.patch.gz" rel="external nofollow">https://cdn.kernel.org/pub/linux/kernel/projects/rt/6.6/patch-6.6.65-rt47.patch.gz</a>
</p>

<p>
	into the directory <u>userpatches/kernel/archive/sunxi-6.6</u>
</p>

<p>
	 
</p>

<p>
	Then a kernel-configure step 
</p>

<p>
	Worth noting that I do see this patch file applied in the output of the following command.
</p>

<pre class="ipsCode">./compile.sh BOARD=orangepizero2w BRANCH=current RELEASE=bookworm KERNELBRANCH='tag:v6.6.65' kernel-config</pre>

<p>
	Where I proceeded to enable the full REALTIME kernel (4th option).  
</p>

<pre class="ipsCode">General setup -&gt; Preemption Mode -&gt; Fully Preemptible Kernel (Real-Time)</pre>

<p>
	 
</p>

<p>
	Finally followed with a compile command. 
</p>

<pre class="ipsCode">./compile.sh BOARD=orangepizero2w BRANCH=current RELEASE=bookworm BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=no AUFS=no KERNELBRANCH='tag:v6.6.65'</pre>

<p>
	 
</p>

<p>
	The part of the build output that I beleive is relevant is this. It shows the failure, and what I believe is an indication of why it fails.  It <u>appears</u> that the build script it is not aware of needing to find the file name that has the <strong>rt47</strong> portion.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln"><span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-h616-i2c1-pi.dtbo
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-h616-i2c2-pi.dtbo
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-h616-gpu.dtbo
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-a64-fixup.scr
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-h5-fixup.scr
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-h6-fixup.scr
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/sun50i-h616-fixup.scr
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/README.sun50i-a64-overlays
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     INSTALL /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/dtbs/allwinner/overlay/README.sun50i-h5-overlays
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   make[1]: Nothing to be done for 'install'.
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   make: Nothing to be done for 'install'.
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌱</span>] Kernel built in [ 95 seconds - 6.6.65-sunxi64 ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌱</span>] Packaging kernel [ sunxi64 linux-sunxi64-current ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌱</span>] Kernel .deb package version [ 6.6.65-S943e-Dfa7d-P3e46-Caa1fH5c21-HK01ba-Vc222-B59f0-R448a ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌱</span>] Packaging linux-image [ sunxi64 linux-sunxi64-current ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   [ 26M]  /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/image/boot
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   ├── [215K]  config-6.6.65-rt47-current-sunxi64
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   ├── [3.4M]  System.map-6.6.65-rt47-current-sunxi64
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   └── [ 22M]  vmlinuz-6.6.65-rt47-current-sunxi64
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]     26M used in 0 directories, 3 files
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌱</span>] Kernel-built image filetype [ vmlinuz-6.6.65-current-sunxi64: cannot open `/armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/image/boot/vmlinuz-6.6.65-current-sunxi64' (No such file or directory) ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   ls: cannot access '/armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/image/boot/vmlinuz-6.6.65-current-sunxi64': No such file or directory
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   /armbian/.tmp/work-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0/kernel_dest_install_dir-44x4J/image/boot:
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   total 26220
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   drwxrwxr-x 2 root root      100 Dec 30 17:08 .
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   drwxrwxr-x 3 root root       60 Dec 30 17:07 ..
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   -rw-rw-r-- 1 root root   220621 Dec 30 17:08 config-6.6.65-rt47-current-sunxi64
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   -rw-rw-r-- 1 root root  3564498 Dec 30 17:08 System.map-6.6.65-rt47-current-sunxi64
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🔨</span>]   -rw-rw-r-- 1 root root 23056392 Dec 30 17:08 vmlinuz-6.6.65-rt47-current-sunxi64
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">💥</span>] Error 2 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211
    run_host_command_logged_raw() --&gt; lib/functions/logging/runners.sh:211
        run_host_command_logged() --&gt; lib/functions/logging/runners.sh:193
   kernel_package_callback_linux_image() --&gt; lib/functions/compilation/kernel-debs.sh:221
              create_kernel_deb() --&gt; lib/functions/compilation/kernel-debs.sh:131
   prepare_kernel_packaging_debs() --&gt; lib/functions/compilation/kernel-debs.sh:72
                 kernel_package() --&gt; lib/functions/compilation/kernel.sh:248
                  do_with_hooks() --&gt; lib/functions/general/extensions.sh:567
                do_with_logging() --&gt; lib/functions/logging/section-logging.sh:81
   kernel_prepare_build_and_package() --&gt; lib/functions/compilation/kernel.sh:171
                 compile_kernel() --&gt; lib/functions/compilation/kernel.sh:100
   artifact_kernel_build_from_sources() --&gt; lib/functions/artifacts/artifact-kernel.sh:240
    artifact_build_from_sources() --&gt; lib/functions/artifacts/artifacts-obtain.sh:34
       obtain_complete_artifact() --&gt; lib/functions/artifacts/artifacts-obtain.sh:280
       build_artifact_for_image() --&gt; lib/functions/artifacts/artifacts-obtain.sh:392
    main_default_build_packages() --&gt; lib/functions/main/build-packages.sh:106
   full_build_packages_rootfs_and_image() --&gt; lib/functions/main/default-build.sh:31
          do_with_default_build() --&gt; lib/functions/main/default-build.sh:42
         cli_standard_build_run() --&gt; lib/functions/cli/cli-build.sh:25
        armbian_cli_run_command() --&gt; lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --&gt; lib/functions/cli/entrypoint.sh:176
                           main() --&gt; compile.sh:50
 ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">💥</span>] Cleaning up [ please wait for cleanups to finish ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌿</span>] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0.log.ans ]
[<span class="ipsEmoji">🐳</span>|<span class="ipsEmoji">🌿</span>] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-3b1e65cb-74c9-47f6-aa6c-d7787497b9b0.log.ans https://paste.armbian.com/log ]
[<span class="ipsEmoji">💥</span>] -------------Docker run failed after 152s-------------------------- [ <span class="ipsEmoji">🐳</span> failed ]
[<span class="ipsEmoji">🌱</span>] Cleaning up [ please wait for cleanups to finish ]
 ~/devel/personal/Armbian/build │ main !1                                                                                           </span></pre>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Thanks for any help with this. 
</p>

<p>
	I hope I've provided enough information to make sense of what I'm attempting to do.
</p>
]]></description><guid isPermaLink="false">49018</guid><pubDate>Mon, 30 Dec 2024 17:12:34 +0000</pubDate></item><item><title>My Zero2 DTS</title><link>https://forum.armbian.com/topic/26511-my-zero2-dts/</link><description><![CDATA[<p>
	This is my <abbr title="Device tree source">DTS</abbr> file for OrangePi Zero2, opened UART5 for attach a GPS module on <abbr title="General purpose input/output">GPIO</abbr>.
</p>

<p>
	 
</p>

<p>
	Tried to add 1wire, PPS and SPI , but can't work.
</p>

<p>
	 
</p>

<p>
	maybe help someone.
</p>
<p>
<a class="ipsAttachLink" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=9981&amp;key=fb30914a323f4379f6e8fcbd400f133c" data-fileExt='dts' data-fileid='9981' data-filekey='fb30914a323f4379f6e8fcbd400f133c'>sun50i-h616-orangepi-zero2.dts</a></p>]]></description><guid isPermaLink="false">26511</guid><pubDate>Wed, 08 Feb 2023 07:49:06 +0000</pubDate></item><item><title>OPi Zero 2W - installing arch distro over armbian</title><link>https://forum.armbian.com/topic/41970-opi-zero-2w-installing-arch-distro-over-armbian/</link><description><![CDATA[<p>
	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.
</p>

<p>
	 
</p>

<p>
	I would like to present Archian, the bastard child of Armbian &amp; Arch.
</p>

<p>
	 
</p>

<p>
	Why … well, the project I am working on needed current versions of phosh &amp; plasma-mobile and the versions on jammy/bookworm were quite old. The <abbr title="Orange Pi">OPi</abbr> supplied image was quite flaky so I had to find a way to mash these together. And this is the result.
</p>

<p>
	 
</p>

<p>
	It does need to be run as root !
</p>

<p>
	 
</p>

<p>
	The script has 3 arguments:
</p>

<p>
	init - downloads the armbian image file, arch rootfs and arch packages. You need to then write the image to an SD-CARD<br />
	install - this installs arch over the armbian image on the SD-Card<br />
	finish - run this option on a booted image as root<br />
	 
</p>

<p>
	It has limited/no error checking so run this at your own risk.
</p>

<p>
	 
</p>

<p>
	A wise/cautious person would run the install commands manually as it could really mess up your host system if it goes badly.
</p>

<p>
	 
</p>

<p>
	It could be easily modified to work with different boards but <abbr title="Orange Pi">OPi</abbr> Zero 2W is what I have.
</p>

<p>
	 
</p>

<p>
	Don't forget to edit the script before running it so that ‘things’ point to where you want them.
</p>

<p>
	 
</p>

<p>
	The root password is root.
</p>

<p>
	 
</p>

<p>
	You will need an external screen &amp; keyboard to use it as networking wont work until it is fully installed.
</p>

<p>
	 
</p>

<p>
	Have a play and let me know any issues.<br />
	 
</p>
<p>
<a class="ipsAttachLink" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=12712&amp;key=a4fcb70f681c57752a9d8097b8293023" data-fileExt='sh' data-fileid='12712' data-filekey='a4fcb70f681c57752a9d8097b8293023'>archian.sh</a></p>]]></description><guid isPermaLink="false">41970</guid><pubDate>Wed, 03 Jul 2024 22:08:20 +0000</pubDate></item><item><title>Armbian 24.8.4 bookworm on OrangePI zero 2 - Network forwarding doesn't work</title><link>https://forum.armbian.com/topic/46948-armbian-2484-bookworm-on-orangepi-zero-2-network-forwarding-doesnt-work/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	Everything come from a try to create a docker compose project. Armbian 24.8.4 bookworm on OrangePI zero 2 - Network forwarding doesn't work:<br />
	```<br />
	version: '3.6'<br />
	services:<br />
	  db:<br />
	    image: mariadb:10.3<br />
	    environment:<br />
	      MYSQL_ROOT_PASSWORD: secret<br />
	  phpmyadmin:<br />
	    image: phpmyadmin<br />
	    restart: always<br />
	    ports:<br />
	      - 8080:80<br />
	    environment:<br />
	      - PMA_HOSTS=db<br />
	```
</p>

<p>
	<br />
	=&gt; FROM test-db-1 =&gt; test-db-1 3306<br />
	```<br />
	docker exec -ti test-db-1 bash -c 'timeout 0.5 echo -n 2&gt;/dev/null &lt; /dev/tcp/test-db-1/3306 &amp;&amp; echo "open" || echo "closed"'<br />
	-----------<br />
	open<br />
	-----------<br />
	```
</p>

<p>
	=&gt; FROM test-phpmyadmin-1 =&gt; test-db-1 3306<br />
	```<br />
	docker exec -ti test-phpmyadmin-1 bash -c 'timeout 0.5 echo -n 2&gt;/dev/null &lt; /dev/tcp/test-db-1/3306 &amp;&amp; echo "open" || echo "closed"'<br />
	-----------<br />
	closed<br />
	-----------<br />
	```
</p>

<p>
	<br />
	lsb_release -a<br />
	No LSB modules are available.<br />
	Distributor ID:    Debian<br />
	Description:    Armbian 24.8.4 bookworm<br />
	Release:    12<br />
	Codename:    bookworm
</p>

<p>
	uname -a<br />
	Linux xxxxxx-pre 6.6.44-current-sunxi64 #1 SMP Sat Aug  3 06:54:42 UTC 2024 aarch64 GNU/Linux<br />
	```
</p>

<p>
	OrangePI Zero v2
</p>

<p>
	Network forwarding doesn't work
</p>

<p>
	### How to reproduce?
</p>

<p>
	```<br />
	ip -4 addr show scope global<br />
	2: end0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP group default qlen 1000<br />
	    inet 192.168.1.135/24 metric 100 brd 192.168.1.255 scope global dynamic end0<br />
	       valid_lft 587718sec preferred_lft 587718sec
</p>

<p>
	cat /proc/sys/net/ipv4/ip_forward<br />
	1
</p>

<p>
	iptables -A PREROUTING -t nat -i lo -p udp --dport 2222 -j DNAT --to 127.0.0.1:22<br />
	iptables -A PREROUTING -t nat -i lo -p tcp --dport 2222 -j DNAT --to 127.0.0.1:22<br />
	iptables -A FORWARD -p tcp -d 127.0.0.1 --dport 2222 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT<br />
	iptables -A FORWARD -m limit --limit 3/minute --limit-burst 3 -j LOG --log-prefix "IPT FORWARD packet"<br />
	iptables -A POSTROUTING -t nat -j MASQUERADE -o lo<br />
	iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
	iptables -A INPUT -j ACCEPT<br />
	iptables -A OUTPUT -j ACCEPT<br />
	iptables -A FORWARD -j ACCEPT<br />
	```
</p>

<p>
	ssh -l root -p 22 localhost =&gt; OK<br />
	ssh -l root -p 2222 localhost =&gt; KO
</p>

<p>
	```<br />
	iptables -A INPUT -j ACCEPT<br />
	iptables -A OUTPUT -j ACCEPT<br />
	iptables -A FORWARD -j ACCEPT<br />
	iptables -A PREROUTING -t nat -i end0 -p udp --dport 2222 -j DNAT --to 192.168.1.135:22<br />
	iptables -A PREROUTING -t nat -i end0 -p tcp --dport 2222 -j DNAT --to 192.168.1.135:22<br />
	iptables -A FORWARD -p tcp -d 192.168.1.135 --dport 2222 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT<br />
	iptables -A FORWARD -m limit --limit 3/minute --limit-burst 3 -j LOG --log-prefix "IPT FORWARD packet"<br />
	iptables -A POSTROUTING -t nat -j MASQUERADE -o end0<br />
	iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
	```
</p>

<p>
	ssh -l root -p 22 192.168.1.135 =&gt; OK<br />
	ssh -l root -p 2222 192.168.1.135 =&gt; KO
</p>

<p>
	### Branch
</p>

<p>
	main (main development branch)
</p>

<p>
	### On which host OS are you running the build script and observing this problem?
</p>

<p>
	Ubuntu 24.04 Noble
</p>

<p>
	### Are you building on Windows WSL2?
</p>

<p>
	- [ ] Yes, my Ubuntu/Debian/OtherOS is running on WSL2
</p>

<p>
	### Relevant log URL
</p>

<p>
	_No response_
</p>

<p>
	### Code of Conduct
</p>

<p>
	- [X] I agree to follow this project's Code of Conduct
</p>
]]></description><guid isPermaLink="false">46948</guid><pubDate>Thu, 07 Nov 2024 16:43:47 +0000</pubDate></item><item><title>24.8 for Orange Pi Zero 2 (and others)</title><link>https://forum.armbian.com/topic/46608-248-for-orange-pi-zero-2-and-others/</link><description><![CDATA[<p>
	Hello,<br />
	<br />
	Hopefully a maintainer is reading- is there a plan to build/release 24.8 for Orange Pi Zero 2? Thanks!
</p>
]]></description><guid isPermaLink="false">46608</guid><pubDate>Mon, 21 Oct 2024 20:12:40 +0000</pubDate></item><item><title>Orange Pi Zero 2 - Custom DTS Overlay and GPIO Allocation conflicting with image DTS - All header pins pre-allocated for use - which ones are free to use?</title><link>https://forum.armbian.com/topic/30490-orange-pi-zero-2-custom-dts-overlay-and-gpio-allocation-conflicting-with-image-dts-all-header-pins-pre-allocated-for-use-which-ones-are-free-to-use/</link><description><![CDATA[<p>
	I'm using image Armbian_23.8.3_Orangepizero2_bookworm_current_6.1.53
</p>

<p>
	I'm building a <abbr title="Device tree source"><abbr title="Device tree source">DTS</abbr></abbr> overlay for a SPI Touchscreen and every pin I try to use is showing this error:<br />
	 
</p>

<p>
	[    1.441808] sun50i-h616-pinctrl 300b000.pinctrl: pin PC11 already requested by 5011000.spi; cannot claim for 300b000.pinctrl:75
</p>

<p>
	[    1.441817] sun50i-h616-pinctrl 300b000.pinctrl: pin-75 (300b000.pinctrl:75) status -22
</p>

<p>
	[    1.441829] sun6i-spi 5011000.spi: cannot register SPI master
</p>

<p>
	 
</p>

<p>
	I'm trying to configure my touchscreen <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> to use the SPI1.0 &amp; SPI1.1.  However, the pins exposed on the headers are all allocated for device use under 300b000.pinctrl.
</p>

<p>
	How do you allocate header pins for another use?
</p>

<p>
	 
</p>

<p>
	I need 5 pins + SPI1 for the touchscreen to work.
</p>

<p>
	 
</p>

<p>
	My <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr>
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">/dts-v1/;
/plugin/;

/ {
	compatible = "allwinner,sun8i-h3";

	fragment@0 {
		target = &lt;&amp;pio&gt;;
		__overlay__ {
			spi1_cs1: spi1_cs1 {
				pins = "PC11"; 
				function = "gpio_out";
				output-high;
			};

			opiz_display_pins: opiz_display_pins {
				pins = "PC9", "PC6", "PC5";
				function = "gpio_out";
			};

			ads7846_pins: ads7846_pins {
				pins = "PH6";
				function = "irq";
			};
		};
	};

	fragment@1 {
		target = &lt;&amp;spi1&gt;;
		__overlay__ {
			#address-cells = &lt;1&gt;;
			#size-cells = &lt;0&gt;;
			status = "okay";
			pinctrl-1 = &lt;&amp;spi1_cs1&gt;;
			pinctrl-names = "default", "default";
			cs-gpios= &lt;0&gt;, &lt;&amp;pio 2 11 0&gt;; /* PH9 PC11 */

                        opizdisplay: opiz-display@0 {
                                reg = &lt;0&gt;; /* Chip Select 0 */
                                compatible = "ilitek,ili9341";
                                spi-max-frequency = &lt;16000000&gt;;
                                status = "okay";
                                pinctrl-names = "default";
                                pinctrl-0 = &lt;&amp;opiz_display_pins&gt;;
                                rotate = &lt;90&gt;;
                                bgr = &lt;0&gt;;
                                fps = &lt;10&gt;;
                                buswidth = &lt;8&gt;;
                                dc-gpios = &lt;&amp;pio 2 6 0&gt;;      /* PC6 */
                                reset-gpios = &lt;&amp;pio 2 9 1 &gt;; /* PC9 */
                                led-gpios=&lt;&amp;pio 2 5 0&gt;;      /*  PC5 */
                                debug=&lt;0&gt;;
                        };

			ads7846: ads7846@1 {
				reg = &lt;1&gt;; /* Chip Select 1 */
				compatible = "ti,ads7846";
				spi-max-frequency = &lt;500000&gt;;
				status = "okay";
				pinctrl-names = "default";
				pinctrl-0 = &lt;&amp;ads7846_pins&gt;;
				interrupt-parent = &lt;&amp;pio&gt;;
				interrupts = &lt;7 6 2&gt;; /* PH6 IRQ_TYPE_EDGE_FALLING */
				pendown-gpio = &lt;&amp;pio 7 6 0&gt;; /* PH6 */
				/* driver defaults, optional */
				ti,x-min = /bits/ 16 &lt;0&gt;;
				ti,y-min = /bits/ 16 &lt;0&gt;;
				ti,x-max = /bits/ 16 &lt;0x0FFF&gt;;
				ti,y-max = /bits/ 16 &lt;0x0FFF&gt;;
				ti,pressure-min = /bits/ 16 &lt;0&gt;;
				ti,pressure-max = /bits/ 16 &lt;0xFFFF&gt;;
				ti,x-plate-ohms = /bits/ 16 &lt;400&gt;;
			};
		};

	};

};</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">30490</guid><pubDate>Sun, 01 Oct 2023 19:21:39 +0000</pubDate></item><item><title>What capabilities are available for this board</title><link>https://forum.armbian.com/topic/44492-what-capabilities-are-available-for-this-board/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I really apologise if the information is out there and I just haven't found it.
</p>

<p>
	 
</p>

<p>
	I was looking to buy a board for a small embedded GUI application and this one seems to fit the bill.
</p>

<p>
	I would like to use Wi-Fi, Bluetooth and HDMI.
</p>

<p>
	 
</p>

<p>
	Is there a list of what is working or not working on each build/version? (This is probably a more general question to Armbian for any device)
</p>

<p>
	 
</p>

<p>
	The only thing I could find is this: 
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="208404" data-embedcontent="" data-embedid="embed4815297923" src="https://forum.armbian.com/topic/32518-capabilities-of-orangepi-zero2-on-armbian/?do=embed" style="height:210px;max-width:502px;"></iframe>

<p>
	But it's not that recent.
</p>

<p>
	 
</p>

<p>
	On the download page: <a href="https://www.armbian.com/orange-pi-zero-2/" rel="external nofollow">https://www.armbian.com/orange-pi-zero-2/</a> under specifications it does list, Bluetooth and Wi-Fi but I'm not sure if this means its now working?
</p>

<p>
	 
</p>

<p>
	I also saw some forum posts talk about old builds, where can they be found, all I can see is this (linked on the download page): <a href="https://fi.mirror.armbian.de/archive/orangepizero2/archive/" rel="external nofollow">https://fi.mirror.armbian.de/archive/orangepizero2/archive/</a> and it only has 1 version.
</p>

<p>
	 
</p>

<p>
	One last question, if Wi-Fi or Bluetooth don't work, does that only mean onboard Wi-Fi and Bluetooth and that a dongle would work?
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>
]]></description><guid isPermaLink="false">44492</guid><pubDate>Wed, 28 Aug 2024 15:50:13 +0000</pubDate></item><item><title>Orange Pi Zero 2 suddenly dead</title><link>https://forum.armbian.com/topic/42792-orange-pi-zero-2-suddenly-dead/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I've been using OPiZ2 for about 2 years as Pi-hole in gravity-sync with another one (Orange Pi 3 <abbr title="Long term support">LTS</abbr> running Open Media Vault with no problem).
</p>

<p>
	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.
</p>

<p>
	I'm almost sure I was using it with Armbian_22.11.0-trunk_Orangepizero2_sid_edge_6.0.6.
</p>

<p>
	i have extracted the sd card and checked it on Windows with Diskinternals reader and Minitool Partition Wizard, no problem found.
</p>

<p>
	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.
</p>

<p>
	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.
</p>

<p>
	 
</p>

<p>
	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? 
</p>

<p>
	I've downloaded Armbian_24.5.3_Orangepizero2_bookworm_current_6.6.31_minimal, but I came here to ask before doing something.
</p>
]]></description><guid isPermaLink="false">42792</guid><pubDate>Tue, 23 Jul 2024 16:35:50 +0000</pubDate></item><item><title>Orange PI Zero 2 and SPI ILI9341 Touchscreen FBTFT Legacy Kernel - partial success</title><link>https://forum.armbian.com/topic/29657-orange-pi-zero-2-and-spi-ili9341-touchscreen-fbtft-legacy-kernel-partial-success/</link><description><![CDATA[<p>
	I got my 320x240 ILI9341 touchscreen to work with the image from the OrangePI site:<br />
	Armbian_23.5.2_Orangepizero2_bookworm_legacy_4.9.318_minimal
</p>

<p>
	 
</p>

<p>
	The display is one I bought from Amazon
</p>

<p>
	 
</p>

<p>
	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
</p>

<p>
	<br />
	This document was very helpful getting the display set up on the OPZero 2:<br />
	<a href="https://tienda.tettsa.gt/wp-content/uploads/2022/08/OrangePi_Zero2_H616_User-manual_v3.7.pdf" rel="external nofollow">https://tienda.tettsa.gt/wp-content/uploads/2022/08/OrangePi_Zero2_H616_User-manual_v3.7.pdf</a>
</p>

<p>
	 
</p>

<p>
	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.
</p>

<p>
	 
</p>

<p>
	The basic steps to getting the SPI LCD to work are:
</p>

<p>
	 
</p>

<p>
	1) wire up the display to the OPZero2<br />
	 
</p>

<p>
	2.8 Inch TFT SPI 240x320 =&gt; OPZero2
</p>

<p>
	1 - VCC   =&gt;  (1) 3.3v<br />
	2 - GND  =&gt;   (6) Gnd<br />
	3 - CS      =&gt;   (24) Spi1 CS<br />
	4 - RESET  =&gt;   (7) <abbr title="General purpose input/output">GPIO</abbr> 6<br />
	5 - DC    =&gt;     (11) <abbr title="General purpose input/output">GPIO</abbr> 1<br />
	6 - SDI (MOSI) =&gt;    (19) Spi1 MOSI<br />
	7 - SCLK  =&gt;  (23) Spi1 CLK<br />
	8 - LED    =&gt;    (13) <abbr title="General purpose input/output">GPIO</abbr> 0<br />
	9 - SDO (MISO) =&gt;    (21) Spi1 MISO<br />
	10 - T_CLK     <br />
	11 - T_CS       <br />
	12 - T_DIN    <br />
	13 - T_DO    <br />
	14 - T_IRQ    <br />
	 
</p>

<p>
	2) Install Armbian_23.5.2_Orangepizero2_bookworm_legacy_4.9.318_minimal - must be legacy kernel to work 4.9 is OK
</p>

<p>
	 
</p>

<p>
	3) sudo apt install fbi kbd armbian-config
</p>

<p>
	 
</p>

<p>
	4) sudo armbian-config
</p>

<p>
	set up desktop
</p>

<p>
	 
</p>

<p>
	now to make the LCD work and start on boot
</p>

<p>
	 
</p>

<p>
	5) sudo nano /boot/armbianEnv.txt
</p>

<p>
	overlays=spi-spidev<br />
	param_spidev_spi_bus=1<br />
	param_spidev_spi_cs=1<br />
	extraargs=fbcon=map:1
</p>

<p>
	<br />
	6) sudo nano /etc/modules-load.d/fbtft.conf
</p>

<p>
	fbtft<br />
	fbtft_device
</p>

<p>
	<br />
	7) sudo nano etc/modprobe.d/fbtft.conf
</p>

<p>
	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<br />
	 
</p>

<p>
	<span class="ipsEmoji">😎</span> sudo dpkg-reconfigure console-setup
</p>

<p>
	select UTF-8
</p>

<p>
	select Guess optimal character set
</p>

<p>
	select terminus
</p>

<p>
	select 6/12
</p>

<p>
	 
</p>

<p>
	9) sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf
</p>

<p>
	Section "Device"<br />
	  Identifier "myfb"<br />
	  Driver "fbdev"<br />
	  Option "fbdev" "/dev/fb1"<br />
	EndSection
</p>

<p>
	 
</p>

<p>
	Now when it boots it should boot to the SPI LCD Display
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">29657</guid><pubDate>Sat, 12 Aug 2023 21:50:25 +0000</pubDate></item><item><title>Question about playing video</title><link>https://forum.armbian.com/topic/21080-question-about-playing-video/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	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?
</p>
]]></description><guid isPermaLink="false">21080</guid><pubDate>Tue, 24 May 2022 18:31:05 +0000</pubDate></item><item><title>Issue with UART Configuration on OrangePi Zero 2 Board</title><link>https://forum.armbian.com/topic/40655-issue-with-uart-configuration-on-orangepi-zero-2-board/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	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 -&gt; System -&gt; Hardware. However, in the section where I should find options for peripherals to enable, I found nothing.
</p>

<p>
	<img alt="2024-06-04141658.png.426d9ff92c76748b53600618b5bb3bee.png" class="ipsImage ipsImage_thumbnailed" data-fileid="12594" data-ratio="49.54" width="648" src="https://forum.armbian.com/uploads/monthly_2024_06/2024-06-04141658.png.426d9ff92c76748b53600618b5bb3bee.png" />
</p>

<p>
	I have tried installing different versions of Armbian, but nothing changed:
</p>

<p>
	- Armbian_24.5.1_Orangepizero2_jammy_current_6.6.31.img<br />
	- Armbian_24.2.1_Orangepizero2_bookworm_current_6.6.16.img<br />
	- Armbian_23.8.3_Orangepizero2_bookworm_current_6.1.53.img<br />
	- Armbian_24.5.1_Orangepizero2_noble_current_6.6.31.img
</p>

<p>
	I also tried installing the system on different SD cards, but nothing changed.
</p>

<p>
	Please tell me, what am I doing wrong?
</p>

<p>
	Thank you.
</p>
]]></description><guid isPermaLink="false">40655</guid><pubDate>Tue, 04 Jun 2024 11:44:00 +0000</pubDate></item><item><title>SOLVED: sshd ignores ListenAddress  (due to ssh.socket service)</title><link>https://forum.armbian.com/topic/40355-solved-sshd-ignores-listenaddress-due-to-sshsocket-service/</link><description><![CDATA[<p>
	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.
</p>

<p>
	 
</p>

<p>
	Linux orangepizero2 6.6.31-current-sunxi64 #1 SMP Fri May 17 10:02:40 UTC 2024 aarch64 GNU/Linux 
</p>

<p>
	 
</p>

<p>
	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.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">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.</span></pre>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">40355</guid><pubDate>Thu, 30 May 2024 16:27:32 +0000</pubDate></item><item><title>Any overclock possible on the H616?</title><link>https://forum.armbian.com/topic/37242-any-overclock-possible-on-the-h616/</link><description><![CDATA[<p>
	Hi guys,<br />
	<br />
	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 <abbr title="Graphic processing unit (3D acceleration)">gpu</abbr> support and hdmi out working.<br />
	<br />
	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?<br />
	<br />
	Any and all answers welcome!
</p>
]]></description><guid isPermaLink="false">37242</guid><pubDate>Fri, 05 Apr 2024 19:48:25 +0000</pubDate></item><item><title>armbianmonitor not available on orange pi zero 2</title><link>https://forum.armbian.com/topic/23711-armbianmonitor-not-available-on-orange-pi-zero-2/</link><description><![CDATA[<p>
	I tried to install armbianmonitor on the <abbr title="Orange Pi">opi</abbr> zero 2, but unfortunately this fails:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">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</span></pre>

<p>
	Can I do something to resolve this or do I just need to have patience <span><img alt=":)" data-emoticon="" height="20" src="https://forum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://forum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>
]]></description><guid isPermaLink="false">23711</guid><pubDate>Sat, 01 Oct 2022 11:52:31 +0000</pubDate></item><item><title>None of the images work.. OrangePi Zero2</title><link>https://forum.armbian.com/topic/33643-none-of-the-images-work-orangepi-zero2/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	Hello
</p>

<p>
	I've tried both Bookworm and Jammy (also older version). None boot up - nothing. The red LED starts blinking after after a few seconds.
</p>

<p>
	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.
</p>

<p>
	Is there an image/version someone can confirm was tested and works?
</p>

<p>
	 
</p>

<p>
	thank you
</p>
]]></description><guid isPermaLink="false">33643</guid><pubDate>Fri, 02 Feb 2024 20:20:23 +0000</pubDate></item><item><title>Unable to get i2c connection to work on Orange Pi Zero 2</title><link>https://forum.armbian.com/topic/29676-unable-to-get-i2c-connection-to-work-on-orange-pi-zero-2/</link><description><![CDATA[<p>
	I have been trying to get DS3231 to work with the OrangePi Zero 2 via the i2c bus.
</p>

<p>
	I have tried setting the following settings in /boot/armbianEnv.txt
</p>

<pre class="ipsCode">overlay_prefix=sun8i-h6
overlay=i2c0 i2c1 i2c2</pre>

<p>
	However, I am not able to use i2c tools to read the DS3231.
</p>

<p>
	<br />
	Any suggestions are welcomed. Thank you in advance!
</p>
]]></description><guid isPermaLink="false">29676</guid><pubDate>Mon, 14 Aug 2023 09:04:37 +0000</pubDate></item><item><title>Image won't boot for Orangepi Zero 2</title><link>https://forum.armbian.com/topic/20167-image-wont-boot-for-orangepi-zero-2/</link><description><![CDATA[<p>
	Just tried the latest image for Orangepi Zero2, the Armbian Focal Image(Armbian_22.02.2_Orangepizero2_focal_edge_5.16.11.img Built March 7 2022)
</p>

<p>
	The board has startup issue, the serial output seems to load some files in wrong format:
</p>

<p>
	 
</p>

<p>
	U-Boot SPL 2021.10-armbian (Feb 26 2022 - 17:45:38 +0000)<br />
	DRAM: 1024 MiB<br />
	Trying to boot from MMC1<br />
	NOTICE:  BL31: v2.6(debug):510155aa-dirty<br />
	NOTICE:  BL31: Built : 17:45:34, Feb 26 2022<br />
	NOTICE:  BL31: Detected Allwinner H616 <abbr title="System On a Chip"><abbr title="System On a Chip">SoC</abbr></abbr> (1823)<br />
	NOTICE:  BL31: Found U-Boot <abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr> at 0x4a082570, model: OrangePi Zero2<br />
	INFO:    ARM GICv2 driver initialized<br />
	INFO:    Configuring SPC Controller<br />
	INFO:    PMIC: Probing AXP305 on RSB<br />
	INFO:    PMIC: aldo1 voltage: 3.300V<br />
	INFO:    PMIC: aldo2 voltage: 3.300V<br />
	INFO:    PMIC: aldo3 voltage: 3.300V<br />
	INFO:    PMIC: bldo1 voltage: 1.800V<br />
	INFO:    PMIC: dcdcd voltage: 1.500V<br />
	INFO:    PMIC: dcdce voltage: 3.300V<br />
	INFO:    Changed devicetree to reserve BL31 memory.<br />
	INFO:    BL31: Platform setup done<br />
	INFO:    BL31: Initializing runtime services<br />
	INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied<br />
	INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied<br />
	INFO:    PSCI: Suspend is unavailable<br />
	INFO:    BL31: Preparing for EL3 exit to normal world<br />
	INFO:    Entry point address = 0x4a000000<br />
	INFO:    SPSR = 0x3c9
</p>

<p>
	<br />
	U-Boot 2021.10-armbian (Feb 26 2022 - 17:45:38 +0000) Allwinner Technology
</p>

<p>
	CPU:   Allwinner H616 (SUN50I)<br />
	Model: OrangePi Zero2<br />
	I2C:   ready<br />
	DRAM:  1 GiB<br />
	MMC:   mmc@4020000: 0<br />
	Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@5000000<br />
	Out:   serial@5000000<br />
	Err:   serial@5000000<br />
	Net:   phy interface7<br />
	eth0: ethernet@5020000<br />
	Autoboot in 1 seconds, press &lt;Space&gt; to stop<br />
	switch to partitions #0, OK<br />
	mmc0 is current device<br />
	Scanning mmc 0:1...<br />
	Found U-Boot script /boot/boot.scr<br />
	2612 bytes read in 2 ms (1.2 MiB/s)<br />
	## Executing script at 4fc00000<br />
	U-boot loaded from SD<br />
	Boot script loaded from mmc<br />
	131 bytes read in 1 ms (127.9 KiB/s)<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	No FDT memory address configured. Please configure<br />
	the FDT address via "fdt addr &lt;address&gt;" command.<br />
	Aborting!<br />
	12522800 bytes read in 518 ms (23.1 MiB/s)<br />
	Failed to load '/boot/uImage'<br />
	Wrong Image Format for bootm command<br />
	ERROR: can't get kernel image!<br />
	SCRIPT FAILED: continuing...<br />
	libfdt fdt_check_header(): FDT_ERR_BADMAGIC<br />
	Scanning disk mmc@4020000.blk...<br />
	Found 2 disks<br />
	No EFI system partition<br />
	BootOrder not defined<br />
	EFI boot manager: Cannot load any image<br />
	ethernet@5020000 Waiting for PHY auto negotiation to complete......... TIMEOUT !<br />
	missing environment variable: pxeuuid<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/01-02-00-86-a3-61-86<br />
	ethernet@5020000 Waiting for PHY auto negotiation to complete......... TIMEOUT !<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000000<br />
	ethernet@5020000 Waiting for PHY auto negotiation to complete..
</p>

<p>
	 
</p>

<p>
	I tried another image: Armbian_22.02.2_Orangepizero2_focal_legacy_4.9.255.img.xz
</p>

<p>
	This one works okay
</p>
]]></description><guid isPermaLink="false">20167</guid><pubDate>Tue, 29 Mar 2022 11:29:15 +0000</pubDate></item><item><title>WiFi not working on OrangePi Zero 2</title><link>https://forum.armbian.com/topic/30720-wifi-not-working-on-orangepi-zero-2/</link><description><![CDATA[<p>
	I'm using the latest image Armbian_23.8.3_Orangepizero2_bookworm_current_6.1.53.img.xz and wifi isn't working. Is there something I need to do to load the module or something?
</p>

<p>
	 
</p>

<pre class="ipsCode">sudo nmcli device show
GENERAL.DEVICE:                         end0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         02:00:9E:C4:55:73
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         10.11.12.140/24
IP4.GATEWAY:                            10.11.12.1
IP4.ROUTE[1]:                           dst = 10.11.12.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 10.11.12.1, mt = 100
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             10.11.12.1
IP4.DOMAIN[1]:                          lan
IP4.SEARCHES[1]:                        lan
IP6.ADDRESS[1]:                         fe80::573f:9a69:7cbf:6308/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          100 (connected (externally))
GENERAL.CONNECTION:                     lo
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            --
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:                            --
</pre>

<p>
	 
</p>

<p>
	 
</p>

<p>
	I've also tried loading the edge kernel (Linux opizero2 6.4.12-edge-sunxi64 #1 SMP Wed Aug 23 15:32:56 UTC 2023 aarch64 GNU/Linux) and that's not working either.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">30720</guid><pubDate>Thu, 12 Oct 2023 09:48:59 +0000</pubDate></item><item><title>Capabilities of Orangepi zero2 on Armbian</title><link>https://forum.armbian.com/topic/32518-capabilities-of-orangepi-zero2-on-armbian/</link><description><![CDATA[<p>
	There are a number of people working on getting the orangepi zero3 to work with Armbian. The zero3 is almost identical to the zero2 which is a supported board. The differences between the two have been taken into account by upstream Linux and u-boot changes in at least Linux-6.6 to the point where it is possible to build a working zero3 Armbian image. Everything else in theory should be identical between the two boards.  Any changes should apply to both zero2 and 3.
</p>

<p>
	My question is, what capabilities are supported by Armbian on the zero2. What is working and tested?
</p>

<p>
	- wifi
</p>

<p>
	-Bluetooth
</p>

<p>
	-HDMI
</p>

<p>
	-sound
</p>

<p>
	-<abbr title="General purpose input/output">gpio</abbr>
</p>

<p>
	-i2c, spi
</p>

<p>
	It would be helpful to know what works today on zero2 to avoid duplicating efforts on zero3. Any changes being developed for zero3 should also be tested on zero2.
</p>
]]></description><guid isPermaLink="false">32518</guid><pubDate>Wed, 13 Dec 2023 17:47:13 +0000</pubDate></item><item><title>(SOLVED)Not runnig cron, fstab or any other script at boot</title><link>https://forum.armbian.com/topic/27002-solvednot-runnig-cron-fstab-or-any-other-script-at-boot/</link><description><![CDATA[<p>
	So, I've installed Armbian_23.02.2_Orangepizero2_bullseye_legacy_4.9.318.img on 2 diferent SD cards with same results, I'm not able to figure why they don't run fstab, cron jobs or any other script automatically. I'm mounting a samba share, by command it mounts correctly, this is my fstab entry:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">//192.168.1.2/Descargas /mnt/Descargas/ cifs uid=1000,gid=1000,guest 0 0</span></pre>

<p>
	 
</p>

<p>
	tried _netdev to wait for network and then mount with the same results
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">//192.168.1.2/Descargas /mnt/Descargas/ cifs uid=1000,gid=1000,guest, _netdev 0 0</span></pre>

<p>
	 
</p>

<p>
	If I run <strong>mount -a</strong> it works, tried to add it into root crontab with 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">* * * * /bin/mount -a</span></pre>

<p>
	 
</p>

<p>
	Still, no results, even schedule reboot doesn't work
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">30 5 * * * /sbin/shutdown -r</span></pre>

<p>
	 
</p>

<p>
	I even tried to make an executable script on /etc/network/if-up.d with <strong>mount -a</strong> on it that was supposed to run after network is up but nothing.
</p>

<p>
	 
</p>

<p>
	I'm no linux expert but not a total newbie either, this has me really stressed, I don´t know if my OS doesn't run any auto script or what is going on, I even tried Armbian_23.02.2_Orangepizero2_jammy_legacy_4.9.318.img today but it doesn´t start, my <abbr title="Orange Pi"><abbr title="Orange Pi">Opi</abbr></abbr> Zero 2 LED doesn´t turn on even after 20 minutes.
</p>

<p>
	 
</p>

<p>
	Any help or right direction will be apreciated. Thanks in advance
</p>

<p>
	 
</p>

<p>
	Best regards
</p>

<p>
	 
</p>

<p>
	SOLUTION: I had to add sudo before cron commands, I feel so stupid right now, I'm leaving this here if it helps someone
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">30 5 * * * sudo /sbin/shutdown -r
* * * * * sudo /bin/mount -a</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">27002</guid><pubDate>Sat, 04 Mar 2023 17:04:37 +0000</pubDate></item><item><title>Prevent Orange Pi Zero 2 from going to sleep</title><link>https://forum.armbian.com/topic/29944-prevent-orange-pi-zero-2-from-going-to-sleep/</link><description><![CDATA[<p>
	I'm running Octoprint on Orange Pi Zero 2 and Armbian 22.11.3 Bullseye with Linux 4.9.318-sun50iw9 (other than assorted added userspace software, it's stock Armbian, no recompiled kernel or anything like that). It works great - while it works. I successfully complete 30+-hour prints. I can connect, monitor, everything is fine and dandy. When I'm connected to Octoprint from PC, monitoring of the 3D printer enabled, even without printing anything, it works ok. But if I'm not connected, and the printer is doing nothing for a prolonged time (an hour or so?), it stops working. Probably goes to sleep - stops responding to any network communication. Since it's a fully headless setup - no keyboard/mouse - I can't really tell for sure, it's completely unresponsive for all intents and purposes. No ping, no ssh, no www. I need to power-cycle it to be able to connect again.
</p>

<p>
	 
</p>

<p>
	Any suggestions how to solve that?
</p>
]]></description><guid isPermaLink="false">29944</guid><pubDate>Fri, 01 Sep 2023 10:30:15 +0000</pubDate></item><item><title>connecting to wifi not working on jammy_legacy on orangepizero2</title><link>https://forum.armbian.com/topic/29618-connecting-to-wifi-not-working-on-jammy_legacy-on-orangepizero2/</link><description><![CDATA[<p>
	On a clean Armbian image (Armbian_23.5.2_Orangepizero2_jammy_legacy_4.9.318.img) I am not able to connect to an AP. nmcli or nmtui produces errors (<a href="https://paste.armbian.com/ogowinebol" rel="external nofollow">https://paste.armbian.com/ogowinebol</a>). This also holds for the other jammy_legacy images in the archive.
</p>

<p>
	 
</p>

<p>
	When testing on the stock images provided orange pi I am able to connect with both the Orangepizero2_3.0.6_ubuntu_jammy_server_linux5.16.17.img and Orangepizero2_2.2.0_ubuntu_focal_server_linux4.9.170 images it works. Connecting also works on the Amrbian focal_legacy images I tried.
</p>
]]></description><guid isPermaLink="false">29618</guid><pubDate>Wed, 09 Aug 2023 13:38:33 +0000</pubDate></item><item><title>H616 mainlining effort</title><link>https://forum.armbian.com/topic/26290-h616-mainlining-effort/</link><description><![CDATA[<p>
	Hello.<br />
	<br />
	I see some progress in H616 (OPIZ2) support in mainline linux (now 6.2RC5 comes with USB) - <a href="https://linux-sunxi.org/Linux_mainlining_effort" rel="external nofollow">https://linux-sunxi.org/Linux_mainlining_effort </a>.<br />
	I tried to setup/enable some other components and I am <strong>successful</strong> with upstream linux kernel 6.2RC5:<br />
	- displayengine (drm, fb, mixer, tcon, hdmi) (seems to have some I2C/EDID problems)<br />
	- videoengine (<abbr title="driver for hardware accelerated video de-/encoding"><abbr title="driver for hardware accelerated video de-/encoding">cedrus</abbr></abbr>) (in testing now)<br />
	- <abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">gpu</abbr></abbr> (3d mali, <abbr title="driver for Mali Midgard and Bifrost GPUs"><abbr title="driver for Mali Midgard and Bifrost GPUs">panfrost</abbr></abbr>)<br />
	- dma, efuse, thermal ...<br />
	but I am <strong>unsuccessful</strong> with<br />
	- crypto (total different behavior in contrast to H616 manual)<br />
	and <strong>untested</strong><br />
	- audio codecs and hdmi audio<br />
	- opp power management (frequency + voltage) for CPU and <abbr title="Graphic processing unit (3D acceleration)"><abbr title="Graphic processing unit (3D acceleration)">GPU</abbr></abbr><br />
	- SDIO wifi <br />
	<br />
	I was also successful with uBoot (some patches from upstream uBoot) to boot sdcard-less from SPI flash and then from network PXE+NFS.<br />
	<br />
	<strong>Does anyone do some work in this direction ?</strong><br />
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="9931" href="https://forum.armbian.com/uploads/monthly_2023_01/image.png.b7a82e3a721fa100062854501400918e.png" rel=""><img alt="image.png" class="ipsImage ipsImage_thumbnailed" data-fileid="9931" data-ratio="68.5" width="1000" src="https://forum.armbian.com/uploads/monthly_2023_01/image.thumb.png.3944c8da88546b7ce45ceb3935fe4d89.png" /></a>
</p>
]]></description><guid isPermaLink="false">26290</guid><pubDate>Fri, 27 Jan 2023 20:03:35 +0000</pubDate></item><item><title>After SDCard reflash, OPIZ2 does not boot anymore...</title><link>https://forum.armbian.com/topic/29171-after-sdcard-reflash-opiz2-does-not-boot-anymore/</link><description><![CDATA[<p>
	I have OPIZ2 been running for months for node-red and MQTTbroker. Due to crappy configuration I did during the insallation, then I decided to replace the OS and reconfigure all, I used the same SDcard and reflash with same Armbian_23.5.2_Orangepizero_jammy_current_6.1.30. But, beyond this point, OPIZ2 never boots anymore... I tried other armbian version and it is the same dead.
</p>

<p>
	 
</p>

<p>
	If I use a fresh SD card (Sandisk 16GB A1) then it works ok.
</p>

<p>
	 
</p>

<p>
	My question is regarding the SD card imaging ( i am using Balena-etcher), is there something change inside the SDcard after reflash so that <abbr title="Orange Pi">OPI</abbr> does not recognise the booting part anymore??
</p>
]]></description><guid isPermaLink="false">29171</guid><pubDate>Sun, 09 Jul 2023 08:56:50 +0000</pubDate></item><item><title>System get stuck when reading too much files in movable disk</title><link>https://forum.armbian.com/topic/28302-system-get-stuck-when-reading-too-much-files-in-movable-disk/</link><description><![CDATA[<p>
	 
</p>

<p>
	Let me think about how to descript this situation......
</p>

<p>
	 
</p>

<p>
	I have a movable disk and mount in path:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln"> /mnt/sba1</span></pre>

<p>
	 
</p>

<p>
	It happened first time when I using a program called "Syncthing" , I try to sync my file into my movable disk.
</p>

<p>
	I get lot of files in my directory. When the "Syncthing" start scanning. the system will stuck.
</p>

<p>
	Not that kind of whole system stuck, but only if you trying to read anything about <strong>/mnt/sda1</strong>.
</p>

<p>
	If you trying to "<strong>df -h</strong>", you'll get stuck.
</p>

<p>
	"<strong>fdisk -l</strong>", stuck.
</p>

<p>
	"<strong>cd /mnt/sba1</strong>", stuck again.
</p>

<p>
	"<strong>mount</strong>" "<strong>umount</strong>" "<strong>lsblk</strong>" all will be stuck.
</p>

<p>
	Such like this ......
</p>

<p>
	 
</p>

<p>
	Reboot the system is only way to restore. No need to unplug the disk. Just reboot and get normal.
</p>

<p>
	 
</p>

<p>
	So I tried writing a Golang program, the program will read huge number of files in my disk instantly. Yes, stuck again.
</p>

<p>
	So I came to the conclusion: <strong>When I try to read a large number of files, there will be a malfunction.</strong>
</p>

<p>
	 
</p>

<p>
	I thought it's about usb driver problem, so I change "<strong>UAS</strong>" to "<strong>USB-Storage</strong>".  Still stuck again and again. ( With this topic <span><span>:</span></span> <a href="https://forum.armbian.com/topic/28093-how-can-i-change-usb-disk-driver-uas-to-usb-storage/#comment-164494" rel="">How can I change usb-disk driver "UAS" to "usb-storage" ?</a> ) 
</p>

<p>
	I change 3 Orangepi Zero2 board and 3 different movable disk, Still like this.
</p>

<p>
	 
</p>

<p>
	Right now,I'm writing this post, the situation has reappeared, again......
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@OPIZ2-0146:/# ulimit -n
102400</span></pre>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@OPIZ2-0146:/# ulimit -a
real-time non-blocking time  (microseconds, -R) unlimited
core file size              (blocks, -c) 0
data seg size               (kbytes, -d) unlimited
scheduling priority                 (-e) 0
file size                   (blocks, -f) unlimited
pending signals                     (-i) 3756
max locked memory           (kbytes, -l) 123522
max memory size             (kbytes, -m) unlimited
open files                          (-n) 102400
pipe size                (512 bytes, -p) 8
POSIX message queues         (bytes, -q) 819200
real-time priority                  (-r) 0
stack size                  (kbytes, -s) 8192
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 3756
virtual memory              (kbytes, -v) unlimited
file locks                          (-x) unlimited</span></pre>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@OPIZ2-0146:/# cat /proc/sys/fs/file-max
9223372036854775807</span></pre>

<p>
	 
</p>

<p>
	How can I locate the cause of this problem?
</p>
]]></description><guid isPermaLink="false">28302</guid><pubDate>Mon, 15 May 2023 05:43:56 +0000</pubDate></item><item><title>Legacy images fixed</title><link>https://forum.armbian.com/topic/27816-legacy-images-fixed/</link><description><![CDATA[<p>
	Old ugly <abbr title="End of life">EOL</abbr>-kernel legacy image received fixes for booting. Feel free to test.
</p>

<p>
	 
</p>

<p>
	<a href="https://imola.armbian.com/dl/orangepizero2/archive/" ipsnoembed="true" rel="external nofollow">https://imola.armbian.com/dl/orangepizero2/archive/</a>
</p>
]]></description><guid isPermaLink="false">27816</guid><pubDate>Sun, 09 Apr 2023 05:51:14 +0000</pubDate></item><item><title>PXE NFS boot and SPI and boot scripts</title><link>https://forum.armbian.com/topic/28557-pxe-nfs-boot-and-spi-and-boot-scripts/</link><description><![CDATA[<p>
	I am new to this whole endeavor and I am attempting to SD-cardless boot my orange pi zero 2 and after nearly a week of playing around have it nearly working.<br />
	I have custom compiled Armbian 23.08.0-trunk with Bookworm and 6.2.16 kernel with ROOTNFS set to Y<br />
	I have unpacked rootfs to my NFS server<br />
	I have setup PXE booting via pxelinux.cfg/01-&lt;mac address&gt;<br />
	I have u-boot working from SD Card ( It technically works from SPI but gives temperature error every boot of kernel)<br />
	I can boot all the way into a functioning OS.<br />
	<br />
	My problem is that while PXE booting allows for loading overlays, I cannot load a fixup.scr or similar via PXE from what I can tell. I have managed to get a &lt;SERIAL&gt;.img made and it downloads it via TFTP but then appears to do nothing with it. So how would I go about do remedying this ?
</p>
]]></description><guid isPermaLink="false">28557</guid><pubDate>Sun, 28 May 2023 22:15:41 +0000</pubDate></item><item><title>How to burn a custom kernel for orange pi zero 2?</title><link>https://forum.armbian.com/topic/28176-how-to-burn-a-custom-kernel-for-orange-pi-zero-2/</link><description><![CDATA[<p>
	Hello everyone,<br />
	<br />
	I would like to ask for help in a few subjects where I am a bit lost.<br />
	<br />
	I have an orange pi zero 2 (h616) with a tpm2 module and I need some specific kernel modules to be able to build my application on top of the orange pi zero 2 (h616).<br />
	<br />
	<strong>What I have done:</strong><br />
	Compiled the trusted firmware from master and generated <strong>bl31.bin</strong><br />
	Compiled the U-boot bootloader from master and generated the <strong>u-boot-sunxi-with-spl.bin</strong><br />
	Compiled the linux kernel version 5.15 (<abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr>) with the modules I need (mainly about tpm specific modules) and generated the kernel Image<br />
	Compiled the modules from this kernel<br />
	Compiled and generated the device tree binary (.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>) for this kernel<br />
	<br />
	<strong>What I don't know how to do:</strong><br />
	How can I burn the u-boot files together with this kernel Image in my device? I will be using the ubuntu focal root file system for arm64<br />
	<br />
	<strong>What I would like to achieve:</strong><br />
	Have ubuntu 20.04.5 <abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr> running with this custom kernel version 5.15 <abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr> in this board to continue my development process because kernel 4.9.170 doesn't work for me.<br />
	<br />
	Thank you in advance.<br />
	<br />
	 
</p>
]]></description><guid isPermaLink="false">28176</guid><pubDate>Thu, 04 May 2023 16:58:14 +0000</pubDate></item><item><title>Orange Pi Zero 2 H616 Images</title><link>https://forum.armbian.com/topic/27504-orange-pi-zero-2-h616-images/</link><description><![CDATA[<p>
	Hi team,
</p>

<p>
	<br />
	There are no current images for Orange Pi Zero 2 at <a href="https://www.armbian.com/cf7stdb-entries/orange-pi-zero-2/" rel="external nofollow">https://www.armbian.com/cf7stdb-entries/orange-pi-zero-2/</a>
</p>

<p>
	 
</p>

<p>
	The Zero image does not work. I did manage to find an archived legacy image based on some posts from 2022 however nothing on the new kernel works.
</p>

<p>
	 
</p>

<p>
	My question is this: Is there a reason why these devices require unique builds? I understand the kernel drivers may not be in 6.x for this board however I'm more referring to the huge number of builds that need to be supported.
</p>

<p>
	 
</p>

<p>
	Thanks,
</p>

<p>
	Jason
</p>
]]></description><guid isPermaLink="false">27504</guid><pubDate>Thu, 23 Mar 2023 04:37:27 +0000</pubDate></item><item><title>Orange Pi Zero 2 stop booting after upgrade</title><link>https://forum.armbian.com/topic/26395-orange-pi-zero-2-stop-booting-after-upgrade/</link><description><![CDATA[<p>
	Orange Pi Zero 2 running on current image (from <strong>release date: Jan 10, 2023</strong>) fail to boot after upgrade.<br />
	<br />
	<strong>The boot log:</strong>
</p>

<p>
	 
</p>

<p>
	U-Boot 2018.05-armbian (Jan 10 2023 - 07:48:03 +0000) Xunlong Software
</p>

<p>
	[00.535]CPU:   Allwinner H616<br />
	[00.538]Model: Orange Pi Zero 2<br />
	I2C:   ready<br />
	[00.542]DRAM:  1 GiB<br />
	Relocation Offset is: 35ec7000<br />
	[00.583]secure enable bit: 0<br />
	[00.586]PMU: AXP806<br />
	[00.591]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz<br />
	[00.773]sunxi overlay merged okqv<br />
	[00.776]drv_disp_init<br />
	[00.805]__clk_enable: clk is null.<br />
	tv_init()950 fetch tv0 err.<br />
	[00.811]drv_disp_init finish<br />
	[00.813]gic: sec monitor mode<br />
	[00.819]flash init start<br />
	[00.821]workmode = 0,storage type = 1<br />
	[00.824]MMC:     0<br />
	[00.825][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.832][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.842][mmc]: Using default timing para<br />
	[00.846][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	[00.872][mmc]: card_caps:0x3000000a<br />
	[00.876][mmc]: host_caps:0x3000003f<br />
	[00.881]sunxi flash init ok<br />
	[00.884]Loading Environment from FAT... <br />
	[00.888][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.894][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.904][mmc]: Using default timing para<br />
	[00.908][mmc]: SUNXI SDMMC Controller Version:0x40200 <br />
	** Bad device mmc 1 **<br />
	Failed (-5)<br />
	[00.919]usb burn from boot<br />
	delay time 0<br />
	weak:otg_phy_config<br />
	[00.932]usb prepare ok<br />
	[01.104]usb sof ok<br />
	[01.106]usb probe ok<br />
	[01.108]usb setup ok<br />
	set address 0x12<br />
	set address 0x12 ok<br />
	[04.114]do_burn_from_boot usb : have no handshake<br />
	[04.118]boot_gui_init:start<br />
	190 bytes read in 11 ms (16.6 KiB/s)<br />
	Set HDMI disp_mode to 1080p60<br />
	190 bytes read in 10 ms (18.6 KiB/s)<br />
	Set fb0_width to 1280<br />
	Set fb0_height to 720<br />
	[04.430]boot_gui_init:finish<br />
	[04.433]bmp_name=/boot/boot.bmp<br />
	230454 bytes read in 32 ms (6.9 MiB/s)<br />
	[04.481]update <abbr title="Device tree source">dts</abbr><br />
	Net:   [04.484]No ethernet found.<br />
	Hit any key to stop autoboot:  1  0 <br />
	no mmc device at slot 1<br />
	[05.520][mmc]: card_caps:0x3000000a<br />
	[05.523][mmc]: host_caps:0x3000003f<br />
	switch to partitions #0, OK<br />
	mmc0 is current device<br />
	Scanning mmc 0:1...<br />
	Found U-Boot script /boot/boot.scr<br />
	3259 bytes read in 13 ms (244.1 KiB/s)<br />
	## Executing script at 43100000<br />
	U-boot loaded from SD<br />
	Boot script loaded from mmc<br />
	190 bytes read in 10 ms (18.6 KiB/s)<br />
	262144 bytes read in 38 ms (6.6 MiB/s)<br />
	** File not found /boot/<abbr title="Device tree blob">dtb</abbr>/allwinner/overlay/-fixup.scr **<br />
	7225390 bytes read in 618 ms (11.1 MiB/s)<br />
	** File not found /boot/Image **<br />
	Unknown command 'booti' - try 'help'<br />
	SCRIPT FAILED: continuing...<br />
	No ethernet found.<br />
	missing environment variable: pxeuuid<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default-arm-sunxi<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default-arm<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default<br />
	No ethernet found.<br />
	Config file not found<br />
	No ethernet found.<br />
	armbian# 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	After some investigation it appears that the problem occurs when updating <strong>armbian-bsp-cli-orangepizero2</strong> to version <strong>22.11.4</strong>, holding the package on version <strong>22.11.3</strong> prevent the bug and allow to update all other packages, including kernel updates (last check on 31.01.2023) without issue.<br />
	<br />
	Thank you for your great work on this distribution and have a nice day.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">26395</guid><pubDate>Wed, 01 Feb 2023 14:38:13 +0000</pubDate></item><item><title>Orange Pi Zero 2 doesn't boot after kernel verison 4.9.318</title><link>https://forum.armbian.com/topic/26449-orange-pi-zero-2-doesnt-boot-after-kernel-verison-49318/</link><description><![CDATA[<p>
	Hello, I have orange pi zero 2 but it doesn't work with armbian versions after kernel version 4.9.318, I tried many versions.<br />
	When I check it through the serial port, it stays on "trying to boot from MMC1 armbian" and the led on it is constantly red.
</p>

<p>
	Also, if I upgrade the kernel with apt-get upgrade in version 4.9.318, the card does not boot afterward and gets a "No ethernet found" error.
</p>

<p>
	Versions I tried <span>:</span>
</p>

<p>
	<span>Armbian_22.11.3_Orangepizero2_jammy_legacy_4.9.318.img [Worked but no wifi connection]</span>
</p>

<p>
	<span>Armbian_22.02.2_Orangepizero2_bullseye_legacy_4.9.255.img [Works good]</span>
</p>

<p>
	<span>Armbian_22.08.7_Orangepizero2_jammy_edge_5.19.16.img [Not working !!]</span>
</p>

<p>
	<span>Armbian_22.11.1_Orangepizero2_jammy_edge_6.0.10_minimal.img [Not working !!]</span>
</p>

<p>
	<span>Armbian_23.02.0-trunk.0141_Orangepizero2_jammy_edge_6.1.2.img [Not working !!]</span>
</p>

<p>
	<span>Armbian_23.02.0-trunk.0191_Orangepizero2_jammy_edge_6.1.6_minimal.img [Not working !!]</span>
</p>

<p>
	<span>Armbian_23.02.0-trunk.0236_Orangepizero2_jammy_edge_6.1.9_minimal.img [Not working !!]</span>
</p>

<p>
	<span>Armbian_23.02.0-trunk_Orangepizero2_lunar_edge_6.1.8.img [Not working !!]</span>
</p>

<p>
	<span>Armbian_23.02.0-trunk_Orangepizero2_lunar_edge_6.1.8_minimal.img [Not working !!]</span>
</p>

<p>
	 
</p>

<p>
	<span>I tried to build it myself and the result still does not work the same.</span>
</p>

<p>
	<span>Armbian_23.02.0-trunk_Orangepizero2_jammy_current_5.15.90.img [I have built but not working]</span>
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">26449</guid><pubDate>Sat, 04 Feb 2023 00:43:01 +0000</pubDate></item><item><title>orange pi Zero 2 Power on But not Booting</title><link>https://forum.armbian.com/topic/26764-orange-pi-zero-2-power-on-but-not-booting/</link><description><![CDATA[<p>
	Unfortunately, the Orange pi zero 2 does not start with the Armbian img, it does turn on, but there is only a white line in the top left and it does not boot any further. I once downloaded the original ubuntu image from the manufacturer, this works without problems but is just outdated. Can you take a look at it? Actually wanted to install the pi hole project with Armbian
</p>

<p>
	 
</p>

<p>
	Image:
</p>

<p>
	Armbian 22.11 Jammy<br />
	Kernel 4.9.y, Size: 445Mb, Release date: Jan 10, 2023<br />
	SHA hash | PGP signature
</p>
]]></description><guid isPermaLink="false">26764</guid><pubDate>Sun, 19 Feb 2023 15:47:02 +0000</pubDate></item><item><title>Orange Pi Zero 2 v1.5 not booting on kernel 6.1.4</title><link>https://forum.armbian.com/topic/26924-orange-pi-zero-2-v15-not-booting-on-kernel-614/</link><description><![CDATA[<p>
	Thanks for everyone's work on this project! 
</p>

<p>
	 
</p>

<p>
	I'm working on a few Orange Pi Zero 2 v1.5's, and they won't finish booting on a few of the most recent images. (Just testing jammy right now to keep things consistent)
</p>

<p>
	 
</p>

<p>
	<strong>Boot Successfully:</strong>
</p>

<ul>
	<li>
		Armbian_22.11.3_Orangepizero2_jammy_edge_6.1.4
	</li>
	<li>
		Armbian_22.05.3_Orangepizero2_jammy_edge_5.17.11
	</li>
</ul>

<p>
	<strong>Do Not Boot Successfully:</strong>
</p>

<ul>
	<li>
		Armbian_23.02.2_Orangepizero2_jammy_edge_6.1.11
	</li>
	<li>
		Armbian_22.11.1_Orangepizero2_jammy_edge_6.0.10
	</li>
	<li>
		Armbian_22.08.7_Orangepizero2_jammy_edge_5.19.16
	</li>
</ul>

<p>
	 
</p>

<p>
	Typically, when the boot fails, all I get is this over serial with no LED's:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">U-Boot SPL 2022.07-armbian (Feb 17 2023 - 23:33:06 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1</span></pre>

<p>
	But occasionally (once every 10-20 boots) I get this with the red LED:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">U-Boot SPL 2022.07-armbian (Feb 17 2023 - 23:33:06 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.8(debug):a84636ad-dirty
NOTICE:  BL31: Built : 23:33:00, Feb 17 2023
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0903e0, model: OrangePi Zero2
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
INFO:    PMIC: aldo1 voltage: 3.300V
INFO:    PMIC: aldo2 voltage: 3.300V
INFO:    PMIC: aldo3 voltage: 3.300V
INFO:    PMIC: bldo1 voltage: 1.800V
INFO:    PMIC: bldo2 voltage: 1.800V
INFO:    PMIC: dcdcd voltage: 1.500V
INFO:    PMIC: dcdce voltage: 3.300V
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.


U-Boot 2022.07-armbian (Feb 17 2023 - 23:33:06 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero2
DRAM:  1 GiB
Core:  52 devices, 18 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1...
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   phy interface8
eth0: ethernet@5020000
Autoboot in 1 seconds, press </span><span class="tag">&lt;Space&gt;</span><span class="pln"> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2669 bytes read in 2 ms (1.3 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
131 bytes read in 2 ms (63.5 KiB/s)
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr </span><span class="tag">&lt;address&gt;</span><span class="pln">" command.
Aborting!
10693326 bytes read in 444 ms (23 MiB/s)
Failed to load '/boot/uImage'
Wrong Image Format for bootm command
ERROR: can't get kernel image!
SCRIPT FAILED: continuing...
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
ethernet@5020000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-02-00-2d-bc-f3-17
ethernet@5020000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Retrieving file: pxelinux.cfg/00000000</span></pre>

<p>
	 
</p>

<p>
	I've read most of the other posts about this board, and I'm curious if there's some kind of difference in the v1.5 HW. It seems like v1.5 seems to have more issues, and there are significant visual differences (<a href="http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-Zero-2.html" rel="external nofollow">v1.5</a>, <a href="http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_Zero_2" rel="external nofollow">v1.2</a>). Unfortunately OrangePi only published schematics for v1.3, so I'm not sure how to tell what exactly would have changed. 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">26924</guid><pubDate>Tue, 28 Feb 2023 06:36:39 +0000</pubDate></item><item><title>activate 1-Wire</title><link>https://forum.armbian.com/topic/26844-activate-1-wire/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I've been trying to get my DS1820 temp sensor working but cant seem to get the device to show up om my orange pi zero 2 running Orange Pi 3.0.6 Bullseye
</p>

<p>
	 
</p>

<p>
	Most info i find starts our with run armbian-config but orangpi doesnt have it. All i got is the orangepi-config but it doesnt have the "Go to the “system” section and select “Hardware” then activate w1-<abbr title="General purpose input/output"><abbr title="General purpose input/output">gpio</abbr></abbr>."
</p>

<p>
	 
</p>

<p>
	so i was looking arround and found you need to enable overlays in  /boot/armbianEnv.txt  but dont have it aswell but the alternative  /boot/orangepiEnv.txt
</p>

<p>
	there i add the 
</p>

<p>
	 
</p>

<p>
	 /boot/orangepiEnv.txt
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">overlay_prefix=sun50i-h616
overlays=w1-gpio
param_w1_pin=PC8                          &lt;&lt;&lt;&lt;&lt; not sure about the pin numers
param_w1_pin_int_pullup=1</span></pre>

<p>
	 
</p>

<p>
	 
</p>

<p>
	looking at the output i would say PC8 is correct pin name.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@orangepizero2:~# gpio readall
 +------+-----+----------+------+---+   H616   +---+------+----------+-----+------+
 | GPIO | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | GPIO |
 +------+-----+----------+------+---+----++----+---+------+----------+-----+------+
 |      |     |     3.3V |      |   |  1 || 2  |   |      | 5V       |     |      |
 |  229 |   0 |    SDA.3 |  OFF | 0 |  3 || 4  |   |      | 5V       |     |      |
 |  228 |   1 |    SCL.3 |  OFF | 0 |  5 || 6  |   |      | GND      |     |      |
 |   73 |   2 |      PC9 |  OFF | 0 |  7 || 8  | 0 | OFF  | TXD.5    | 3   | 226  |
 |      |     |      GND |      |   |  9 || 10 | 0 | OFF  | RXD.5    | 4   | 227  |
 |   70 |   5 |      PC6 | ALT5 | 0 | 11 || 12 | 0 | OFF  | PC11     | 6   | 75   |
 |   69 |   7 |      PC5 | ALT5 | 0 | 13 || 14 |   |      | GND      |     |      |
 |   72 |   8 |      PC8 |  OFF | 0 | 15 || 16 | 0 | OFF  | PC15     | 9   | 79   |
 |      |     |     3.3V |      |   | 17 || 18 | 0 | OFF  | PC14     | 10  | 78   |
 |  231 |  11 |   MOSI.1 |  OFF | 0 | 19 || 20 |   |      | GND      |     |      |
 |  232 |  12 |   MISO.1 |  OFF | 0 | 21 || 22 | 0 | OFF  | PC7      | 13  | 71   |
 |  230 |  14 |   SCLK.1 |  OFF | 0 | 23 || 24 | 0 | OFF  | CE.1     | 15  | 233  |
 |      |     |      GND |      |   | 25 || 26 | 0 | OFF  | PC10     | 16  | 74   |
 |   65 |  17 |      PC1 |  OFF | 0 | 27 || 28 |   |      |          |     |      |
 |  272 |  18 |     PI16 | ALT2 | 0 | 29 || 30 |   |      |          |     |      |
 |  262 |  19 |      PI6 |  OFF | 0 | 31 || 32 |   |      |          |     |      |
 |  234 |  20 |     PH10 | ALT3 | 0 | 33 || 34 |   |      |          |     |      |
 +------+-----+----------+------+---+----++----+---+------+----------+-----+------+
 | GPIO | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | GPIO |
 +------+-----+----------+------+---+   H616   +---+------+----------+-----+------+</span></pre>

<p>
	<br />
	if i understaand correct i need to add the kernel moduels by doing:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">modprobe w1-therm
modprobe w1-gpio</span></pre>

<p>
	 
</p>

<p>
	after reboot i should see the device show up? using:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">ls /sys/bus/w1/devices</span></pre>

<p>
	 
</p>

<p>
	but go nothing.
</p>

<p>
	so i check :
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@orangepizero2:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-287, parent: platform/300b000.pinctrl, 300b000.pinctrl:
 gpio-76  (                    |red:power           ) out lo
 gpio-77  (                    |green:status        ) out hi
 gpio-80  (                    |usb1-vbus           ) out hi
 gpio-166 (                    |cd                  ) in  lo IRQ ACTIVE LOW
 gpio-210 (                    |reset               ) out hi ACTIVE LOW

gpiochip1: GPIOs 352-383, parent: platform/7022000.pinctrl, 7022000.pinctrl:</span></pre>

<p>
	 
</p>

<p>
	it seems like im missing something fundamentally? can some one point me in the write direction?
</p>
]]></description><guid isPermaLink="false">26844</guid><pubDate>Thu, 23 Feb 2023 21:03:37 +0000</pubDate></item><item><title>WiFi not working on OrangePi Zero 2</title><link>https://forum.armbian.com/topic/26832-wifi-not-working-on-orangepi-zero-2/</link><description><![CDATA[<p>
	WiFi isn't working on the current legacy image: Armbian_22.11.3_Orangepizero2_jammy_legacy_4.9.318.img
</p>

<p>
	 
</p>

<pre class="ipsCode">[FAILED] Failed to start Access poi…server for Wi-Fi and Ethernet.
See 'systemctl status hostapd.service' for details.
[  OK  ] Finished OpenVPN service.
openvpn.service
[  OK  ] Started /etc/rc.local Compatibility.
rc-local.service
rpc-statd-notify.service
[  OK  ] Started Notify NFS peers of a restart.
[  OK  ] Finished Permit User Sessions.
systemd-user-sessions.service
[  OK  ] Started Bluetooth service.
bluetooth.service
[  OK  ] Reached target Bluetooth Support.
         Starting Hold until boot process finishes up...
         Starting Terminate Plymouth Boot Screen...
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
         Starting Hostname Service...
[  OK  ] Finished resolvconf-pull-resolved.service.
[  OK  ] Finished Hold until boot process finishes up.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Terminate Plymouth Boot Screen.
[   19.330374] proc: unrecognized mount option "hidepid=invisible" or missing value

Armbian 22.11.3 Jammy ttyS0 

orangepizero2 login: [   22.434473] WCN_ERR: dumpmem_rx_callback open  error no.-21 retry:1
[   22.608383] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   22.726784] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   22.845212] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   22.963555] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.081861] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.200187] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.318572] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.437000] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.555333] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.673674] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.792089] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   23.910506] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.028921] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.147344] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.265778] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.384217] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.502618] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.621046] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.739480] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.857837] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   24.976168] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.094571] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.212879] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.331223] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.449659] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.568189] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.686517] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.804861] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   25.923205] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   26.041563] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   26.159978] sunxi-mmc sdc1: smc 1 p1 err, cmd 53, RD DTO !!
[   26.166416] sunxi-mmc sdc1: retry:set phase failed or over retry times
[   26.173888] sunxi-mmc sdc1: retry:give up
[   26.178527] sdiohal err:dt read fail ret:-110, system_addr=0x4024f000
[   26.187652] WCN_ERR: mdbg_dump_data dump memory error:-110
[   26.193952] WCN_ERR: read HCI_ARM_WR_RD_MODE reg error:-1
[   26.200105] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.206191] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.212273] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.218347] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.224430] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.230510] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.236538] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.242632] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.248709] WCN_ERR: mdbg_dump_data dump memory error:-1
[   26.254770] WCN_ERR: mdbg_dump_data dump memory error:-1
[   35.679877] WCN_ERR: Not dump again!
</pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">26832</guid><pubDate>Thu, 23 Feb 2023 08:58:57 +0000</pubDate></item><item><title>Orange Pi Zero 2 *usually* doesn't boot up</title><link>https://forum.armbian.com/topic/26396-orange-pi-zero-2-usually-doesnt-boot-up/</link><description><![CDATA[<p>
	I have an Orange Pi Zero 2 set up with Octoprint and a webcam. No keyboard or screen, all access over ssh... if it's running. If it started OK, then no problem, everything works fine. If. Usually powering it up lights up the red LED and... it ends here. I waited even half an hour, red, no boot. Occasionally - one in five-ten attempts to boot - the LED turns green after a couple seconds and the board boots fine. Very rarely the red turns to green after a minute or so, and the board boots up.
</p>

<p>
	 
</p>

<p>
	Unfortunately, having no cable to connect it to a monitor or serial, my diagnostics are quite limited - after booting dmesg looks mostly clean, but maybe in case it's a semi-common problem and someone could direct me to a solution? Or if not, suggest what's the best way to diagnose further?
</p>

<p>
	 
</p>

<p>
	(OS: Orange Pi 3.0.6 Bullseye with Linux 5.16.17-sun50iw9 )
</p>
]]></description><guid isPermaLink="false">26396</guid><pubDate>Wed, 01 Feb 2023 15:04:43 +0000</pubDate></item><item><title>Orange pi zero2 - 1-wire</title><link>https://forum.armbian.com/topic/26132-orange-pi-zero2-1-wire/</link><description><![CDATA[<p>
	I have an orange pi zero 2 and I need to configure the 1-wire protocol. I need to know which <abbr title="General purpose input/output">gpio</abbr> pin to connect to. Thanks
</p>
]]></description><guid isPermaLink="false">26132</guid><pubDate>Mon, 23 Jan 2023 08:26:07 +0000</pubDate></item><item><title>Custom u-boot configuration howto?</title><link>https://forum.armbian.com/topic/26039-custom-u-boot-configuration-howto/</link><description><![CDATA[<p>
	When assembling custom image through armbian build env, how to insert my own config. How to enable support for booting from USB flash? To flash the bootloader in spi-flash
</p>

<p>
	I'm flash u-boot-sunxi-with-spl.bin into spi-flash,  but have error No Bootable media found. Sorry for my English
</p>
]]></description><guid isPermaLink="false">26039</guid><pubDate>Fri, 20 Jan 2023 09:00:30 +0000</pubDate></item><item><title>Private MAC issue</title><link>https://forum.armbian.com/topic/26023-private-mac-issue/</link><description><![CDATA[<p>
	Hi there!
</p>

<p>
	 
</p>

<p>
	How to disable private ethernet MAC on OPZ2? Router says my device has one.
</p>
]]></description><guid isPermaLink="false">26023</guid><pubDate>Thu, 19 Jan 2023 17:18:20 +0000</pubDate></item><item><title>Orange Pi 2 Weirdness</title><link>https://forum.armbian.com/topic/25699-orange-pi-2-weirdness/</link><description><![CDATA[<p>
	So there is some weirdness happening with Armbian on the Orange Pi Zero 2 that I bought from Amazon.  These are the V1.5 version of the hardware.  
</p>

<p>
	 
</p>

<p>
	With the Orange Pi image (which looks strangely like armbian), once the device is booted, the red led goes off, and the green led turns on.  With the armbian image, the red light stays on, and the HDMI output does not turn on in the CLI image. This led me initially to think this board was not wo<abbr title="Rockchip">rk</abbr>ing.  Once I hooked up a USB to Serial interface, I noticed it booted. Well, at least when the SD card was seated correctly, but that is a hardware problem.  
</p>

<p>
	 
</p>

<p>
	Once booted, `armbian-config` does not show the wifi interface settings.   
</p>
]]></description><guid isPermaLink="false">25699</guid><pubDate>Mon, 09 Jan 2023 23:46:43 +0000</pubDate></item><item><title>What is the current status of WiFi on Orange Pi Zero 2?</title><link>https://forum.armbian.com/topic/23196-what-is-the-current-status-of-wifi-on-orange-pi-zero-2/</link><description><![CDATA[<p>
	Hello, I am wondering what is the current status of wifi on Orange Pi Zero 2? Is it working? If yes then on which release? If not then what are the current problems related to this? Is somebody working on it? How one could help to make it working?
</p>

<p>
	 
</p>

<p>
	I am asking because I am a little bit confused because of this
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="9032" data-embedcontent="" data-embedid="embed6384347948" src="https://forum.armbian.com/topic/16170-orangepi-zero2-allwinner-h616/?do=embed" style="height:417px;max-width:500px;"></iframe>

<p>
	This topic is more than 2 years old but I see no update.
</p>
]]></description><guid isPermaLink="false">23196</guid><pubDate>Mon, 29 Aug 2022 20:40:05 +0000</pubDate></item><item><title>Official images for Orangepi Zero 2</title><link>https://forum.armbian.com/topic/25708-official-images-for-orangepi-zero-2/</link><description><![CDATA[<p>
	Armbian 22.11 Bullseye / Jammy<br>
	Kernel <strong>4.9.318</strong> or <strong>6.1.4</strong>
</p>

<p>
	Release date: Jan 10, 2023
</p>

<p>
	<br>
	Legacy kernel has more or less full hardware support, while mainline lack functions such is wireless, HDMI, ...
</p>

<p>
	<a href="https://www.armbian.com/orange-pi-zero-2/" ipsnoembed="true" rel="external nofollow">https://www.armbian.com/orange-pi-zero-2/</a>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:16px;"><a href="https://forum.armbian.com/staffapplications/application/8-single-board-computer-maintainer/" rel="">Looking for maintainer</a>!</span>
</p>
]]></description><guid isPermaLink="false">25708</guid><pubDate>Tue, 10 Jan 2023 12:16:11 +0000</pubDate></item><item><title>Orange Pi Zero 2, no boot on fresh image</title><link>https://forum.armbian.com/topic/25617-orange-pi-zero-2-no-boot-on-fresh-image/</link><description><![CDATA[<p>
	My <abbr title="Orange Pi">OPI</abbr>Z2 was wo<abbr title="Rockchip">rk</abbr>ing happily with Armbian_bullseye 22.11, but due to the wifi issue, I download the Armbian_bullseye_22.02 dan flash the image into the same wo<abbr title="Rockchip">rk</abbr>ing SD card (overwritten).
</p>

<p>
	But now my <abbr title="Orange Pi">OPI</abbr>Z2 would not boot anymore, nothing seen in the serial communication either. No red/green LED ever lit.
</p>

<p>
	 
</p>

<p>
	Sadly, this is my 2nd dead <abbr title="Orange Pi">OPI</abbr>Z2.....
</p>

<p>
	 
</p>

<p>
	Seeking for help if those boards are still recoverable...
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">25617</guid><pubDate>Fri, 06 Jan 2023 01:54:45 +0000</pubDate></item><item><title>Hostname/domain change</title><link>https://forum.armbian.com/topic/25599-hostnamedomain-change/</link><description><![CDATA[<p>
	Hi all, I'm trying to change access my zero 2 via hostname instead of IP (e.g. <a href="https://mypizero2.local/)." rel="external nofollow">https://mypizero2.local/).</a> 
</p>

<p>
	I've changed the hostname through sudo armbian-config but just cannot connect to it via hostname. 
</p>

<p>
	 
</p>

<p>
	Has anyone managed to get this wo<abbr title="Rockchip">rk</abbr>ing?
</p>
]]></description><guid isPermaLink="false">25599</guid><pubDate>Wed, 04 Jan 2023 17:23:46 +0000</pubDate></item><item><title>Compiling DTS with DTC</title><link>https://forum.armbian.com/topic/21588-compiling-dts-with-dtc/</link><description><![CDATA[<p>
	Hi, hopefully some kind and more knowledgeable soul could provide some pointers, when trying to compile out of tree <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> with dtsi includes on orangepizero2.
</p>

<p>
	 
</p>

<p>
	I realise the included files must be pre-processed before compiled and have tried numerous approaches all which failed miserably by not being able to move beyond the following error.
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Error: dt-bindings/interrupt-controller/arm-gic.h:6.1-8 syntax error
FATAL ERROR: Unable to parse input tree</span></pre>

<p>
	 
</p>

<p>
	The relevant lines in arm-gic.h:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H

#include </span><span class="tag">&lt;dt-bindings</span><span class="pun">/</span><span class="atn">interrupt-controller</span><span class="pun">/</span><span class="atn">irq</span><span class="pln">.</span><span class="atn">h</span><span class="tag">&gt;</span></pre>

<p>
	 
</p>

<p>
	I’m unsure whether or not this is a cpp or <abbr title="Device tree compiler"><abbr title="Device tree compiler">dtc</abbr></abbr> error.
</p>

<p>
	 
</p>

<p>
	The paths seem to be resolved:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$ ls -l dt-bindings
lrwxrwxrwx 1 root root 58 Jun 18 21:49 dt-bindings -&gt; /usr/src/linux-headers-5.15.43-sunxi64/include/dt-bindings
alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$ ls -l dt-bindings/interrupt-controller/arm-gic.h
-rw-r--r-- 1 root root 536 Jun 17 15:55 dt-bindings/interrupt-controller/arm-gic.h
alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$</span></pre>

<p>
	 
</p>

<p>
	Perhaps the error is obvious, here one of the failed instructions:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$ sudo gcc -I /boot/dtb/allwinner/ -E -nostdinc -undef -D__DTS__ -x assembler-with-cpp -o sun-h616-orangepi-zero2-b.dts.tmp sun-h616-orangepi-zero2-b.dts
alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$ 

alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$ sudo dtc -I dts -O dtb -o sun-h616-orangepi-zero2-b.dtb sun-h616-orangepi-zero2-b.dts.tmp
Error: dt-bindings/interrupt-controller/arm-gic.h:6.1-8 syntax error
FATAL ERROR: Unable to parse input tree
alistair@orangepizero2:/boot/dtb-5.15.46-sunxi64/allwinner$</span></pre>

<p>
	 
</p>

<p>
	Any help would be gratefully appreciated.
</p>

<p>
	 
</p>

<p>
	Best,
</p>

<p>
	Alistair
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21588</guid><pubDate>Mon, 20 Jun 2022 11:25:37 +0000</pubDate></item><item><title>Orangepi Zero 2 can not reboot and can not display on screen with Micro-HDMI port</title><link>https://forum.armbian.com/topic/24749-orangepi-zero-2-can-not-reboot-and-can-not-display-on-screen-with-micro-hdmi-port/</link><description><![CDATA[<p>
	Armbian image version:
</p>

<p>
	Armbian 22.08 Bullseye<br />
	Kernel 5.19.y, Size: 388Mb, Release date: Oct 22, 2022
</p>

<p>
	 
</p>

<p>
	Bug report:
</p>

<p>
	1: When i reboot my orangepi zero 2 , my devices will be power off.
</p>

<p>
	2: I use the newest image , display nothing on screen. But i have an older version image. It display to screen by Micro-HDMI perfect.
</p>

<p>
	3: Is possible to light up green LED after system start?
</p>

<p>
	    I mean, when the device power on, red LED light up. It's nice. But if light the green LED up after system start up, I can know my system get no troubles and it's running now.
</p>
]]></description><guid isPermaLink="false">24749</guid><pubDate>Wed, 30 Nov 2022 03:28:37 +0000</pubDate></item><item><title>Recent Bullseye versions give me Read-only file system messages on boot</title><link>https://forum.armbian.com/topic/25268-recent-bullseye-versions-give-me-read-only-file-system-messages-on-boot/</link><description><![CDATA[<p>
	I've been having issues lately with the later versions 22.11 and above. At some point when I reboot, I'll get those 3 "Read-only file system" messages on boot:
</p>

<p>
	 
</p>

<pre class="ipsCode">mkdir: cannot create directory ‘/root/.cache/oh-my-zsh’: Read-only file system
rm: cannot remove '/root/.zcompdump-orangepizero2-5.8': Read-only file system
zsh: locking failed for /root/.zsh_history: read-only file system: reading anyway</pre>

<p>
	 
</p>

<p>
	What is happening?!
</p>
]]></description><guid isPermaLink="false">25268</guid><pubDate>Sun, 25 Dec 2022 01:41:27 +0000</pubDate></item><item><title>OPZ2 Working Armbian OS for Klipper</title><link>https://forum.armbian.com/topic/25007-opz2-working-armbian-os-for-klipper/</link><description><![CDATA[<p>
	Looking for a wo<abbr title="Rockchip">rk</abbr>ing Armbian OS for Orange Pi Zero 2 seeing alot about newer images not wo<abbr title="Rockchip">rk</abbr>ing if anyone has confirmed wo<abbr title="Rockchip">rk</abbr>ing image for Running Klipper that would be appreciated Ive tried to flash both the cli images from the orange pi zero 2 section of armbian site but neither result in lights.
</p>
]]></description><guid isPermaLink="false">25007</guid><pubDate>Wed, 14 Dec 2022 13:37:46 +0000</pubDate></item><item><title>Best version for zero 2</title><link>https://forum.armbian.com/topic/24901-best-version-for-zero-2/</link><description><![CDATA[<p>
	What version of armbian is the best overall for the <abbr title="Orange Pi">opi</abbr>z2 ? im mainly going to use it as a server so no desktop.its gonna run some python code for my bots. i might move it around so wifi with 5ghz support is a must .
</p>
]]></description><guid isPermaLink="false">24901</guid><pubDate>Wed, 07 Dec 2022 15:13:02 +0000</pubDate></item><item><title>No Login Prompt on HDMI out</title><link>https://forum.armbian.com/topic/24290-no-login-prompt-on-hdmi-out/</link><description><![CDATA[<p>
	HI, recently downloaded Armbian Jammy CLI for Orange Pi Zero 2 It boots up but doesn't display anything on HDMI. I have to access it via remote ssh on another computer. Any way to enable the HDMI. I was hoping to run a desktop on it. Reading different forums it's suggested that the default check is too short so HDMI is disabled but I've no idea how to disable this.
</p>

<p>
	Will there be a desktop version of Jammy for Orange pi Zero 2 available to download?
</p>

<p>
	I'm using Jammy with a desktop on a Orange Pi One and it works fine.
</p>

<p>
	 
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">24290</guid><pubDate>Mon, 07 Nov 2022 02:47:26 +0000</pubDate></item><item><title>working overlay for OrangePi Zero 2 to see armbian-config</title><link>https://forum.armbian.com/topic/24427-working-overlay-for-orangepi-zero-2-to-see-armbian-config/</link><description><![CDATA[<p>
	I have an OrangePi Zero 2 with the latest bullseye (5.19).<br />
	I would like to activate SPI (and i2c) and was in armbian-config to do so. <br />
	Besides that the system was frozen, i couldn't see anything under the hardware tab even after defreeze (only empty entries and a short pop-up: "usage: grep....." like in <a href="https://github.com/armbian/config/issues/33" rel="external nofollow">https://github.com/armbian/config/issues/33</a>).<br />
	While researching the problem, I found out that this could be due to the missing "overlay_prefix" in armbianEnv.txt.<br />
	So i looked and found sun50i-h616-orangepi-zero2.<abbr title="Device tree source">dts</abbr> in a subfolder and wanted to enter overlay_prefix=sun50i-h616.<br />
	Now i get the following error message in the hardware tab: "loading error: expected at least 6 tokens for --checklist, have 4...".
</p>

<p>
	can someone help me, unfortunately i still have little knowledge of linux, thanks
</p>
]]></description><guid isPermaLink="false">24427</guid><pubDate>Tue, 15 Nov 2022 08:54:50 +0000</pubDate></item><item><title>Weird Boot Message</title><link>https://forum.armbian.com/topic/24338-weird-boot-message/</link><description><![CDATA[<p>
	Hello I been having a problem with my zero2 it use to boot no problem but the other day it had problems booting I thought the sd card was carupt so I bought a new one from the store loaded the image for orangepi.org and booted it up now this message appears.
</p>

<p>
	[214]HELLO! BOOT0 is starting May 13 2020 14:10:04!<br />
	[219]BOOT0 commit : 593cf83<br />
	[222]set pll start<br />
	[224]periph0 has been enabled<br />
	[227]set pll end<br />
	[229]unknow PMU<br />
	[231]PMU: AXP806<br />
	[238]vaild para:8  select dram para0<br />
	[242]board init ok<br />
	[243]DRAM BOOT DRIVE INFO: V0.52<br />
	[247]the chip id is 0x5000<br />
	[249]chip id check OK<br />
	[252]DRAM_VCC set to 1500 mv<br />
	[256]write_leveling error<br />
	[258]read_calibration error<br />
	[262]write_leveling error<br />
	[265]read_calibration error<br />
	[269]write_leveling eration error<br />
	[449]read_calibration error<br />
	[453]read_calibration error<br />
	[457]read_calibration error<br />
	[461]read_calibration error<br />
	[464]read_calibration error<br />
	[468]read_calibration error<br />
	[472]read_calibration error<br />
	[475]retraining final error
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">24338</guid><pubDate>Thu, 10 Nov 2022 00:39:42 +0000</pubDate></item><item><title>Tips on configuring double spi (through two chipselects) on Orange Pi Zero 2.</title><link>https://forum.armbian.com/topic/21688-tips-on-configuring-double-spi-through-two-chipselects-on-orange-pi-zero-2/</link><description><![CDATA[<p>
	I've been able to get two /dev/spidev's working on Orange Pi Zero Plus 2 (H5) boards. How is configuring this on a Orange Pi Zero 2 (h616) going to be different or similar?
</p>

<p>
	 
</p>

<p>
	Any tips for getting spi-double-spidev-cs.<abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> to work?
</p>

<p>
	 
</p>

<p>
	Thanks so much,
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21688</guid><pubDate>Mon, 27 Jun 2022 16:22:37 +0000</pubDate></item><item><title>Orange pi zero 2 - can't start after reboot</title><link>https://forum.armbian.com/topic/24093-orange-pi-zero-2-cant-start-after-reboot/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	Is possible to solve problem ? After reboot command orange pi zero 2 not want start and it stay turner off  . I read article about changing R_WDOG instead of WDOG in ATF fix for different boad:
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="587" data-embedcontent="" data-embedid="embed3903863221" src="https://forum.armbian.com/topic/9833-h6-famous-reboot-problem/page/3/?do=embed" style="height:420px;max-width:502px;"></iframe>

<p>
	 
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">24093</guid><pubDate>Sat, 22 Oct 2022 09:12:16 +0000</pubDate></item><item><title>First boot with only red LED</title><link>https://forum.armbian.com/topic/22354-first-boot-with-only-red-led/</link><description><![CDATA[<p>
	I can't boot orange pi zero 2 from first use... It displays only red LED and it doesn't change. I connected lan, SD card and power source. What is wrong with my orange pi?
</p>
]]></description><guid isPermaLink="false">22354</guid><pubDate>Mon, 11 Jul 2022 08:37:31 +0000</pubDate></item><item><title>Xamarin Android serial port reading doesn't work but writing</title><link>https://forum.armbian.com/topic/23398-xamarin-android-serial-port-reading-doesnt-work-but-writing/</link><description><![CDATA[<p>
	I cannot receive data on serial port ttyS5. I able to write onto it, but the reading doesnt work. I'm using this https://github.com/officialdoniald/Xamarin.Android.SerialPort . I tried using adb shell commands like "cat &lt; /dev/ttyS5" but there is no received data either. When I try to send data with "LibSerialPort.WriteLine("text")" I can see it in Hercules Terminal so the writing works. In Visual Studio Output there is this line:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">[c.SerialPortPoc] type=1400 audit(0.0:532): avc: denied { read write } for name="ttyS5" dev="tmpfs" ino=2487 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1 app=SerialPortPoc.SerialPortPoc</span></pre>

<p>
	Device: Orange Pi Zero 2, Android 10
</p>
]]></description><guid isPermaLink="false">23398</guid><pubDate>Thu, 08 Sep 2022 09:00:39 +0000</pubDate></item><item><title>Enable nftables for Orange Pi Zero 2</title><link>https://forum.armbian.com/topic/22979-enable-nftables-for-orange-pi-zero-2/</link><description><![CDATA[<p>
	Hi al!!<br />
	<br />
	I managed to find img with which my <abbr title="Orange Pi"><abbr title="Orange Pi">OPi</abbr></abbr> Zero 2 starts, it's Armbian_22.02.2_Orangepizero2_focal_legacy_4.9.255. But it stops load after first `apt upgrade`. I've freezed kernel with armbian-config. Now I want to use wireguard + nftables. But everytime i'm trying to set <abbr title="Wireguard"><abbr title="Wireguard">wg</abbr></abbr> up I've message:
</p>

<pre class="ipsCode">[#] nft -f /dev/fd/63
/dev/fd/63:1:1-26: Error: Could not process rule: Operation not supported
...</pre>

<p>
	 
</p>

<p>
	Quick google search showed something concerning nf_tables module in kernel or something like this. (I'm not an experienced linux user).
</p>

<p>
	Is there any chance to set up my <abbr title="Orange Pi"><abbr title="Orange Pi">OPi</abbr></abbr> Z 2 with <abbr title="Wireguard"><abbr title="Wireguard">wg</abbr></abbr> + nftables?
</p>

<p>
	 
</p>

<p>
	Thanks.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22979</guid><pubDate>Thu, 18 Aug 2022 08:58:00 +0000</pubDate></item><item><title>Orangepizero2 22.05 Jammy: is there a way to enable wifi interface?</title><link>https://forum.armbian.com/topic/21656-orangepizero2-2205-jammy-is-there-a-way-to-enable-wifi-interface/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I have abandoned the Orangepizero2 I had bought months ago to use with Armbian, I have confused zero and zero 2.
</p>

<p>
	 
</p>

<p>
	Seeing new release, I have just downloaded/install Armbian 22.05 Jammy. Install is ok, good work, thank you !
</p>

<div>
	 
</div>

<p>
	<span><img alt=":)" data-emoticon="" height="20" src="https://forum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://forum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" /></span>
</p>

<p>
	 
</p>

<p>
	The wireless interface seems not enabled, I have looked at dmesg output and nmtui-connect.
</p>

<p>
	 
</p>

<p>
	I could not find info about it, the board name doesn't help a lot. I understand the support of this board is pretty new.
</p>

<p>
	 
</p>

<p>
	Is there a known technic to enable the wifi ?
</p>

<p>
	 
</p>

<p>
	Have a nice day,
</p>
]]></description><guid isPermaLink="false">21656</guid><pubDate>Fri, 24 Jun 2022 08:57:08 +0000</pubDate></item><item><title>Pi zero 2 first boot problem</title><link>https://forum.armbian.com/topic/21662-pi-zero-2-first-boot-problem/</link><description><![CDATA[<p>
	Hello. I try to install ambian <a href="https://www.armbian.com/orange-pi-zero-2/" rel="external nofollow">https://www.armbian.com/orange-pi-zero-2/</a> to orange pi zero 2 and get there on first start:
</p>

<p>
	 
</p>

<p>
	▒[100]HELLO! BOOT0 is starting May 13 2020 14:10:04!<br />
	[105]BOOT0 commit : 593cf83<br />
	[107]set pll start<br />
	[110]periph0 has been enabled<br />
	[113]set pll end<br />
	[115]unknow PMU<br />
	[117]PMU: AXP806<br />
	[124]vaild para:8  select dram para0<br />
	[127]board init ok<br />
	[129]DRAM BOOT DRIVE INFO: V0.52<br />
	[132]the chip id is 0x5000<br />
	[135]chip id check OK<br />
	[137]DRAM_VCC set to 1500 mv<br />
	[141]read_calibration error<br />
	[145]read_calibration error<br />
	[149]read_calibration error<br />
	[153]read_calibration error<br />
	[157]read_calibration error<br />
	[161]read_calibration error<br />
	[165]read_calibration error<br />
	[169]read_calibration error<br />
	[173]read_calibration error<br />
	[177]read_calibration error<br />
	[180]retraining final error<br />
	[184][AUTO DEBUG]32bit,1 ranks training success!<br />
	[192]DRAM CLK =720 MHZ<br />
	[194]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)<br />
	[200]Actual DRAM SIZE =1024 M<br />
	[203]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6041<br />
	[216]DRAM simple test OK.<br />
	[219]rtc standby flag is 0x0, super standby flag is 0x0<br />
	[224]dram size =1024<br />
	[226]*****dram handle ok****<br />
	[230]card no is 0<br />
	[231]sdcard 0 line count 4<br />
	[234][mmc]: mmc driver ver 2019-12-19 10:41<br />
	[238][mmc]: sdc0 spd mode error, 2<br />
	[242][mmc]: set f_max to 50M, set f_max_ddr to 25M<br />
	[247][mmc]: mmc 0 bias 0<br />
	[255][mmc]: Wrong media type 0x0<br />
	[258][mmc]: ***Try SD card 0***<br />
	[267][mmc]: HSSDR52/SDR25 4 bit<br />
	[270][mmc]: 50000000 Hz<br />
	[272][mmc]: 15200 MB<br />
	[274][mmc]: ***SD/MMC 0 init OK!!!***<br />
	[373]Loading boot-pkg Succeed(index=0).<br />
	[377]Entry_name        = u-boot<br />
	[386]Entry_name        = monitor<br />
	[390]Entry_name        = dtbo<br />
	[393]Entry_name        = <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	[397]Jump to second Boot.<br />
	NOTICE:  BL3-1: v1.0(debug):9fecd83<br />
	NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28<br />
	NOTICE:  BL3-1 commit: 8<br />
	ERROR:   Error initializing runtime service tspd_fast<br />
	NOTICE:  BL3-1: Preparing for EL3 exit to normal world<br />
	NOTICE:  BL3-1: Next image address = 0x4a000000<br />
	NOTICE:  BL3-1: Next image spsr = 0x1d3
</p>

<p>
	U-Boot 2018.05-orangepi (Mar 31 2022 - 11:47:20 +0800) Xunlong Software
</p>

<p>
	[00.474]CPU:   Allwinner H616<br />
	[00.477]Model: Orange Pi Zero 2<br />
	I2C:   ready<br />
	[00.482]DRAM:  1 GiB<br />
	Relocation Offset is: 35ec7000<br />
	[00.522]secure enable bit: 0<br />
	[00.525]PMU: AXP806<br />
	[00.530]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz<br />
	[00.717]sunxi overlay merged okqv<br />
	[00.720]drv_disp_init<br />
	[00.748]__clk_enable: clk is null.<br />
	tv_init()950 fetch tv0 err.<br />
	[00.753]drv_disp_init finish<br />
	[00.756]gic: sec monitor mode<br />
	[00.761]flash init start<br />
	[00.763]workmode = 0,storage type = 1<br />
	[00.767]MMC:     0<br />
	[00.768][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.774][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.785][mmc]: Using default timing para<br />
	[00.788][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	[00.806][mmc]: card_caps:0x3000000a<br />
	[00.809][mmc]: host_caps:0x3000003f<br />
	[00.813]sunxi flash init ok<br />
	[00.816]Loading Environment from FAT...<br />
	[00.820][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.826][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.836][mmc]: Using default timing para<br />
	[00.840][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	** Bad device mmc 1 **<br />
	Failed (-5)<br />
	[00.851]usb burn from boot<br />
	delay time 0<br />
	weak:otg_phy_config<br />
	[00.864]usb prepare ok<br />
	[01.667]overtime<br />
	[01.671]do_burn_from_boot usb : no usb exist<br />
	[01.675]boot_gui_init:start<br />
	206 bytes read in 8 ms (24.4 KiB/s)<br />
	Set HDMI disp_mode to 1080p60<br />
	206 bytes read in 8 ms (24.4 KiB/s)<br />
	Set fb0_width to 1920<br />
	Set fb0_height to 1080<br />
	[01.976]boot_gui_init:finish<br />
	[01.978]bmp_name=/boot/boot.bmp<br />
	230456 bytes read in 105 ms (2.1 MiB/s)<br />
	[02.098]update <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr><br />
	Net:   [02.101]No ethernet found.<br />
	Hit any key to stop autoboot:  0<br />
	no mmc device at slot 1<br />
	[03.128][mmc]: card_caps:0x3000000a<br />
	[03.131][mmc]: host_caps:0x3000003f<br />
	switch to partitions #0, OK<br />
	mmc0 is current device<br />
	Scanning mmc 0:1...<br />
	Found U-Boot script /boot/boot.scr<br />
	2771 bytes read in 10 ms (270.5 KiB/s)<br />
	## Executing script at 43100000<br />
	U-boot loaded from SD<br />
	Boot script loaded from mmc<br />
	206 bytes read in 8 ms (24.4 KiB/s)<br />
	8484924 bytes read in 3769 ms (2.1 MiB/s)<br />
	24129608 bytes read in 4252 ms (5.4 MiB/s)<br />
	## Booting kernel from Legacy Image at 41000000 ...<br />
	   Image Name:<br />
	   Image Type:   ARM Linux Kernel Image (uncompressed)<br />
	   Data Size:    24129544 Bytes = 23 MiB<br />
	   Load Address: 41000000<br />
	   Entry Point:  41000000<br />
	   Verifying Checksum ... OK<br />
	## Loading init Ramdisk from Legacy Image at 43300000 ...<br />
	   Image Name:   uInitrd<br />
	   Image Type:   ARM Linux RAMDisk Image (gzip compressed)<br />
	   Data Size:    8484860 Bytes = 8.1 MiB<br />
	   Load Address: 00000000<br />
	   Entry Point:  00000000<br />
	   Verifying Checksum ... OK<br />
	   Loading Ramdisk to 497e8000, end 49fff7fc ... OK<br />
	   reserving fdt memory region: addr=48000000 size=1000000<br />
	## Linux machid: 00000000, FDT addr: 7be86d60
</p>

<p>
	Starting kernel ...
</p>

<p>
	▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒&amp;[100]HELLO! BOOT0 is starting May 13 2020 14:10:04!<br />
	[105]BOOT0 commit : 593cf83<br />
	[107]set pll start<br />
	[110]periph0 has been enabled<br />
	[113]set pll end<br />
	[115]unknow PMU<br />
	[117]PMU: AXP806<br />
	[124]vaild para:8  select dram para0<br />
	[127]board init ok<br />
	[129]DRAM BOOT DRIVE INFO: V0.52<br />
	[133]the chip id is 0x5000<br />
	[135]chip id check OK<br />
	[137]DRAM_VCC set to 1500 mv<br />
	[141]read_calibration error<br />
	[145]read_calibration error<br />
	[149]read_calibration error<br />
	[153]read_calibration error<br />
	[157]read_calibration error<br />
	[161]read_calibration error<br />
	[165]read_calibration error<br />
	[169]read_calibration error<br />
	[173]read_calibration error<br />
	[177]read_calibration error<br />
	[180]retraining final error<br />
	[184][AUTO DEBUG]32bit,1 ranks training success!<br />
	[192]DRAM CLK =720 MHZ<br />
	[194]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)<br />
	[200]Actual DRAM SIZE =1024 M<br />
	[203]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6041<br />
	[216]DRAM simple test OK.<br />
	[219]rtc standby flag is 0x0, super standby flag is 0x0<br />
	[224]dram size =1024<br />
	[226]*****dram handle ok****<br />
	[230]card no is 0<br />
	[232]sdcard 0 line count 4<br />
	[234][mmc]: mmc driver ver 2019-12-19 10:41<br />
	[238][mmc]: sdc0 spd mode error, 2<br />
	[242][mmc]: set f_max to 50M, set f_max_ddr to 25M<br />
	[247][mmc]: mmc 0 bias 0<br />
	[255][mmc]: Wrong media type 0x0<br />
	[258][mmc]: ***Try SD card 0***<br />
	[267][mmc]: HSSDR52/SDR25 4 bit<br />
	[270][mmc]: 50000000 Hz<br />
	[272][mmc]: 15200 MB<br />
	[274][mmc]: ***SD/MMC 0 init OK!!!***<br />
	[375]Loading boot-pkg Succeed(index=0).<br />
	[378]Entry_name        = u-boot<br />
	[387]Entry_name        = monitor<br />
	[391]Entry_name        = dtbo<br />
	[394]Entry_name        = <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	[398]Jump to second Boot.<br />
	NOTICE:  BL3-1: v1.0(debug):9fecd83<br />
	NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28<br />
	NOTICE:  BL3-1 commit: 8<br />
	ERROR:   Error initializing runtime service tspd_fast<br />
	NOTICE:  BL3-1: Preparing for EL3 exit to normal world<br />
	NOTICE:  BL3-1: Next image address = 0x4a000000<br />
	NOTICE:  BL3-1: Next image spsr = 0x1d3
</p>

<p>
	U-Boot 2018.05-orangepi (Mar 31 2022 - 11:47:20 +0800) Xunlong Software
</p>

<p>
	[00.475]CPU:   Allwinner H616<br />
	[00.477]Model: Orange Pi Zero 2<br />
	I2C:   ready<br />
	[00.482]DRAM:  1 GiB<br />
	Relocation Offset is: 35ec7000<br />
	[00.523]secure enable bit: 0<br />
	[00.525]PMU: AXP806<br />
	[00.530]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz<br />
	[00.717]sunxi overlay merged okqv<br />
	[00.721]drv_disp_init<br />
	[00.748]__clk_enable: clk is null.<br />
	tv_init()950 fetch tv0 err.<br />
	[00.754]drv_disp_init finish<br />
	[00.756]gic: sec monitor mode<br />
	[00.762]flash init start<br />
	[00.764]workmode = 0,storage type = 1<br />
	[00.767]MMC:     0<br />
	[00.769][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.775][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.785][mmc]: Using default timing para<br />
	[00.789][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	[00.807][mmc]: card_caps:0x3000000a<br />
	[00.810][mmc]: host_caps:0x3000003f<br />
	[00.813]sunxi flash init ok<br />
	[00.817]Loading Environment from FAT...<br />
	[00.820][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.826][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.837][mmc]: Using default timing para<br />
	[00.840][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	** Bad device mmc 1 **<br />
	Failed (-5)<br />
	[00.852]usb burn from boot<br />
	delay time 0<br />
	weak:otg_phy_config<br />
	[00.865]usb prepare ok<br />
	[01.668]overtime<br />
	[01.672]do_burn_from_boot usb : no usb exist<br />
	[01.676]boot_gui_init:start<br />
	206 bytes read in 15 ms (12.7 KiB/s)<br />
	Set HDMI disp_mode to 1080p60<br />
	206 bytes read in 9 ms (21.5 KiB/s)<br />
	Set fb0_width to 1920<br />
	Set fb0_height to 1080<br />
	[01.984]boot_gui_init:finish<br />
	[01.986]bmp_name=/boot/boot.bmp<br />
	230456 bytes read in 127 ms (1.7 MiB/s)<br />
	[02.128]update <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr><br />
	Net:   [02.131]No ethernet found.<br />
	Hit any key to stop autoboot:  0<br />
	orangepi# ls -l /dev | grep -E 'sd|hd'<br />
	syntax error<br />
	orangep<br />
	orangepi# fdisk<br />
	Unknown command 'fdisk' - try 'help'<br />
	orangepi# help<br />
	?       - alias for 'help'<br />
	base    - print or set address offset<br />
	bdinfo  - print Board Info structure<br />
	boot    - boot default, i.e., run 'bootcmd'<br />
	bootd   - boot default, i.e., run 'bootcmd'<br />
	bootm   - boot application image from memory<br />
	bootp   - boot image via network using BOOTP/TFTP protocol<br />
	bootz   - boot Linux zImage image from memory<br />
	cmp     - memory compare<br />
	colorbar- show colorbar<br />
	coninfo - print console devices and information<br />
	cp      - memory copy<br />
	crc32   - checksum calculation<br />
	dhcp    - boot image via network using DHCP/TFTP protocol<br />
	echo    - echo args to console<br />
	editenv - edit environment variable<br />
	efex    - run to efex<br />
	env     - environment handling commands<br />
	erase   - erase FLASH memory<br />
	exit    - exit script<br />
	ext2load- load binary file from a Ext2 filesystem<br />
	ext2ls  - list files in a directory (default /)<br />
	ext4load- load binary file from a Ext4 filesystem<br />
	ext4ls  - list files in a directory (default /)<br />
	ext4size- determine a file's size<br />
	ext4write- create a file in the root directory<br />
	false   - do nothing, unsuccessfully<br />
	fastboot- fastboot - enter USB Fastboot protocol<br />
	fatinfo - print information about filesystem<br />
	fatload - load binary file from a dos filesystem<br />
	fatls   - list files in a directory (default /)<br />
	fatsize - determine a file's size<br />
	fatwrite- write file into a dos filesystem<br />
	fdt     - flattened device tree utility commands<br />
	flinfo  - print FLASH memory information<br />
	fstype  - Look up a filesystem type<br />
	go      - start application at address 'addr'<br />
	gpt     - GUID Partition Table<br />
	help    - print command description/usage<br />
	i2c     - I2C sub-system<br />
	itest   - return true/false on integer compare<br />
	load    - load binary file from a filesystem<br />
	loadb   - load binary file over serial line (kermit mode)<br />
	loads   - load S-Record file over serial line<br />
	loadx   - load binary file over serial line (xmodem mode)<br />
	loady   - load binary file over serial line (ymodem mode)<br />
	logo    - show default logo<br />
	loop    - infinite loop on address range<br />
	ls      - list files in a directory (default /)<br />
	md      - memory display<br />
	memtester- start application at address 'addr'<br />
	mii     - MII utility commands<br />
	mm      - memory modify (auto-incrementing address)<br />
	mmc     - MMC sub system<br />
	mmcinfo - display MMC info<br />
	mw      - memory write (fill)<br />
	nfs     - boot image via network using NFS protocol<br />
	nm      - memory modify (constant address)<br />
	part    - disk partition related commands<br />
	pbread  - read data from private data<br />
	ping    - send ICMP ECHO_REQUEST to network host<br />
	poweroff- Perform POWEROFF of the device<br />
	printenv- print environment variables<br />
	protect - enable or disable FLASH write protection<br />
	pxe     - commands to get and boot from pxe files<br />
	reset   - Perform RESET of the CPU<br />
	run     - run commands in an environment variable<br />
	save    - save file to a filesystem<br />
	saveenv - save environment variables to persistent storage<br />
	screen_char- show default screen chars<br />
	setenv  - set environment variables<br />
	setexpr - set environment variable as the result of eval expression<br />
	showvar - print local hushshell variables<br />
	size    - determine a file's size<br />
	sleep   - delay execution for some time<br />
	source  - run script from memory<br />
	sprite_test- do a sprite test<br />
	sunxi_axp- sunxi_axp sub-system<br />
	sunxi_bmp_info- manipulate BMP image data<br />
	sunxi_bmp_show- manipulate BMP image data<br />
	sunxi_card0_probe- probe sunxi card0 device<br />
	sunxi_flash- sunxi_flash sub-system<br />
	sunxi_nand_test- sunxi_nand_test sub systerm<br />
	sysboot - command to get and boot from syslinux files<br />
	test    - minimal test like /bin/sh<br />
	tftpboot- boot image via network using TFTP protocol<br />
	timer_test- do a timer and int test<br />
	timer_test1- do a timer and int test<br />
	true    - do nothing, successfully<br />
	uburn   - do a burn from boot<br />
	version - print monitor, compiler and linker version<br />
	orangepi# fsck<br />
	Unknown command 'fsck' - try 'help'<br />
	orangepi# ls<br />
	ls - list files in a directory (default /)
</p>

<p>
	Usage:<br />
	ls &lt;interface&gt; [&lt;dev[:part]&gt; [directory]]<br />
	    - List files in directory 'directory' of partition 'part' on<br />
	      device type 'interface' instance 'dev'.<br />
	orangepi# cd /<br />
	Unknown command 'cd' - try 'help'<br />
	orangepi# ls /<br />
	** No device specified **<br />
	orangepi# fstab<br />
	Unknown command 'fstab' - try 'help'<br />
	orangepi# tune2fs<br />
	Unknown command 'tune2fs' - try 'help'<br />
	orangepi# touch /forcefsck<br />
	Unknown command 'touch' - try 'help'<br />
	orangepi# help<br />
	?       - alias for 'help'<br />
	base    - print or set address offset<br />
	bdinfo  - print Board Info structure<br />
	boot    - boot default, i.e., run 'bootcmd'<br />
	bootd   - boot default, i.e., run 'bootcmd'<br />
	bootm   - boot application image from memory<br />
	bootp   - boot image via network using BOOTP/TFTP protocol<br />
	bootz   - boot Linux zImage image from memory<br />
	cmp     - memory compare<br />
	colorbar- show colorbar<br />
	coninfo - print console devices and information<br />
	cp      - memory copy<br />
	crc32   - checksum calculation<br />
	dhcp    - boot image via network using DHCP/TFTP protocol<br />
	echo    - echo args to console<br />
	editenv - edit environment variable<br />
	efex    - run to efex<br />
	env     - environment handling commands<br />
	erase   - erase FLASH memory<br />
	exit    - exit script<br />
	ext2load- load binary file from a Ext2 filesystem<br />
	ext2ls  - list files in a directory (default /)<br />
	ext4load- load binary file from a Ext4 filesystem<br />
	ext4ls  - list files in a directory (default /)<br />
	ext4size- determine a file's size<br />
	ext4write- create a file in the root directory<br />
	false   - do nothing, unsuccessfully<br />
	fastboot- fastboot - enter USB Fastboot protocol<br />
	fatinfo - print information about filesystem<br />
	fatload - load binary file from a dos filesystem<br />
	fatls   - list files in a directory (default /)<br />
	fatsize - determine a file's size<br />
	fatwrite- write file into a dos filesystem<br />
	fdt     - flattened device tree utility commands<br />
	flinfo  - print FLASH memory information<br />
	fstype  - Look up a filesystem type<br />
	go      - start application at address 'addr'<br />
	gpt     - GUID Partition Table<br />
	help    - print command description/usage<br />
	i2c     - I2C sub-system<br />
	itest   - return true/false on integer compare<br />
	load    - load binary file from a filesystem<br />
	loadb   - load binary file over serial line (kermit mode)<br />
	loads   - load S-Record file over serial line<br />
	loadx   - load binary file over serial line (xmodem mode)<br />
	loady   - load binary file over serial line (ymodem mode)<br />
	logo    - show default logo<br />
	loop    - infinite loop on address range<br />
	ls      - list files in a directory (default /)<br />
	md      - memory display<br />
	memtester- start application at address 'addr'<br />
	mii     - MII utility commands<br />
	mm      - memory modify (auto-incrementing address)<br />
	mmc     - MMC sub system<br />
	mmcinfo - display MMC info<br />
	mw      - memory write (fill)<br />
	nfs     - boot image via network using NFS protocol<br />
	nm      - memory modify (constant address)<br />
	part    - disk partition related commands<br />
	pbread  - read data from private data<br />
	ping    - send ICMP ECHO_REQUEST to network host<br />
	poweroff- Perform POWEROFF of the device<br />
	printenv- print environment variables<br />
	protect - enable or disable FLASH write protection<br />
	pxe     - commands to get and boot from pxe files<br />
	reset   - Perform RESET of the CPU<br />
	run     - run commands in an environment variable<br />
	save    - save file to a filesystem<br />
	saveenv - save environment variables to persistent storage<br />
	screen_char- show default screen chars<br />
	setenv  - set environment variables<br />
	setexpr - set environment variable as the result of eval expression<br />
	showvar - print local hushshell variables<br />
	size    - determine a file's size<br />
	sleep   - delay execution for some time<br />
	source  - run script from memory<br />
	sprite_test- do a sprite test<br />
	sunxi_axp- sunxi_axp sub-system<br />
	sunxi_bmp_info- manipulate BMP image data<br />
	sunxi_bmp_show- manipulate BMP image data<br />
	sunxi_card0_probe- probe sunxi card0 device<br />
	sunxi_flash- sunxi_flash sub-system<br />
	sunxi_nand_test- sunxi_nand_test sub systerm<br />
	sysboot - command to get and boot from syslinux files<br />
	test    - minimal test like /bin/sh<br />
	tftpboot- boot image via network using TFTP protocol<br />
	timer_test- do a timer and int test<br />
	timer_test1- do a timer and int test<br />
	true    - do nothing, successfully<br />
	uburn   - do a burn from boot<br />
	version - print monitor, compiler and linker version<br />
	orangepi# reboot<br />
	Unknown command 'reboot' - try 'help'<br />
	orangepi# ▒▒[100]HELLO! BOOT0 is starting May 13 2020 14:10:04!<br />
	[105]BOOT0 commit : 593cf83<br />
	[107]set pll start<br />
	[110]periph0 has been enabled<br />
	[113]set pll end<br />
	[115]unknow PMU<br />
	[117]PMU: AXP806<br />
	[124]vaild para:8  select dram para0<br />
	[127]board init ok<br />
	[129]DRAM BOOT DRIVE INFO: V0.52<br />
	[132]the chip id is 0x5000<br />
	[135]chip id check OK<br />
	[137]DRAM_VCC set to 1500 mv<br />
	[141]read_calibration error<br />
	[145]read_calibration error<br />
	[149]read_calibration error<br />
	[153]read_calibration error<br />
	[157]read_calibration error<br />
	[161]read_calibration error<br />
	[165]read_calibration error<br />
	[169]read_calibration error<br />
	[173]read_calibration error<br />
	[177]read_calibration error<br />
	[180]retraining final error<br />
	[184][AUTO DEBUG]32bit,1 ranks training success!<br />
	[192]DRAM CLK =720 MHZ<br />
	[194]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)<br />
	[200]Actual DRAM SIZE =1024 M<br />
	[203]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6041<br />
	[216]DRAM simple test OK.<br />
	[219]rtc standby flag is 0x0, super standby flag is 0x0<br />
	[224]dram size =1024<br />
	[226]*****dram handle ok****<br />
	[230]card no is 0<br />
	[232]sdcard 0 line count 4<br />
	[234][mmc]: mmc driver ver 2019-12-19 10:41<br />
	[238][mmc]: sdc0 spd mode error, 2<br />
	[242][mmc]: set f_max to 50M, set f_max_ddr to 25M<br />
	[247][mmc]: mmc 0 bias 0<br />
	[255][mmc]: Wrong media type 0x0<br />
	[258][mmc]: ***Try SD card 0***<br />
	[267][mmc]: HSSDR52/SDR25 4 bit<br />
	[270][mmc]: 50000000 Hz<br />
	[272][mmc]: 15200 MB<br />
	[274][mmc]: ***SD/MMC 0 init OK!!!***<br />
	[373]Loading boot-pkg Succeed(index=0).<br />
	[377]Entry_name        = u-boot<br />
	[386]Entry_name        = monitor<br />
	[390]Entry_name        = dtbo<br />
	[393]Entry_name        = <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	[397]Jump to second Boot.<br />
	NOTICE:  BL3-1: v1.0(debug):9fecd83<br />
	NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28<br />
	NOTICE:  BL3-1 commit: 8<br />
	ERROR:   Error initializing runtime service tspd_fast<br />
	NOTICE:  BL3-1: Preparing for EL3 exit to normal world<br />
	NOTICE:  BL3-1: Next image address = 0x4a000000<br />
	NOTICE:  BL3-1: Next image spsr = 0x1d3
</p>

<p>
	U-Boot 2018.05-orangepi (Mar 31 2022 - 11:47:20 +0800) Xunlong Software
</p>

<p>
	[00.474]CPU:   Allwinner H616<br />
	[00.476]Model: Orange Pi Zero 2<br />
	I2C:   ready<br />
	[00.481]DRAM:  1 GiB<br />
	Relocation Offset is: 35ec7000<br />
	[00.522]secure enable bit: 0<br />
	[00.524]PMU: AXP806<br />
	[00.529]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz<br />
	[00.716]sunxi overlay merged okqv<br />
	[00.720]drv_disp_init<br />
	[00.747]__clk_enable: clk is null.<br />
	tv_init()950 fetch tv0 err.<br />
	[00.753]drv_disp_init finish<br />
	[00.755]gic: sec monitor mode<br />
	[00.761]flash init start<br />
	[00.763]workmode = 0,storage type = 1<br />
	[00.766]MMC:     0<br />
	[00.768][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.774][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.784][mmc]: Using default timing para<br />
	[00.788][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	[00.806][mmc]: card_caps:0x3000000a<br />
	[00.809][mmc]: host_caps:0x3000003f<br />
	[00.812]sunxi flash init ok<br />
	[00.816]Loading Environment from FAT...<br />
	[00.819][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.825][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.836][mmc]: Using default timing para<br />
	[00.839][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	** Bad device mmc 1 **<br />
	Failed (-5)<br />
	[00.851]usb burn from boot<br />
	delay time 0<br />
	weak:otg_phy_config<br />
	[00.864]usb prepare ok<br />
	[01.667]overtime<br />
	[01.671]do_burn_from_boot usb : no usb exist<br />
	[01.675]boot_gui_init:start<br />
	206 bytes read in 8 ms (24.4 KiB/s)<br />
	Set HDMI disp_mode to 1080p60<br />
	206 bytes read in 8 ms (24.4 KiB/s)<br />
	Set fb0_width to 1920<br />
	Set fb0_height to 1080<br />
	[01.976]boot_gui_init:finish<br />
	[01.978]bmp_name=/boot/boot.bmp<br />
	230456 bytes read in 83 ms (2.6 MiB/s)<br />
	[02.076]update <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr><br />
	Net:   [02.080]No ethernet found.<br />
	Hit any key to stop autoboot:  0<br />
	no mmc device at slot 1<br />
	[03.106][mmc]: card_caps:0x3000000a<br />
	[03.109][mmc]: host_caps:0x3000003f<br />
	switch to partitions #0, OK<br />
	mmc0 is current device<br />
	Scanning mmc 0:1...<br />
	Found U-Boot script /boot/boot.scr<br />
	2771 bytes read in 11 ms (245.1 KiB/s)<br />
	## Executing script at 43100000<br />
	U-boot loaded from SD<br />
	Boot script loaded from mmc<br />
	206 bytes read in 8 ms (24.4 KiB/s)<br />
	8484924 bytes read in 3720 ms (2.2 MiB/s)<br />
	24129608 bytes read in 4498 ms (5.1 MiB/s)<br />
	## Booting kernel from Legacy Image at 41000000 ...<br />
	   Image Name:<br />
	   Image Type:   ARM Linux Kernel Image (uncompressed)<br />
	   Data Size:    24129544 Bytes = 23 MiB<br />
	   Load Address: 41000000<br />
	   Entry Point:  41000000<br />
	   Verifying Checksum ... OK<br />
	## Loading init Ramdisk from Legacy Image at 43300000 ...<br />
	   Image Name:   uInitrd<br />
	   Image Type:   ARM Linux RAMDisk Image (gzip compressed)<br />
	   Data Size:    8484860 Bytes = 8.1 MiB<br />
	   Load Address: 00000000<br />
	   Entry Point:  00000000<br />
	   Verifying Checksum ... OK<br />
	   Loading Ramdisk to 497e8000, end 49fff7fc ... OK<br />
	   reserving fdt memory region: addr=48000000 size=1000000<br />
	## Linux machid: 00000000, FDT addr: 7be86d60
</p>

<p>
	Starting kernel ...
</p>

<p>
	▒[96]HELLO! BOOT0 is starting May 13 2020 14:10:04!<br />
	[101]BOOT0 commit : 593cf83<br />
	[103]set pll start<br />
	[106]periph0 has been enabled<br />
	[109]set pll end<br />
	[111]unknow PMU<br />
	[113]PMU: AXP806<br />
	[120]vaild para:1  select dram para0<br />
	[123]board init ok<br />
	[125]DRAM BOOT DRIVE INFO: V0.52<br />
	[128]the chip id is 0x5000<br />
	[131]chip id check OK<br />
	[133]DRAM_VCC set to 1500 mv<br />
	[137]read_calibration error<br />
	[141]read_calibration error<br />
	[145]read_calibration error<br />
	[149]read_calibration error<br />
	[153]read_calibration error<br />
	[157]read_calibration error<br />
	[161]read_calibration error<br />
	[165]read_calibration error<br />
	[169]read_calibration error<br />
	[173]read_calibration error<br />
	[175]retraining final error<br />
	[180][AUTO DEBUG]32bit,1 ranks training success!<br />
	[187]DRAM CLK =720 MHZ<br />
	[190]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)<br />
	[196]Actual DRAM SIZE =1024 M<br />
	[199]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6041<br />
	[212]DRAM simple test OK.<br />
	[215]rtc standby flag is 0x0, super standby flag is 0x0<br />
	[220]dram size =1024<br />
	[222]*****dram handle ok****<br />
	[226]card no is 0<br />
	[227]sdcard 0 line count 4<br />
	[230][mmc]: mmc driver ver 2019-12-19 10:41<br />
	[234][mmc]: sdc0 spd mode error, 2<br />
	[238][mmc]: set f_max to 50M, set f_max_ddr to 25M<br />
	[243][mmc]: mmc 0 bias 0<br />
	[251][mmc]: Wrong media type 0x0<br />
	[254][mmc]: ***Try SD card 0***<br />
	[263][mmc]: HSSDR52/SDR25 4 bit<br />
	[266][mmc]: 50000000 Hz<br />
	[268][mmc]: 15200 MB<br />
	[270][mmc]: ***SD/MMC 0 init OK!!!***<br />
	[369]Loading boot-pkg Succeed(index=0).<br />
	[373]Entry_name        = u-boot<br />
	[382]Entry_name        = monitor<br />
	[386]Entry_name        = dtbo<br />
	[389]Entry_name        = <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	[393]Jump to second Boot.<br />
	NOTICE:  BL3-1: v1.0(debug):9fecd83<br />
	NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28<br />
	NOTICE:  BL3-1 commit: 8<br />
	ERROR:   Error initializing runtime service tspd_fast<br />
	NOTICE:  BL3-1: Preparing for EL3 exit to normal world<br />
	NOTICE:  BL3-1: Next image address = 0x4a000000<br />
	NOTICE:  BL3-1: Next image spsr = 0x1d3
</p>

<p>
	U-Boot 2018.05-armbian (Jun 22 2022 - 07:19:38 +0000) Xunlong Software
</p>

<p>
	[00.468]CPU:   Allwinner H616<br />
	[00.471]Model: Orange Pi Zero 2<br />
	I2C:   ready<br />
	[00.476]DRAM:  1 GiB<br />
	Relocation Offset is: 35ec7000<br />
	[00.516]secure enable bit: 0<br />
	[00.519]PMU: AXP806<br />
	[00.524]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz<br />
	[00.706]sunxi overlay merged okqv<br />
	[00.709]drv_disp_init<br />
	[00.738]__clk_enable: clk is null.<br />
	tv_init()950 fetch tv0 err.<br />
	[00.744]drv_disp_init finish<br />
	[00.746]gic: sec monitor mode<br />
	[00.752]flash init start<br />
	[00.754]workmode = 0,storage type = 1<br />
	[00.757]MMC:     0<br />
	[00.759][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.765][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.775][mmc]: Using default timing para<br />
	[00.779][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	[00.796][mmc]: card_caps:0x3000000a<br />
	[00.799][mmc]: host_caps:0x3000003f<br />
	[00.803]sunxi flash init ok<br />
	[00.806]Loading Environment from FAT...<br />
	[00.810][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.816][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.827][mmc]: Using default timing para<br />
	[00.830][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	** Bad device mmc 1 **<br />
	Failed (-5)<br />
	[00.841]usb burn from boot<br />
	delay time 0<br />
	weak:otg_phy_config<br />
	[00.855]usb prepare ok<br />
	[01.658]overtime<br />
	[01.662]do_burn_from_boot usb : no usb exist<br />
	[01.666]boot_gui_init:start<br />
	141 bytes read in 9 ms (14.6 KiB/s)<br />
	Set HDMI disp_mode to 1080p60<br />
	141 bytes read in 8 ms (16.6 KiB/s)<br />
	Set fb0_width to 1280<br />
	Set fb0_height to 720<br />
	[01.967]boot_gui_init:finish<br />
	[01.970]bmp_name=/boot/boot.bmp<br />
	230454 bytes read in 30 ms (7.3 MiB/s)<br />
	[02.013]update <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr><br />
	Net:   [02.016]No ethernet found.<br />
	Hit any key to stop autoboot:  0<br />
	no mmc device at slot 1<br />
	[03.043][mmc]: card_caps:0x3000000a<br />
	[03.046][mmc]: host_caps:0x3000003f<br />
	switch to partitions #0, OK<br />
	mmc0 is current device<br />
	Scanning mmc 0:1...<br />
	Found U-Boot script /boot/boot.scr<br />
	3202 bytes read in 10 ms (312.5 KiB/s)<br />
	## Executing script at 43100000<br />
	U-boot loaded from SD<br />
	Boot script loaded from mmc<br />
	141 bytes read in 8 ms (16.6 KiB/s)<br />
	262144 bytes read in 35 ms (7.1 MiB/s)<br />
	** File not found /boot/<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>/allwinner/overlay/-fixup.scr **<br />
	6995219 bytes read in 595 ms (11.2 MiB/s)<br />
	** File not found /boot/Image **<br />
	Unknown command 'booti' - try 'help'<br />
	SCRIPT FAILED: continuing...<br />
	No ethernet found.<br />
	missing environment variable: pxeuuid<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default-arm-sunxi<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default-arm<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default<br />
	No ethernet found.<br />
	Config file not found<br />
	No ethernet found.<br />
	armbian# ** Bad device mmc 1 **<br />
	Unknown command '**' - try 'help'<br />
	armbian# mmc rescan<br />
	[63.143][mmc]: card_caps:0x3000000a<br />
	[63.146][mmc]: host_caps:0x3000003f<br />
	armbian# fatls mmc 0:0<br />
	** Unrecognized filesystem type **<br />
	armbian# fatls mmc 1:0<br />
	** Bad device mmc 1 **<br />
	armbian# fatls mmc 1:0<br />
	** Bad device mmc 1 **<br />
	armbian# fatls mmc 0:1<br />
	** Unrecognized filesystem type **<br />
	armbian# [90]HELLO! BOOT0 is starting May 13 2020 14:10:04!<br />
	[95]BOOT0 commit : 593cf83<br />
	[97]set pll start<br />
	[100]periph0 has been enabled<br />
	[103]set pll end<br />
	[105]unknow PMU<br />
	[106]PMU: AXP806<br />
	[114]vaild para:1  select dram para0<br />
	[117]board init ok<br />
	[119]DRAM BOOT DRIVE INFO: V0.52<br />
	[122]the chip id is 0x5000<br />
	[125]chip id check OK<br />
	[127]DRAM_VCC set to 1500 mv<br />
	[131]read_calibration error<br />
	[135]read_calibration error<br />
	[139]read_calibration error<br />
	[143]read_calibration error<br />
	[147]read_calibration error<br />
	[151]read_calibration error<br />
	[155]read_calibration error<br />
	[159]read_calibration error<br />
	[163]read_calibration error<br />
	[166]read_calibration error<br />
	[169]retraining final error<br />
	[174][AUTO DEBUG]32bit,1 ranks training success!<br />
	[181]DRAM CLK =720 MHZ<br />
	[183]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)<br />
	[190]Actual DRAM SIZE =1024 M<br />
	[193]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, dram_tpr13 = 6041<br />
	[206]DRAM simple test OK.<br />
	[208]rtc standby flag is 0x0, super standby flag is 0x0<br />
	[214]dram size =1024<br />
	[216]*****dram handle ok****<br />
	[220]card no is 0<br />
	[221]sdcard 0 line count 4<br />
	[224][mmc]: mmc driver ver 2019-12-19 10:41<br />
	[228][mmc]: sdc0 spd mode error, 2<br />
	[232][mmc]: set f_max to 50M, set f_max_ddr to 25M<br />
	[237][mmc]: mmc 0 bias 0<br />
	[245][mmc]: Wrong media type 0x0<br />
	[248][mmc]: ***Try SD card 0***<br />
	[257][mmc]: HSSDR52/SDR25 4 bit<br />
	[260][mmc]: 50000000 Hz<br />
	[262][mmc]: 15200 MB<br />
	[264][mmc]: ***SD/MMC 0 init OK!!!***<br />
	[363]Loading boot-pkg Succeed(index=0).<br />
	[367]Entry_name        = u-boot<br />
	[376]Entry_name        = monitor<br />
	[380]Entry_name        = dtbo<br />
	[383]Entry_name        = <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	[386]Jump to second Boot.<br />
	NOTICE:  BL3-1: v1.0(debug):9fecd83<br />
	NOTICE:  BL3-1: Built : 17:08:29, 2020-05-28<br />
	NOTICE:  BL3-1 commit: 8<br />
	ERROR:   Error initializing runtime service tspd_fast<br />
	NOTICE:  BL3-1: Preparing for EL3 exit to normal world<br />
	NOTICE:  BL3-1: Next image address = 0x4a000000<br />
	NOTICE:  BL3-1: Next image spsr = 0x1d3
</p>

<p>
	U-Boot 2018.05-armbian (Jun 22 2022 - 07:19:38 +0000) Xunlong Software
</p>

<p>
	[00.463]CPU:   Allwinner H616<br />
	[00.466]Model: Orange Pi Zero 2<br />
	I2C:   ready<br />
	[00.471]DRAM:  1 GiB<br />
	Relocation Offset is: 35ec7000<br />
	[00.511]secure enable bit: 0<br />
	[00.514]PMU: AXP806<br />
	[00.519]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz<br />
	[00.701]sunxi overlay merged okqv<br />
	[00.704]drv_disp_init<br />
	[00.733]__clk_enable: clk is null.<br />
	tv_init()950 fetch tv0 err.<br />
	[00.739]drv_disp_init finish<br />
	[00.741]gic: sec monitor mode<br />
	[00.747]flash init start<br />
	[00.749]workmode = 0,storage type = 1<br />
	[00.752]MMC:     0<br />
	[00.754][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.760][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.770][mmc]: Using default timing para<br />
	[00.774][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	[00.792][mmc]: card_caps:0x3000000a<br />
	[00.795][mmc]: host_caps:0x3000003f<br />
	[00.798]sunxi flash init ok<br />
	[00.802]Loading Environment from FAT...<br />
	[00.805][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00<br />
	[00.811][mmc]: get sdc_type fail and use default host:tm1.<br />
	[00.822][mmc]: Using default timing para<br />
	[00.825][mmc]: SUNXI SDMMC Controller Version:0x40200<br />
	** Bad device mmc 1 **<br />
	Failed (-5)<br />
	[00.837]usb burn from boot<br />
	delay time 0<br />
	weak:otg_phy_config<br />
	[00.850]usb prepare ok<br />
	[01.653]overtime<br />
	[01.657]do_burn_from_boot usb : no usb exist<br />
	[01.661]boot_gui_init:start<br />
	141 bytes read in 9 ms (14.6 KiB/s)<br />
	Set HDMI disp_mode to 1080p60<br />
	141 bytes read in 8 ms (16.6 KiB/s)<br />
	Set fb0_width to 1280<br />
	Set fb0_height to 720<br />
	[01.962]boot_gui_init:finish<br />
	[01.965]bmp_name=/boot/boot.bmp<br />
	230454 bytes read in 29 ms (7.6 MiB/s)<br />
	[02.008]update <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr><br />
	Net:   [02.011]No ethernet found.<br />
	Hit any key to stop autoboot:  0<br />
	no mmc device at slot 1<br />
	[03.038][mmc]: card_caps:0x3000000a<br />
	[03.041][mmc]: host_caps:0x3000003f<br />
	switch to partitions #0, OK<br />
	mmc0 is current device<br />
	Scanning mmc 0:1...<br />
	Found U-Boot script /boot/boot.scr<br />
	3202 bytes read in 11 ms (284.2 KiB/s)<br />
	## Executing script at 43100000<br />
	U-boot loaded from SD<br />
	Boot script loaded from mmc<br />
	141 bytes read in 9 ms (14.6 KiB/s)<br />
	262144 bytes read in 35 ms (7.1 MiB/s)<br />
	** File not found /boot/<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>/allwinner/overlay/-fixup.scr **<br />
	6995219 bytes read in 594 ms (11.2 MiB/s)<br />
	** File not found /boot/Image **<br />
	Unknown command 'booti' - try 'help'<br />
	SCRIPT FAILED: continuing...<br />
	No ethernet found.<br />
	missing environment variable: pxeuuid<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/000000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/000<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/00<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/0<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default-arm-sunxi<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default-arm<br />
	No ethernet found.<br />
	missing environment variable: bootfile<br />
	Retrieving file: pxelinux.cfg/default<br />
	No ethernet found.<br />
	Config file not found<br />
	No ethernet found.<br />
	armbian# File not found /boot/Imageprintenv<br />
	Unknown command 'File' - try 'help'<br />
	armbian# printenv<br />
	arch=arm<br />
	baudrate=115200<br />
	board=sunxi<br />
	board_name=sunxi<br />
	boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}<br />
	boot_disp=1034<br />
	boot_disp1=0<br />
	boot_disp2=0<br />
	boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf<br />
	boot_fb0=7bf4fcc0,500,2d0,20,1400,1e0,f0,320,1e0<br />
	boot_prefixes=/ /boot/<br />
	boot_script_dhcp=boot.scr.uimg<br />
	boot_scripts=boot.scr.uimg boot.scr<br />
	boot_targets=fel mmc_auto pxe dhcp<br />
	bootargs=root=UUID=7af2b6ff-a1ee-4678-af7e-2271601e558c rootwait rootfstype=ext4 console=ttyS0,115200 consoleblank=0 loglevel=1 ubootpart=f9fc421d-01 usb-storage.quirks=   cgroup_enable=memory swapaccount=1<br />
	bootcmd=run distro_bootcmd<br />
	bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;<br />
	bootcmd_fel=if test -n ${fel_booted} &amp;&amp; test -n ${fel_scriptaddr}; then echo '(FEL boot)'; source ${fel_scriptaddr}; fi<br />
	bootcmd_mmc0=setenv devnum 0; run mmc_boot<br />
	bootcmd_mmc1=setenv devnum 1; run mmc_boot<br />
	bootcmd_mmc_auto=if test ${mmc_bootdev} -eq 1; then run bootcmd_mmc1; run bootcmd_mmc0; elif test ${mmc_bootdev} -eq 0; then run bootcmd_mmc0; run bootcmd_mmc1; fi<br />
	bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi<br />
	bootdelay=1<br />
	bootfstype=ext4<br />
	bootlogo=false<br />
	bootm_size=0xa000000<br />
	bootreason=unknow<br />
	console=serial<br />
	consoleargs=console=ttyS0,115200<br />
	cpu=armv7<br />
	devnum=0<br />
	devplist=1<br />
	devtype=mmc<br />
	dfu_alt_info_ram=kernel ram 0x41000000 0x1000000;fdt ram 0x43000000 0x100000;ramdisk ram 0x43300000 0x4000000<br />
	disp_mode=1080p60<br />
	disp_reserve=3686400,0x7bf4fcc0<br />
	distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done<br />
	docker_optimizations=on<br />
	fb0_height=720<br />
	fb0_width=1280<br />
	fdt_addr_r=0x43000000<br />
	fdtaddr=43000000<br />
	fdtcontroladdr=7be87560<br />
	fdtfile=sunxi/sun50i-h616-orangepi-zero2.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	fileaddr=43300000<br />
	filesize=6abd13<br />
	kernel_addr_r=0x41000000<br />
	load_addr=0x45000000<br />
	mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi<br />
	overlay_error=false<br />
	partitions=name=loader1,start=8k,size=32k,uuid=${uuid_gpt_loader1};name=loader2,size=984k,uuid=${uuid_gpt_loader2};name=esp,size=128M,bootable,uuid=${uuid_gpt_esp};name=system,size=-,uuid=${uuid_gpt_system};<br />
	partuuid=f9fc421d-01<br />
	pxefile_addr_r=0x43200000<br />
	ramdisk_addr_r=0x43300000<br />
	rootdev=UUID=7af2b6ff-a1ee-4678-af7e-2271601e558c<br />
	rootfstype=ext4<br />
	scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;<br />
	scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done<br />
	scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi<br />
	scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done<br />
	scriptaddr=0x43100000<br />
	snum=ac00143c519446f23ce<br />
	<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>=sunxi<br />
	stderr=serial<br />
	stdin=serial<br />
	stdout=serial<br />
	tv_vdid=2078814848<br />
	uuid_gpt_esp=c12a7328-f81f-11d2-ba4b-00a0c93ec93b<br />
	uuid_gpt_system=69dad710-2ce4-4e3c-b16c-21a1d49abed3<br />
	verbosity=1
</p>

<p>
	Environment size: 3588/131068 bytes<br />
	armbian# clear<br />
	Unknown command 'clear' - try 'help'<br />
	armbian# cls<br />
	Unknown command 'cls' - try 'help'<br />
	armbian# clsscr<br />
	Unknown command 'clsscr' - try 'help'<br />
	armbian# printenv<br />
	arch=arm<br />
	baudrate=115200<br />
	board=sunxi<br />
	board_name=sunxi<br />
	boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}<br />
	boot_disp=1034<br />
	boot_disp1=0<br />
	boot_disp2=0<br />
	boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf<br />
	boot_fb0=7bf4fcc0,500,2d0,20,1400,1e0,f0,320,1e0<br />
	boot_prefixes=/ /boot/<br />
	boot_script_dhcp=boot.scr.uimg<br />
	boot_scripts=boot.scr.uimg boot.scr<br />
	boot_targets=fel mmc_auto pxe dhcp<br />
	bootargs=root=UUID=7af2b6ff-a1ee-4678-af7e-2271601e558c rootwait rootfstype=ext4 console=ttyS0,115200 consoleblank=0 loglevel=1 ubootpart=f9fc421d-01 usb-storage.quirks=   cgroup_enable=memory swapaccount=1<br />
	bootcmd=run distro_bootcmd<br />
	bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;<br />
	bootcmd_fel=if test -n ${fel_booted} &amp;&amp; test -n ${fel_scriptaddr}; then echo '(FEL boot)'; source ${fel_scriptaddr}; fi<br />
	bootcmd_mmc0=setenv devnum 0; run mmc_boot<br />
	bootcmd_mmc1=setenv devnum 1; run mmc_boot<br />
	bootcmd_mmc_auto=if test ${mmc_bootdev} -eq 1; then run bootcmd_mmc1; run bootcmd_mmc0; elif test ${mmc_bootdev} -eq 0; then run bootcmd_mmc0; run bootcmd_mmc1; fi<br />
	bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi<br />
	bootdelay=1<br />
	bootfstype=ext4<br />
	bootlogo=false<br />
	bootm_size=0xa000000<br />
	bootreason=unknow<br />
	console=serial<br />
	consoleargs=console=ttyS0,115200<br />
	cpu=armv7<br />
	devnum=0<br />
	devplist=1<br />
	devtype=mmc<br />
	dfu_alt_info_ram=kernel ram 0x41000000 0x1000000;fdt ram 0x43000000 0x100000;ramdisk ram 0x43300000 0x4000000<br />
	disp_mode=1080p60<br />
	disp_reserve=3686400,0x7bf4fcc0<br />
	distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done<br />
	docker_optimizations=on<br />
	fb0_height=720<br />
	fb0_width=1280<br />
	fdt_addr_r=0x43000000<br />
	fdtaddr=43000000<br />
	fdtcontroladdr=7be87560<br />
	fdtfile=sunxi/sun50i-h616-orangepi-zero2.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
	fileaddr=43300000<br />
	filesize=6abd13<br />
	kernel_addr_r=0x41000000<br />
	load_addr=0x45000000<br />
	mmc_boot=if mmc dev ${devnum}; then setenv devtype mmc; run scan_dev_for_boot_part; fi<br />
	overlay_error=false<br />
	partitions=name=loader1,start=8k,size=32k,uuid=${uuid_gpt_loader1};name=loader2,size=984k,uuid=${uuid_gpt_loader2};name=esp,size=128M,bootable,uuid=${uuid_gpt_esp};name=system,size=-,uuid=${uuid_gpt_system};<br />
	partuuid=f9fc421d-01<br />
	pxefile_addr_r=0x43200000<br />
	ramdisk_addr_r=0x43300000<br />
	rootdev=UUID=7af2b6ff-a1ee-4678-af7e-2271601e558c<br />
	rootfstype=ext4<br />
	scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;<br />
	scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done<br />
	scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi<br />
	scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done<br />
	scriptaddr=0x43100000<br />
	snum=ac00143c519446f23ce<br />
	<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>=sunxi<br />
	stderr=serial<br />
	stdin=serial<br />
	stdout=serial<br />
	tv_vdid=2078814848<br />
	uuid_gpt_esp=c12a7328-f81f-11d2-ba4b-00a0c93ec93b<br />
	uuid_gpt_system=69dad710-2ce4-4e3c-b16c-21a1d49abed3<br />
	verbosity=1
</p>

<p>
	Environment size: 3588/131068 bytes<br />
	armbian# mtest<br />
	Unknown command 'mtest' - try 'help'<br />
	armbian# ls<br />
	ls - list files in a directory (default /)
</p>

<p>
	Usage:<br />
	ls &lt;interface&gt; [&lt;dev[:part]&gt; [directory]]<br />
	    - List files in directory 'directory' of partition 'part' on<br />
	      device type 'interface' instance 'dev'.<br />
	armbian#<br />
	 
</p>
]]></description><guid isPermaLink="false">21662</guid><pubDate>Fri, 24 Jun 2022 23:21:10 +0000</pubDate></item><item><title>USB to CAN adaptor</title><link>https://forum.armbian.com/topic/22799-usb-to-can-adaptor/</link><description><![CDATA[<p>
	i've try to use a board usb to can, but every topic i see about can and armbian is with spi to can. I very beginner with <abbr title="Single board computer">sbc</abbr> and armbian. This is the firmware it's runningin board usb-can  <a href="https://github.com/candle-usb/candleLight_fw" rel="external nofollow">https://github.com/candle-usb/candleLight_fw</a>
</p>
]]></description><guid isPermaLink="false">22799</guid><pubDate>Sat, 06 Aug 2022 22:53:43 +0000</pubDate></item><item><title>OrangePi Zero 2 Won't start with new FW</title><link>https://forum.armbian.com/topic/21185-orangepi-zero-2-wont-start-with-new-fw/</link><description><![CDATA[<p>
	It looks like the May 28th release produced issues. I tried using the images on the OrangePI Zero 2 and the led only stays red. The prior version worked with no issue. 
</p>
]]></description><guid isPermaLink="false">21185</guid><pubDate>Wed, 01 Jun 2022 04:33:16 +0000</pubDate></item><item><title>OrangePi Zero2 - Allwinner H616</title><link>https://forum.armbian.com/topic/16170-orangepi-zero2-allwinner-h616/</link><description><![CDATA[<p>
	<span style="font-size:36px;"><strong>Before complaining about an issue read this!</strong></span>
</p>

<p>
	 
</p>

<p>
	<span style="font-size:20px;"><strong>tl;dr:</strong> Put your Zero2 and/or any other H616 based device on the shelf and WAIT for proper support to come. And no. There is no ETA. Assuming usable state end 2021/beginning 2022.</span>
</p>

<p>
	 
</p>

<p>
	Software support is still work in progress and under heavy development. Provided preview images can break any time. Do not report this, we are aware of that and can/will not help you with that if you are not willing to investigate and research by yourself.
</p>

<p>
	Feel free to join fellow developers to their efforts to create proper software support. <strong>But don't waste our time with complains. Thank you!</strong>
</p>

<p>
	 
</p>

<p>
	<a href="https://github.com/apritzel/linux/commits/h616-v5" ipsnoembed="true" rel="external nofollow">https://github.com/apritzel/linux/commits/h616-v5</a>
</p>

<p>
	<a href="https://github.com/jernejsk/u-boot/tree/h616-v2" ipsnoembed="true" rel="external nofollow">https://github.com/jernejsk/u-boot/tree/h616-v2</a>
</p>

<p>
	<a href="https://github.com/apritzel/arm-trusted-firmware/tree/h616-v2-wip" ipsnoembed="true" rel="external nofollow">https://github.com/apritzel/arm-trusted-firmware/tree/h616-v2-<abbr title="Work in progress"><abbr title="Work in progress">wip</abbr></abbr></a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	-----------------------------------------------------------------------------
</p>

<p>
	 
</p>

<p>
	I started to play with this board and obviously failed miserably creating a basic Armbian integration.
</p>

<p>
	 
</p>

<p>
	Anyway. These are the information I collected so far:
</p>

<p>
	 
</p>

<p>
	<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> extraction from Xulong image: <a href="https://pastebin.com/raw/Uni2JzBF" ipsnoembed="true" rel="external nofollow">https://pastebin.com/raw/Uni2JzBF</a>
</p>

<p>
	 
</p>

<p>
	<em>orangepi</em>monitor <span class="ipsEmoji">🙄</span>  <a href="http://ix.io/2FM0" ipsnoembed="true" rel="external nofollow">http://ix.io/2FM0</a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<pre class="ipsCode" id="ips_uid_8443_16">
root@orangepizero2:/etc/apt# lsmod
Module                  Size  Used by
zram                   36864  2
sprdwl_ng             438272  0
sprdbt_tty             36864  2
uwe5622_bsp_sdio      294912  2 sprdbt_tty,sprdwl_ng</pre>

<p>
	 
</p>

<p>
	kernel config: <a href="https://pastebin.com/raw/e2jTTZ7A" ipsnoembed="true" rel="external nofollow">https://pastebin.com/raw/e2jTTZ7A</a>
</p>
]]></description><guid isPermaLink="false">16170</guid><pubDate>Sat, 28 Nov 2020 10:08:24 +0000</pubDate></item><item><title>OrangePi Zero 2 (4.9 kernel) does'nt boot after kernel upgrade 30.5.</title><link>https://forum.armbian.com/topic/21172-orangepi-zero-2-49-kernel-doesnt-boot-after-kernel-upgrade-305/</link><description><![CDATA[<p>
	After upgrade at 30.5. I can't boot the orangepi zero 2 (4.9 kernel). Is there any possibility to reload the old kernel or other ways to fix it? Thanks in advance for answering.
</p>

<p>
	<a class="ipsAttachLink" data-fileext="255-sun50iw9" data-fileid="9017" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=9017&amp;key=cc1aad1f020bf10324a4735870eb1aa3" rel="">config-4.9.255-sun50iw9</a>
</p>
]]></description><guid isPermaLink="false">21172</guid><pubDate>Tue, 31 May 2022 07:23:20 +0000</pubDate></item><item><title>Armbian Focal kernel 5.16.y not starting on Orange Pi Zero 2</title><link>https://forum.armbian.com/topic/20850-armbian-focal-kernel-516y-not-starting-on-orange-pi-zero-2/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	The stable armbian Focal image with Kernel 5.16.y fails to initialize the board. If I install the kernel 4.19.y image it does work in both Focal and Bullseye but when I try to change the kernel from armbian -config then it installs but on reboot it fails once again to reinitialise the board.<br />
	<br />
	I am using an orange pi zero 2 1gb.<br />
	<br />
	Just a couple of days ago Orange pi released two new images (Bullseye and Focal) with kernel 5.16 and 5.13 respectively. They do work and install. Although I would prefer to use armbian to the orange pi versions of it.<br />
	<br />
	Maybe someone can have a look at those two images to compare them with armbian to see where do they differ and why one fails to start the board while the other ones work<br />
	<br />
	<a href="https://drive.google.com/drive/folders/1ohxfoxWJ0sv8yEHbrXL1Bu2RkBhuCMup?fbclid=IwAR0C4Kvy-FkJ6cojv2ksFibLj0pvkpbpI04j4FS5oZzMWd6Jpxg5duf5Zlk" rel="external nofollow"></a><span> </span><a href="https://drive.google.com/drive/folders/1Xk7b1jOMg-rftowFLExynLg0CyuQ7kCM?fbclid=IwAR3kjmlLbhTrXosS38JI9urzKCNHWVSh3zDmygUMuvUZZ35D1tjaAxwgtdY" rel="external nofollow">orange pi official Bullseye (Debian) images</a><br />
	<br />
	<a href="https://drive.google.com/drive/folders/1ohxfoxWJ0sv8yEHbrXL1Bu2RkBhuCMup?fbclid=IwAR0C4Kvy-FkJ6cojv2ksFibLj0pvkpbpI04j4FS5oZzMWd6Jpxg5duf5Zlk" rel="external nofollow">orange pi official Focal and bionic (Ubuntu) images</a><br />
	<br />
	Thanks.
</p>
]]></description><guid isPermaLink="false">20850</guid><pubDate>Fri, 13 May 2022 07:57:45 +0000</pubDate></item><item><title>Orangepi Zero2 bullseye image can't use</title><link>https://forum.armbian.com/topic/19927-orangepi-zero2-bullseye-image-cant-use/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	I just download the image for Oranegpi Zero2 <span><span>:</span></span>
</p>

<p>
	<span>Armbian 21.08 Bullseye</span>
</p>

<p>
	Kernel 4.9.y, Size: 337Mb, Updated: Jan 24, 2022
</p>

<p>
	And I use "usbimage" write the image to my SD card .
</p>

<p>
	And,  nothing happen, Red LED and Green LED not lighting. Serial Port has no any message.
</p>

<p>
	 
</p>

<p>
	I have 3 SD card, 2 Orangepi Zero2. All of it I test still failure.
</p>

<p>
	 
</p>

<p>
	I have a older image for Orangepi Zero2 name "Armbian_21.08.1_Orangepizero2_buster_legacy_4.9.280.img.xz". This one is useful. BUT, can not "apt upgrade". If you do so , you cannot boot up next time.
</p>

<p>
	 
</p>

<p>
	So I just confuse now......
</p>
]]></description><guid isPermaLink="false">19927</guid><pubDate>Thu, 24 Feb 2022 10:39:40 +0000</pubDate></item><item><title>ttyUSB missing on Orangepi zero 2</title><link>https://forum.armbian.com/topic/19528-ttyusb-missing-on-orangepi-zero-2/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	Hi,
</p>

<p>
	Im running Armbian_21.08.2_Orangepizero2_buster_legacy_4.9.255 on Orangepi zero 2. <br />
	I don't see ttyUSB in my /dev/ but I can see it when  I list usb <span>:</span><br />
	<br />
	<span>root@orangepizero2:~# lsusb<br />
	Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
	Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
	Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
	Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
	Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
	Bus 001 Device 002: ID 0781:5591 SanDisk Corp. Ultra Flair<br />
	Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</span><br />
	<br />
	Any Idea what should I do ? <br />
	Thank in advance ! 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="txt" data-fileid="8588" href="https://forum.armbian.com/applications/core/interface/file/attachment.php?id=8588&amp;key=263dc4a903bc94f2b59cdc1e03f0dc32" rel="">log.txt</a>
</p>
]]></description><guid isPermaLink="false">19528</guid><pubDate>Fri, 17 Dec 2021 11:11:21 +0000</pubDate></item><item><title>Orangepi Zero 2 Armbian Focal 5.13.y stuck at "Starting kernel .."</title><link>https://forum.armbian.com/topic/19328-orangepi-zero-2-armbian-focal-513y-stuck-at-starting-kernel/</link><description><![CDATA[<p>
	Image used: Armbian_21.08.1_Orangepizero2_focal_edge_5.13.12.img
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">U-Boot SPL 2021.10-rc1-armbian (Aug 08 2021 - 16:21:36 +0200)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.5(debug):87311b4-dirty
NOTICE:  BL31: Built : 16:21:30, Aug  8 2021
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082220, model: OrangePi Zero2
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
INFO:    PMIC: aldo1 voltage: 3.300V
INFO:    PMIC: aldo2 voltage: 3.300V
INFO:    PMIC: aldo3 voltage: 3.300V
INFO:    PMIC: bldo1 voltage: 1.800V
INFO:    PMIC: dcdcd voltage: 1.500V
INFO:    PMIC: dcdce voltage: 3.300V
INFO:    Changed devicetree to reserve BL31 memory.
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9


U-Boot 2021.10-rc1-armbian (Aug 08 2021 - 16:21:36 +0200) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero2
I2C:   ready
DRAM:  1 GiB
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   phy interface7
eth0: ethernet@5020000
Autoboot in 1 seconds, press </span><span class="tag">&lt;Space&gt;</span><span class="pln"> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3202 bytes read in 2 ms (1.5 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
131 bytes read in 1 ms (127.9 KiB/s)
19495 bytes read in 4 ms (4.6 MiB/s)
Failed to load '/boot/dtb/allwinner/overlay/-fixup.scr'
12106416 bytes read in 501 ms (23 MiB/s)
22200328 bytes read in 918 ms (23.1 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=41790000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    12106352 Bytes = 11.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Ramdisk to 49474000, end 49fffa70 ... OK
   Loading Device Tree to 0000000049406000, end 0000000049473fff ... OK

Starting kernel ...</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">19328</guid><pubDate>Mon, 22 Nov 2021 16:06:59 +0000</pubDate></item><item><title>C # or python library for Orange pi zero2 H616</title><link>https://forum.armbian.com/topic/16847-c-or-python-library-for-orange-pi-zero2-h616/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	I am looking for support library for <abbr title="General purpose input/output">GPIO</abbr>, SPi for Orange pi zero2 H616. I searched everywhere but found only 1 library https://github.com/orangepi-xunlong/wiringOP. I tested by flashing one led but stopped like the <abbr title="General purpose input/output">GPIO</abbr> pins are the same? I don't know what's going on here? Is there a library to support me?
</p>
]]></description><guid isPermaLink="false">16847</guid><pubDate>Fri, 22 Jan 2021 07:09:09 +0000</pubDate></item><item><title>Boot problem after upgrade to linux-image-current-sunxi64_20.11.7</title><link>https://forum.armbian.com/topic/16724-boot-problem-after-upgrade-to-linux-image-current-sunxi64_20117/</link><description><![CDATA[
<div class="ipsMargin_top">
    
    
    
</div><p>
	Please help.
</p>

<p>
	Board: orange pi zero 2+ h5
</p>

<p>
	Upgraded packages(from apt upgrade):
</p>

<p>
	Get:1 <a href="http://security.debian.org" rel="external nofollow">http://security.debian.org</a> buster/updates/main arm64 libp11-kit0 arm64 0.23.15-2+deb10u1 [303 kB]<br />
	Get:2 <a href="http://httpredir.debian.org/debian" rel="external nofollow">http://httpredir.debian.org/debian</a> buster-updates/main arm64 tzdata all 2020e-0+deb10u1 [266 kB]<br />
	Get:4 <a href="http://security.debian.org" rel="external nofollow">http://security.debian.org</a> buster/updates/main arm64 nodejs arm64 10.23.1~dfsg-1~deb10u1 [87.3 kB]       <br />
	Get:5 <a href="http://security.debian.org" rel="external nofollow">http://security.debian.org</a> buster/updates/main arm64 libnode-dev arm64 10.23.1~dfsg-1~deb10u1 [397 kB]<br />
	Get:6 <a href="http://security.debian.org" rel="external nofollow">http://security.debian.org</a> buster/updates/main arm64 libnode64 arm64 10.23.1~dfsg-1~deb10u1 [5,280 kB]<br />
	Get:3 <a href="https://mirrors.dotsrc.org/armbian-apt" rel="external nofollow">https://mirrors.dotsrc.org/armbian-apt</a> buster/main arm64 armbian-config all 20.11.6 [44.5 kB]                                                                                         <br />
	Get:8 <a href="https://armbian.hosthatch.com/apt" rel="external nofollow">https://armbian.hosthatch.com/apt</a> buster/main arm64 linux-<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>-current-sunxi64 arm64 20.11.7 [81.8 kB]                                                                                 <br />
	Get:7 <a href="https://mirrors.dotsrc.org/armbian-apt" rel="external nofollow">https://mirrors.dotsrc.org/armbian-apt</a> buster/main arm64 linux-buster-root-current-orangepizeroplus2-h5 arm64 20.11.6 [415 kB]                                                        <br />
	Get:11 <a href="https://armbian.systemonachip.net/apt" rel="external nofollow">https://armbian.systemonachip.net/apt</a> buster/main arm64 linux-u-boot-orangepizeroplus2-h5-current arm64 20.11.6 [273 kB]                                                             <br />
	Get:9 <a href="https://minio.k-space.ee/armbian/apt" rel="external nofollow">https://minio.k-space.ee/armbian/apt</a> buster/main arm64 linux-headers-current-sunxi64 arm64 20.11.7 [11.4 MB]                                                                          <br />
	Get:10 <a href="https://uk.mirrors.fossho.st/armbian/apt" rel="external nofollow">https://uk.mirrors.fossho.st/armbian/apt</a> buster/main arm64 linux-image-current-sunxi64 arm64 20.11.7 [31.0 MB]                                                                <br />
	Get:12 <a href="http://security.debian.org" rel="external nofollow">http://security.debian.org</a> buster/updates/main arm64 python-apt-common all 1.8.4.3 [96.3 kB]                                                  <br />
	Get:13 <a href="http://security.debian.org" rel="external nofollow">http://security.debian.org</a> buster/updates/main arm64 python3-apt arm64 1.8.4.3 [179 kB]<br />
	 
</p>

<p>
	Upgrade without problems. After reboot:
</p>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://forum.armbian.com/uploads/monthly_2021_01/IMG_20210110_032323.jpg.d271c15df01c7c586ec94d10c00334c4.jpg" data-fileid="7451" data-fileext="jpg" rel=""><img alt="IMG_20210110_032323.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="7451" data-ratio="96,15" width="780" src="https://forum.armbian.com/uploads/monthly_2021_01/IMG_20210110_032323.thumb.jpg.46213755ee95ed825cc5d9a1ba7c85e5.jpg" /></a>
</p>
]]></description><guid isPermaLink="false">16724</guid><pubDate>Sat, 09 Jan 2021 22:41:21 +0000</pubDate></item></channel></rss>
