<?xml version="1.0"?>
<rss version="2.0"><channel><title>Pinebook Pro Latest Topics</title><link>https://testforum.armbian.com/forum/161-pinebook-pro/</link><description>Pinebook Pro Latest Topics</description><language>en</language><item><title>Games Compatible With Armbian on Pinebook Pro</title><link>https://testforum.armbian.com/topic/58864-games-compatible-with-armbian-on-pinebook-pro/</link><description><![CDATA[<p>
	I finally successfully got Armbian installed on my Pinebook Pro's <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">eMMC</abbr></abbr>. That should be giving it its best possible performance. I thought you may all be interested in compiling a list of games that work at least reasonably well on it given its restrictions of being ARM64 architecture, 1.8GHz CPU &amp; 4GBs RAM. So to start here is a list of the ones I currently have on mine. I may try more later but for now I'm limited by the stock 64GB <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">eMMC</abbr></abbr> that the PCP came with...
</p>

<p>
	 
</p>

<p>
	0AD - 3D RTS
</p>

<p>
	Cave Story - Pixel Art Metroidvania
</p>

<p>
	Dr Robotnik's Ring Racers - Kart Racer
</p>

<p>
	Dune Legacy - RTS
</p>

<p>
	Endless Sky - Space Sandbox
</p>

<p>
	Flare - Fantasy RPG
</p>

<p>
	Freeciv - Strategy
</p>

<p>
	Freecol - Strategy
</p>

<p>
	GZDoom - Doom Engine for Mods &amp; Total Conversions
</p>

<p>
	Hedgewars - Worms "Homage"
</p>

<p>
	Neverball - Monkeyball "Homage"
</p>

<p>
	Neverputt - Miniputt Golf Game
</p>

<p>
	Open Fodder - FOSS Engine for "Cannon Fodder"
</p>

<p>
	OpenRA - FOSS RTS Engine for "Tiberian Dawn", "Red Alert" &amp; "Dune 2000"
</p>

<p>
	Open TTD - Transit Management Sim
</p>

<p>
	OpenTyrian - FOSS Engine for Top-Down Shmup "Tyrian"
</p>

<p>
	Perfect Dark - PC Port of N64 Game with Keyboard/Mouse Support
</p>

<p>
	Pico-8 - Indie Pixel Art Gaming &amp; Development Platform
</p>

<p>
	Pingus - Lemmings "Homage"
</p>

<p>
	ScummVM - FOSS Engine for Classic Point &amp; Click Games
</p>

<p>
	Sonic Robo Blast 2 - 3D Platformer
</p>

<p>
	The Ur-Quan Masters - FOSS Port of Space Sandbox "Star Control II"
</p>

<p>
	Xonotic - Arena Shooter FPS
</p>

<p>
	 
</p>

<p>
	There are other games I have not yet personally tried like OpenHV, SuperTuxKart, other emulators etc but if anyone can confirm they work reasonably well on the Pinebook Pro then please let the rest of us know. All ScummVM games I've tried from King's Quest I to Grim Fandango work perfectly. However GZDoom will struggle with especially demanding modern Doom mods like Trenchfoot, Auger Zenith, Inquisitor III, Godless Nite etc. but most like Aliens: Eradication, Ashes 2063/Afterglow, Brutal Doom, Castlevania: Simon's Destiny, Irontusk's Diablo 3D, Revenge of the Triad etc run just fine.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">58864</guid><pubDate>Wed, 01 Apr 2026 17:22:56 +0000</pubDate></item><item><title>Displayport via USB-C dock</title><link>https://testforum.armbian.com/topic/33086-displayport-via-usb-c-dock/</link><description><![CDATA[<p>
	does displayport over usb-c dock work for you? It doesn't for me neither on 5.15  nor on 6.1.
</p>
]]></description><guid isPermaLink="false">33086</guid><pubDate>Sat, 06 Jan 2024 11:14:42 +0000</pubDate></item><item><title>Experiences installing on Pinebook Pro</title><link>https://testforum.armbian.com/topic/50474-experiences-installing-on-pinebook-pro/</link><description><![CDATA[<p>
	Just posting my experiences getting armbian going on pinebook pro. I had a pinebook pro on a shelf for a while, picked it up and ran "apt-get update" after which booting the system broke. So without anything important on there i figured i would reinstall.
</p>

<p>
	 
</p>

<p>
	<strong>Tow Boot</strong>
</p>

<p>
	 
</p>

<p>
	I had already installed an older version of Tow Boot, but i updated it to <a href="https://github.com/Tow-Boot/Tow-Boot/releases" rel="external nofollow">2023.07-007</a> 
</p>

<p>
	 
</p>

<p>
	This is a simple process. Write out the <em>spi.installer.img</em> to an sd card (i used dd). Insert the sd card in to the slot on the side of the pinebook. Start the system. Follow the prompts. Shut down the system. Remove the sd card. Power on the system and hit "Esc" to see the Tow Boot menus and verify the version has been updated in the "Firmware Console" by typing "version"
</p>

<p>
	 
</p>

<p>
	A major change appears to be that Tow Boot has inherited a minimum viable EFI interface from U-Boot. This allows generic efi arm images to boot, but because the efi configuration is stored in the efi partition rather than spi flash, tools like efibootmgr don't work. Read more <a href="https://github.com/Tow-Boot/Tow-Boot/issues/202" rel="external nofollow">here in github</a>
</p>

<p>
	 
</p>

<p>
	(I don't think its worth trying to run without Tow Boot installed on the spi, despite the limited efi)
</p>

<p>
	 
</p>

<p>
	<strong>Install Armbian</strong>
</p>

<p>
	 
</p>

<p>
	I downloaded the Cinnamon Debian version listed on the <a href="https://www.armbian.com/pinebook-pro/" rel="external nofollow">Pinebook Pro</a> page - the exact file was <em>Armbian_25.2.1_Uefi-arm64_bookworm_current_6.12.13_cinnamon-backported-mesa_desktop.img.xz</em>
</p>

<p>
	 
</p>

<p>
	I then unxz'd that file and dd the image to the sd card.
</p>

<p>
	 
</p>

<p>
	Insert the sd card in to the pinebook and power on. Armbian boots!
</p>

<p>
	 
</p>

<p>
	Install works as normal, but you will notice that efibootmgr commands are failing in the install script although they are non fatal at this stage. This is due to the Tow Boot efi limitations mentioned above.
</p>

<p>
	 
</p>

<p>
	Unfortunately, Armbian will install the grub efi binary as <em>/EFI/Armbian/grubaa64.efi</em> and failing to add a boot entry, the system will fail to boot.
</p>

<p>
	 
</p>

<p>
	You have two options.<br />
	<br />
	<strong>The first is to copy</strong> <em>/EFI/Armbian/grubaa64.efi</em> to default location <em>/EFI/BOOT/BOOTAA64.EFI</em> - this is also perhaps the safest in the short term.
</p>

<p>
	(note that on the installer sd card the file is located at <em>/EFI/BOOT/BOOTAA64.EFI</em>). You may need to manually mount the new EFI partition on the mmc and copy the file - do this before rebooting the system so the system remains bootable. If you don't there is no need to panic, adding a boot entry to Tow Boot's efi is very simple from its menus as i will now describe...
</p>

<p>
	 
</p>

<p>
	<strong>The second</strong> is to add a boot entry in the Tow Boot menus.
</p>

<p>
	 
</p>

<p>
	Contrary to the github issue linked above, it seems that in Tow Boot the "efidebug" command has been replaced with a more convenient set of commands to manage boot options.
</p>

<p>
	 
</p>

<p>
	Power on your pinebook pro, press "Esc" to see the Tow Boot menu and go in to "Firmware Console". Type "eficonfig" and use the convenient menu to add a new boot entry - not that the tow boot console has tab completion which is very convenient. In "eficonfig" hit enter on "Add Boot Option", set "Description" to "Armbian", hit enter on "File" then "Select File" then "mmc 0:1" and find the Armbian/grubaa64.efi file. Then "Save" (initrd and optional data left empty). Then "Change Boot Order" and move the new Armbian entry to the top with -/+ keys then Save. Exit "eficonfig" and continue with a normal boot by typing "bootefi bootmgr"
</p>

<p>
	 
</p>

<p>
	I suggest do both, and once the system is booting from the new boot entry you can remove the <em>BOOTAA64.EFI</em> file as good hygiene
</p>

<p>
	 
</p>

<p>
	I also observed that the Tow Boot menu does freeze up occasionally and the only solution is to press the power button. Also you do seem to need to press keys slowly.
</p>

<p>
	 
</p>

<p>
	<strong>Minor issue at log in</strong>
</p>

<p>
	 
</p>

<p>
	I observed that for a brief period the keyboard doesn't work at the log in prompt. 
</p>

<p>
	 
</p>

<p>
	The speakers give their normal tick sound and the cursor stops flashing - which presents like the system has frozen. I found that pressing the power button causes the system to gracefully shut down - so the system hasn't locked up. 
</p>

<p>
	 
</p>

<p>
	Be patient and a moment or two later, the cursor starts flashing again and the keyboard works. I dont know what is causing this behavior but perhaps someone else is interested to dive in to it.
</p>

<p>
	 
</p>

<p>
	<strong>Apt update and beyond</strong>
</p>

<p>
	 
</p>

<p>
	With the system booted and logged in, i ran updates and rebooted. Things continued to work properly
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">50474</guid><pubDate>Thu, 13 Mar 2025 18:19:01 +0000</pubDate></item><item><title>Current status on Pinebook Pro</title><link>https://testforum.armbian.com/topic/50355-current-status-on-pinebook-pro/</link><description><![CDATA[<p>
	What is the current status of Pinebook Pro?
</p>

<p>
	 
</p>

<p>
	I see there were Pinebook-Pro-specific install images for older version of Armbian, but there doesn't appear to be any for more recent versions, and currently, the download page points to (non-machine-specific?) UEFI install images.  Is this a transition that was discussed/announced, and can I read the discussion/announcement in archives somewhere?
</p>

<p>
	 
</p>

<p>
	Also, does anyone have any installation/testing reports?  Is 25.02 known to work on the Pinebook Pro?
</p>

<p>
	 
</p>

<p>
	I've tried a few different times to create a Armbian SDCard for my Pinebook Pro.  I've only had one success, one one of my early attempts.  Unfortunately, I did not take very good notes, and I've lost track of which downloaded image file I used to create it.  I still have the successfully-created SDCard, and it still works, but I haven't been able to create another.  When I inspect the contents of the good SDCard, it appears to be 24.8.1, and it boots via GRUB, but I'm not sure if it was made from a PinebookPro-specific image or a UEFI image.
</p>

<p>
	 
</p>

<p>
	There's plenty more testing I could do on my own -- my supply of SDCards is running low, and I should buy a few more, and in an assortment of sizes (successful SDCard was 32GB, some of the most recent attempts (which failed) were to a 256GB SDcard)
</p>
]]></description><guid isPermaLink="false">50355</guid><pubDate>Sat, 08 Mar 2025 05:59:01 +0000</pubDate></item><item><title>Armbian 25.2.1 on Pinebook Pro - "Error: Not a regular file" on boot</title><link>https://testforum.armbian.com/topic/50047-armbian-2521-on-pinebook-pro-error-not-a-regular-file-on-boot/</link><description><![CDATA[<p>
	Last week installed Armbian for the first time on my Pinebook Pro that was basically bricked from Manjaro. Everything worked great! Audio is a little weak, but will look into that later.
</p>

<p>
	 
</p>

<p>
	Today I pulled down the 25.2.1/6.12.16 update. On booting in Grub, I now get a message "Loading Device Tree Blob...", followed by "Error: not a regular file Press any key to continue". The boot then continues after a bit, and system seems to work fine from a user perspective after that (posting this from the machine). But there are some rockchip-pcie, rk3399-dmc-freq and brcmf errors in the armbianmonitor output (attached url) .
</p>

<p>
	 
</p>

<p>
	I'm an Armbian noob, so dunno if the errors were there on the previous version. The 25.2.1 install re-wrote the grub entries so I don't have the previous kernel to boot into to do any debugging, but it used to boot cleanly before the update.  Wondering if there is a known situation here, before I dig into the whole <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> thing. Thanks!
</p>
]]></description><guid isPermaLink="false">50047</guid><pubDate>Tue, 25 Feb 2025 06:27:18 +0000</pubDate></item><item><title>initramfs-tools issue "unsupported architecture" unable to write to uboot</title><link>https://testforum.armbian.com/topic/33521-initramfs-tools-issue-unsupported-architecture-unable-to-write-to-uboot/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	unfortunatelly I post again, because of the latest problem with broken install of initramfs .... The system is unable to write it to uboot and gives the error about unsupported architecure. Every standard commands are probed, without result. it comes always the same error.
</p>

<p>
	 
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			update-initramfs: Generating /boot/initrd.img-6.6.2-edge-rockchip64<br />
			update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.6.2-edge<br />
			-rockchip64
		</p>

		<p>
			Invalid architecture, supported are:<br />
			    alpha            Alpha<br />
			    arc              ARC<br />
			    arm              ARM<br />
			    arm64            AArch64<br />
			    avr32            AVR32<br />
			    blackfin         Blackfin<br />
			    ia64             IA64<br />
			    invalid          Invalid ARCH<br />
			    m68k             M68K<br />
			    microblaze       MicroBlaze<br />
			    mips             MIPS<br />
			    mips64           MIPS 64 Bit<br />
			    nds32            NDS32<br />
			    nios2            NIOS II<br />
			    or1k             OpenRISC 1000<br />
			    powerpc          PowerPC<br />
			    riscv            RISC-V<br />
			    s390             IBM S390<br />
			    sandbox          Sandbox<br />
			    sh               SuperH<br />
			    sparc            SPARC<br />
			    sparc64          SPARC 64 Bit<br />
			    x86              Intel x86<br />
			    x86_64           AMD x86_64<br />
			    xtensa           Xtensa
		</p>

		<p>
			Error: Invalid architecture<br />
			Usage: mkimage -l image<br />
			          -l ==&gt; list image header information<br />
			       mkimage [-x] -A arch -O os -T type -C comp -a addr -e ep -n name -d data_<br />
			file[:data_file...] image<br />
			          -A ==&gt; set architecture to 'arch'<br />
			          -O ==&gt; set operating system to 'os'<br />
			          -T ==&gt; set image type to 'type'<br />
			          -C ==&gt; set compression type 'comp'<br />
			          -a ==&gt; set load address to 'addr' (hex)<br />
			          -e ==&gt; set entry point to 'ep' (hex)<br />
			          -n ==&gt; set image name to 'name'<br />
			          -d ==&gt; use image data from 'datafile'<br />
			          -x ==&gt; set XIP (execute in place)<br />
			       mkimage [-D dtc_options] [-f fit-image.its|-f auto|-F] [-b &lt;<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>&gt; [-b &lt;<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
			&gt;]] [-E] [-B size] [-i &lt;ramdisk.cpio.gz&gt;] fit-image<br />
			           &lt;<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>&gt; file is used with -f auto, it may occur multiple times.<br />
			          -D =&gt; set all options for device tree compiler<br />
			          -f =&gt; input filename for FIT source<br />
			          -i =&gt; input filename for ramdisk file<br />
			          -E =&gt; place data outside of the FIT structure<br />
			          -B =&gt; align size in hex for FIT structure and header<br />
			Signing / verified boot options: [-k keydir] [-K <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>] [ -c &lt;comment&gt;] [-p addr]<br />
			[-r] [-N engine]<br />
			          -k =&gt; set directory containing private keys<br />
			          -K =&gt; write public keys to this .<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> file<br />
			          -G =&gt; use this signing key (in lieu of -k)<br />
			          -c =&gt; add comment in signature node<br />
			          -F =&gt; re-sign existing FIT image<br />
			          -p =&gt; place external data at a static position<br />
			          -r =&gt; mark keys used as 'required' in <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr><br />
			          -N =&gt; openssl engine to use for signing<br />
			       mkimage -V ==&gt; print version information and exit<br />
			Use '-T list' to see a list of available image types<br />
			run-parts: /etc/initramfs/post-update.d//99-uboot exited with return code 1<br />
			dpkg: error processing package initramfs-tools (--configure):<br />
			 installed initramfs-tools package post-installation script subprocess returned<br />
			error exit status 1<br />
			Errors were encountered while processing:<br />
			 initramfs-tools<br />
			E: Sub-process /usr/bin/dpkg returned an error code (1)
		</p>
	</div>
</blockquote>

<p>
	 
</p>
]]></description><guid isPermaLink="false">33521</guid><pubDate>Mon, 29 Jan 2024 10:57:02 +0000</pubDate></item><item><title>keyboard- is it software issue?</title><link>https://testforum.armbian.com/topic/47099-keyboard-is-it-software-issue/</link><description><![CDATA[<p>
	Hello,<br />
	Recently I have upgraded Armbian on my PBP (w/o kernel). My current kernel is 5.10.60 #21.08.1.<br />
	<br />
	I know, it's old but the newer only makes PBP unusable at all - black screen on boot.<br />
	<br />
	My current issue concerns the PBP keyboard.<br />
	Some keys started generating weird outputs. I have never faced with something like that.<br />
	<br />
	When I press 'q' - output is - aq2468<br />
	x - zxetuj<br />
	c - cfghk<br />
	d - DWRI<br />
	1 - the screen is dimming<br />
	<br />
	I have no idea if this is software or hardware issue. The computer was on the shelf. Nothing has happened to it physically.<br />
	<br />
	After years of fighting with this crap :( - I want to be sure if that is the last straw to put this computer to the garbage or maybe I can fix it.<br />
	<br />
	If I connect an external keyboard there is no issue.<br />
	<br />
	 
</p>
]]></description><guid isPermaLink="false">47099</guid><pubDate>Fri, 15 Nov 2024 12:41:18 +0000</pubDate></item><item><title>Pinebook PRO does not boot Armbian_22.08.1_Pinebook-pro_bullseye_current_5.15.63.img</title><link>https://testforum.armbian.com/topic/23605-pinebook-pro-does-not-boot-armbian_22081_pinebook-pro_bullseye_current_51563img/</link><description><![CDATA[<p>
	Hi,<br />
	<br />
	I put the image on an SD card, but the machine fails to boot.  Looking at the serial console, it just sits in a loop with the CPU constantly resetting after an exception.  Serial console log is attached.
</p>

<p>
	 
</p>

<p>
	Regards,
</p>

<p>
	 
</p>

<p>
	Dianne.<br />
	<br />
	 
</p>

<p>
	<a class="ipsAttachLink" data-fileext="txt" data-fileid="9395" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=9395&amp;key=50c534de91ef49b43820df7d3dd8993c" rel="">bootloop.txt</a>
</p>
]]></description><guid isPermaLink="false">23605</guid><pubDate>Wed, 21 Sep 2022 19:09:00 +0000</pubDate></item><item><title>PinebookPro all armbian versions broken</title><link>https://testforum.armbian.com/topic/24316-pinebookpro-all-armbian-versions-broken/</link><description><![CDATA[<p>
	In fact all versions since kernel 5.10.?? are broken and stop at u-boot. Better the Uboot shall dive down and never ever come up to bother us.
</p>

<p>
	Finally I managed to install bullseye by using a buster image, deactivtion kernel upgrade and removed the armbian.list from /etc/apt/
</p>

<p>
	Then I changed source list from buster to bullseye
</p>

<p>
	 
</p>

<p>
	apt update
</p>

<p>
	apt upgrade -y
</p>

<p>
	apt full-upgrade -y
</p>

<p>
	 
</p>

<p>
	thats it.
</p>

<p>
	 
</p>

<p>
	And i  is really a shame to fool the community by uploading untested software.
</p>
]]></description><guid isPermaLink="false">24316</guid><pubDate>Tue, 08 Nov 2022 14:55:21 +0000</pubDate></item><item><title>Pinebook Pro Armbian from SD doesn't boot after apt upgrade</title><link>https://testforum.armbian.com/topic/28902-pinebook-pro-armbian-from-sd-doesnt-boot-after-apt-upgrade/</link><description><![CDATA[<p>
	I bought a Pinebook Pro two weeks ago. It came with Manjaro KDE preinstalled on <abbr title="embedded MultiMediaCard">EMMC</abbr>. I wanted to try out Armbian, so I downloaded the Bookworm XFCE image from May 27th. In order to get the SD booted, I first flashed Tow-Boot for Pinebook Pro (pine64-pinebookPro-2021.10-005.tar.xz) from github Tow-Boot to the SPI. Then during boot after pressing ESC the menu lets you select the SD card for boot. The first boot to Armbian worked well. I could set up user, timezone and everything. The XFCE desktop looks very clean with a reasonable selection of software. Well done, team!
</p>

<p>
	 
</p>

<p>
	But after I upgrade the system with apt update &amp; upgrade, the next time the machine is booted and SD card is selected, armbian won't boot anymore <span class="ipsEmoji">😞</span>
</p>

<p>
	<br>
	The upgrade seem to have broken something. I tried it twice, the second time freezed the kernel-upgrades in the armbian-config tool prior to upgrading it. Didn't help. Manjaro from <abbr title="embedded MultiMediaCard">EMMC</abbr> still boots ok.
</p>

<p>
	 
</p>

<p>
	Attached is a screenshot of the failed boot process, after I selected SD card to boot on the Tow Boot menu.
</p>

<p><a href="https://testforum.armbian.com/uploads/monthly_2023_06/pbpro_boot.png.220205a3cc57348fd007643a16c4f382.png" class="ipsAttachLink ipsAttachLink_image"><img data-fileid="10471" src="https://testforum.armbian.com/uploads/monthly_2023_06/pbpro_boot.png.220205a3cc57348fd007643a16c4f382.png" width="514" class="ipsImage ipsImage_thumbnailed" alt="pbpro_boot.png" loading="lazy" height="585.96"></a></p>]]></description><guid isPermaLink="false">28902</guid><pubDate>Wed, 21 Jun 2023 18:16:03 +0000</pubDate></item><item><title>Getting Armbian working on second batch (Mid 2022) PineBook Pro</title><link>https://testforum.armbian.com/topic/27598-getting-armbian-working-on-second-batch-mid-2022-pinebook-pro/</link><description><![CDATA[<p>
	I slowly convinced myself that I wanted a PineBook Pro, some time after the first production run.  But then COVID, parts shortages, etc. happened and they were not available again until about mid-2022.  But when they were, I decided to snap one up.
</p>

<p>
	 
</p>

<p>
	And since then I have not been able to get it to boot Armbian.  It came from the factory with Manjaro, which for me being a Debian guy, might as well be useless.  So the PBP sat around collecting dust.
</p>

<p>
	 
</p>

<p>
	Since then I have tried a few times to get it to work.  I read many forum posts, tried some things.  I won't document all that in detail.
</p>

<p>
	 
</p>

<p>
	In this post, I will continue from where I left off <a href="https://testforum.armbian.com/topic/20222-pinebook-pro-install-instructions/?do=findComment&amp;comment=162619" rel="">here</a>.  However to summarize, that was about comparing <abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr>/<abbr title="Device tree source"><abbr title="Device tree source">DTS</abbr></abbr> files to Kali, which supposedly works.  That may become useful later, but I don't think that's the main problem.
</p>

<p>
	 
</p>

<p>
	I think that the main problem is that this new batch came from the factory with no bootloader flashed to the included <a href="https://wiki.pine64.org/wiki/Pinebook_Pro_SPI" rel="external nofollow">SPI</a> flash chip.  This is a problem on PineBook Pro because the RK3399 has a kind of weird boot order: SPI, <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">eMMC</abbr></abbr>, SD card.  Therefore, if you just put in some SD card you flashed, it still boots from the factory Manjaro from the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">eMMC</abbr></abbr>.  Whatever bootloader they are using also apparently will not recognize an otherwise working Armbian image on an SD card.
</p>

<p>
	 
</p>

<p>
	Now, because of the weird boot situation, there is supposed to be a switch to turn off <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">eMMC</abbr></abbr>.  However this did not work for me.  Which means one of 2 things:
</p>

<p>
	 
</p>

<ol>
	<li>
		The switch does not work.  I read at least one other person saying this.  Also on the new revision, it's in a slightly different place than the old revision (may be a clue, maybe not).
	</li>
	<li>
		I simply had a bad Armbian image (which I had burned to sd card) that would not boot for whatever reason.[0]
	</li>
</ol>

<p>
	 
</p>

<p>
	But let's put that aside for a moment.  As I still think the main problem is the (empty) SPI.  And that will be the easiest/best path forward.
</p>

<p>
	 
</p>

<p>
	I confirmed the 'blank SPI' theory 2 different ways.  First, as mentioned in a follow-up to the linked post (4 paragraphs above):
</p>

<p>
	 
</p>

<p>
	As Martijn Braam states <a href="https://blog.brixit.nl/why-i-left-pine64/" rel="external nofollow">here</a><span>:</span>
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			But the Pinebook Pro has a similar boot configuration, and thus a similar problem. Some time after the PinePhone Pro was shipped, it was time for a new Pinebook Pro batch, and this discussion started again. The same arguments were re-iterated by all sides all over again, and the discussion went nowhere. PINE64 representatives went so far as to say, quote, "people who want [an SPI chip] can just solder one on". This batch of Pinebook Pros has ended up shipping without Tow-Boot flashed.
		</p>
	</div>
</blockquote>

<p>
	 
</p>

<p>
	Of course, I like to <s>beat a horse until it's really dead</s> be thorough in my investigations, so today I wasted a lot of time[1] verifying that this indeed was the case.  I did so by dd'ing the /dev/mtd0 block device into a file[2].  When I examined the file, it contained all FF, and also it is about 16 MiB in size.  To me this confirms that indeed, the SPI on the new batch comes from the factory empty.
</p>

<p>
	 
</p>

<p>
	So what is next?  I keep reading that the only people who had success first had to install something like tow-boot to the SPI.  That will be my next step.  But before I flashed anything to SPI, I wanted to see what really came from the factory (which I did above).
</p>

<p>
	 
</p>

<p>
	I will continue to document my progress whenever time allows for me to work on this.
</p>

<p>
	 
</p>

<p>
	[0] Once I got the bootloader situation sorted, I later used this same image (on the SD card) to boot and install Armbian, so I do not think this was the case.
</p>

<p>
	 
</p>

<p>
	[1] In the end the solution was simple.  But first I wasted a lot of time trying to get rkdeveloptool working in Manjaro on the PBP.  Only to realize it's intended to be used from a second machine to read the SPI flash via USB in maskrom mode.  Anyway, lesson learned.
</p>

<p>
	 
</p>

<p>
	[2] I tried to attach it but maybe it's too big.
</p>
]]></description><guid isPermaLink="false">27598</guid><pubDate>Sun, 26 Mar 2023 23:04:12 +0000</pubDate></item><item><title>Armbian 24.5.1 Noble Gnome + trunk MESA/VPU</title><link>https://testforum.armbian.com/topic/39971-armbian-2451-noble-gnome-trunk-mesavpu/</link><description><![CDATA[<p>
	I tested
</p>

<p>
	Armbian 24.5.1 Noble Gnome + trunk MESA/<abbr title="Video processing unit (encoding/decoding)">VPU</abbr><br />
	Kernel: 6.6.31, Size: 1.3GB, Release date: May 25, 2024
</p>

<p>
	on my PBP (sd card).
</p>

<p>
	What does not work:
</p>

<p>
	- Sound
</p>

<p>
	- HDMI Monitor on PB dock
</p>

<p>
	 
</p>

<p>
	Thank you
</p>
]]></description><guid isPermaLink="false">39971</guid><pubDate>Mon, 27 May 2024 05:28:48 +0000</pubDate></item><item><title>kernel 6.6.2 and some issues</title><link>https://testforum.armbian.com/topic/39474-kernel-662-and-some-issues/</link><description><![CDATA[<p>
	Hi
</p>

<p>
	Referring to <a href="https://testforum.armbian.com/topic/32667-usb-c-port-doesnt-work-on-pinebook-pro-after-the-latest-update-on-kernel-662/" rel="">https://forum.armbian.com/topic/32667-usb-c-port-doesnt-work-on-pinebook-pro-after-the-latest-update-on-kernel-662/</a> USB -C is not working. I also tried 6.7.4-edge with no success. Looking for a solution G??gle found this: <span><a href="https://www.linuxquestions.org/questions/slackware-arm-108/pinebook-pro-usb-c-port-not-working-after-kernel-upgrade-4175732886/#google_vignette" rel="external nofollow">https://www.linuxquestions.org/questions/slackware-arm-108/pinebook-pro-usb-c-port-not-working-after-kernel-upgrade-4175732886/#google_vignette</a> referring to Megi</span>`s 6.7 kernel. The link was outdated, but the <a href="https://xff.cz/kernels" rel="external nofollow">base</a> worked and had versions 6.8 and 6.9.
</p>

<p>
	Tried both with a lot of success: USB-C working and the HDMI monitor output as well as Gigabit Ethernet work like a charm again.  <span class="ipsEmoji">😄</span>
</p>

<p>
	The only small issue remaining: Sound is not working (no analog or digital.)
</p>

<p>
	 
</p>

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

<p>
	 
</p>

<p>
	(I had a small issue following Megi`s Readme: The board.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> should replace rk3399-pinebook-pro.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> in one of the existing <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> trees. I used <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>-6.7.4-edge-rockchip64.)
</p>

<p>
	 
</p>

<p>
	any ideas about the sound issue are greatly appreciated.
</p>

<p>
	 
</p>

<p>
	Sepp
</p>
]]></description><guid isPermaLink="false">39474</guid><pubDate>Mon, 20 May 2024 14:23:27 +0000</pubDate></item><item><title>No battery or wifi GUI in Jammy KDE. Any fix?</title><link>https://testforum.armbian.com/topic/37229-no-battery-or-wifi-gui-in-jammy-kde-any-fix/</link><description><![CDATA[<p>
	Also the function keys don't seem to work either. Any fix?
</p>
]]></description><guid isPermaLink="false">37229</guid><pubDate>Thu, 04 Apr 2024 20:29:32 +0000</pubDate></item><item><title>USB C port doesn't work on pinebook pro after the latest update on kernel 6.6.2</title><link>https://testforum.armbian.com/topic/32667-usb-c-port-doesnt-work-on-pinebook-pro-after-the-latest-update-on-kernel-662/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	as already mentioned in topic USB C port doesn't work after upgrading to the latest kernel 6.6.2 .
</p>

<p>
	The previous problem with not working left usb 3 port persist no more. Everything is fine. As I remember , before update the usb c port has worked with the adapter and the devices like mouse, usb flash etc. Now it doesn't work any more, furthermore it gives no signal of life. There is 0 amps current measured, also dmesg -W gives no output at all after plugging in the device.
</p>

<p>
	 
</p>

<p>
	PS: I was unable to upload the report file, also the service paste.armbian.com doesn't work at the moment.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">32667</guid><pubDate>Tue, 19 Dec 2023 13:10:32 +0000</pubDate></item><item><title>encrypted Root disk - be careful with upgrading kernel</title><link>https://testforum.armbian.com/topic/33154-encrypted-root-disk-be-careful-with-upgrading-kernel/</link><description><![CDATA[<p>
	!!! Warning !!!: Think twice before you upgrade kernel on your PineBook Pro.<br />
	<br />
	After years unfortunately I decided to unlock upgrades Armbian Kernels and upgraded kernel to the newest one (current) - 5.15.93.<br />
	<br />
	After reboot Armbian couldn't find my encrypted root disk and booting ended every time in (initramfs).<br />
	<br />
	I installed again kernel 5.10.60 #21.08.1 and Armbian finds my encrypted disk again. Of course still there is no information that I have to enter the password to unlock disk but only black screen. Happily I know that I have to enter the password when the screen is black.<br />
	<br />
	Every upgrade of Armbian is connected with a dose of stress that I'll have to fix my computer. I thought that every following kernel should fix errors not create them.
</p>
]]></description><guid isPermaLink="false">33154</guid><pubDate>Wed, 10 Jan 2024 10:26:03 +0000</pubDate></item><item><title>Problem with USB port on Pinebook pro</title><link>https://testforum.armbian.com/topic/31416-problem-with-usb-port-on-pinebook-pro/</link><description><![CDATA[<p>
	Hello all,
</p>

<p>
	I got a problem after new update of armbian firmware through your own module (script). The left USB port on pinebook pro has  stoped working at all. Before that was occasionaly after 6 -7 boot ups only one time not working  (it is used for mouse). Now after x rebooting it doesnt work at all. The right USB port works without problems. On the left, also USB flash drive doesn't work. No idea, what could it be? Before, as already said, it has worked in 90%. Before firmware upgrade.
</p>
]]></description><guid isPermaLink="false">31416</guid><pubDate>Mon, 06 Nov 2023 12:41:43 +0000</pubDate></item><item><title>Pinebook Pro install instructions?</title><link>https://testforum.armbian.com/topic/20222-pinebook-pro-install-instructions/</link><description><![CDATA[<p>
	I know for sure that booting from an sd card and then using dd to write the uncompressed image to the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> device isn't what works. I'm talking about Armbian_22.02.1_Pinebook-pro_focal_current_5.15.25_xfce_desktop.img here. 
</p>

<p>
	 
</p>

<p>
	Because that essentially bricked my PBP. I have the little adapter to connect the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> to a usd slot, and using balena etcher to write to that isn't it either. 
</p>

<p>
	 
</p>

<p>
	the uboot in that image prevents booting from sd automatically as well, and i didn't find any uboot documentation that made it clear how to manually boot from sd, though i did hook up a serial console. This is what it said. The LED never turned green, the display flashes once but displays no images or text. 
</p>

<p>
	 
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			U-Boot TPL 2021.07-armbian (Feb 27 2022 - 08:51:28)<br />
			Channel 0: LPDDR4, 50MHz<br />
			BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB<br />
			Channel 1: LPDDR4, 50MHz<br />
			BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB<br />
			256Bstride<br />
			lpddr4_set_rate: change freq to 400000000 mhz 0, 1<br />
			lpddr4_set_rate: change freq to 800000000 mhz 1, 0<br />
			Trying to boot from BOOTROM<br />
			Returning to boot ROM...<br />
			<br />
			U-Boot SPL 2021.07-armbian (Feb 27 2022 - 08:51:28 +0000)<br />
			Trying to boot from MMC1<br />
			NOTICE: BL31: v2.5(release):c1588782-dirty<br />
			NOTICE: BL31: Built : 08:51:19, Feb 27 2022<br />
			<br />
			<br />
			U-Boot 2021.07-armbian (Feb 27 2022 - 08:51:28 +0000)<br />
			<br />
			<abbr title="System On a Chip"><abbr title="System On a Chip">SoC</abbr></abbr>: Rockchip rk3399<br />
			Reset cause: POR<br />
			Model: Pine64 Pinebook Pro<br />
			DRAM:  3.9 GiB<br />
			PMIC:  RK808<br />
			MMC:  mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0<br />
			Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB<br />
			*** Warning - bad CRC, using default environment<br />
			<br />
			In:    serial<br />
			Out:  serial<br />
			Err:  serial<br />
			Model: Pine64 Pinebook Pro<br />
			Net:  No ethernet found.<br />
			starting USB...<br />
			Bus usb@fe380000: USB EHCI 1.00<br />
			Bus usb@fe3a0000: USB OHCI 1.0<br />
			Bus usb@fe3c0000: USB EHCI 1.00<br />
			Bus usb@fe3e0000: USB OHCI 1.0<br />
			Bus dwc3: usb maximum-speed not found<br />
			Register 2000140 NbrPorts 2<br />
			Starting the controller<br />
			USB XHCI 1.10<br />
			Bus dwc3: usb maximum-speed not found<br />
			Register 2000140 NbrPorts 2<br />
			Starting the controller<br />
			USB XHCI 1.10<br />
			scanning bus usb@fe380000 for devices... 1 USB Device(s) found<br />
			scanning bus usb@fe3a0000 for devices... 2 USB Device(s) found<br />
			scanning bus usb@fe3c0000 for devices... 3 USB Device(s) found<br />
			scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found<br />
			scanning bus dwc3 for devices... 1 USB Device(s) found<br />
			scanning bus dwc3 for devices... 1 USB Device(s) found<br />
			      scanning usb for storage devices... 0 Storage Device(s) found<br />
			Hit any key to stop autoboot:  0<br />
			<br />
			Device 0: unknown device<br />
			Card did not respond to voltage select! : -110<br />
			switch to partitions #0, OK<br />
			mmc0(part 0) is current device<br />
			Scanning mmc 0:1...<br />
			Found U-Boot script /boot/boot.scr<br />
			3185 bytes read in 20 ms (155.3 KiB/s)<br />
			## Executing script at 00500000<br />
			Boot script loaded from mmc 0<br />
			157 bytes read in 15 ms (9.8 KiB/s)<br />
			14235892 bytes read in 637 ms (21.3 MiB/s)<br />
			30083584 bytes read in 1311 ms (21.9 MiB/s)<br />
			82621 bytes read in 38 ms (2.1 MiB/s)<br />
			2698 bytes read in 32 ms (82 KiB/s)<br />
			Applying kernel provided DT fixup script (rockchip-fixup.scr)<br />
			## Executing script at 09000000<br />
			Moving Image from 0x2080000 to 0x2200000, end=3f50000<br />
			## Loading init Ramdisk from Legacy Image at 06000000 ...<br />
			  Image Name:  uInitrd<br />
			  Image Type:  AArch64 Linux RAMDisk Image (gzip compressed)<br />
			  Data Size:    14235828 Bytes = 13.6 MiB<br />
			  Load Address: 00000000<br />
			  Entry Point:  00000000<br />
			  Verifying Checksum ... OK<br />
			## Flattened Device Tree blob at 01f00000<br />
			  Booting using the fdt blob at 0x1f00000
		</p>
	</div>
</blockquote>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">20222</guid><pubDate>Wed, 06 Apr 2022 05:19:56 +0000</pubDate></item><item><title>Armbian 22.08 booting from emmc</title><link>https://testforum.armbian.com/topic/24617-armbian-2208-booting-from-emmc/</link><description><![CDATA[<p>
	Thank you all for this series of notes.  I have been operating Armbian 22.08 successfully using the sd card on my PBP and like it BUT I would like to boot from emm.  I have tried dozens of ways to install it to no avail.  Seems to be associated with the rootdev=UUID=...
</p>

<p>
	If I use the UUID provided in the Armbian-install then I can boot from emm but it ends up mounting and running from the SD partition.
</p>

<p>
	 
</p>

<p>
	Is there any code that can be inserted into the /boot/armbianEnv.txt file that would provide better diagnostics?  To me it appears as if the emm partitions UUID is not available at boot time.
</p>

<p>
	 
</p>

<p>
	Thanks,
</p>

<p>
	 
</p>

<p>
	Carl
</p>
]]></description><guid isPermaLink="false">24617</guid><pubDate>Thu, 24 Nov 2022 02:59:59 +0000</pubDate></item><item><title>bluetooth problem</title><link>https://testforum.armbian.com/topic/24259-bluetooth-problem/</link><description><![CDATA[<p>
	hello guys
</p>

<p>
	bluetooth stopped working
</p>

<p>
	 
</p>

<p>
	uname -a<br />
	Linux pinebook 5.15.76-rockchip64 #22.08.8 SMP PREEMPT Sun Oct 30 10:57:32 CET 2022 aarch64 GNU/Linux
</p>

<p>
	 
</p>

<p>
	dmesg | grep Bluetooth<br />
	[    9.863147] Bluetooth: Core ver 2.22<br />
	[    9.863249] Bluetooth: HCI device and connection manager initialized<br />
	[    9.863261] Bluetooth: HCI socket layer initialized<br />
	[    9.863266] Bluetooth: L2CAP socket layer initialized<br />
	[    9.863276] Bluetooth: SCO socket layer initialized<br />
	[    9.972130] Bluetooth: HCI UART driver ver 2.3<br />
	[    9.972144] Bluetooth: HCI UART protocol H4 registered<br />
	[    9.972147] Bluetooth: HCI UART protocol BCSP registered<br />
	[    9.972218] Bluetooth: HCI UART protocol LL registered<br />
	[    9.972222] Bluetooth: HCI UART protocol ATH3K registered<br />
	[    9.972261] Bluetooth: HCI UART protocol Three-wire (H5) registered<br />
	[    9.972460] Bluetooth: HCI UART protocol Intel registered<br />
	[    9.972609] Bluetooth: HCI UART protocol Broadcom registered<br />
	[    9.972646] Bluetooth: HCI UART protocol QCA registered<br />
	[    9.972649] Bluetooth: HCI UART protocol AG6XX registered<br />
	[    9.972688] Bluetooth: HCI UART protocol Marvell registered<br />
	[   12.322372] Bluetooth: hci0: command 0xfc18 tx timeout<br />
	[   20.450331] Bluetooth: hci0: BCM: failed to write update baudrate (-110)<br />
	[   20.450363] Bluetooth: hci0: Failed to set baudrate<br />
	[   20.799400] Bluetooth: BNEP (Ethernet Emulation) ver 1.3<br />
	[   20.799435] Bluetooth: BNEP filters: protocol multicast<br />
	[   20.799461] Bluetooth: BNEP socket layer initialized
</p>

<p>
	 
</p>

<p>
	blueman-manager<br />
	blueman-manager 14.32.28 ERROR    Manager:147 on_dbus_name_appeared: Default adapter not found,<br />
	blueman-manager 14.32.28 ERROR    Manager:151 on_dbus_name_appeared: No adapter(s) found, exitin
</p>

<p>
	 
</p>

<p>
	stopped working after last system update
</p>
]]></description><guid isPermaLink="false">24259</guid><pubDate>Fri, 04 Nov 2022 09:33:05 +0000</pubDate></item><item><title>Pinebook Pro working with generic arm64 UEFI image</title><link>https://testforum.armbian.com/topic/24201-pinebook-pro-working-with-generic-arm64-uefi-image/</link><description><![CDATA[<p>
	Hello!
</p>

<p>
	 
</p>

<p>
	I don't really have a question, but just wanted to report I tried out the generic UEFI arm64 image on a Pinebook Pro, and it installed <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> and booted just fine!
</p>

<p>
	 
</p>

<p>
	This was possible because I had installed Tow-Boot to the SPI flash, which supports UEFI booting.
</p>

<p>
	 
</p>

<p>
	I had tried using the Pinebook Pro build of armbian, which worked fine when booting off the sdcard, but installing it to the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> wasn't working.
</p>

<p>
	 
</p>

<p>
	I'm using Tow-Boot 2021.10 then arbmian image Armbian_22.08.7_Uefi-arm64_jammy_current_5.15.74 .
</p>

<p>
	 
</p>

<p>
	There's a few rough edges in the grub menu, but it boots the OS off the <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> just fine.
</p>

<p>
	 
</p>

<p>
	Should the be mentioned on the Pinebook Pro page? Personally, having Tow-Boot installed to SPI is all around a much more "normal" laptop experience, so it seems like a good idea in general.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">24201</guid><pubDate>Sun, 30 Oct 2022 23:50:06 +0000</pubDate></item><item><title>Pinebook Pro Display USB-C 5.X Kernel</title><link>https://testforum.armbian.com/topic/16291-pinebook-pro-display-usb-c-5x-kernel/</link><description><![CDATA[<p>
	Does anyone know the status of getting display to work over USB-C on Pinebook Pro?  Thanks!
</p>
]]></description><guid isPermaLink="false">16291</guid><pubDate>Sat, 05 Dec 2020 00:42:17 +0000</pubDate></item><item><title>Pinebook Pro</title><link>https://testforum.armbian.com/topic/12332-pinebook-pro/</link><description><![CDATA[<p>
	Is there any plan to port to the Pinebook Pro?
</p>]]></description><guid isPermaLink="false">12332</guid><pubDate>Mon, 02 Dec 2019 17:50:15 +0000</pubDate></item><item><title>USB 3 capped to USB 2 speed on pinebook pro</title><link>https://testforum.armbian.com/topic/14135-usb-3-capped-to-usb-2-speed-on-pinebook-pro/</link><description><![CDATA[<p>
	I have a latest ubuntu armbian on a pinebook pro, I use an DUB-1312 gigabit to usb 3.0 for wired connection, I plug it in the usb 3 port of the pinebook but I run iperf I see the same speeds as the other usb 2 port.
</p>

<pre class="ipsCode">
$ iperf3 -c 192.168.0.34
Connecting to host 192.168.0.34, port 5201
[  5] local 192.168.0.33 port 48140 connected to 192.168.0.34 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  41.7 MBytes   350 Mbits/sec    0    298 KBytes </pre>

<p>
	(More thread only made results worst)
</p>

<p>
	While the same DUB-1312 plugged in my amd64 ubuntu computer achieve 950Mb/s easly (capped by the other testing device (an odroid-hc1)).
</p>

<p>
	Same thing for a random usb 3.1 key I have laying around (so its very unlikely a problem with the ethernet over usb driver).
</p>

<p>
	 
</p>

<p>
	It seems to me that the usb 3 port is only being used with usb 2.
</p>

<p>
	 
</p>

<p>
	Am I the only with this issue ?
</p>
]]></description><guid isPermaLink="false">14135</guid><pubDate>Fri, 22 May 2020 16:03:19 +0000</pubDate></item><item><title>hal_h264d_api: Assertion failed at hal_h264d_init ... hard mode error</title><link>https://testforum.armbian.com/topic/12382-hal_h264d_api-assertion-failed-at-hal_h264d_init-hard-mode-error/</link><description><![CDATA[<p>
	I'm trying to make a script to run on the Pinebook Pro and I'm having mpp errors while trying to leverage it in ffmpeg. I'm not sure what might be causing the error but according to <a href="https://testforum.armbian.com/topic/4806-the-vpu-driver/?do=findComment&amp;comment=36806" rel="">THIS THREAD</a> , compiling with `-DHAVE_DRM='ON` should resolve it (which it doesn't in my case). I'm using the 20171218 release of rkmpp and ffmpeg 4.2. Any help is appreciated.<br><br>
	mmp build:
</p>

<pre class="ipsCode">
cmake -DHAVE_DRM='ON' -DCMAKE_BUILD_TYPE:STRING='Release' -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ -DRKPLATFORM:BOOL='ON' -Wno-dev \ -DAVSD_TEST:BOOL='OFF' -DH264D_TEST:BOOL='OFF' -DH265D_TEST:BOOL='OFF' -DJPEGD_TEST:BOOL='OFF' \ -DMPI_DEC_TEST:BOOL='OFF' -DMPI_ENC_TEST:BOOL='OFF' -DMPI_RC2_TEST:BOOL='OFF' \ -DMPI_RC_TEST:BOOL='OFF' -DMPI_TEST:BOOL='OFF' -DMPP_BUFFER_TEST:BOOL='OFF' \ -DMPP_ENV_TEST:BOOL='OFF' -DMPP_INFO_TEST:BOOL='OFF' -DMPP_LOG_TEST:BOOL='OFF' \ -DMPP_MEM_TEST:BOOL='OFF' -DMPP_PACKET_TEST:BOOL='OFF' -DMPP_PLATFORM_TEST:BOOL='OFF' \ -DMPP_TASK_TEST:BOOL='OFF' -DMPP_THREAD_TEST:BOOL='OFF' -DVP9D_TEST:BOOL='OFF' \ -DVPU_API_TEST:BOOL='OFF' .. 
make -j$THREADS
sudo make install</pre>

<p>
	 
</p>

<p>
	ffmpeg build:<br>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">./configure --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-static --enable-gmp \
        --enable-gnutls --enable-libass --enable-libbluray --enable-libcdio --enable-libfdk-aac \
        --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 \
        --enable-libxcb --enable-opencl --enable-libdrm --arch='armv8-a+crc+crypto' \
        --cpu='cortex-a72.cortex-a53' --enable-rkmpp --enable-lto --enable-hardcoded-tables \
        --disable-debug
make -j$THREADS
sudo make install
sudo ldconfig</span></pre>

<p>
	 
</p>

<p>
	error:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo ffmpeg -benchmark -vcodec h264_rkmpp -i demo.mkv -f null -
ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.1.0 (GCC)
  configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-static --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libcdio --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxcb --enable-opencl --enable-libdrm --arch=armv8-a+crc+crypto --cpu=cortex-a72.cortex-a53 --enable-rkmpp --enable-lto --enable-hardcoded-tables --disable-debug 
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, matroska,webm, from 'demo.mkv':
  Metadata:
    COMPATIBLE_BRANDS: iso6avc1mp41
    MAJOR_BRAND     : dash
    MINOR_VERSION   : 0
    ENCODER         : Lavf58.29.100
  Duration: 00:05:13.80, start: -0.007000, bitrate: 2887 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Metadata:
      HANDLER_NAME    : ISO Media file produced by Google Inc.
      DURATION        : 00:05:13.780000000
    Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:05:13.801000000
mpi: mpp version: 
hal_h264d_api: Assertion vcodec_type &amp; ((0x00000200) | (0x00000001) | (0x00000002)) failed at hal_h264d_init:119
hal_h264d_api: hal_h264d_init hard mode error, value=0
hal_h264d_api: Assertion 0 failed at hal_h264d_init:169
mpp_device: mpp_device_init failed to find device for coding 0 type 7
hal_h264d_api: p_hal-&gt;vpu_socket &lt;= 0
mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -2
mpp_hal: mpp_hal_init could not found coding type 7
mpp_dec: mpp_dec_init could not init hal
mpp_rt: NOT found ion allocator
mpp_rt: found drm allocator
mpp: error found on mpp initialization
mpp: WARNING: setup buffer group before decoder init
mpp: command 310002 param 0xaaab0831a360 ret -1
[h264_rkmpp @ 0xaaab0833b720] Failed to assign buffer group (code = -1)
[h264_rkmpp @ 0xaaab0833b720] Failed to initialize RKMPP decoder.
Stream mapping:
  Stream #0:0 -&gt; #0:0 (h264 (h264_rkmpp) -&gt; wrapped_avframe (native))
  Stream #0:1 -&gt; #0:1 (opus (native) -&gt; pcm_s16le (native))
Error while opening decoder for input stream #0:0 : Unknown error occurred
bench: maxrss=23880kB</span></pre>

<p>
	<br>
	 
</p>
]]></description><guid isPermaLink="false">12382</guid><pubDate>Fri, 06 Dec 2019 21:09:51 +0000</pubDate></item></channel></rss>
