<?xml version="1.0"?>
<rss version="2.0"><channel><title>Pine A64 Latest Topics</title><link>https://testforum.armbian.com/forum/244-pine-a64/</link><description>Pine A64 Latest Topics</description><language>en</language><item><title>Pine A64+ latest armbian - CPU 2/3/4 offline?</title><link>https://testforum.armbian.com/topic/59887-pine-a64-latest-armbian-cpu-234-offline/</link><description><![CDATA[<p>
	Hello ,
</p>

<p>
	 
</p>

<p>
	i have used now for some year armbian for this board,
</p>

<p>
	very many thanks for that;
</p>

<p>
	 
</p>

<p>
	lately have updated to newer version Debian Trxiie
</p>

<p>
	and found that "htop" report a higher CPU usage after freshboot (around 50%) whereas previously it sat a 10% probably;
</p>

<p>
	 
</p>

<p>
	now when evoking htop it gives (CPU offline for core 2-3-4)
</p>

<p>
	also nproc report "1" instead of "4"=?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	not sure if this an error ; 
</p>

<p>
	noticed a similar report of nproc also with a build of volumio;
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	thank you very much;
</p>
]]></description><guid isPermaLink="false">59887</guid><pubDate>Sun, 24 May 2026 14:18:41 +0000</pubDate></item><item><title>Lost mipi-dsi display after recent update</title><link>https://testforum.armbian.com/topic/47670-lost-mipi-dsi-display-after-recent-update/</link><description><![CDATA[<p>
	Hi.<br />
	<br />
	I have been running mainline on a Pine64 with mipi-dsi lcd Feiyang display since Focal release.<br />
	<br />
	I default application ran directly on framebuffer without X, with startup log rolling until the application loaded, but after recent update including kernel 6.6.44 the display is completely black, all the way from boot.<br />
	<br />
	I can see that the screen is being identified at boot, but not sure what else to check.<br />
	<br />
	Here are relevant lines from dmesg and modules:
</p>

<p>
	$ dmesg | grep mipi<br />
	[   10.113223] sun6i-mipi-dsi 1ca0000.dsi: Attached device fy07024di26a30d
</p>

<p>
	 
</p>

<p>
	$ lsmod | grep fy0702*<br />
	panel_feiyang_fy07024di26a30d    12288  0
</p>

<p>
	 
</p>

<p>
	Please can anyone say where should I continue checking?<br />
	<br />
	BR
</p>
]]></description><guid isPermaLink="false">47670</guid><pubDate>Wed, 27 Nov 2024 17:20:44 +0000</pubDate></item><item><title>Pine64 PINE A64+ bluetooth - How?</title><link>https://testforum.armbian.com/topic/53801-pine64-pine-a64-bluetooth-how/</link><description><![CDATA[<p>
	I have PINE A64 WIFI 802.11BGN/BLUETOOTH 4.0 MODULE
</p>

<p>
	I can see wifi card but bt is not working
</p>

<p>
	 
</p>

<p>
	Please help me to make this bt module working
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">$ sudo rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
$</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">53801</guid><pubDate>Wed, 16 Jul 2025 11:05:42 +0000</pubDate></item><item><title>Pine64a OctoPrint restore issue?</title><link>https://testforum.armbian.com/topic/53276-pine64a-octoprint-restore-issue/</link><description><![CDATA[<p>
	I've got an Pine64 a that was one of the Kickstarter models.  For a couple of years I've been running OctoPrint on it to run my Qidi i-mates 3d printer.  Recently I decided to update from jammy to noble, before I did that I made a backup of my OctoPrint settings and files through the OctoPrint GUI in case of problems.<br />
	<br />
	I got a really messed inconsistent with all sorts of dependencies errors because the apt dist-upgrade seemed to freeze and after several hours of no movement I rebooted.  As expected it was the mess.  I spent about an hour on fixing dependencies but decided it just wasn't worth it as the only thing running is OctoPrint.<br />
	<br />
	When I went to restore OctoPrint, I got an error message about not enough space.  When I did a df -m , I had plenty of space on the main partition, I posted on the OctoPrint forum and it was pointed out that my /tmp was tiny.  Would anyone have any ideas of what is going on and what I can do to fix it?<br />
	<br />
	Here's the OctoPrint Error:<br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Uploading backup, this can take a while. Please wait... Restoring from backup... Unpacking backup to /tmp/tmpf_d22xwu...Removing temporary unpacked folderError while running restoreTraceback (most recent call last):  File "/home/ageoffri/OctoPrint/lib/python3.12/site-packages/octoprint/plugins/backup/__init__.py", line 1243, in _restore_backup
    zip.extract(member, temp)  File "/usr/lib/python3.12/zipfile/__init__.py", line 1726, in extract
    return self._extract_member(member, path, pwd)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File "/usr/lib/python3.12/zipfile/__init__.py", line 1802, in _extract_member
    shutil.copyfileobj(source, target)  File "/usr/lib/python3.12/shutil.py", line 204, in copyfileobj
    fdst_write(buf)OSError: [Errno 28] No space left on device Restore failed! Chec</span></pre>

<p>
	<br />
	And here's the df -m <span>:</span><br />
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 198 4 195 2% /run
/dev/mmcblk0p1 59861 3078 56137 6% /
tmpfs 988 1 988 1% /dev/shm
tmpfs 5 0 5 0% /run/lock
tmpfs 988 0 988 0% /tmp
/dev/zram1 47 3 41 6% /var/log
tmpfs 198 1 198 1% /run/user/1000</span></pre>

<p>
	<br />
	<br />
	 
</p>
]]></description><guid isPermaLink="false">53276</guid><pubDate>Wed, 25 Jun 2025 14:08:31 +0000</pubDate></item><item><title>[Uart] Unable to connect to ZWave module?</title><link>https://testforum.armbian.com/topic/50050-uart-unable-to-connect-to-zwave-module/</link><description><![CDATA[<p>
	Hello,<br />
	I have an A64 2GB ( kickstarter ) with the zwave module in Uart on which I installed the latest version of armbian ( Armbian 24.11.1 Bookworm Minimal ) kernel 6.6.62-current-sunxi64<br />
	I have activated the Uart2 via armbian-config but I still can not connect via stty or MinOZW
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">sudo MinOZW /dev/ttyS2

ERROR: Failed to set serial port parameters
ERROR: Failed to open serial port /dev/ttyS2</span></pre>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">sudo stty -F /dev/ttyS2 115200

Input/output error</span></pre>

<p>
	<br />
	<br />
	can you help me ?
</p>
]]></description><guid isPermaLink="false">50050</guid><pubDate>Tue, 25 Feb 2025 08:10:22 +0000</pubDate></item><item><title>Modifying the Linux driver for the Pine 7 inch DSI display</title><link>https://testforum.armbian.com/topic/23528-modifying-the-linux-driver-for-the-pine-7-inch-dsi-display/</link><description><![CDATA[<p>
	I need to use a 10 inch 800x600 DSI display in a Pine64 project and I think the easiest way to do this would be to modify the driver for the Pine 7 inch DSI display. It appears to me that the display resolution is hard coded in this driver (panel-feiyang-07024di26a30d.ko) and not supplied by a device tree overlay like some other Armbian SBCs. In the C source for this driver, I see the following data structure which defines a 1024x600 screen size for the 7 inch display ...
</p>

<p>
	 
</p>

<p>
	<strong><span style="color:#2980b9;"><span style="font-size:12px;">static const struct drm_display_mode feiyang_default_mode = {<br />
	    .clock        = 55000,</span></span></strong>
</p>

<p>
	<strong><span style="color:#2980b9;"><span style="font-size:12px;">    .hdisplay    = 1024,<br />
	    .hsync_start    = 1024 + 310,<br />
	    .hsync_end    = 1024 + 310 + 20,<br />
	    .htotal        = 1024 + 310 + 20 + 90,</span></span></strong>
</p>

<p>
	<strong><span style="color:#2980b9;"><span style="font-size:12px;">    .vdisplay    = 600,<br />
	    .vsync_start    = 600 + 12,<br />
	    .vsync_end    = 600 + 12 + 2,<br />
	    .vtotal        = 600 + 12 + 2 + 21,</span></span></strong>
</p>

<p>
	<span style="font-size:12px;"><strong><span style="color:#2980b9;">    .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,<br />
	};</span></strong></span>
</p>

<p>
	 
</p>

<p>
	It looks simple enough to modify these values to work with my 1024x600 display, but I'm unsure what would be the best way to accomplish this. Which of the following could I do?
</p>

<p>
	a) Just rebuild the modified driver alone and drop the new .ko file into the filesystem.
</p>

<p>
	    or
</p>

<p>
	b) Do a full Armbian image build using modified feiyang driver source.
</p>

<p>
	 
</p>

<p>
	Building the driver alone seems simpler, but I have zero experience with doing this sort of thing. I've installed the Linux headers package for the Allwinner A64 and piddled with building a trivial hello-world driver as outlined in the "Linux Kernel Module Programming Guide" doc that's floating around on the web.  That was easy enough to get working, but have no idea what magic incantations would be needed in the makefile for a real driver.
</p>

<p>
	 
</p>

<p>
	Building the Armbian image is appealing to me because the compile.sh script from the Armbian git repo does all the magic driver building for you. If I can somehow insert a modified version of the feiyang driver source into the OS image build process, that would do what I need.
</p>

<p>
	 
</p>

<p>
	So do either of these approaches make any sense at all and if so, can anyone suggest how to do plan A or plan B?  Thanks in advance.<br />
	 
</p>
]]></description><guid isPermaLink="false">23528</guid><pubDate>Thu, 15 Sep 2022 06:09:46 +0000</pubDate></item><item><title>Run an ili9486 with pine64</title><link>https://testforum.armbian.com/topic/25643-run-an-ili9486-with-pine64/</link><description><![CDATA[<p>
	By following the instruction how to enable ili9486 on orange pi, I have tried to do that with pine64. So, I installed armbian focal 22.10 with 5.15 kernel, enabled spidev and overlayed <abbr title="Device tree source">dts</abbr> with tft installation and initialization. But still have a white display. Also I was trying another way to use/edit fbtft, the same issue. `dmesg` shows that spi driver no compatible with ili9486
</p>
]]></description><guid isPermaLink="false">25643</guid><pubDate>Sat, 07 Jan 2023 14:39:18 +0000</pubDate></item><item><title>[PINE64 A64] Kernel panics with headless boot</title><link>https://testforum.armbian.com/topic/36278-pine64-a64-kernel-panics-with-headless-boot/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	I've opened with tag orangepiprime because there was no a64 tag eventhough in the Armbian site is flagged as standard support, tell me if i have to reopen it elsewhere.
</p>

<p>
	Anyhow I'm constantly getting kernel panics during boot, I've tested images minimal/cli images starting from 23.5.1 down to 24.5.0 (just downloaded the image and flashed with balena etcher), attached there are all the serial logs of the boot processes, all of them are the same more or less.
</p>

<p>
	I've tried:
</p>

<ul>
	<li>
		powering from <abbr title="General purpose input/output"><abbr title="General purpose input/output">GPIO</abbr></abbr>
	</li>
	<li>
		changing powersupply
	</li>
	<li>
		changing usb cable
	</li>
	<li>
		4 different uSD cards
	</li>
	<li>
		changing the board
	</li>
	<li>
		hooking it up to a display
	</li>
</ul>

<p>
	and none of them worked.
</p>

<p>
	What else can I try?
</p>

<p>
	<a class="ipsAttachLink" data-fileext="log" data-fileid="11975" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=11975&amp;key=86c0a704c6c7cdd9ef72c38ef5270d20" rel="">Armbian_24.5.0-trunk.223_Pine64_trixie_current_6.6.22_minimal.img.xz.log</a> <a class="ipsAttachLink" data-fileext="log" data-fileid="11976" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=11976&amp;key=4e4a6b54d5cd48af422b3efd73043798" rel="">Armbian_24.2.1_Pine64_bookworm_current_6.6.16_minimal.img.xz.log</a> <a class="ipsAttachLink" data-fileext="log" data-fileid="11977" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=11977&amp;key=eaf9875b0f60eec204f96e91cf07944c" rel="">Armbian_23.11.1_Pine64_bookworm_current_6.1.63.img.xz.log</a> <a class="ipsAttachLink" data-fileext="log" data-fileid="11978" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=11978&amp;key=97df598a67bf744a3c07768a3b78e40f" rel="">Armbian_23.8.1_Pine64_bookworm_current_6.1.47.img.xz.log</a> <a class="ipsAttachLink" data-fileext="log" data-fileid="11979" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=11979&amp;key=0d63a099656cc556cc9904a9b874b161" rel="">Armbian_23.5.1_Pine64_bookworm_current_6.1.30.img.xz.log</a>
</p>
]]></description><guid isPermaLink="false">36278</guid><pubDate>Sat, 16 Mar 2024 11:40:45 +0000</pubDate></item><item><title>PINE64 LTS - systemd warning Unknown key name</title><link>https://testforum.armbian.com/topic/34308-pine64-lts-systemd-warning-unknown-key-name/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	on latest Armbian 23.11.1 Bookworm with PINE64 board I noticed those warnings in journal:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">Feb 12 10:00:45 pine64 systemd[1]: /lib/systemd/system/systemd-journal-upload.service:33: Unknown key name 'RestartSteps' in s&gt;
Feb 12 10:00:45 pine64 systemd[1]: /lib/systemd/system/systemd-journal-upload.service:34: Unknown key name 'RestartMaxDelaySec&gt;</span></pre>

<p>
	 
</p>

<p>
	I suspect the `systemd-journal-upload.service` is not in tact with systemd daemon version installed.
</p>
]]></description><guid isPermaLink="false">34308</guid><pubDate>Mon, 12 Feb 2024 08:03:54 +0000</pubDate></item><item><title>Pine A64(+) should be different from Pine A64-LTS?</title><link>https://testforum.armbian.com/topic/25581-pine-a64-should-be-different-from-pine-a64-lts/</link><description><![CDATA[<p>
	I recently bought a couple of A64-<abbr title="Long term support">LTS</abbr> boards from the Pine Store, but I couldn't get the official Armbian images to boot on them.  <a href="https://www.armbian.com/pine64/" rel="external nofollow">https://www.armbian.com/pine64/</a>
</p>

<p>
	 
</p>

<p>
	I could, however, get Manjaro to boot on them, and when I created an SD card with U-Boot from the Manjaro SD card, and the partition from the Armbian (Bullseye CLI) image, it booted into Armbian.
</p>

<p>
	 
</p>

<p>
	I noticed, though, that Manjaro distinguishes between the Pine A64(+) and the Pine A64-<abbr title="Long term support">LTS</abbr>.  Tow-boot also makes the same distinction.  So I wondered if maybe Armbian wasn't booting on my A64-<abbr title="Long term support">LTS</abbr> boards because it wasn't making that distinction, but it should be.
</p>

<p>
	 
</p>

<p>
	(I also noticed that the headphone jack and ethernet port aren't wo<abbr title="Rockchip">rk</abbr>ing properly on Armbian, though they do wo<abbr title="Rockchip">rk</abbr> on Manjaro, but perhaps it's best to focus first on getting an official Armbian image to boot on the A64-<abbr title="Long term support">LTS</abbr>.)
</p>

<p>
	 
</p>

<p>
	Here's the output of `armbianmonitor -U`: <a href="http://paste.debian.net/1266079" rel="external nofollow">http://paste.debian.net/1266079</a>
</p>
]]></description><guid isPermaLink="false">25581</guid><pubDate>Wed, 04 Jan 2023 04:29:58 +0000</pubDate></item><item><title>removing wifi and ethernet service completely</title><link>https://testforum.armbian.com/topic/28683-removing-wifi-and-ethernet-service-completely/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	Can anyone tell me how can i remove the wifi and ethernet services completely from the armbian.
</p>
]]></description><guid isPermaLink="false">28683</guid><pubDate>Thu, 08 Jun 2023 10:02:56 +0000</pubDate></item><item><title>Pine64+ A64 Kernel 5.9.x  analog sound problem</title><link>https://testforum.armbian.com/topic/15848-pine64-a64-kernel-59x-analog-sound-problem/</link><description><![CDATA[<p>
	Hi, I try to enable sound on headphone jack with pine64+ but i could not <img alt=":)" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" loading="lazy"> Alsa says "no sound found" at dmesg Could anyone help me?  Thank you
</p>

<p>
	 
</p>

<p>
	root@pine64:~# dmesg|grep -i sound<br>
	[    2.686397]   No soundcards found.<br>
	[    6.323086] input: sun50i-a64-audio Headset Jack as /devices/platform/sound/sound/card0/input5
</p>

<p>
	 
</p>

<p>
	root@pine64:~# aplay -l<br>
	**** List of PLAYBACK Hardware Devices ****<br>
	card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0]<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0<br>
	card 1: sun50ia64hdmi [sun50i-a64-hdmi], device 0: 1c22800.i2s-i2s-hifi i2s-hifi-0 [1c22800.i2s-i2s-hifi i2s-hifi-0]<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0<br>
	 
</p>

<p>
	Alsamixer Settings;
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="7163" href="https://testforum.armbian.com/uploads/monthly_2020_11/mixer_settings.jpg.1d501bd57c46f800227669986549a4cf.jpg" rel=""><img alt="mixer_settings.thumb.jpg.e0caa38d2561439def35d96b85a5301b.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="7163" width="1000" src="https://testforum.armbian.com/uploads/monthly_2020_11/mixer_settings.thumb.jpg.e0caa38d2561439def35d96b85a5301b.jpg" loading="lazy" height="430"></a>
</p>
]]></description><guid isPermaLink="false">15848</guid><pubDate>Thu, 05 Nov 2020 21:45:49 +0000</pubDate></item><item><title>Latest 20.04 image on Pine64+ no audio</title><link>https://testforum.armbian.com/topic/14709-latest-2004-image-on-pine64-no-audio/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I downloaded the latest 20.04 image for Pine64+ and I am not getting any audio from youtube for example. I can see in the Volume Control window in the Output panel an audio level meter moving and the application Chromium. But still get no audio from the TV.
</p>
]]></description><guid isPermaLink="false">14709</guid><pubDate>Fri, 24 Jul 2020 19:45:57 +0000</pubDate></item><item><title>Pine64: can't hear audio on headphone plug</title><link>https://testforum.armbian.com/topic/15004-pine64-cant-hear-audio-on-headphone-plug/</link><description><![CDATA[<p>
	I'm running Armbian 20.08 Focal on a Pine64 with 2GB RAM. Mostly everything runs fine, but I do have a problem with getting audio out of the headphone plug. In pavucontrol I can see audio is playing (an internet stream) on Built-in Stereo, but nothing can be heard when connecting speakers. To be clear: I don't want audio out of HDMI, but just from the headphone plug. I have also played around with alsamixer and unmuted everything that was muted and turning up the volume, but still no audio to be heard...
</p>

<p>
	 
</p>

<p>
	Has anybody gotten this to work?
</p>
]]></description><guid isPermaLink="false">15004</guid><pubDate>Mon, 24 Aug 2020 07:53:02 +0000</pubDate></item><item><title>Pine64 LTS - netwok driver for new hardware</title><link>https://testforum.armbian.com/topic/21658-pine64-lts-netwok-driver-for-new-hardware/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	I'm using a Pine 64 <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> with the SoPine image Armbian 21.02.3 Bionic with Linux 5.4.88-sunxi64
</p>

<p>
	I have made various changes and installations to this image, so I want/need to continue using this image.
</p>

<p>
	 
</p>

<p>
	Unfortunately, with the new hardware of the Pine 64 <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> (Pine64 <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr>-V2) network connection is no longer possible.<br />
	(Note: With the current SoPine image there is a network connection).
</p>

<p>
	Is there any way to reinstall the current network drivers in my image?
</p>

<p>
	 
</p>

<p>
	<br />
	I would be very grateful for any help.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">21658</guid><pubDate>Fri, 24 Jun 2022 12:04:31 +0000</pubDate></item><item><title>install and use Armbian on PINE64+ without display</title><link>https://testforum.armbian.com/topic/23741-install-and-use-armbian-on-pine64-without-display/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	i'm new with linux and <abbr title="Single board computer">SBC</abbr>.
</p>

<p>
	My final goal is to use the board as a voice command recognition system (without display) and to be honest i do not know how to start.
</p>

<p>
	I downloaded Armbian desktop on microSD using balenaEtcher and I inserted it in the board e powered it!
</p>

<p>
	i do not have a display unfortunatly and i do not know if desktop version is the best choice or i have to install an embedded version if exists.
</p>

<p>
	Could help please?
</p>

<p>
	 
</p>

<p>
	thanks
</p>
]]></description><guid isPermaLink="false">23741</guid><pubDate>Tue, 04 Oct 2022 16:03:33 +0000</pubDate></item><item><title>PINE A64 GPU hardware acceleration for movies</title><link>https://testforum.armbian.com/topic/23172-pine-a64-gpu-hardware-acceleration-for-movies/</link><description><![CDATA[<p>
	How can PINE A64 <abbr title="Graphic processing unit (3D acceleration)">GPU</abbr> hardware acceleration be enabled? Playing a 24 fps full HD MP4 movie is not working smoothly. Here are some results on Armbian Jammy cli from June 30 version 22.05.3 with only installing via apt-get:
</p>

<p>
	- mpv, best result, probably ~10 fps
</p>

<p>
	- mplayer -vo sdl/fbdev2, probably ~5 fps
</p>

<p>
	- cvlc, probably 2~3 fps
</p>

<p>
	- kodi, probably 1~2 fps
</p>

<p>
	- gst123, could not get it running because issue with ALSA<br />
	 
</p>

<p>
	The fps are sort of guessed. Any other software and tips for testing are welcome. None of the movies playing played sound. speaker-test also did not play sound even though alsamixer showed all is well. Tips for this please too.
</p>

<p>
	 
</p>

<p>
	What are the steps to take to install the (closed source) Mali driver and/or the (open source) Lima driver?
</p>
]]></description><guid isPermaLink="false">23172</guid><pubDate>Sun, 28 Aug 2022 19:30:42 +0000</pubDate></item><item><title>Audio jack on Pine64 A64+</title><link>https://testforum.armbian.com/topic/16694-audio-jack-on-pine64-a64/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I just installed the Armbian on a Pine A64+ (Armbian Focal, mainline based kernel 5.9.y).
</p>

<p>
	 
</p>

<p>
	I'm having trouble getting audio from the 3.5mm stereo output. I've tried several things, including a speaker test:
</p>

<pre class="ipsCode">
speaker-test -c 2 -Dsysdefault:sun50ia64audio</pre>

<p>
	 
</p>

<p>
	I tried editing <span style="color:#2980b9;">/etc/asound.conf</span> but it doesn't seem to affect anything. Do changes to that file apply instantly?
</p>

<p>
	 
</p>

<p>
	What can I do to test/diagnose the issue?
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16694</guid><pubDate>Wed, 06 Jan 2021 03:51:25 +0000</pubDate></item><item><title>PineH64-b has no audio device, is it expected?</title><link>https://testforum.armbian.com/topic/16363-pineh64-b-has-no-audio-device-is-it-expected/</link><description><![CDATA[<p>
	Hi, Armbian gurus.
</p>

<p>
	 
</p>

<p>
	I tried latest Armbian image for PineH64-b. (Armbian_20.11_Pineh64-b_focal_current_5.8.16_desktop)
</p>

<p>
	And I surprisingly found there is no audio device when I looked around.( by #aplay -l )
</p>

<p>
	Is this expected for now? My older 5.6 kernel has HDMI device at least.
</p>

<p>
	 
</p>

<p>
	I tried search audio problem around but had no discover so far. Please allow me to confirm with you.
</p>

<p>
	 
</p>

<p>
	I'm looking for a good 5.8 multimedia-capable kernel to merge with my gentoo rootfs. 
</p>

<p>
	Thank you.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16363</guid><pubDate>Tue, 08 Dec 2020 10:03:44 +0000</pubDate></item><item><title>no etho-network after upgrade</title><link>https://testforum.armbian.com/topic/22632-no-etho-network-after-upgrade/</link><description><![CDATA[<p>
	I'm using a Pine 64 <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr>. For this I have downloaded the SoPine images
</p>

<p>
	           Armbian_21.08.1_Pine64so_buster_current_5.10.60.img and
</p>

<p>
	           Armbian_21.08.1_Pine64so_focal_current_5.10.60.img
</p>

<p>
	<br />
	Both images boot normally (including network connection), but after the update (apt update, apt upgrade) no IP4 network connection is established for eth0.
</p>

<p>
	 
</p>

<p>
	For help I am very grateful for any help.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">22632</guid><pubDate>Thu, 28 Jul 2022 12:05:07 +0000</pubDate></item><item><title>Possible missing firmware /lib/firmware/rtl_nic/rtl8156b-2.fw for module r8152</title><link>https://testforum.armbian.com/topic/22807-possible-missing-firmware-libfirmwarertl_nicrtl8156b-2fw-for-module-r8152/</link><description><![CDATA[<p>
	Latest Ubuntu Jammy CLI version and I get:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">update-initramfs: Generating /boot/initrd.img-5.15.48-sunxi64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8156b-2.fw for module r8152</span></pre>

<p>
	after apt upgrade.
</p>
]]></description><guid isPermaLink="false">22807</guid><pubDate>Sun, 07 Aug 2022 17:23:59 +0000</pubDate></item><item><title>Cannot boot into lvm encyprypted root partition</title><link>https://testforum.armbian.com/topic/22662-cannot-boot-into-lvm-encyprypted-root-partition/</link><description><![CDATA[<p>
	I cannot boot into lvm encyprypted root partition:
</p>

<p>
	            mount: mounting "/dev/mapper/vg-root on /root failed: No such file or directory␍␊
</p>

<p>
	            Failed to mount "/dev/mapper/vg-root as root file system.␍␊
</p>

<p>
	 
</p>

<p>
	The flollowing step i made  (short version)
</p>

<p>
	- create the lvm partition
</p>

<p>
	- mount lvm partition and and copy file system auf lvm partition, bind /dev, sys, proc
</p>

<p>
	- chroot in the lvm root partition (vg-root)
</p>

<p>
	- change /etc/fstab :  insert
</p>

<p>
	               /dev/mapper/vg-root / ext4 errors=remount-ro 0 1
</p>

<p>
	                UUID=&lt;UUID-Partiion&gt; /mnt/mnt ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 2
</p>

<p>
	               #UUID=&lt;UUID-Partiion&gt; / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
</p>

<p>
	- create the initramfs:
</p>

<p>
	               update-initramfs -u -k $(uname -r)
</p>

<p>
	 
</p>

<p>
	- change armbian.txt:
</p>

<p>
	             rootdev="/dev/mapper/vg-root cryptdevice=/dev/mmcblk0p2:lvm"
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	During boot, the device ask the PW:
</p>

<p>
	             Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Please unlock disk lvm: ␍␊
</p>

<p>
	 
</p>

<p>
	After inserting the password, lvm seems alright ("cryptsetup: lvm: set up successfully␍␊done.␍␊")
</p>

<p>
	 
</p>

<p>
	But the boot file system is not fount
</p>

<p>
	               Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems␍␊
</p>

<p>
	              done.␍␊
</p>

<p>
	               Begin: Will now check root file system ... fsck from util-linux 2.33.1␍␊
</p>

<p>
	               Checking all file systems.␍␊
</p>

<p>
	               done.␍␊
</p>

<p>
	              mount: mounting "/dev/mapper/vg-root on /root failed: No such file or directory␍␊
</p>

<p>
	              Failed to mount "/dev/mapper/vg-root as root file system.␍␊
</p>

<p>
	 
</p>

<p>
	i am very grateful for any comments and tips.<br />
	I have already done such LVM boot encryption 2 years ago on Pine 64 and Pine <abbr title="Long term support">LTS</abbr>.<br />
	BUT NOW I HAVE NO IDEA HOW TO LOOK FURTHER.
</p>

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

]]></description><guid isPermaLink="false">22662</guid><pubDate>Fri, 29 Jul 2022 14:25:16 +0000</pubDate></item><item><title>Odd HDMI / Onkyo Receiver issue - Please Help!</title><link>https://testforum.armbian.com/topic/22576-odd-hdmi-onkyo-receiver-issue-please-help/</link><description><![CDATA[<p>
	Hello all you awesome community members!
</p>

<p>
	 
</p>

<p>
	So I got this Pine a64+ during their Kickstarter campaign. Initially I used it as a little play desktop. I never really found a use for it until very recently.
</p>

<p>
	 
</p>

<p>
	I decided to use it as a little software Squeezebox client. I installed Armbian 22.04 server. I then setup alsa to use the HDMI audio as default output. I installed squeezelite and it immediately found and connected to my LMS (Logitech Media Server) running on my server. At this point I figured all was good. The sound was working great through my receiver.
</p>

<p>
	 
</p>

<p>
	The next morning (Sunday) the kids could not get the TV sound to work. So of course they woke me up on the only day I can sleep in a bit. <span><img alt=":)" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" loading="lazy"></span>
</p>

<p>
	 
</p>

<p>
	I assumed the Onkyo TX-SR393 receiver was on the wrong Input. After checking it out, it was on the correct input. Speaker output was correct. It made no sense. I rebooted both the receiver and the TV yet the problem persisted. Still no sound from the TV. Finally I decided to unplug the HDMI to the Pine64. Right away the sound came back for the TV.
</p>

<p>
	 
</p>

<p>
	I chalked it up to a fluke. It was not, as on Monday morning the same thing happened. Again, only fix was to unplug the HDMI from the Pine64.
</p>

<p>
	 
</p>

<p>
	Setup Info;
</p>

<p>
	 
</p>

<ul>
	<li>
		The TV is using HDMI to connect to the Onkyo on the CEC/ARC channel.
	</li>
	<li>
		Video seems unaffected on both the TV and Pine64
	</li>
	<li>
		I did not test if sound was borked on the Pine64 during these issues (I was just trying to get the TV up for the kids <span><img alt=":)" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" loading="lazy"> )</span>
	</li>
	<li>
		<span>`dmesg` on the Pine64 does not show anything pertinent that I can discern</span>
	</li>
	<li>
		<span>The TV/Receiver were off overnight and the Pine64 was on.</span>
	</li>
</ul>

<p>
	 
</p>

<p>
	If anyone could suggest some possible causes/solutions/tests I could do to get closer to a fix I would really appreciate it.
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>

<p>
	 
</p>

<p>
	<br>
	 
</p>
]]></description><guid isPermaLink="false">22576</guid><pubDate>Mon, 25 Jul 2022 18:20:04 +0000</pubDate></item><item><title>pine64: massive date/time clock problem</title><link>https://testforum.armbian.com/topic/7423-pine64-massive-datetime-clock-problem/</link><description><![CDATA[<p>
	Hello,<br>
	I have a massive problem as the time/date on my Pine64 keep changing randomly to the year 2113.<br><br>
	In my project, I use several Pine64s and the problem now occurs on many of these Pine64s. Unfortunately I need the correct time for my project.<br><br>
	I am using the following system: ARMBIAN 5.32.170911 nightly Ubuntu 16.04.3 LTS 4.13.0-sun50iw1 (with additional overlays = uart3 and<br>
	console = ttyS3)<br><br>
	Could this be due to the error described in the post
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedcontent="" data-embedid="embed9120148698" scrolling="no" src="https://testforum.armbian.com/topic/3458-a64-datetime-clock-issue/?do=embed" style="height:221px;max-width:502px;" loading="lazy"></iframe>

<p>
	and is the bug fixed in kernel version 4.14?<br><br>
	Could I install this kernel version 4.14 via armbian-config (next-kernel)?
</p>

<p>
	 
</p>

<p>
	Thanks a lot for help.
</p>
]]></description><guid isPermaLink="false">7423</guid><pubDate>Fri, 08 Jun 2018 17:16:14 +0000</pubDate></item><item><title>pcm5102a playback device not found on Pine64 (A64)</title><link>https://testforum.armbian.com/topic/19321-pcm5102a-playback-device-not-found-on-pine64-a64/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I have a Pine64 board and recently added an audio POT with the pcm5102a chipset.
</p>

<p>
	It is rather difficult to get the board working/recognized. I found info on the forum saying one has to do stuff with the overlay system but only for other boards than the Pine64 and I can't get it right.
</p>

<p>
	aplay -l:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">root@pine64:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun50ia64audio [sun50i-a64-audio], device 0: 1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0 [1c22c00.dai-sun8i-codec-aif1 sun8i-codec-aif1-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sun50ia64hdmi [sun50i-a64-hdmi], device 0: 1c22800.i2s-i2s-hifi i2s-hifi-0 [1c22800.i2s-i2s-hifi i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0</span></pre>

<p>
	 
</p>

<p>
	I have edited the <abbr title="Device tree compiler">dtc</abbr> tree and activated i2s@1c22000:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">                i2s@1c22000 {
                        #sound-dai-cells = &lt;0x00&gt;;
                        compatible = "allwinner,sun50i-a64-i2s\0allwinner,sun8i-h3-i2s";
                        reg = &lt;0x1c22000 0x400&gt;;
                        interrupts = &lt;0x00 0x0d 0x04&gt;;
                        clocks = &lt;0x02 0x3c 0x02 0x52&gt;;
                        clock-names = "apb\0mod";
                        resets = &lt;0x02 0x27&gt;;
                        dma-names = "rx\0tx";
                        dmas = &lt;0x2f 0x03 0x2f 0x03&gt;;
                        status = "okay";
                        phandle = &lt;0x7c&gt;;
                };</span></pre>

<p>
	 
</p>

<p>
	And the module shows up with lsmod:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted"><span class="pln">snd_soc_simple_card    24576  0
snd_soc_simple_card_utils    24576  1 snd_soc_simple_card
cpufreq_dt             20480  0
sch_fq_codel           24576  2
snd_soc_pcm5102a       16384  0</span></pre>

<p>
	 
</p>

<p>
	But now I am stuck. What do I have to do to get this board working?
</p>

<p>
	Thanks in advance for any help.
</p>

<p>
	 
</p>

<p>
	Cheers,
</p>

<p>
	Joost
</p>
]]></description><guid isPermaLink="false">19321</guid><pubDate>Sat, 20 Nov 2021 11:15:01 +0000</pubDate></item><item><title>[Invalid] - How to program emmc memory in Allwinner A64</title><link>https://testforum.armbian.com/topic/19052-invalid-how-to-program-emmc-memory-in-allwinner-a64/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I am using Allwinner A64 processor for my use case. In that, I want to flash my custom os into <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> memory which is alredy worked in SD card. Currenlty we go thorugh below link:
</p>

<p>
	 
</p>

<p>
	<a href="https://wiki.pine64.org/index.php/NOOB#Instructions_to_Flashing_eMMC_Modules" rel="external nofollow">https://wiki.pine64.org/index.php/NOOB#Instructions_to_Flashing_eMMC_Modules</a>
</p>

<p>
	 
</p>

<p>
	we follow "xzcat imagename.img.xz | sudo dd of=/dev/mmcblk1 bs=1M status=progress conv=fsync" this command but we got input/out error while reading memory.
</p>

<p>
	 
</p>

<p>
	Please check below screenshot.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://testforum.armbian.com/uploads/monthly_2021_10/Screenshot_2021-09-30_14-22-05.png.bd34f4a57b07cbbfe9806821b39a30ce.png" data-fileid="8332" data-fileext="png" rel=""><img alt="Screenshot_2021-09-30_14-22-05.png" class="ipsImage ipsImage_thumbnailed" data-fileid="8332" width="722" src="https://testforum.armbian.com/uploads/monthly_2021_10/Screenshot_2021-09-30_14-22-05.png.bd34f4a57b07cbbfe9806821b39a30ce.png" loading="lazy" height="469.3"></a>
</p>
]]></description><guid isPermaLink="false">19052</guid><pubDate>Tue, 05 Oct 2021 07:19:02 +0000</pubDate></item><item><title>Pine A64 LTS boots from SD, but once booted, the SD device is MIA</title><link>https://testforum.armbian.com/topic/17237-pine-a64-lts-boots-from-sd-but-once-booted-the-sd-device-is-mia/</link><description><![CDATA[<p>
	Yesterday, I upgraded my Pine A64 <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> to the 5.10.21 kernel:
</p>

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

	<div class="ipsQuote_contents">
		<p>
			me@aldo:~$ uname -a<br />
			Linux aldo.xxxxx.com 5.10.21-sunxi64 #21.02.3 SMP Mon Mar 8 00:45:13 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
		</p>
	</div>
</blockquote>

<p>
	 
</p>

<p>
	The system rebooted just fine, though took longer then before. I didn't realize why until today, when I tried to access /media/mmcboot and discovered that it wasn't there. In fact, there is no /dev/mmcblk0p1 device at all. It's bizarre: it boots from the MicroSD, switches to my SSD, but then the MicroSD card device is simply gone when the system is up.
</p>

<p>
	<br />
	I do not see this on two other Pine A64 (not <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr>) systems.
</p>

<p>
	 
</p>

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

	<div class="ipsQuote_contents">
		<p>
			 20048  [   96.545683] systemd[1]: dev-disk-by-uuid-9de746a4-d0de-404f-9403-4645fb268a33.device: Job dev-disk-by-uuid-9de746a4-df0de-404f-9403-4645b268a33.device/start timed out.<br />
			 20049  [   96.545731] systemd[1]: Timed out waiting for device /dev/disk/by-uuid/9de746a4-d0de-404f-9403-4645fb268a33.<br />
			 20050  [   96.560122] systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/9de746a4-d0de-404f-9403-4645fb268a33.<br />
			 20051  [   96.564171] systemd[1]: Dependency failed for /media/mmcboot.<br />
			 20052  [   96.568077] systemd[1]: Dependency failed for /boot.
		</p>
	</div>
</blockquote>

<p>
	 
</p>

<p>
	I was able to mount the microSD card on one of the other systems, and fsck reported everything was fine. I could also see all of the files just fine. The files in /boot had been updated for 5.10.21.
</p>

<p>
	<br />
	But booting up the <abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> again resulted in the same thing: it boots, but /dev/mmcblk0p1 does not exist.
</p>

<p>
	 
</p>

<p>
	Any ideas?
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>
]]></description><guid isPermaLink="false">17237</guid><pubDate>Wed, 10 Mar 2021 20:35:26 +0000</pubDate></item><item><title>Pine64 armbian IR support fixed by me</title><link>https://testforum.armbian.com/topic/13128-pine64-armbian-ir-support-fixed-by-me/</link><description><![CDATA[<p>
	Dear friends!<br>
	I have a project,  where I needed to use 4 infrared receivers and 2 transmitters connected to GPIO. After a lot of research I realized how to cook all stuffs together:
</p>

<p>
	<br>
	So I have <strong>Pine64 A64 512MB cards</strong> (not the plus model), running <strong>Armbian 20.05.0-trunk.038 nightly</strong>, (uname -r:  5.4.18-sunxi64).<br>
	I needed to<strong> freeze upgrades</strong> for two reasons:
</p>

<ol><li>
		<strong>Boot hangs up</strong>: The<strong> armbian thinks</strong> that <strong>I have the plus model</strong>: on every upgrade I need to replace the <span>"</span>sun50i-a64-pine64-plus.dtb" file with "sun50i-a64-pine64.dtb" at /boot/dtb/allwinner because the non-plus model (512MB) has different ethernet hardware.
	</li>
	<li>
		<strong>Missing gpio-ir-recv kernel module </strong>from stock Armbian: For transmitting IR signals via GPIO we are using gpio-ir-tx kernel module already located in stock armbian, but for receiving IR signals via GPIO we need the gpio-ir-recv kernel module. So I have downloaded this file from the official <a href="https://github.com/armbian/linux/blob/sun8i/drivers/media/rc/gpio-ir-recv.c" rel="external nofollow">armbian source at github</a> and recompiled all kernel modules to get only this gpio-ir-recv.ko kernel module file.... (it took a while)
	</li>
</ol><p>
	So to activate those kernel modules I needed to create a Custom Device Tree Overlay (<a href="https://docs.armbian.com/Hardware_Allwinner_overlays/#using-custom-overlays" rel="external nofollow">here</a> is how to activate it).
</p>

<p>
	Here is the content of my custom dt overlay, but if you want to modify GPIO pin numbers, you need to experiment which pin is interrupt enabled and not used for other stuff...<br>
	+1 good advice ---&gt; If you want to send and receive custom IR protocol, it's better to use the ir-ctl program than lirc.
</p>

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

</span><span class="pun">/</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
        compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"allwinner,sun50i-a64"</span><span class="pun">;</span><span class="pln">

        fragment@0 </span><span class="pun">{</span><span class="pln">
                target </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio</span><span class="pun">&gt;;</span><span class="pln">
                __overlay__ </span><span class="pun">{</span><span class="pln">
                        ir_rx1_pins</span><span class="pun">:</span><span class="pln"> ir</span><span class="pun">-</span><span class="pln">rx1</span><span class="pun">-</span><span class="pln">pins </span><span class="pun">{</span><span class="pln">
							pins </span><span class="pun">=</span><span class="pln"> </span><span class="str">"PH6"</span><span class="pun">;</span><span class="pln">
							function </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio_in"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        ir_rx2_pins</span><span class="pun">:</span><span class="pln"> ir</span><span class="pun">-</span><span class="pln">rx2</span><span class="pun">-</span><span class="pln">pins </span><span class="pun">{</span><span class="pln">
							pins </span><span class="pun">=</span><span class="pln"> </span><span class="str">"PH7"</span><span class="pun">;</span><span class="pln">
							function </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio_in"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        ir_rx3_pins</span><span class="pun">:</span><span class="pln"> ir</span><span class="pun">-</span><span class="pln">rx3</span><span class="pun">-</span><span class="pln">pins </span><span class="pun">{</span><span class="pln">
							pins </span><span class="pun">=</span><span class="pln"> </span><span class="str">"PH8"</span><span class="pun">;</span><span class="pln">
							function </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio_in"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        ir_rx4_pins</span><span class="pun">:</span><span class="pln"> ir</span><span class="pun">-</span><span class="pln">rx4</span><span class="pun">-</span><span class="pln">pins </span><span class="pun">{</span><span class="pln">
							pins </span><span class="pun">=</span><span class="pln"> </span><span class="str">"PH9"</span><span class="pun">;</span><span class="pln">
							function </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio_in"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        ir_tx1_pins</span><span class="pun">:</span><span class="pln"> ir</span><span class="pun">-</span><span class="pln">tx1</span><span class="pun">-</span><span class="pln">pins </span><span class="pun">{</span><span class="pln">
							pins </span><span class="pun">=</span><span class="pln"> </span><span class="str">"PH5"</span><span class="pun">;</span><span class="pln">
							function </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio_out"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        ir_tx2_pins</span><span class="pun">:</span><span class="pln"> ir</span><span class="pun">-</span><span class="pln">tx2</span><span class="pun">-</span><span class="pln">pins </span><span class="pun">{</span><span class="pln">
							pins </span><span class="pun">=</span><span class="pln"> </span><span class="str">"PD0"</span><span class="pun">;</span><span class="pln">
							function </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio_out"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                </span><span class="pun">};</span><span class="pln">
        </span><span class="pun">};</span><span class="pln">

        fragment@1 </span><span class="pun">{</span><span class="pln">
                target</span><span class="pun">-</span><span class="pln">path </span><span class="pun">=</span><span class="pln"> </span><span class="str">"/"</span><span class="pun">;</span><span class="pln">
                __overlay__ </span><span class="pun">{</span><span class="pln">
                        gpio_ir_rx1</span><span class="pun">:</span><span class="pln"> gpio</span><span class="pun">-</span><span class="pln">ir</span><span class="pun">-</span><span class="pln">receiver</span><span class="pun">-</span><span class="lit">1</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                                compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio-ir-receiver"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="pln">names </span><span class="pun">=</span><span class="pln"> </span><span class="str">"default"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="lit">0</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">ir_rx1_pins</span><span class="pun">&gt;;</span><span class="pln">
								gpios </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio </span><span class="lit">7</span><span class="pln"> </span><span class="lit">6</span><span class="pln"> </span><span class="lit">1</span><span class="pun">&gt;;</span><span class="pln"> </span><span class="com">/* PH6 */</span><span class="pln">
								status </span><span class="pun">=</span><span class="pln"> </span><span class="str">"okay"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        gpio_ir_rx2</span><span class="pun">:</span><span class="pln"> gpio</span><span class="pun">-</span><span class="pln">ir</span><span class="pun">-</span><span class="pln">receiver</span><span class="pun">-</span><span class="lit">2</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                                compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio-ir-receiver"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="pln">names </span><span class="pun">=</span><span class="pln"> </span><span class="str">"default"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="lit">0</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">ir_rx2_pins</span><span class="pun">&gt;;</span><span class="pln">
								gpios </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio </span><span class="lit">7</span><span class="pln"> </span><span class="lit">7</span><span class="pln"> </span><span class="lit">1</span><span class="pun">&gt;;</span><span class="pln"> </span><span class="com">/* PH7 */</span><span class="pln">
								status </span><span class="pun">=</span><span class="pln"> </span><span class="str">"okay"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        gpio_ir_rx3</span><span class="pun">:</span><span class="pln"> gpio</span><span class="pun">-</span><span class="pln">ir</span><span class="pun">-</span><span class="pln">receiver</span><span class="pun">-</span><span class="lit">3</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                                compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio-ir-receiver"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="pln">names </span><span class="pun">=</span><span class="pln"> </span><span class="str">"default"</span><span class="pun">;</span><span class="pln">
								pinctrl</span><span class="pun">-</span><span class="lit">0</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">ir_rx3_pins</span><span class="pun">&gt;;</span><span class="pln">
								gpios </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio </span><span class="lit">7</span><span class="pln"> </span><span class="lit">8</span><span class="pln"> </span><span class="lit">1</span><span class="pun">&gt;;</span><span class="pln"> </span><span class="com">/* PH8 */</span><span class="pln">
								status </span><span class="pun">=</span><span class="pln"> </span><span class="str">"okay"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        gpio_ir_rx4</span><span class="pun">:</span><span class="pln"> gpio</span><span class="pun">-</span><span class="pln">ir</span><span class="pun">-</span><span class="pln">receiver</span><span class="pun">-</span><span class="lit">4</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                                compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio-ir-receiver"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="pln">names </span><span class="pun">=</span><span class="pln"> </span><span class="str">"default"</span><span class="pun">;</span><span class="pln">
								pinctrl</span><span class="pun">-</span><span class="lit">0</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">ir_rx4_pins</span><span class="pun">&gt;;</span><span class="pln">
								gpios </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio </span><span class="lit">7</span><span class="pln"> </span><span class="lit">9</span><span class="pln"> </span><span class="lit">1</span><span class="pun">&gt;;</span><span class="pln"> </span><span class="com">/* PH9 */</span><span class="pln">
								status </span><span class="pun">=</span><span class="pln"> </span><span class="str">"okay"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        gpio_ir_tx1</span><span class="pun">:</span><span class="pln"> gpio</span><span class="pun">-</span><span class="pln">ir</span><span class="pun">-</span><span class="pln">transmitter</span><span class="pun">-</span><span class="lit">1</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                                compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio-ir-tx"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="pln">names </span><span class="pun">=</span><span class="pln"> </span><span class="str">"default"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="lit">0</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">ir_tx1_pins</span><span class="pun">&gt;;</span><span class="pln">
								gpios </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio </span><span class="lit">7</span><span class="pln"> </span><span class="lit">5</span><span class="pln"> </span><span class="lit">0</span><span class="pun">&gt;;</span><span class="pln"> </span><span class="com">/* PH5 */</span><span class="pln">
								status </span><span class="pun">=</span><span class="pln"> </span><span class="str">"okay"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                        gpio_ir_tx2</span><span class="pun">:</span><span class="pln"> gpio</span><span class="pun">-</span><span class="pln">ir</span><span class="pun">-</span><span class="pln">transmitter</span><span class="pun">-</span><span class="lit">2</span><span class="pln"> </span><span class="pun">{</span><span class="pln">
                                compatible </span><span class="pun">=</span><span class="pln"> </span><span class="str">"gpio-ir-tx"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="pln">names </span><span class="pun">=</span><span class="pln"> </span><span class="str">"default"</span><span class="pun">;</span><span class="pln">
                                pinctrl</span><span class="pun">-</span><span class="lit">0</span><span class="pln"> </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">ir_tx2_pins</span><span class="pun">&gt;;</span><span class="pln">
								gpios </span><span class="pun">=</span><span class="pln"> </span><span class="pun">&lt;&amp;</span><span class="pln">pio </span><span class="lit">3</span><span class="pln"> </span><span class="lit">0</span><span class="pln"> </span><span class="lit">0</span><span class="pun">&gt;;</span><span class="pln"> </span><span class="com">/* PD0 */</span><span class="pln">
								status </span><span class="pun">=</span><span class="pln"> </span><span class="str">"okay"</span><span class="pun">;</span><span class="pln">
                        </span><span class="pun">};</span><span class="pln">
                </span><span class="pun">};</span><span class="pln">
        </span><span class="pun">};</span><span class="pln">
</span><span class="pun">};</span></pre>

<p>
	 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="6017" href="https://testforum.armbian.com/uploads/monthly_2020_02/gpio.png.6e5f65d4cc6f90328db28d236d7fd9c8.png" rel=""><img alt="gpio.png" class="ipsImage ipsImage_thumbnailed" data-fileid="6017" width="986" src="https://testforum.armbian.com/uploads/monthly_2020_02/gpio.png.6e5f65d4cc6f90328db28d236d7fd9c8.png" loading="lazy" height="512.72"></a>
</p>
]]></description><guid isPermaLink="false">13128</guid><pubDate>Fri, 21 Feb 2020 01:16:44 +0000</pubDate></item><item><title>[Invalid] - Kernel sources and rebuild process for pine64</title><link>https://testforum.armbian.com/topic/18306-invalid-kernel-sources-and-rebuild-process-for-pine64/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I brought new pine64 board and installing OS in SD card. This OS considering kernel 5.10.34 and now I want to modify some of the kernel features. For that, please guide me how to download kernel source and rebuild it for pine64.
</p>
]]></description><guid isPermaLink="false">18306</guid><pubDate>Sat, 05 Jun 2021 10:50:32 +0000</pubDate></item><item><title>Armbian running on Pine64 (and other A64/H5 devices)</title><link>https://testforum.armbian.com/topic/1917-armbian-running-on-pine64-and-other-a64h5-devices/</link><description><![CDATA[<p>
	We have initial support for Pine64/Pine64+ for a <a href="https://github.com/igorpecovnik/lib/commits/master/config/boards/pine64.conf" rel="external nofollow">long time in our repository</a> but not released any official images yet. Since this will change soon a sneak preview what to expect.
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><strong>Hardware related issues:</strong></span>
</p>

<p>
	 
</p>

<p>
	Please don't blame Armbian for the few design flaws Pine64 and Pine64+ show:
</p>

<ul><li>
		These boards use Micro USB for DC-IN which is the worst possible decision. Most USB cables have a resistance way too high and are responsible for severe voltage drops when consumption increases, then the tiny Micro USB contacts have also a pretty high contact resistance and also maximum amperage for this connector is limited to 1.8A by USB specs. So in case you want to do heavy stuff immediately look into <a href="http://linux-sunxi.org/Pine64#Pine64.2B_.281_GB.29" rel="external nofollow">linux-sunxi wiki page for Pine64</a> to get the idea how to use the pins on the so called Euler connector to power the board more reliably. If you think about buying a Pine now consider ordering their PSU  too since there cable resistance shouldn't be a problem (should also apply to the Micro USB cables they sell)
	</li>
	<li>
		The only led on this board is a power led that immediately lights when power is provided. Pre-production samples had a green led, on the normal batches this has been replaced with a red led. So there's no way for an OS image to provide user feedback (activate an led when u-boot or kernel boots) and the red light has often been interpreted as 'something is wrong'
	</li>
	<li>
		USB: you find 2 USB type A receptacles on the board but only one is a true USB host port, the other/upper is A64's USB OTG port exposed not as Mini/Micro USB (with ID pin to be able to switch roles) but as a normal type A port. <strike>Expect performance to be lower on this port. I've also never been able to do disk benchmarking on the upper port but that might have changed in the meantime (I only have a pre-production developer sample here)</strike>. Please note also that the maximum amperage available on the USB port is 650mA so connecting bus-powered USB disks might already exceed this so be prepared to use a powered USB hub in between
	</li>
	<li>
		A64 is prone to overheating but unfortunately the Pine64 folks do not sell the board with an effective heatsink by default (compare with ODROID-C1+ or ODROID-C2 for example how it looks like if the vendor cares about heat dissipation). They promised to provide a good heatsink as option but at least I'm not able to find one in their <a href="https://www.pine64.org/?post_type=product" rel="external nofollow">online store</a>. But a heatsink is mandatory if you plan to run this device constantly with high loads, otherwise throttling will occur (when we tested an unrealistic heavy workload without a heatsink -- cpuburn-a53 -- A64 had to throttle down to as less as 600 MHz (for some numbers see <a href="https://irclog.whitequark.org/linux-sunxi/2016-05-29#16597709;" rel="external nofollow">IRC log from a while ago</a>)
	</li>
	<li>
		Not a real hardware issue but a problem anyway: the HDMI driver in Allwinner's BSP does not negotiate any display output with a lot of displays that are connected with a HDMI &lt;--&gt; DVI converter or use non-common resolutions. Better do <strong>not</strong> expect any display output if your display is neither connected directly using HDMI nor capable of 1080p (we can't do anything here since Allwinner's driver uses closed source blobs and no documentation or code with useable license exists)
	</li>
	<li>
		On a couple of Gbit equipped Pine64+ users report that they're not able to negotiate Gbit Ethernet reliably and have to force the connection to Fast Ethernet <strike>(since we know that the RTL8211E PHY used on the boards needs an additional ~350 mW when negotiating a Gbit Ethernet connection this might be related to power problems or maybe different PHY batches or something else)</strike>. <a href="http://forum.pine64.org/showthread.php?tid=835&amp;pid=19704#pid19704" rel="external nofollow">Confirmed in the meantime to be a hardware issue</a>.
	</li>
</ul><p>
	Now combine Micro USB encouraging users to combine this SBC with crappy phone chargers, 'smart' hubs/chargers that do only provide 500mA since Pine64 isn't able to ask for more and crappy USB cables leading to voltage drops (all sorts of power related issues 'by design' due to crappy Micro USB connector) with a missing custom led able to be used to provide user feedback while booting and the inability to use a lot of displays then you might already get what a support nightmare this device is.
</p>

<p>
	 
</p>

<p>
	The only reliable DOA detection method without a serial console is to ensure you have a working SD card (test it before <a href="http://docs.armbian.com/User-Guide_Getting-Started/#how-to-prepare-a-sd-card" rel="external nofollow">using either F3 or H2testw as outlined in our docs</a>), then check download integrity of the Armbian image (again see the documentation), then ensure you burn the image correctly to SD card (see docs), insert SD card, power on the board and wait 20 seconds. If then the leds on the Ethernet jack start to flash randomly at least the kernel boots and after waiting an additional 2 minutes you'll be able to login with SSH or serial console (for the latter better choose the EXP header over the Euler connector -- reason <a href="http://linux-sunxi.org/Pine64#Serial_port_.2F_UART" rel="external nofollow">here</a>)
</p>

<p>
	 
</p>

<p>
	Anyway: In case you run in booting or stability problems with Armbian on Pine64/Pine64+ be assured that it's <strong>not</strong> an Armbian issue. You run into any of the problems above therefore please try to resolve them on your own and send your complaints to Pine64 forum and not ours: <a href="http://forum.pine64.org/forumdisplay.php?fid=21" rel="external nofollow">http://forum.pine64.org/forumdisplay.php?fid=21</a>  (really, we don't do hardware and these issues are all related to hardware design decisions)
</p>

<p>
	 
</p>

<p>
	<img alt="3245dc9c-e90c-11e5-9bb9-a0bfab2f3e4d.jpg" src="https://cloud.githubusercontent.com/assets/12658961/13728087/3245dc9c-e90c-11e5-9bb9-a0bfab2f3e4d.jpg" loading="lazy"></p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><strong>Expectations:</strong></span>
</p>

<p>
	 
</p>

<p>
	The Pine64 folks did a great job raising expectations to the maximum. They advertised this board as 'first $15 64-Bit Single Board Super Computer', promised an average consumption of just 2.5W, the SoC remaining at 32Â°C and a few other weird things while they already knew that reality differs a lot (<a href="https://testforum.armbian.com/index.php/topic/491-need-help-on-pine-a64-64bit-quad-core-12ghz-single-board-computer/?hl=pine64" rel="">the journey started here last Dec</a>).
</p>

<p>
	 
</p>

<p>
	Pine64 is not a 'Super Computer' but most probably the slowest 64-bit ARM board around due to A64 being limited regarding maximum cpufreq and overheating issues (40nm process being responsible for) and lack of fast IO interconnections (only <em>one</em> real USB 2.0 host port present, no eMMC option possible, no SD card implementation using the faster modes). If you then combine the high expectations with a rather clueless kickstarter crowd (many of them not even getting that they did not buy products but backed a project) and the hardware flaws it's pretty obvious why their forums are full of complaints and why they receive so much boards as being DOA that work flawlessly in reality.
</p>

<p>
	 
</p>

<p>
	So why bringing Armbian to Pine64? Since for some (headless) use cases these boards are really nice and also cheap, A64 support is progressing nicely thanks to our awesome linux-sunxi community and also a few more A64 devices will be available soon.
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><strong>What do you get with Armbian on Pine64?</strong></span>
</p>

<p>
	 
</p>

<p>
	User experience will not be much different compared to <a href="https://github.com/longsleep" rel="external nofollow">longsleep</a>'s minimal Ubuntu image. If you prefer Debian then at least you can be assured that our images do not contain bad settings and silly bugs like the one's from official Pine64 downloads section (since they fiddle around manually with their OS images for example all Pine boards running these have the same MAC address by default which will cause network troubles if you've more than one board in the same collision domain).
</p>

<p>
	 
</p>

<p>
	We use the same thermal/throttling settings like OS images based on longsleep's kernel (since we helped <a href="https://github.com/longsleep/build-pine64-image/pull/3" rel="external nofollow">developing them back in March</a>), we use the same BSP kernel (<a href="https://github.com/longsleep/linux-pine64/commits/pine64-hacks-1.2?page=2" rel="external nofollow">patched by Zador up to the most recent version back in May</a>) and share a few more similarities since our modifications were sent back to longsleep so all OS images for Pine64 might be able to benefit from.
</p>

<p>
	 
</p>

<p>
	Differences: You don't need to execute longsleep's various platform scripts since kernel and u-boot updates are done using the usual <em>apt-get upgrade</em> mechanism in Armbian. You also don't need <strike>(and should <strong>not</strong> use)</strike> scripts like <a href="https://github.com/longsleep/build-pine64-image/blob/master/simpleimage/platform-scripts/pine64_tune_network.sh" rel="external nofollow">pine64_tune_network.sh</a> <strike>since they decrease network performance with Armbian</strike> (stay with our defaults unless you're an expert). And a few more tweaks might result in better performance and at least by using Armbian you have the usual Armbian experience with some additional tools at the usual location, automatic fs resize on first boot and so on.
</p>

<p>
	 
</p>

<p>
	We already provide a vanilla image currently based on kernel 4.7 but that's stuff for developers only, see below.
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><strong>Performance with legacy Armbian image:</strong></span>
</p>

<p>
	 
</p>

<p>
	'Out of the box' CPU performance with A64 is not that great unless you are able to benefit from the new CPU features: A64 uses Cortex-A53 CPU cores that feature 64-bit capabilities (which are not that interesting since A64 devices are limited to 2 GB DRAM anyway at the moment) but more interestingly ARMv8 instruction set can be used which might increase performance a lot when software will be compiled for this platform. Best example: the commonly mis-used sysbench cpu test: When running an ARMv6 'optimized' sysbench binary on an ARMv8 CPU then performance will be <strong>15 times slower</strong> than necessary (applies to the RPi 3 or the <a href="https://testforum.armbian.com/index.php/topic/751-rfc-support-cortex-a53arm64/?view=getlastpost" rel="">upcoming Banana Pi M64 when used with their OS images</a>)
</p>

<p>
	 
</p>

<p>
	But as soon as ARMv8 optimized code is used A64 can really shine in some areas. I used the default sysbench contained in Ubuntu Xenial's arm64 version, tried it with 20000 settings and got less than 8 seconds execution time (an RPi 3 running Raspbian has the faster CPU cores but <a href="https://testforum.armbian.com/index.php/topic/1748-sbc-consumptionperformance-comparisons/" rel="">here it will take 120 seconds</a> -- just due to different compiler switches!). Then I tried whether I can optimize performance building sysbench from source using
</p>

<pre class="ipsCode prettyprint">
export AM_CFLAGS="-march=armv8-a -mtune=cortex-a53"
</pre>

<p>
	and got 11 seconds execution time, so optimized code led to a huge performance loss? Not really, I checked out sysbench version 0.5 by accident and there for whatever reasons execution with ARMv8 optimization or in general takes longer (great! benchmark version influences execution time, so one more reason to never trust in sysbench numbers found on the net!). Using the '0.4' branch at version 0.4.12 I got an execution time of less than 7.5 seconds which is a 10 percent increase in performance <em>for free</em> just by using appropriate compiler flags:
</p>

<p>
	 
</p>

<p>
	 
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		 
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			 
		</p>

		<pre class="ipsCode prettyprint">

root@pine64:/# /usr/bin/sysbench --test=cpu --cpu-max-prime=20000 run --num-threads=4
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 20000


Test execution summary:
    total time:                          7.9788s
    total number of events:              10000
    total time taken by event execution: 31.8939
    per-request statistics:
         min:                                  3.17ms
         avg:                                  3.19ms
         max:                                  8.74ms
         approx.  95 percentile:               3.19ms

Threads fairness:
    events (avg/stddev):           2500.0000/3.54
    execution time (avg/stddev):   7.9735/0.00

root@pine64:/# /usr/local/src/sysbench-0.4.12/sysbench/sysbench --test=cpu --cpu-max-prime=20000 run --num-threads=4
sysbench 0.4.12:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4
Random number generator seed is 0 and will be ignored


Doing CPU performance benchmark

Primer numbers limit: 20000

Threads started!
Done.


General statistics:
    total time:                          7.4608s
    total number of events:              10000
    total time taken by event execution: 29.8223
    response time:
         min:                                  2.96ms
         avg:                                  2.98ms
         max:                                  8.51ms
         approx.  95 percentile:               2.99ms

Threads fairness:
    events (avg/stddev):           2500.0000/3.67
    execution time (avg/stddev):   7.4556/0.00

root@pine64:/# /usr/local/src/sysbench/sysbench/sysbench --test=cpu --cpu-max-prime=20000 run --num-threads=4
sysbench 0.5:  multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4
Random number generator seed is 0 and will be ignored


Prime numbers limit: 20000

Initializing worker threads...

Threads started!


General statistics:
    total time:                          11.0451s
    total number of events:              10000
    total time taken by event execution: 44.1223s
    response time:
         min:                                  4.38ms
         avg:                                  4.41ms
         max:                                 27.34ms
         approx.  95 percentile:               4.41ms

Threads fairness:
    events (avg/stddev):           2500.0000/6.36
    execution time (avg/stddev):   11.0306/0.01
</pre>

		<p>
			 
		</p>
	</div>
</div>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Another great example how using CPU features or not (<a href="https://en.wikipedia.org/wiki/ARM_architecture#Advanced_SIMD_.28NEON.29" rel="external nofollow">NEON</a> in this case) influences performance and 'benchmarking gone wrong' numbers are Linpack's MFLOPS scores. By choosing the package your distro provides instead of using one that makes use of your CPU's features you loose at lot of performance, ruin every performance per watt ratios and behave somewhat strange <img alt=":)" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" width="20" loading="lazy"></p>

<p>
	 
</p>

<p>
	Someone sent me Linpack MFLOPS numbers generated with Debian Jessie which is known for horribly conserative compiler settings when building packages -- if you switch your distro from Jessie to Ubuntu Xenial for example you get a <a href="https://testforum.armbian.com/index.php/topic/1748-sbc-consumptionperformance-comparisons/#entry14439" rel="">30 percent improvement in sysbench numbers</a>, yeah that's the 'benchmark' we already laughed at above.
</p>

<p>
	 
</p>

<p>
	With Jessie's/Raspbian's <em>hpcc</em> package, Pine64+ gets a score of 1625 MFLOPS and RPi 3 just 1035. So is Pine64 1.6 times faster than RPi 3? Nope, that's just 'benchmarking gone wrong' since these numbers are the result of a joke: Using tools for 'High performance computing' with standard settings (no one interested in HPC would ever do that). By using the correct Linpack version that makes use of NEON optimizations on both CPUs we end up with <a href="https://github.com/longsleep/build-pine64-image/pull/3#issuecomment-196267397" rel="external nofollow">3400 MFLOPS (Pine64 at 1.3 GHz)</a> vs <a href="https://www.raspberrypi.org/forums/viewtopic.php?f=63&amp;t=139712&amp;sid=e3aa02b98ce16e145dc380c9edc43e89&amp;p=927615" rel="external nofollow">3600 MFLOPS (RPi 3 at 1.2 GHz)</a>.
</p>

<p>
	 
</p>

<p>
	So if we're talking about this use case (HPC -- high performance computing) RPi 3 easily outperforms A64 (please keep in mind that the 3400 MFLOPS I got are the result of overclocking/overvolting at 1296 MHz, Pine64 is limited to 1152 MHz by default so we're talking about 3000 MFLOPS for A64 vs. 3600 MFLOPS for RPi 3's SoC. So it's not Pine64 being 1.6 times faster but RPi 3 being more suited for Linpack numbers and this type of benchmarks only shows how wrong it is to use distro packages that are built using conservative settings (which is a must if the distro wants to support a wide range of different SoCs!)
</p>

<p>
	 
</p>

<p>
	Anyway: I's obvious that in case you want to use Pine64 for number crunching or performance stuff in general evaluating whether compiling packages from source might improve performance is a great idea (at least it's obvious that from a performance point of view using an ARMv6 distro with ARMv8 SoCs is stupid -- reality with Raspbian running on RPi 3 and BPi M64). ARMv8 also provides crypto extensions that might be used with OpenSSL for example. Didn't look into it yet but maybe huge performance gains when using a Pine64 as HTTPS enabled web server or VPN endpoint are possible just like we've already seen with sysbench.
</p>

<p>
	 
</p>

<p>
	Network performance: Pine64+ combines the SoC internal GbE MAC implementation (the same as in H3 and A83T SoCs from Allwinner) with an external RTL8211E PHY as used on most GbE capable SBC. Default iperf performance with Armbian/Xenial: +900 MBits/sec in both directions (920/940 MHz) so no need for further tuning (please read through <a href="https://testforum.armbian.com/index.php/topic/1285-nanopi-m3-cheap-8-core-35/?view=getlastpost" rel="">this explanation here why blindly trusting in iperf numbers is always stupid</a> and why it's neither necessary nor useful to further tune network settings to get better iperf numbers).
</p>

<p>
	 
</p>

<p>
	 
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		 
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			 
		</p>

		<pre class="ipsCode prettyprint">

root@armbian:/var/git/Armbian# iperf3 -c 192.168.83.64
Connecting to host 192.168.83.64, port 5201
[  4] local 192.168.83.115 port 60392 connected to 192.168.83.64 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   112 MBytes   938 Mbits/sec    0    356 KBytes       
[  4]   1.00-2.00   sec   112 MBytes   941 Mbits/sec    0    376 KBytes       
[  4]   2.00-3.00   sec   112 MBytes   943 Mbits/sec    0    376 KBytes       
[  4]   3.00-4.00   sec   112 MBytes   941 Mbits/sec    0    376 KBytes       
[  4]   4.00-5.00   sec   112 MBytes   938 Mbits/sec    0    376 KBytes       
[  4]   5.00-6.00   sec   113 MBytes   947 Mbits/sec    0    376 KBytes       
[  4]   6.00-7.00   sec   112 MBytes   940 Mbits/sec    0    395 KBytes       
[  4]   7.00-8.00   sec   112 MBytes   942 Mbits/sec    0    395 KBytes       
[  4]   8.00-9.00   sec   112 MBytes   942 Mbits/sec    0    395 KBytes       
[  4]   9.00-10.00  sec   112 MBytes   942 Mbits/sec    0    395 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.09 GBytes   940 Mbits/sec                  receiver

root@pine64:~# iperf3 -c 192.168.83.115
Connecting to host 192.168.83.115, port 5201
[  4] local 192.168.83.64 port 39363 connected to 192.168.83.115 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   114 MBytes   954 Mbits/sec    0   1.05 MBytes       
[  4]   1.00-2.00   sec   110 MBytes   922 Mbits/sec    0   1.24 MBytes       
[  4]   2.00-3.01   sec   110 MBytes   918 Mbits/sec    0   1.24 MBytes       
[  4]   3.01-4.00   sec   109 MBytes   917 Mbits/sec    0   1.24 MBytes       
[  4]   4.00-5.01   sec   110 MBytes   918 Mbits/sec    0   1.24 MBytes       
[  4]   5.01-6.01   sec   110 MBytes   923 Mbits/sec    0   1.24 MBytes       
[  4]   6.01-7.00   sec   109 MBytes   918 Mbits/sec    0   1.24 MBytes       
[  4]   7.00-8.00   sec   110 MBytes   923 Mbits/sec    0   1.24 MBytes       
[  4]   8.00-9.00   sec   109 MBytes   912 Mbits/sec    0   1.24 MBytes       
[  4]   9.00-10.00  sec   110 MBytes   923 Mbits/sec    0   1.24 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   923 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   920 Mbits/sec                  receiver
</pre>

		<div>
			<p>
				 
			</p>
		</div>
	</div>

	<p>
		 
	</p>
</div>

<div>
	 
</div>

<div>
	Please keep in mind that for yet unknown reasons a couple of Pine64+ are reported to not reliably work at Gbit Ethernet speeds. Please also keep in mind how settings might matter. If you run a standard iperf test in 'passive benchmarking' mode you might get throughput numbers 200-250 Mbits/sec lower than ours maybe just due to a wrong cpufreq governor. Ethernet throughput scales linearly with CPU clockspeed with most cheap ARM SoCs (our only known exception from this is Solid-Run's Clearfog which uses a SoC optimized for IO and network throughput) so by using the <em>ondemand</em> governor with wrong/default settings for example you ensure that an idle SBC will only slowly increase clockspeed when you start your iperf test. This is Armbian switching from <em>interactive</em> to <em>ondemand</em> governor now being below 700 Mbits/sec just due to adjusting CPU clockspeed too slow:
</div>

<div>
	 
</div>

<div>
	<div class="ipsSpoiler" data-ipsspoiler="">
		<div class="ipsSpoiler_header">
			 
		</div>

		<div class="ipsSpoiler_contents">
			<p>
				 
			</p>
		</div>

		<div>
			<pre class="ipsCode prettyprint">
root@pine64:~# iperf3 -c 192.168.83.115
Connecting to host 192.168.83.115, port 5201
[  4] local 192.168.83.64 port 39365 connected to 192.168.83.115 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.02   sec  47.9 MBytes   395 Mbits/sec    1   99.0 KBytes       
[  4]   1.02-2.02   sec  55.0 MBytes   459 Mbits/sec    0    132 KBytes       
[  4]   2.02-3.01   sec  60.3 MBytes   511 Mbits/sec    0    151 KBytes       
[  4]   3.01-4.01   sec  91.2 MBytes   769 Mbits/sec    0    170 KBytes       
[  4]   4.01-5.01   sec  96.2 MBytes   804 Mbits/sec    0    182 KBytes       
[  4]   5.01-6.01   sec  96.2 MBytes   806 Mbits/sec    0    191 KBytes       
[  4]   6.01-7.01   sec  96.2 MBytes   808 Mbits/sec    0    195 KBytes       
[  4]   7.01-8.01   sec  96.2 MBytes   808 Mbits/sec    0    197 KBytes       
[  4]   8.01-9.00   sec  95.0 MBytes   805 Mbits/sec    0    198 KBytes       
[  4]   9.00-10.00  sec  97.5 MBytes   815 Mbits/sec    0    199 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   832 MBytes   698 Mbits/sec    1             sender
[  4]   0.00-10.00  sec   832 MBytes   698 Mbits/sec                  receiver</pre>
		</div>

		<p>
			 
		</p>
	</div>
</div>

<p>
	 
</p>

<p>
	 
</p>

<p>
	The other stuff normally 'benchmarked' is not worth mentioning/testing it so just as quick notes:
</p>

<ul><li>
		A64 is showing the same SDIO limitation as most other SoCs limiting sequential transer speeds to/from SD card to ~23MB/s (do the math yourself: SDIO with 4 bit @ 50 MHz minus some overhead is 23 MB/s) -- fortunately that's rather uninteresting since random IO matters on SBCs and there it's your choice to choose between crappy cards that horribly suck or follow our <a href="https://testforum.armbian.com/index.php/topic/954-sd-card-performance/" rel="">recommendations and choose a really fast card</a>. But Pine64 can not use the faster eMMC interface so if you really need high IO bandwidth and high IOPS better choose a different device
	</li>
	<li>
		USB is USB 2.0 so expect ~35MB/s with BSP kernel and ~40MB/s with mainline kernel and UASP capable disk enclosures for individual USB connections (UASP + mainline kernel might show high random IO numbers if used together with an SSD!)
	</li>
	<li>
		HW accelerated video decoding is already possible (see here for the <a href="http://linux-sunxi.org/Cedrus#Supported_codec_matrix" rel="external nofollow">codec matrix</a>) and situation with HW accelerated video encoding looks promising too: <a href="https://testforum.armbian.com/index.php/topic/1855-ffmpeg-with-cedrus-h264-hw-encoder-a64-cmos-camera/" rel="">http://forum.armbian.com/index.php/topic/1855-ffmpeg-with-cedrus-h264-hw-encoder-a64-cmos-camera/</a>
	</li>
</ul><p>
	In case one is interested in performance testing on SBCs <em>monitoring</em> what's happening is mandatory. Currently our <em>armbianmonitor</em> tool does not install the necessary templates on A64 so still my script to install this stuff on A64 should be used: <a href="http://kaiser-edv.de/tmp/4U4tkD/install-rpi-monitor-for-a64.sh" rel="external nofollow">http://kaiser-edv.de/tmp/4U4tkD/install-rpi-monitor-for-a64.sh</a> (read the script's header how to install)
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><strong>Performance with vanilla Armbian image:</strong></span>
</p>

<p>
	 
</p>

<p>
	Not interesting at all at the time of this writing since while Pine64 happily boots mainline u-boot/kernel it's way too early to do tests in this area. Currently there's no access to the <a href="http://linux-sunxi.org/Pine64#AXP803_PMIC" rel="external nofollow">AXP803 PMIC</a> from mainline kernel so not even VDD_CPUX voltage regulation works and as a result cpufreq scaling is also not working and the SoC is clocked pretty conservative. Since most performance relevant stuff running on cheap ARM SoCs depends on (switching as fast as possible to) high CPU clockspeeds benchmarking is absolutely useless now.
</p>

<p>
	 
</p>

<p>
	You should also keep in mind that many core features still not work with mainline kernel so this is really stuff for developers (who normally prefer their own way to boot their freshly compiled kernels). So please don't expect that much from vanilla images for A64 boards <em>now</em>, better choose the legacy variant.
</p>

<p>
	 
</p>

<p>
	<span style="font-size:18px;"><strong>The future?</strong></span>
</p>

<p>
	 
</p>

<p>
	A few more A64 boards are announced or already available as dev samples, for example the aforementioned <a href="http://linux-sunxi.org/Banana_Pi_M64" rel="external nofollow">BPi M64</a> (possible advantages over Pine64: sane DC-IN, real USB OTG, more USB host ports behind an internal USB hub, eMMC available and custom leds being able to provide user feedback, everything else is more or less the same as the 2 GB Pine64+) or Olimex working on both an <a href="https://olimex.wordpress.com/tag/a64/" rel="external nofollow">SBC and an A64 based Laptop</a>.
</p>

<p>
	 
</p>

<p>
	And then Xunlong announced <a href="https://testforum.armbian.com/index.php/topic/1762-opi-3-and-opi-pc2-with-h5/" rel="">2 new SBC based on Allwinner's H5</a>. H5 (<a href="http://www.allwinnertech.com/uploads/pdf/2016080317504281.pdf" rel="external nofollow">product brief</a>) seems to be A64's bigger sibling providing video/GPU enhancements, 3 true USB host ports in addition to one USB OTG (<em>just like H3</em> where we can use all 4 USB ports that do not have to share bandwidth), integrating a Fast Ethernet PHY (<em>just like H3</em>) but lacks PMIC support (again <em>just like H3</em>, so no mobile useage, no battery support out of the box and it gets interesting how VDD_CPUX voltage regulation will work there -- maybe '<em>just like H3</em>' again).
</p>

<p>
	 
</p>

<p>
	Since A64 shares many/most IP blocks with H3 and A83T from Allwinner I still hope that H5 will be just a mixture of A64 and H3 and we will get full support based on what we now have for these 2 other SoCs pretty fast. But that's 100 percent speculation at this moment <img alt=":)" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" width="20" loading="lazy"></p>

<p>
	 
</p>

<p>
	Update regarding longsleep's pine64_tune_network.sh script. Benchmark results don't get automatically worse when applying the tweaks from his script but the result variation gets huge (730 - 950 Mbits/sec, exceeding 940 Mbits/sec is already an indication that buffers are invoked):
</p>

<p>
	 
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		 
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			 
		</p>

		<pre class="ipsCode prettyprint">

root@pine64:/home/tk# iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.83.115, port 50002
[  5] local 192.168.83.76 port 5201 connected to 192.168.83.115 port 50004
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  90.7 MBytes   759 Mbits/sec                  
[  5]   1.00-2.00   sec  92.2 MBytes   774 Mbits/sec                  
[  5]   2.00-3.00   sec  92.5 MBytes   776 Mbits/sec                  
[  5]   3.00-4.00   sec  92.5 MBytes   776 Mbits/sec                  
[  5]   4.00-5.00   sec  92.6 MBytes   777 Mbits/sec                  
[  5]   5.00-6.00   sec   106 MBytes   889 Mbits/sec                  
[  5]   6.00-7.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   7.00-8.00   sec   111 MBytes   927 Mbits/sec                  
[  5]   8.00-9.00   sec   101 MBytes   847 Mbits/sec                  
[  5]   9.00-10.00  sec   112 MBytes   942 Mbits/sec                  
[  5]  10.00-10.02  sec  1.66 MBytes   931 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.02  sec  1007 MBytes   843 Mbits/sec    9             sender
[  5]   0.00-10.02  sec  1004 MBytes   841 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.83.115, port 50006
[  5] local 192.168.83.76 port 5201 connected to 192.168.83.115 port 50008
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  88.4 MBytes   740 Mbits/sec                  
[  5]   1.00-2.00   sec  91.9 MBytes   771 Mbits/sec                  
[  5]   2.00-3.00   sec   109 MBytes   918 Mbits/sec                  
[  5]   3.00-4.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   4.00-5.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   5.00-6.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   6.00-7.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   7.00-8.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   8.00-9.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   9.00-10.00  sec   112 MBytes   941 Mbits/sec                  
[  5]  10.00-10.02  sec  1.89 MBytes   928 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.02  sec  1.05 GBytes   904 Mbits/sec    0             sender
[  5]   0.00-10.02  sec  1.05 GBytes   902 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.83.115, port 50010
[  5] local 192.168.83.76 port 5201 connected to 192.168.83.115 port 50012
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  87.7 MBytes   734 Mbits/sec                  
[  5]   1.00-2.00   sec  92.1 MBytes   773 Mbits/sec                  
[  5]   2.00-3.00   sec  92.2 MBytes   773 Mbits/sec                  
[  5]   3.00-4.00   sec  92.1 MBytes   773 Mbits/sec                  
[  5]   4.00-5.00   sec  92.1 MBytes   773 Mbits/sec                  
[  5]   5.00-6.00   sec   102 MBytes   859 Mbits/sec                  
[  5]   6.00-7.00   sec  93.1 MBytes   781 Mbits/sec                  
[  5]   7.00-8.00   sec  92.1 MBytes   773 Mbits/sec                  
[  5]   8.00-9.00   sec  92.1 MBytes   773 Mbits/sec                  
[  5]   9.00-10.00  sec  94.9 MBytes   796 Mbits/sec                  
[  5]  10.00-10.02  sec  1.62 MBytes   740 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.02  sec   936 MBytes   783 Mbits/sec    0             sender
[  5]   0.00-10.02  sec   933 MBytes   781 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.83.115, port 50014
[  5] local 192.168.83.76 port 5201 connected to 192.168.83.115 port 50016
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec  87.1 MBytes   729 Mbits/sec                  
[  5]   1.00-2.00   sec  92.1 MBytes   774 Mbits/sec                  
[  5]   2.00-3.00   sec  91.8 MBytes   769 Mbits/sec                  
[  5]   3.00-4.00   sec  90.4 MBytes   759 Mbits/sec                  
[  5]   4.00-5.00   sec  96.4 MBytes   808 Mbits/sec                  
[  5]   5.00-6.00   sec  90.2 MBytes   758 Mbits/sec                  
[  5]   6.00-7.00   sec   113 MBytes   951 Mbits/sec                  
[  5]   7.00-8.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   9.00-10.00  sec   112 MBytes   942 Mbits/sec                  
[  5]  10.00-10.02  sec  1.83 MBytes   932 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.02  sec  1003 MBytes   840 Mbits/sec    0             sender
[  5]   0.00-10.02  sec  1000 MBytes   837 Mbits/sec                  receiver
</pre>

		<p>
			 
		</p>
	</div>
</div>

<p>
	 
</p>

<p>
	 
</p>

<p>
	So better enjoy defaults unless you really know what you do since network performance tuning works in different directions. Stuff that might increase throughput might negatively affect latency and vice versa. So if you start to tune, tune for your specific use case!
</p>
]]></description><guid isPermaLink="false">1917</guid><pubDate>Sun, 28 Aug 2016 15:04:46 +0000</pubDate></item><item><title>5.10 kernel mipi dsi command mode(pine a64)</title><link>https://testforum.armbian.com/topic/18224-510-kernel-mipi-dsi-command-modepine-a64/</link><description><![CDATA[<p>
	I have looked up relevant information on Google.<br />
	Since 5.6, pine a64 already supports dsi in the kernel mainline.And the Feiyang FY07024DI26A30-D 7inch MIPI-DSI LCD Panel driver and <abbr title="Device tree source">dts</abbr> already released.<br />
	But the 7inch lcd above is a video mode panel.I can not found any information about the command mode panel.<br />
	Is pine a64 mipi-dsi supports command mode from the kernel mainline?<br />
	Any help is appreciated!!
</p>
]]></description><guid isPermaLink="false">18224</guid><pubDate>Wed, 26 May 2021 05:04:51 +0000</pubDate></item><item><title>a64 (pine64) upgrading armbian-bsp-cli-pine64 threatens to remove linux-focal-root-current-pine64</title><link>https://testforum.armbian.com/topic/18215-a64-pine64-upgrading-armbian-bsp-cli-pine64-threatens-to-remove-linux-focal-root-current-pine64/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	  Just want to check what the recommended approach is with today's dist-upgrade.
</p>

<p>
	 
</p>

<p>
	I noticed that armbian-bsp-cli-pine64 was held back, so tried a manual install to see what the problem was.
</p>

<p>
	 
</p>

<p>
	Seems like apt wants to remove linux-focal-root-current-pine64 to upgrade armbian-bsp-cli-pine64.
</p>

<p>
	 
</p>

<p>
	  Is this a temporary dependency issue?
</p>

<p>
	 
</p>

<p>
	Obviously not performing the upgrade unless informed of the correct approach.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	BR.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">18215</guid><pubDate>Tue, 25 May 2021 08:39:14 +0000</pubDate></item><item><title>Pine A64 MIPI DSI mainline</title><link>https://testforum.armbian.com/topic/8392-pine-a64-mipi-dsi-mainline/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	   I have a couple of these boards which I have been using with Armbian and the old, 3.10 kernel. Ideally I would really like to go mainline as later kernels have some functionality that would be useful for my use of the board. The only remaining reason (apart from cpu freq.) for sticking to the 3.10 kernel has been the lack of MIPI DSI support in mainline, but now I see that, despite the Matrix at <a href="http://linux-sunxi.org/Linux_mainlining_effort" rel="external nofollow">http://linux-sunxi.org/Linux_mainlining_effort</a> still being red for A64 mipi, some work is being/has been done by <a href="https://patchwork.kernel.org/patch/10617923/" rel="external nofollow">Maxime Ripard</a>.
</p>

<p>
	 
</p>

<p>
	I'm just wondering if anyone here knows if a working mainline kernel with DSI for the Pine 64 is starting to look like a possibility and if it might be possible to include in an armbian build.  I might be able to do some testing of anyone can guide me in making a build with the necessary patches.
</p>
]]></description><guid isPermaLink="false">8392</guid><pubDate>Fri, 05 Oct 2018 08:36:00 +0000</pubDate></item><item><title>Pine A64-LTS not booting after apt-get upgrade Armbian 10.7 to 10.9</title><link>https://testforum.armbian.com/topic/18031-pine-a64-lts-not-booting-after-apt-get-upgrade-armbian-107-to-109/</link><description><![CDATA[<p>
	I recently upgraded my working Pine A64-<abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> board to Armbian 10.9 by using standard
</p>

<p>
	'apt-get update' followed by 'apt-get upgrade'
</p>

<p>
	 
</p>

<p>
	The update went fine (no error messages) and i rebooted the unit.
</p>

<p>
	 
</p>

<p>
	The unit was unable to mount the root filesystem it complaint about UUID probably
</p>

<p>
	incorrect, but this was not the case. After doing some research i found out that the <abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr>
</p>

<p>
	file was changed on the mmc0 part. The option 'non-removable' was removed wich let to
</p>

<p>
	the kernel using the PUSH-PUSH routine? cd pins to see if a SD card is present.
</p>

<p>
	It looks like it that not all versions of the Pine A64-<abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr> have this pin or maybe in the past
</p>

<p>
	had a faulty batch? Anyway to fix the problem i had to add 'non-removable' again to the
</p>

<p>
	<abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr> which probably switches the way the detection works and probably uses the
</p>

<p>
	standard CD-detect routine to see if a card is present.
</p>

<p>
	 
</p>

<p>
	I also noticed other people seeing this problem in u-boot and other places. See one of
</p>

<p>
	those reference here:
</p>

<p>
	 
</p>

<p>
	<a href="https://www.spinics.net/lists/devicetree/msg418000.html" rel="external nofollow">https://www.spinics.net/lists/devicetree/msg418000.html</a>
</p>

<p>
	 
</p>

<p>
	Maybe this get fixed automatically upstream? But maybe in the meantime Armbian
</p>

<p>
	maintainers can set a special fix in the <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> and/or overlay for the Pine A64-<abbr title="Long term support"><abbr title="Long term support">LTS</abbr></abbr>.
</p>

<p>
	 
</p>

<p>
	The specific steps i took now to fix the problem where:
</p>

<p>
	 
</p>

<p>
	1. Make a back-up off the <abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr> file
</p>

<p>
	    cp /boot/<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>/allwinner/sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> /boot/<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>/allwinner/sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>-orig
</p>

<p>
	 
</p>

<p>
	2. Convert the <abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr> file that is used to <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> (IGNORING the warnings from <abbr title="Device tree compiler"><abbr title="Device tree compiler">dtc</abbr></abbr> conversion)
</p>

<p>
	    <abbr title="Device tree compiler"><abbr title="Device tree compiler">dtc</abbr></abbr> -I <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> -O <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> -o sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>
</p>

<p>
	 
</p>

<p>
	3. Edit the file 'sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr>' at the position starting somewhere along line number  12230
</p>

<p>
	 
</p>

<p>
	Change:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">             mmc@1c0f000 {
                        compatible = "allwinner,sun50i-a64-mmc";
                        reg = &lt; 0x1c0f000 0x1000 &gt;;
                        clocks = &lt; 0x02 0x1f 0x02 0x4b &gt;;
                        clock-names = "ahb\0mmc";
                        resets = &lt; 0x02 0x08 &gt;;
                        reset-names = "ahb";
                        interrupts = &lt; 0x00 0x3c 0x04 &gt;;
                        max-frequency = &lt; 0x8f0d180 &gt;;
                        status = "okay";
                        bus-width = &lt; 0x04 &gt;;
                        #address-cells = &lt; 0x01 &gt;;
                        #size-cells = &lt; 0x00 &gt;;
                        pinctrl-names = "default";
                        pinctrl-0 = &lt; 0x25 &gt;;
                        vmmc-supply = &lt; 0x26 &gt;;
                        disable-wp;
                        cd-gpios = &lt; 0x27 0x05 0x06 0x01 &gt;;
                        phandle = &lt; 0x69 &gt;;
                };</span></pre>

<p>
	 
</p>

<p>
	Into:
</p>

<p>
	 
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">              mmc@1c0f000 {
                        compatible = "allwinner,sun50i-a64-mmc";
                        reg = &lt; 0x1c0f000 0x1000 &gt;;
                        clocks = &lt; 0x02 0x1f 0x02 0x4b &gt;;
                        clock-names = "ahb\0mmc";
                        resets = &lt; 0x02 0x08 &gt;;
                        reset-names = "ahb";
                        interrupts = &lt; 0x00 0x3c 0x04 &gt;;
                        max-frequency = &lt; 0x8f0d180 &gt;;
                        status = "okay";
                        bus-width = &lt; 0x04 &gt;;
                        #address-cells = &lt; 0x01 &gt;;
                        #size-cells = &lt; 0x00 &gt;;
                        pinctrl-names = "default";
                        pinctrl-0 = &lt; 0x25 &gt;;
                        vmmc-supply = &lt; 0x26 &gt;;
                        disable-wp;
                        non-removable;
                        cd-gpios = &lt; 0x27 0x05 0x06 0x01 &gt;;
                        phandle = &lt; 0x69 &gt;;
                };</span></pre>

<p>
	 
</p>

<p>
	Notice how i added 'non-removable;' between the 'disable-wp;' and 'cd-gpios = &lt; 0x27 0x05 0x06 0x01 &gt;;' lines.
</p>

<p>
	 
</p>

<p>
	4. Convert the <abbr title="Device tree source"><abbr title="Device tree source">DTS</abbr></abbr> file that we have just editted to the <abbr title="Device tree blob"><abbr title="Device tree blob">DTB</abbr></abbr> format (IGNORING the warnings from <abbr title="Device tree compiler"><abbr title="Device tree compiler">dtc</abbr></abbr> conversion)
</p>

<p>
	    <abbr title="Device tree compiler"><abbr title="Device tree compiler">dtc</abbr></abbr> -I <abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr> -O <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> -o sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> sun50i-a64-pine64-<abbr title="Long term support"><abbr title="Long term support">lts</abbr></abbr>.<abbr title="Device tree source"><abbr title="Device tree source">dts</abbr></abbr>
</p>

<p>
	 
</p>

<p>
	5. Boot the unit with the new changes. it should now boot fine.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">18031</guid><pubDate>Wed, 05 May 2021 12:24:05 +0000</pubDate></item><item><title>Pine64 H64 does not boot from eMMC [solved]</title><link>https://testforum.armbian.com/topic/12479-pine64-h64-does-not-boot-from-emmc-solved/</link><description><![CDATA[<p>
	Hi all,
</p>

<p>
	 
</p>

<p>
	I hope someone can help me with an annoying but not pressing eMMC boot problem.
</p>

<p>
	 
</p>

<p>
	Recently I bought myself a Pin64 H64 3GB SBC  and an 32GB eMMC module (actually ordered a 16GB but got a 32GB <span>:-) )  I have a Waveshare 7" TFT touchscreen attached.  SBC and Screen are powered either a 5V/3A PSU or a batterypack.</span>
</p>

<p>
	 
</p>

<p>
	<span>Now the board boots fine and fast! from a Samsung EVO sd card .. no problems there, but I cannot get the board to boot from the eMMC module.</span>
</p>

<p>
	 
</p>

<p>
	<span>What I have done so far:</span>
</p>

<p>
	 
</p>

<p>
	<span>1) Flash an Armbian Buster image to the eMMC (using a USB_eMMC converter) with Etcher on Linux Mint...  Boot the board from eMMC WITHOUT sd card installed.  The system hangs when the kernel is started.. see attached picture and u-boot output.</span>
</p>

<p>
	<span>2) Wipe the whole eMMC clean, format as ext4.  Install it on the board, insert sd card .. boot the board.. OK..  try 'nand-sata-install' from cli  or armbian-config-&gt;system-&gt;install ...   both methods just hang instantly.</span>
</p>

<p>
	 
</p>

<p>
	Apart from these boot attempts I tried to access the (ext4 formatted) eMMC module after bootup from sd.  But I do not see the device in the 'mount'  output or /dev/disk/by-uuid  listing.
</p>

<p>
	 
</p>

<p>
	Is there anything else I can verify/try ?   The eMMC module 'seems' to be functioning fine in the USB_eMMC converter ? 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Best regards and a big thank you to the dev team for Armbian.. it's running very swiftly !  Well worth my (first) donation <span><span>:-)</span></span>
</p>

<p>
	 
</p>

<p>
	<span><span>Dirk,</span></span>
</p>

<p>
	<span><span>Netherlands</span></span>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="5608" href="https://testforum.armbian.com/uploads/monthly_2019_12/20191218_122211.jpg.eab169d484bec16a356f73f6f7333184.jpg" rel=""><img alt="20191218_122211.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="5608" width="1000" src="https://testforum.armbian.com/uploads/monthly_2019_12/20191218_122211.thumb.jpg.169e37931e8f4230d545df8363b8ad90.jpg" loading="lazy" height="480"></a>
</p>

<p>
	<a class="ipsAttachLink" data-fileext="txt" data-fileid="5607" href="https://testforum.armbian.com/applications/core/interface/file/attachment.php?id=5607" rel="">Armbian_boot_eMMC.txt</a>
</p>
]]></description><guid isPermaLink="false">12479</guid><pubDate>Thu, 19 Dec 2019 09:39:16 +0000</pubDate></item><item><title>Missing kernel module s5k4ec</title><link>https://testforum.armbian.com/topic/16104-missing-kernel-module-s5k4ec/</link><description><![CDATA[<p>
	For PINE A64 with Ubuntu Focal (stable and nightly) with a 5 MP camera, the <a href="https://docs.armbian.com/board_details/pine64/" rel="external nofollow">documentation</a> states to add camera_type=s5k4ec to /boot/armbianEnv.txt and reboot. After rebooting, the kernel module is not available. modinfo s5k4ec returns: modinfo: ERROR: Module s5k4ec not found.
</p>

<p>
	 
</p>

<p>
	The file /boot/config-5.9.8-sunxi64 shows that only camera sensors OV2640 and MT9V011 are available and CONFIG_VIDEO_S5K4ECGX is not set. Is this an issue with the build?
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16104</guid><pubDate>Wed, 25 Nov 2020 13:26:11 +0000</pubDate></item><item><title>Pine64-LTS high kworker load with cpufreq problems after upgrade to 20.02.1</title><link>https://testforum.armbian.com/topic/13117-pine64-lts-high-kworker-load-with-cpufreq-problems-after-upgrade-to-20021/</link><description><![CDATA[<p>
	I am using Armbian Buster on Pine64-LTS units. I recently upgraded version 19.11.3 to 20.02.1
</p>

<p>
	and since having problems with high kworker load and strange warning in dmesg output:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">[    7.734729] ------------[ cut here ]------------
[    7.737084] WARNING: CPU: 1 PID: 30 at drivers/clocksource/arm_arch_timer.c:360 sun50i_a64_read_cntpct_el0+0x24/0x30
[    7.738928] Modules linked in: cpufreq_dt realtek axp20x_usb_power industrialio pinctrl_axp209 dw_hdmi_cec lima dw_hdmi_i2s_audio gpu_sched dwmac_sun8i mdio_mux
[    7.741485] CPU: 1 PID: 30 Comm: kworker/1:1 Not tainted 5.4.20-sunxi64 #20.02.1
[    7.743435] Hardware name: Pine64 LTS (DT)
[    7.745514] Workqueue: events dbs_work_handler
[    7.747504] pstate: 80000005 (Nzcv daif -PAN -UAO)
[    7.749508] pc : sun50i_a64_read_cntpct_el0+0x24/0x30
[    7.751489] lr : arch_counter_get_cntpct_stable+0x38/0x78
[    7.753420] sp : ffff8000110739c0
[    7.755295] x29: ffff8000110739c0 x28: ffff0000721e6200 
[    7.757379] x27: ffff00007246a200 x26: ffff000077b77098 
[    7.759351] x25: 0000000000000000 x24: 00000000ffffffff 
[    7.761348] x23: 0000000000000001 x22: ffff800011073b10 
[    7.763352] hrtimer: interrupt took 26239875 ns
[    7.765224] x21: 0000000000000000 x20: 0000000000000018 
[    7.767278] x19: ffff800010f4f000 x18: 0000000000000001 
[    7.769323] x17: 0000000000000018 x16: 0000000000000002 
[    7.771285] x15: 0000000000000001 x14: 0000000000000001 
[    7.773271] x13: 0000000000000005 x12: 0000000000000021 
[    7.775229] x11: 0000000000000005 x10: 00000000bcd3d800 
[    7.777217] x9 : 0000000000000004 x8 : 0000000000000004 
[    7.779167] x7 : ffff800010f1b5a0 x6 : 00000000112a8800 
[    7.781121] x5 : 0000000000000010 x4 : 000000000000ffff 
[    7.783220] x3 : 0000000000000050 x2 : 000000001ad70336 
[    7.785255] x1 : 0000000000000000 x0 : 000000001ad7033c 
[    7.787272] Call trace:
[    7.789327]  sun50i_a64_read_cntpct_el0+0x24/0x30
[    7.791318]  __delay+0x20/0xa0
[    7.793261]  __udelay+0x28/0x30
[    7.795273]  ccu_mux_notifier_cb+0x5c/0x90
[    7.797319]  notifier_call_chain+0x54/0x90
[    7.799359]  __srcu_notifier_call_chain+0x54/0x90
[    7.801372]  srcu_notifier_call_chain+0x14/0x20
[    7.803396]  __clk_notify+0x88/0xc8
[    7.805373]  clk_propagate_rate_change+0xb8/0xd0
[    7.807431]  clk_core_set_rate_nolock+0x114/0x1b8
[    7.809441]  clk_set_rate+0x34/0xa0
[    7.811426]  dev_pm_opp_set_rate+0x260/0x498
[    7.813493]  set_target+0x3c/0x80 [cpufreq_dt]
[    7.815441]  __cpufreq_driver_target+0x18c/0x580
[    7.817405]  od_dbs_update+0x138/0x190
[    7.819404]  dbs_work_handler+0x3c/0x70
[    7.821455]  process_one_work+0x1ec/0x370
[    7.823545]  worker_thread+0x4c/0x4f8
[    7.825518]  kthread+0x120/0x128
[    7.827490]  ret_from_fork+0x10/0x18
[    7.829444] ---[ end trace 869ed0a5cc6097b4 ]---</span></pre>

<p>
	I have traced the high kworker load back to the cpufreq-dt module. When unloading this
</p>

<p>
	module the high kworker load stops and system is usable again. As a workaround turning off
</p>

<p>
	ondemand governor and selecting performance governor looked like it did the job.
</p>

<p>
	 
</p>

<p>
	But on other units with an X graphics desktop i get a much higher kworker load and the system
</p>

<p>
	becomes unusable (slow). The only thing that works all the time is unloading the cpufreq-dt
</p>

<p>
	module.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">13117</guid><pubDate>Wed, 19 Feb 2020 21:19:03 +0000</pubDate></item><item><title>RESOLVED: a64-pine64+ goodix touchscreen (i2c) fails to load on reboot</title><link>https://testforum.armbian.com/topic/16773-resolved-a64-pine64-goodix-touchscreen-i2c-fails-to-load-on-reboot/</link><description><![CDATA[<p>
	 5.10.4-sunxi64 pine64 board with goodix 7" mipi-dsi LCD touchscreen.
</p>

<p>
	 
</p>

<p>
	The LCD output is working fine across reboots after enabling the dt overlay using armbian-config.
</p>

<p>
	 
</p>

<p>
	For the touchscreen, I have added "goodix" to /etc/modules and the digitizer works fine from all cold boots:
</p>

<p>
	~$ dmesg | grep -i goodix<br />
	[    5.836601] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator<br />
	[    5.843605] Goodix-TS 1-005d: ID k}\xfa, version: 7b6f<br />
	[    5.866815] input: Goodix Capacitive TouchScreen as /devices/platform/<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>/1c2ac00.i2c/i2c-1/1-005d/input/input5
</p>

<p>
	 
</p>

<p>
	but a reboot leads to either:
</p>

<p>
	[    5.856172] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator<br />
	[    5.856668] Goodix-TS 1-005d: i2c test failed attempt 1: -6<br />
	[    5.886780] Goodix-TS 1-005d: ID k}\xfa, version: 7b6f<br />
	[    5.909817] input: Goodix Capacitive TouchScreen as /devices/platform/<abbr title="System On a Chip"><abbr title="System On a Chip">soc</abbr></abbr>/1c2ac00.i2c/i2c-1/1-005d/input/input5
</p>

<p>
	and the screen works
</p>

<p>
	 
</p>

<p>
	or:
</p>

<p>
	$ dmesg | grep -i goodix<br />
	[    5.862909] Goodix-TS 1-005d: supply VDDIO not found, using dummy regulator<br />
	[    5.864033] Goodix-TS 1-005d: i2c test failed attempt 1: -6<br />
	[    5.889397] Goodix-TS 1-005d: i2c test failed attempt 2: -6<br />
	[    5.925072] Goodix-TS 1-005d: I2C communication failure: -6
</p>

<p>
	 
</p>

<p>
	a double reboot works.
</p>

<p>
	 
</p>

<p>
	It looks like the i2c bus is not being completely reset in time, but that multiple connection attempts  sometimes succeed.
</p>

<p>
	 
</p>

<p>
	Can anyone suggest a workaround, to force a reset, add more i2c test iterations or provide more time to load from reboot?
</p>

<p>
	 
</p>

<p>
	BR.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16773</guid><pubDate>Thu, 14 Jan 2021 13:25:23 +0000</pubDate></item><item><title>Time to update the download page for pine64?</title><link>https://testforum.armbian.com/topic/16766-time-to-update-the-download-page-for-pine64/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	Thanks to the hard work of your team, the Pine64-plus touchscreen now works great with the mainline kernel and legacy images are no longer listed in the download options, but it looks like some of the instructions at <a href="https://www.armbian.com/pine64/" rel="external nofollow">https://www.armbian.com/pine64/</a>
</p>

<p>
	are still referring to the "old way" of doing things:
</p>

<p>
	 
</p>

<p>
	ie:
</p>

<p>
	Pine64’s own LCD with touchscreen support can simply be activated in /boot/armbianEnv.txt by setting pine64_lcd=on and adding gt9xxf_ts to /etc/modules followed by a reboot.
</p>

<p>
	 
</p>

<p>
	The LCD screen is now activated by manipulating the DT overlays, which can even be done from armbian-config - hardware, and the touchscreen module is now called "goodix".
</p>

<p>
	 
</p>

<p>
	 Please can someone find the time to update the instructions on the page?
</p>

<p>
	 
</p>

<p>
	BR.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16766</guid><pubDate>Wed, 13 Jan 2021 14:55:46 +0000</pubDate></item><item><title>Pine64 kernel panic after power failure</title><link>https://testforum.armbian.com/topic/16619-pine64-kernel-panic-after-power-failure/</link><description><![CDATA[<p>
	I have been running Armbian on a headless Pine64 (the kickstarter one) for quite sometime without any issues. Last week I woke up in the morning and noticed that there had been a power cut. The Pine64 was on again but I couldn't SSH into it. I plugged a monitor and found the system hangs while booting with the following error:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">Error while loading shared libraries: lib system-shares-241.so: cannot open shared object file: No such file or directory
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
CPU: 1 PID: 1 Comm: init Not tainted 5.4.43-sunxi64 #20.05.2
Hardware name: Pine64+ (DT)
Call trace:
dump_backtrace+0x0/0x180
show_stack+0x14/0x20
dump_stack+0xb0/0xd8
panic+0x144/0x310
do_exit+0x974/0x9a8
do_group_exit+0x40/0xa8
_arm64_sys_exit_group+0x14/0x18
el0_svc_common.constprop.2+0x88/0x150
el0_svc_handler+0x20/0x80
el0_svc+0x8/0xc
SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x0002,24002004
Memory Limit: none</span></pre>

<p>
	 
</p>

<p>
	I took the card over to my laptop and ran fsck which found no problems. I would rather fix the issue if is possible, but I have no idea how to do it. Is is possible? Or should I just create a new card?
</p>

<p>
	 
</p>

<p>
	Best, 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16619</guid><pubDate>Mon, 28 Dec 2020 22:12:52 +0000</pubDate></item><item><title>RESOLVED: a64 (pine64) dt bindings for cir?</title><link>https://testforum.armbian.com/topic/16484-resolved-a64-pine64-dt-bindings-for-cir/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	  Thank you all for so much work to fully implement the mainline kernel for the Pine64!
</p>

<p>
	 
</p>

<p>
	So much is now working out-of-the-box with armbian, that there is no need to use the legacy version based on kernel 3.10.
</p>

<p>
	 
</p>

<p>
	The pine64 does have CIR capabilities and the sunxi-cir kernel module is available, but we are still missing DT bindings for the device, although I see that an overlay file is present for the h5:
</p>

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

/ {
        compatible = "allwinner,sun50i-h5";

        fragment@0 {
                target = &lt;0xffffffff&gt;;

                __overlay__ {
                        pinctrl-names = "default";
                        pinctrl-0 = &lt;0xffffffff&gt;;
                        status = "okay";
                };
        };

        __fixups__ {
                ir = "/fragment@0:target:0";
                r_ir_rx_pin = "/fragment@0/__overlay__:pinctrl-0:0";
        };
};
/tmp/sun50i-h5-cir.dtbs (END) </span></pre>

<p>
	   
</p>

<p>
	 
</p>

<p>
	I would be very happy to try to implement and test this, if anyone can suggest changes to the overlay code, to shoehorn it into the pine64-plus DT. 
</p>

<p>
	 
</p>

<p>
	Update:
</p>

<p>
	<span style="color:#2980b9;">I did try the obvious, simple approach of changing the compatible line to compatible = "allwinner,sun50i-a64"</span>
</p>

<p>
	<span style="color:#2980b9;">, recompiling and changing the filename to</span>
</p>

<p>
	<span style="color:#2980b9;">/boot/overlay-user/sun50i-a64-pine64-cir.dtbo</span>
</p>

<p>
	 
</p>

<p>
	<span style="color:#2980b9;">but this looks like it messes up the official 7 inch lcd overlay (blank screen) that otherwise loads fine. So looks like it needs more changes.</span>
</p>

<p>
	 
</p>

<p>
	Many thanks in advance for any suggestions!
</p>

<p>
	 
</p>

<p>
	BR.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16484</guid><pubDate>Tue, 15 Dec 2020 08:49:54 +0000</pubDate></item><item><title>Olimex LCD Panel Support for A64</title><link>https://testforum.armbian.com/topic/16054-olimex-lcd-panel-support-for-a64/</link><description><![CDATA[<p>
	LCD support does not appear to be working in the latest builds (stable kernel 5.8.6, development kernel 5.9.7)
</p>

<p>
	 
</p>

<p>
	My understanding is that this has been an issue for a while with A64 boards, specifically the Pine64, but that it was working at one time.
</p>

<p>
	 
</p>

<p>
	Here's what I've tried so far:
</p>

<p>
	 
</p>

<p>
	-Followed instructions at <a href="https://docs.armbian.com/Hardware_Allwinner/" rel="external nofollow">https://docs.armbian.com/Hardware_Allwinner/</a>  and added "setenv video-mode sunxi:480x272-24@60,monitor=lcd,hpd=1,edid=1" to boot.cmd and put "saveenv" at the end, re-compiled boot.scr
</p>

<p>
	 
</p>

<p>
	-Did a modprobe of panel-olimex-lcd-olinuxino
</p>

<p>
	 
</p>

<p>
	-Rebooted several times
</p>

<p>
	 
</p>

<p>
	-Ensured that LCD jumper was closed and verified LCD was working with Olimex builds.
</p>

<p>
	 
</p>

<p>
	Screen flickers at startup then stays white.
</p>

<p>
	 
</p>

<p>
	Any thoughts?
</p>
]]></description><guid isPermaLink="false">16054</guid><pubDate>Fri, 20 Nov 2020 15:48:42 +0000</pubDate></item><item><title>[Mostly solved] PineA64-LTS: Unable to get Pine64 LCD screen working</title><link>https://testforum.armbian.com/topic/11124-mostly-solved-pinea64-lts-unable-to-get-pine64-lcd-screen-working/</link><description><![CDATA[<p>
	Hi!
</p>

<p>
	 
</p>

<p>
	I'm using the <a href="https://www.armbian.com/sopine-a64/" rel="external nofollow">Sopine A64 Armbian Buster image version 5.91</a> in combination with my <a href="https://store.pine64.org/?product=pine-a64-lts" rel="external nofollow">PineA64-LTS</a> SBC. First off I'd like to say that it runs great, thank you guys very much for providing this fully featured image and thereby keeping this SBC up to date! <span><img alt=":D" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_biggrin.png" srcset="https://testforum.armbian.com/uploads/emoticons/biggrin@2x.png 2x" title=":D" width="20" loading="lazy"></span>
</p>

<p>
	 
</p>

<p>
	For the last few weeks I've been trying to get the <a href="https://store.pine64.org/?product=7-lcd-touch-screen-panel" rel="external nofollow">Pine 64 7" LCD screen</a> to work with it, but so far unfortunately I haven't been able to.
</p>

<p>
	 
</p>

<p>
	What I've tried:
</p>

<p>
	 
</p>

<ul><li>
		Follow instructions to get LCD working as stated on the older brother's <a href="https://www.armbian.com/pine64/" rel="external nofollow">PineA64</a> page: add 'pine64_lcd=on' to /boot/armbianEnv.txt, and add 'gt9xxf_ts' to /etc/modules, then reboot. No luck.
	</li>
	<li>
		Read about the <a href="https://docs.armbian.com/User-Guide_Allwinner_overlays/" rel="external nofollow">Allwinner Overlays</a> and try to understand how they work. Decompile both 'sun50i-a64-pine64.dtb' and 'sun50i-a64-pine64-lts.dtb' (found in /boot/dtb/allwinner/), search for 'lcd' in both .dts files and compare. I noticed some differences in addresses but wouldn't know which of those are correct or incorrect.
	</li>
	<li>
		Add the decompiled 'sun50i-a64-pine64.dts' as user-overlay through 'sudo armbian-add-overlay sun50i-a64-pine64.dts', then reboot. System still booted, but no working LCD screen.
	</li>
</ul><p>
	 
</p>

<p>
	and that's about how far my knowledge goes, without really just going into the realm of trying random things <span><img alt=":)" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" loading="lazy"></span>
</p>

<p>
	 
</p>

<p>
	<span>Is there anyone that managed to got the aforementioned combination of hardware to work? Or anyone that could give me any pointers on what to try next? I'm very much willing to put time and effort into this, I just don't know where to start/what to try next.</span>
</p>

<p>
	 
</p>

<p>
	<span>Thanks a lot in advance for any assistance.</span>
</p>
]]></description><guid isPermaLink="false">11124</guid><pubDate>Thu, 01 Aug 2019 11:54:08 +0000</pubDate></item><item><title>Pine64 512mb Network Not Working</title><link>https://testforum.armbian.com/topic/10408-pine64-512mb-network-not-working/</link><description><![CDATA[<p>
	Ethernet does not appear to be working on the latest versions of Armbian with pine64 512mb model (has only 10/100MBps Eth)
</p>

<p>
	Current Version:  ARMBIAN 5.83 stable Debian GNU/Linux 9 (stretch) 4.19.38-sunxi64
</p>

<p>
	 
</p>

<p>
	- I have tried 2 boards in case its a hardware issue, no go.
</p>

<p>
	- Ethernet works with Armbian Xenial (3.10 legacy kernel)
</p>

<p>
	- The network port shows activity when initially powering up, but when it begins boot lights go out.
</p>

<p>
	- I have tried many older and newer kernels, including the new 5.1.0 dev kernel, with no luck.
</p>

<p>
	- Eth0 show up with command "ip address" but not with "ifconfig"
</p>

<p>
	- When I try running "sudo ethtool eth0" I get errors with "Device or resource busy"
</p>
]]></description><guid isPermaLink="false">10408</guid><pubDate>Thu, 16 May 2019 19:02:43 +0000</pubDate></item><item><title>Downgrade kernel 5.8* on Pine64+</title><link>https://testforum.armbian.com/topic/15447-downgrade-kernel-58-on-pine64/</link><description><![CDATA[<p>
	Hi. I am getting a kernel Oops in the Pine64+   . . . .see below.  Kernel is 5.8.13-sunxi64. It was installed after a recent update.
</p>

<p>
	I would like to drop back to the previous kernel if possible.
</p>

<p>
	Does this seem like a reasonable search term for a suitable kernel?
</p>

<p>
	Any ideas on searching and installing a previous kernel appreciated.
</p>

<p>
	 
</p>

<p>
	<strong>sudo apt-cache search kernel 5.8* | grep sunxi64</strong><br />
	linux-<abbr title="Device tree blob">dtb</abbr>-current-sunxi64 - Linux <abbr title="Device tree blob">DTB</abbr>, version 5.8.13-sunxi64<br />
	linux-<abbr title="Device tree blob">dtb</abbr>-dev-sunxi64 - Linux <abbr title="Device tree blob">DTB</abbr>, version 5.9.0-rc7-sunxi64<br />
	linux-<abbr title="Device tree blob">dtb</abbr>-legacy-sunxi64 - Linux <abbr title="Device tree blob">DTB</abbr>, version 5.4.62-sunxi64<br />
	linux-headers-current-sunxi64 - Linux kernel headers for 5.8.13-sunxi64 on arm64<br />
	linux-headers-dev-sunxi64 - Linux kernel headers for 5.9.0-rc7-sunxi64 on arm64<br />
	linux-headers-legacy-sunxi64 - Linux kernel headers for 5.4.62-sunxi64 on arm64<br />
	linux-image-current-sunxi64 - Linux kernel, version 5.8.13-sunxi64<br />
	linux-image-dev-sunxi64 - Linux kernel, version 5.9.0-rc7-sunxi64<br />
	linux-image-legacy-sunxi64 - Linux kernel, version 5.4.62-sunxi64<br />
	linux-source-5.4.58-legacy-sunxi64 - This package provides the source code for the Linux kernel 5.4.58<br />
	linux-source-5.4.61-legacy-sunxi64 - This package provides the source code for the Linux kernel 5.4.61
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	[   23.475944] ------------[ cut here ]------------
</p>

<p>
	[   23.478571] WARNING: CPU: 3 PID: 171 at drivers/clocksource/arm_arch_timer.c:364 sun50i_a64_read_cntpct_el0+0x30/0x38<br />
	[   23.480502] Modules linked in: cpufreq_dt realtek dwmac_sun8i pinctrl_axp209 mdio_mux i2c_mv64xxx<br />
	[   23.483003] CPU: 3 PID: 171 Comm: kworker/3:3 Not tainted 5.8.13-sunxi64 #20.08.7<br />
	[   23.484968] Hardware name: Pine64+ (DT)<br />
	[   23.487226] Workqueue: events dbs_work_handler<br />
	[   23.489416] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)<br />
	[   23.491571] pc : sun50i_a64_read_cntpct_el0+0x30/0x38<br />
	[   23.493700] lr : arch_counter_get_cntpct_stable+0x3c/0x80<br />
	[   23.495784] sp : ffff800011afb9c0<br />
	[   23.497758] x29: ffff800011afb9c0 x28: ffff0000743a9a00<br />
	[   23.499861] x27: ffff0000713ed600 x26: ffff0000743a9c68<br />
	[   23.501992] x25: ffff000072e38228 x24: 0000000000000000<br />
	[   23.504054] x23: 0000000000000001 x22: ffff800011afbb10<br />
	[   23.506137] x21: 0000000000000000 x20: 0000000000000018<br />
	[   23.508260] x19: ffff8000113dd000<br />
	[   23.510328] hrtimer: interrupt took 27046125 ns<br />
	[   23.512242] x18: ffff800011afb9b8<br />
	[   23.514290] x17: 0000000000000004 x16: 0000000000000001<br />
	[   23.516399] x15: 0000000000000018 x14: 0000000000000002<br />
	[   23.518455] x13: 0000000000000001 x12: 0000000000000001<br />
	[   23.520483] x11: 0000000000000005 x10: 0000000000000021<br />
	[   23.522575] x9 : 0000000044aa2000 x8 : ffff8000113aaf98<br />
	[   23.524628] x7 : 0000000000000000 x6 : 00000000112a8800<br />
	[   23.526731] x5 : 0000000000000010 x4 : 0000000000000012<br />
	[   23.528810] x3 : 0000000000000050 x2 : 000000002ec5d477<br />
	[   23.530879] x1 : 0000000000000000 x0 : 000000002ec5d47d<br />
	[   23.532925] Call trace:<br />
	[   23.535068]  sun50i_a64_read_cntpct_el0+0x30/0x38<br />
	[   23.537130]  __delay+0x24/0xa8<br />
	[   23.539201]  __udelay+0x2c/0x38<br />
	[   23.541332]  ccu_mux_notifier_cb+0x64/0xa0<br />
	[   23.543415]  notifier_call_chain+0x54/0x98<br />
	[   23.545482]  __srcu_notifier_call_chain+0x58/0x98<br />
	[   23.547538]  srcu_notifier_call_chain+0x18/0x28<br />
	[   23.549615]  __clk_notify+0x88/0xd0<br />
	[   23.551707]  clk_propagate_rate_change+0xc4/0xd8<br />
	[   23.553808]  clk_core_set_rate_nolock+0x114/0x1f8<br />
	[   23.555895]  clk_set_rate+0x38/0xa8<br />
	[   23.558113]  dev_pm_opp_set_rate+0x264/0x618<br />
	[   23.560250]  set_target+0x40/0x88 [cpufreq_dt]<br />
	[   23.562349]  __cpufreq_driver_target+0x2c4/0x668<br />
	[   23.564464]  od_dbs_update+0x140/0x1a0<br />
	[   23.566542]  dbs_work_handler+0x40/0x80<br />
	[   23.568628]  process_one_work+0x1c8/0x378<br />
	[   23.570711]  worker_thread+0x14c/0x4c8<br />
	[   23.572806]  kthread+0xf8/0x128<br />
	[   23.574887]  ret_from_fork+0x10/0x30<br />
	[   23.576963] ---[ end trace 32a37354cad394e6 ]---<br />
	[   23.735669] sun8i-ce 1c15000.crypto: Set mod clock to 300000000 (300 Mhz) from 24000000 (24 Mhz)<br />
	[   23.735961] sun8i-ce 1c15000.crypto: will run requests pump with realtime priority
</p>
]]></description><guid isPermaLink="false">15447</guid><pubDate>Tue, 06 Oct 2020 21:11:06 +0000</pubDate></item><item><title>How to upgrade ARMBIAN kernel on PINE A64+ board ?</title><link>https://testforum.armbian.com/topic/15244-how-to-upgrade-armbian-kernel-on-pine-a64-board/</link><description><![CDATA[<p>
	Hello.
</p>

<p>
	I'm a bit confused, i have a PINE64 board ("PINE A64+", 2GB mem.) (this one : <a href="https://www.pine64.org/?product=sopine-a64-baseboard-combo)" rel="external nofollow">https://www.pine64.org/?product=sopine-a64-baseboard-combo)</a>
</p>

<p>
	I installed some years ago ARMBIAN on it - everything is running fine.
</p>

<p>
	But i'm still on kernel 3.X something : 
</p>

<p>
	 
</p>

<p>
	```
</p>

<p>
	uname -a<br />
	Linux pine64 3.10.107-pine64 #2 SMP PREEMPT Fri Feb 8 10:23:10 CET 2019 aarch64 GNU/Linux<br />
	 
</p>

<p>
	cat /etc/armbian.txt
</p>

<p>
	-------------------------------------------------------------------------------<br />
	Title:                  Armbian 5.73 Pine64 Debian jessie default<br />
	Kernel:                 Linux 3.10.107<br />
	Build date:             28.01.2019<br />
	...
</p>

<p>
	```
</p>

<p>
	 
</p>

<p>
	Of course my whole system is up-to-date and has been switched from `jessie` to `stretch` and recently to `buster` (= apt-get update, upgrade, dist-upgrade done).
</p>

<p>
	 
</p>

<p>
	What am i supposed to do to have a newer kernel (i would need 4.x in order to be able to use `overlay2` docker storage engine) ?
</p>

<p>
	 
</p>

<p>
	Thanks in advance for any help.
</p>
]]></description><guid isPermaLink="false">15244</guid><pubDate>Thu, 17 Sep 2020 17:50:00 +0000</pubDate></item><item><title>Pine A64 LTS V1.2 LCD DSI Boot Issue</title><link>https://testforum.armbian.com/topic/14650-pine-a64-lts-v12-lcd-dsi-boot-issue/</link><description><![CDATA[<p>
	I just received my Pine A64 LTS V1.2 board, 7" LCD TOUCH SCREEN PANEL, and playbox enclosure.<br>
	I flashed an sd card with Linux Armbian Focal:
</p>

<p>
	<a href="https://dl.armbian.com/pine64so/Focal_current" rel="external nofollow">https://dl.armbian.com/pine64so/Focal_current</a>
</p>

<p>
	 
</p>

<p>
	If the LCD is connected via the DSI port, the boot freezes during UBoot. If I disconnect the LCD from the DSI connector, we get past the first part of UBoot immediately and it eventually brings me to the login prompt.
</p>

<p>
	 
</p>

<p>
	I do observe that the green power LED appears to light then turn off about when it freezes on boot with the DSI connector attached. I have the official 5 V 2 A SOPINE supply from the store (<a href="https://store.pine64.org/product/sopine-baseboard-us-power-supply/" rel="external nofollow">https://store.pine64.org/product/sopine-baseboard-us-power-supply/</a>).
</p>

<p>
	 
</p>

<p>
	Has anyone seen anything like this before?
</p>

<p>
	 
</p>

<p>
	Cheers
</p>
]]></description><guid isPermaLink="false">14650</guid><pubDate>Wed, 15 Jul 2020 13:18:36 +0000</pubDate></item><item><title>Pine H64 model A - emmc boot stuck - sunxi-mmc 4022000.mmc: data error, sending stop command</title><link>https://testforum.armbian.com/topic/10140-pine-h64-model-a-emmc-boot-stuck-sunxi-mmc-4022000mmc-data-error-sending-stop-command/</link><description><![CDATA[<p>
	U-Boot SPL 2019.01-armbian (Apr 08 2019 - 01:44:37 +0200)<br>
	DRAM: 4096 MiB<br>
	Trying to boot from MMC1<br>
	NOTICE:  BL31: v2.1(debug):8a08e27<br>
	NOTICE:  BL31: Built : 00:11:54, Apr  5 2019<br>
	NOTICE:  BL31: Detected Allwinner H6 SoC (1728)<br>
	NOTICE:  BL31: Found U-Boot DTB at 0xc06ea70, model: Pine H64<br>
	INFO:    ARM GICv2 driver initialized<br>
	NOTICE:  PMIC: Probing AXP805<br>
	NOTICE:  PMIC: AXP805 detected<br>
	INFO:    BL31: Platform setup done<br>
	INFO:    BL31: Initializing runtime services<br>
	WARNING: BL31: cortex_a53: CPU workaround for 819472 was missing!<br>
	WARNING: BL31: cortex_a53: CPU workaround for 824069 was missing!<br>
	WARNING: BL31: cortex_a53: CPU workaround for 827319 was missing!<br>
	INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied<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 2019.01-armbian (Apr 08 2019 - 01:44:37 +0200) Allwinner Technology
</p>

<p>
	CPU:   Allwinner H6 (SUN50I)<br>
	Model: Pine H64<br>
	DRAM:  3 GiB<br>
	MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1<br>
	Loading Environment from FAT... Unable to use mmc 1:1... In:    serial@5000000<br>
	Out:   serial@5000000<br>
	Err:   serial@5000000<br>
	Net:   No ethernet found.<br>
	starting USB...<br>
	No controllers found<br>
	Hit any key to stop autoboot:  0<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>
	3042 bytes read in 27 ms (109.4 KiB/s)<br>
	## Executing script at 4fc00000<br>
	U-boot loaded from SD<br>
	Boot script loaded from mmc<br>
	165 bytes read in 23 ms (6.8 KiB/s)<br>
	26173 bytes read in 91 ms (280.3 KiB/s)<br>
	4161 bytes read in 104 ms (39.1 KiB/s)<br>
	Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)<br>
	## Executing script at 44000000<br>
	8711420 bytes read in 911 ms (9.1 MiB/s)<br>
	14436360 bytes read in 1492 ms (9.2 MiB/s)<br>
	## Loading init Ramdisk from Legacy Image at 4fe00000 ...<br>
	   Image Name:   uInitrd<br>
	   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)<br>
	   Data Size:    8711356 Bytes = 8.3 MiB<br>
	   Load Address: 00000000<br>
	   Entry Point:  00000000<br>
	   Verifying Checksum ... OK<br>
	## Flattened Device Tree blob at 4fa00000<br>
	   Booting using the fdt blob at 0x4fa00000<br>
	   Loading Ramdisk to 497b1000, end 49fffcbc ... OK<br>
	   reserving fdt memory region: addr=4fa00000 size=6c000<br>
	   Loading Device Tree to 0000000049742000, end 00000000497b0fff ... OK
</p>

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

<p>
	[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]<br>
	[    0.000000] Linux version 5.0.7-sunxi64 (root@nightly) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.78.190413 SMP Sat Apr 13 01:24:27 CEST 2019<br>
	[    0.000000] Machine model: Pine H64<br>
	[    0.000000] cma: Reserved 128 MiB at 0x00000000f8000000<br>
	[    0.000000] NUMA: No NUMA configuration found<br>
	[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000ffffffff]<br>
	[    0.000000] NUMA: NODE_DATA [mem 0xf79d9840-0xf79dafff]<br>
	[    0.000000] Zone ranges:<br>
	[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000ffffffff]<br>
	[    0.000000]   Normal   empty<br>
	[    0.000000] Movable zone start for each node<br>
	[    0.000000] Early memory node ranges<br>
	[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000ffffffff]<br>
	[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]<br>
	[    0.000000] psci: probing for conduit method from DT.<br>
	[    0.000000] psci: PSCIv1.1 detected in firmware.<br>
	[    0.000000] psci: Using standard PSCI v0.2 function IDs<br>
	[    0.000000] psci: MIGRATE_INFO_TYPE not supported.<br>
	[    0.000000] psci: SMC Calling Convention v1.1<br>
	[    0.000000] random: get_random_bytes called from start_kernel+0xa8/0x3f0 with crng_init=0<br>
	[    0.000000] percpu: Embedded 22 pages/cpu @(____ptrval____) s52952 r8192 d28968 u90112<br>
	[    0.000000] Detected VIPT I-cache on CPU0<br>
	[    0.000000] CPU features: detected: ARM erratum 845719<br>
	[    0.000000] Speculative Store Bypass Disable mitigation not required<br>
	[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 774144<br>
	[    0.000000] Policy zone: DMA32<br>
	[    0.000000] Kernel command line: root=UUID=ebfa02c2-3f5d-4b27-bb44-1efd898b9c6f rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 panic=10 consoleblank=0 loglevel=7 ubootpart=3ec23de2-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory swapaccount=1<br>
	[    0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes<br>
	[    0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes<br>
	[    0.000000] printk: log_buf_len min size: 16384 bytes<br>
	[    0.000000] printk: log_buf_len: 32768 bytes<br>
	[    0.000000] printk: early log buf free: 13808(84%)<br>
	[    0.000000] Memory: 2935272K/3145728K available (10238K kernel code, 722K rwdata, 2504K rodata, 576K init, 288K bss, 79384K reserved, 131072K cma-reserved)<br>
	[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1<br>
	[    0.000000] rcu: Hierarchical RCU implementation.<br>
	[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.<br>
	[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.<br>
	[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4<br>
	[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0<br>
	[    0.000000] GIC: Using split EOI/Deactivate mode<br>
	[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).<br>
	[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns<br>
	[    0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns<br>
	[    0.000217] Console: colour dummy device 80x25<br>
	[    0.000553] printk: console [tty1] enabled<br>
	[    0.000625] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)<br>
	[    0.000646] pid_max: default: 32768 minimum: 301<br>
	[    0.000734] LSM: Security Framework initializing<br>
	[    0.000751] AppArmor: AppArmor disabled by boot time parameter<br>
	[    0.002318] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)<br>
	[    0.003113] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)<br>
	[    0.003170] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)<br>
	[    0.003222] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)<br>
	[    0.004461] ASID allocator initialised with 32768 entries<br>
	[    0.004540] rcu: Hierarchical SRCU implementation.<br>
	[    0.005051] smp: Bringing up secondary CPUs ...<br>
	[    0.005739] Detected VIPT I-cache on CPU1<br>
	[    0.005788] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]<br>
	[    0.006370] Detected VIPT I-cache on CPU2<br>
	[    0.006398] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]<br>
	[    0.006960] Detected VIPT I-cache on CPU3<br>
	[    0.006987] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]<br>
	[    0.007050] smp: Brought up 1 node, 4 CPUs<br>
	[    0.007102] SMP: Total of 4 processors activated.<br>
	[    0.007113] CPU features: detected: 32-bit EL0 Support<br>
	[    0.007124] CPU features: detected: CRC32 instructions<br>
	[    0.007371] CPU: All CPU(s) started at EL2<br>
	[    0.007393] alternatives: patching kernel code<br>
	[    0.008954] devtmpfs: initialized<br>
	[    0.013510] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns<br>
	[    0.013560] futex hash table entries: 1024 (order: 4, 65536 bytes)<br>
	[    0.017717] xor: measuring software checksum speed<br>
	[    0.056091]    8regs     :  1750.000 MB/sec<br>
	[    0.096130]    32regs    :  2151.000 MB/sec<br>
	[    0.136174]    arm64_neon:  1907.000 MB/sec<br>
	[    0.136185] xor: using function: 32regs (2151.000 MB/sec)<br>
	[    0.136249] pinctrl core: initialized pinctrl subsystem<br>
	[    0.136976] NET: Registered protocol family 16<br>
	[    0.137437] audit: initializing netlink subsys (disabled)<br>
	[    0.137584] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1<br>
	[    0.138029] cpuidle: using governor menu<br>
	[    0.138264] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))<br>
	[    0.138282] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.<br>
	[    0.139376] DMA: preallocated 256 KiB pool for atomic allocations<br>
	[    0.139468] Serial: AMBA PL011 UART driver<br>
	[    0.149330] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages<br>
	[    0.149356] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages<br>
	[    0.149369] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages<br>
	[    0.149381] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages<br>
	[    0.149822] cryptd: max_cpu_qlen set to 1000<br>
	[    0.216341] raid6: neonx8   gen()  1254 MB/s<br>
	[    0.284427] raid6: neonx8   xor()  1169 MB/s<br>
	[    0.352541] raid6: neonx4   gen()  1157 MB/s<br>
	[    0.420582] raid6: neonx4   xor()  1103 MB/s<br>
	[    0.488732] raid6: neonx2   gen()   887 MB/s<br>
	[    0.556760] raid6: neonx2   xor()   924 MB/s<br>
	[    0.624888] raid6: neonx1   gen()   553 MB/s<br>
	[    0.692966] raid6: neonx1   xor()   654 MB/s<br>
	[    0.761112] raid6: int64x8  gen()   749 MB/s<br>
	[    0.829153] raid6: int64x8  xor()   572 MB/s<br>
	[    0.897257] raid6: int64x4  gen()   792 MB/s<br>
	[    0.965358] raid6: int64x4  xor()   583 MB/s<br>
	[    1.033505] raid6: int64x2  gen()   517 MB/s<br>
	[    1.101545] raid6: int64x2  xor()   460 MB/s<br>
	[    1.169663] raid6: int64x1  gen()   337 MB/s<br>
	[    1.237700] raid6: int64x1  xor()   339 MB/s<br>
	[    1.237711] raid6: using algorithm neonx8 gen() 1254 MB/s<br>
	[    1.237720] raid6: .... xor() 1169 MB/s, rmw enabled<br>
	[    1.237730] raid6: using neon recovery algorithm<br>
	[    1.238696] SCSI subsystem initialized<br>
	[    1.238860] usbcore: registered new interface driver usbfs<br>
	[    1.238904] usbcore: registered new interface driver hub<br>
	[    1.238971] usbcore: registered new device driver usb<br>
	[    1.239201] pps_core: LinuxPPS API ver. 1 registered<br>
	[    1.239213] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti &lt;giometti@linux.it&gt;<br>
	[    1.239240] PTP clock support registered<br>
	[    1.240232] clocksource: Switched to clocksource arch_sys_counter<br>
	[    1.240365] VFS: Disk quotas dquot_6.6.0<br>
	[    1.240427] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>
	[    1.245916] NET: Registered protocol family 2<br>
	[    1.246431] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)<br>
	[    1.246548] TCP established hash table entries: 32768 (order: 6, 262144 bytes)<br>
	[    1.246906] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)<br>
	[    1.247417] TCP: Hash tables configured (established 32768 bind 32768)<br>
	[    1.247551] UDP hash table entries: 2048 (order: 4, 65536 bytes)<br>
	[    1.247666] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)<br>
	[    1.247900] NET: Registered protocol family 1<br>
	[    1.248327] RPC: Registered named UNIX socket transport module.<br>
	[    1.248340] RPC: Registered udp transport module.<br>
	[    1.248350] RPC: Registered tcp transport module.<br>
	[    1.248359] RPC: Registered tcp NFSv4.1 backchannel transport module.<br>
	[    1.248577] Unpacking initramfs...<br>
	[    1.685538] Freeing initrd memory: 8504K<br>
	[    1.836446] Initialise system trusted keyrings<br>
	[    1.836621] workingset: timestamp_bits=44 max_order=20 bucket_order=0<br>
	[    1.841274] zbud: loaded<br>
	[    1.842544] squashfs: version 4.0 (2009/01/31) Phillip Lougher<br>
	[    1.843194] NFS: Registering the id_resolver key type<br>
	[    1.843223] Key type id_resolver registered<br>
	[    1.843232] Key type id_legacy registered<br>
	[    1.843248] nfs4filelayout_init: NFSv4 File Layout Driver Registering...<br>
	[    1.843260] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).<br>
	[    1.844039] 9p: Installing v9fs 9p2000 file system support<br>
	[    1.973624] NET: Registered protocol family 38<br>
	[    1.976426] Key type asymmetric registered<br>
	[    1.976448] Asymmetric key parser 'x509' registered<br>
	[    1.976512] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)<br>
	[    1.976697] io scheduler mq-deadline registered<br>
	[    1.976710] io scheduler kyber registered<br>
	[    1.976862] io scheduler bfq registered<br>
	[    1.977130] sun50i-de2-bus 1000000.display-engine: Error couldn't map SRAM to device<br>
	[    1.977707] sun4i-usb-phy 5100400.phy: Couldn't get regulator usb0_vbus... Deferring probe<br>
	[    1.978024] sun50i-usb3-phy 5210000.phy: failed to get phy clock<br>
	[    1.981505] sun50i-h6-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver<br>
	[    1.988477] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled<br>
	[    1.991290] cacheinfo: Unable to detect cache hierarchy for CPU 0<br>
	[    1.995246] loop: module loaded<br>
	[    1.996215] libphy: Fixed MDIO Bus: probed<br>
	[    1.997736] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver<br>
	[    1.997753] ehci-platform: EHCI generic platform driver<br>
	[    1.997902] ehci-platform 5101000.usb: EHCI Host Controller<br>
	[    1.997942] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 1<br>
	[    1.998235] ehci-platform 5101000.usb: irq 18, io mem 0x05101000<br>
	[    2.012241] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00<br>
	[    2.012438] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00<br>
	[    2.012457] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    2.012472] usb usb1: Product: EHCI Host Controller<br>
	[    2.012484] usb usb1: Manufacturer: Linux 5.0.7-sunxi64 ehci_hcd<br>
	[    2.012497] usb usb1: SerialNumber: 5101000.usb<br>
	[    2.012939] hub 1-0:1.0: USB hub found<br>
	[    2.012977] hub 1-0:1.0: 1 port detected<br>
	[    2.013478] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver<br>
	[    2.013506] ohci-platform: OHCI generic platform driver<br>
	[    2.013640] ohci-platform 5101400.usb: Generic Platform OHCI controller<br>
	[    2.013665] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 2<br>
	[    2.013900] ohci-platform 5101400.usb: irq 19, io mem 0x05101400<br>
	[    2.076546] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.00<br>
	[    2.076565] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    2.076580] usb usb2: Product: Generic Platform OHCI controller<br>
	[    2.076593] usb usb2: Manufacturer: Linux 5.0.7-sunxi64 ohci_hcd<br>
	[    2.076606] usb usb2: SerialNumber: 5101400.usb<br>
	[    2.076990] hub 2-0:1.0: USB hub found<br>
	[    2.077034] hub 2-0:1.0: 1 port detected<br>
	[    2.077777] usbcore: registered new interface driver usb-storage<br>
	[    2.078187] mousedev: PS/2 mouse device common for all mice<br>
	[    2.078613] sun6i-rtc 7000000.rtc: registered as rtc0<br>
	[    2.078627] sun6i-rtc 7000000.rtc: RTC enabled<br>
	[    2.078690] i2c /dev entries driver<br>
	[    2.078874] sun50i-h6-r-pinctrl 7022000.pinctrl: 7022000.pinctrl supply vcc-pl not found, using dummy regulator<br>
	[    2.078941] sun50i-h6-r-pinctrl 7022000.pinctrl: Linked as a consumer to regulator.0<br>
	[    2.079399] axp20x-i2c 0-0036: AXP20x variant AXP806 found<br>
	[    2.084709] input: axp20x-pek as /devices/platform/soc/7081400.i2c/i2c-0/0-0036/axp221-pek/input/input0<br>
	[    2.085832] dcdca: supplied by regulator-dummy<br>
	[    2.086864] dcdcc: supplied by regulator-dummy<br>
	[    2.087453] dcdcd: supplied by regulator-dummy<br>
	[    2.087925] vdd-sys: Bringing 900000uV into 960000-960000uV<br>
	[    2.088386] dcdce: supplied by regulator-dummy<br>
	[    2.088965] aldo1: supplied by regulator-dummy<br>
	[    2.089542] aldo2: supplied by regulator-dummy<br>
	[    2.090013] vcc-ac200: Bringing 700000uV into 3300000-3300000uV<br>
	[    2.090457] aldo3: supplied by regulator-dummy<br>
	[    2.090907] vcc-3v3-1: Bringing 700000uV into 3300000-3300000uV<br>
	[    2.091658] bldo1: supplied by regulator-dummy<br>
	[    2.092650] bldo2: supplied by regulator-dummy<br>
	[    2.093250] bldo3: supplied by regulator-dummy<br>
	[    2.093697] vcc-wifi-io: Bringing 700000uV into 1800000-1800000uV<br>
	[    2.094445] bldo4: supplied by regulator-dummy<br>
	[    2.095046] cldo1: supplied by regulator-dummy<br>
	[    2.095648] cldo2: supplied by regulator-dummy<br>
	[    2.096099] vcc-wifi-1: Bringing 700000uV into 3300000-3300000uV<br>
	[    2.096864] cldo3: supplied by regulator-dummy<br>
	[    2.097315] vcc-wifi-2: Bringing 700000uV into 3300000-3300000uV<br>
	[    2.098072] sw: supplied by regulator-dummy<br>
	[    2.098237] axp20x-i2c 0-0036: AXP20X driver loaded<br>
	[    2.098956] sun50i-h6-r-pinctrl 7022000.pinctrl: 7022000.pinctrl supply vcc-pm not found, using dummy regulator<br>
	[    2.099179] sdhci: Secure Digital Host Controller Interface driver<br>
	[    2.099190] sdhci: Copyright(c) Pierre Ossman<br>
	[    2.099221] Synopsys Designware Multimedia Card Interface Driver<br>
	[    2.099715] sdhci-pltfm: SDHCI platform and OF driver helper<br>
	[    2.100332] ledtrig-cpu: registered to indicate activity on CPUs<br>
	[    2.100612] hidraw: raw HID events driver (C) Jiri Kosina<br>
	[    2.100709] usbcore: registered new interface driver usbhid<br>
	[    2.100720] usbhid: USB HID core driver<br>
	[    2.101896] NET: Registered protocol family 10<br>
	[    2.122205] Segment Routing with IPv6<br>
	[    2.122311] NET: Registered protocol family 17<br>
	[    2.122485] 8021q: 802.1Q VLAN Support v1.8<br>
	[    2.122645] 9pnet: Installing 9P2000 support<br>
	[    2.122708] Key type dns_resolver registered<br>
	[    2.123319] registered taskstats version 1<br>
	[    2.123330] Loading compiled-in X.509 certificates<br>
	[    2.123414] zswap: loaded using pool lzo/zbud<br>
	[    2.124468] Btrfs loaded, crc32c=crc32c-generic<br>
	[    2.132812] Key type encrypted registered<br>
	[    2.141659] sun4i-usb-phy 5100400.phy: Linked as a consumer to regulator.18<br>
	[    2.142065] phy phy-5210000.phy.2: Linked as a consumer to regulator.18<br>
	[    2.146273] sun50i-h6-pinctrl 300b000.pinctrl: initialized sunXi PIO driver<br>
	[    2.146547] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-ph not found, using dummy regulator<br>
	[    2.146622] sun50i-h6-pinctrl 300b000.pinctrl: Linked as a consumer to regulator.0<br>
	[    2.146978] printk: console [ttyS0] disabled<br>
	[    2.167755] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 15, base_baud = 1500000) is a 16550A<br>
	[    3.523441] printk: console [ttyS0] enabled<br>
	[    3.529347] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff000010b27968)<br>
	[    3.537053] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff000010b2bb50)<br>
	[    3.545126] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff000010b24450)<br>
	[    3.553550] sun8i-dw-hdmi 6000000.hdmi: 6000000.hdmi supply hvcc not found, using dummy regulator<br>
	[    3.562468] sun8i-dw-hdmi 6000000.hdmi: Linked as a consumer to regulator.0<br>
	[    3.569623] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY)<br>
	[    3.579698] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver<br>
	[    3.587432] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffff000010b26d20)<br>
	[    3.594923] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).<br>
	[    3.601539] [drm] No driver support for vblank timestamp query.<br>
	[    3.607712] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0<br>
	[    3.615499] [drm] Cannot find any crtc or sizes<br>
	[    3.620514] [drm] Cannot find any crtc or sizes<br>
	[    3.732493] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller<br>
	[    3.738005] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 3<br>
	[    3.746122] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f064 hci version 0x100 quirks 0x0000000002010010<br>
	[    3.755562] xhci-hcd xhci-hcd.2.auto: irq 20, io mem 0x05200000<br>
	[    3.761778] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00<br>
	[    3.770052] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    3.777280] usb usb3: Product: xHCI Host Controller<br>
	[    3.782165] usb usb3: Manufacturer: Linux 5.0.7-sunxi64 xhci-hcd<br>
	[    3.788176] usb usb3: SerialNumber: xhci-hcd.2.auto<br>
	[    3.793456] hub 3-0:1.0: USB hub found<br>
	[    3.797243] hub 3-0:1.0: 1 port detected<br>
	[    3.801418] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller<br>
	[    3.806921] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 4<br>
	[    3.814591] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0  SuperSpeed<br>
	[    3.821269] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.<br>
	[    3.829481] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.00<br>
	[    3.837755] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    3.844983] usb usb4: Product: xHCI Host Controller<br>
	[    3.849868] usb usb4: Manufacturer: Linux 5.0.7-sunxi64 xhci-hcd<br>
	[    3.855880] usb usb4: SerialNumber: xhci-hcd.2.auto<br>
	[    3.861084] hub 4-0:1.0: USB hub found<br>
	[    3.864866] hub 4-0:1.0: 1 port detected<br>
	[    3.869483] ehci-platform 5311000.usb: EHCI Host Controller<br>
	[    3.875081] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 5<br>
	[    3.883152] ehci-platform 5311000.usb: irq 21, io mem 0x05311000<br>
	[    3.904247] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00<br>
	[    3.910494] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00<br>
	[    3.918769] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    3.925999] usb usb5: Product: EHCI Host Controller<br>
	[    3.930884] usb usb5: Manufacturer: Linux 5.0.7-sunxi64 ehci_hcd<br>
	[    3.936897] usb usb5: SerialNumber: 5311000.usb<br>
	[    3.941785] hub 5-0:1.0: USB hub found<br>
	[    3.945569] hub 5-0:1.0: 1 port detected<br>
	[    3.950068] ohci-platform 5311400.usb: Generic Platform OHCI controller<br>
	[    3.956707] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 6<br>
	[    3.964662] ohci-platform 5311400.usb: irq 22, io mem 0x05311400<br>
	[    4.032502] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.00<br>
	[    4.040777] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    4.048006] usb usb6: Product: Generic Platform OHCI controller<br>
	[    4.053933] usb usb6: Manufacturer: Linux 5.0.7-sunxi64 ohci_hcd<br>
	[    4.059944] usb usb6: SerialNumber: 5311400.usb<br>
	[    4.064842] hub 6-0:1.0: USB hub found<br>
	[    4.068691] hub 6-0:1.0: 1 port detected<br>
	[    4.073372] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator<br>
	[    4.084148] usb_phy_generic usb_phy_generic.3.auto: Linked as a consumer to regulator.0<br>
	[    4.092422] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver<br>
	[    4.098181] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 7<br>
	[    4.106177] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.00<br>
	[    4.114455] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>
	[    4.121685] usb usb7: Product: MUSB HDRC host driver<br>
	[    4.126657] usb usb7: Manufacturer: Linux 5.0.7-sunxi64 musb-hcd<br>
	[    4.132669] usb usb7: SerialNumber: musb-hdrc.4.auto<br>
	[    4.138302] hub 7-0:1.0: USB hub found<br>
	[    4.142094] hub 7-0:1.0: 1 port detected<br>
	[    4.146906] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-pf not found, using dummy regulator<br>
	[    4.157036] sunxi-mmc 4020000.mmc: Linked as a consumer to regulator.14<br>
	[    4.164240] sunxi-mmc 4020000.mmc: Got CD GPIO<br>
	[    4.194041] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode<br>
	[    4.203554] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-pg not found, using dummy regulator<br>
	[    4.213654] sunxi-mmc 4021000.mmc: Linked as a consumer to regulator.15<br>
	[    4.220336] sunxi-mmc 4021000.mmc: Linked as a consumer to regulator.11<br>
	[    4.227513] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq<br>
	[    4.266788] mmc0: host does not support reading read-only switch, assuming write-enable<br>
	[    4.276590] mmc0: Problem switching card into high-speed mode!<br>
	[    4.282516] mmc0: new SDHC card at address 0001<br>
	[    4.287236] usb 3-1: new high-speed USB device number 2 using xhci-hcd<br>
	[    4.294557] mmcblk0: mmc0:0001 SD 29.1 GiB<br>
	[    4.298922] usb 5-1: new high-speed USB device number 2 using ehci-platform<br>
	[    4.307381]  mmcblk0: p1<br>
	[    4.312427] random: fast init done<br>
	[    4.460245] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB, uses new timings mode<br>
	[    4.469819] sun50i-h6-pinctrl 300b000.pinctrl: 300b000.pinctrl supply vcc-pc not found, using dummy regulator<br>
	[    4.479943] sunxi-mmc 4022000.mmc: Linked as a consumer to regulator.14<br>
	[    4.486608] sunxi-mmc 4022000.mmc: Linked as a consumer to regulator.11<br>
	[    4.500271] usb 3-1: New USB device found, idVendor=148f, idProduct=3070, bcdDevice= 1.01<br>
	[    4.508471] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br>
	[    4.515615] usb 3-1: Product: 802.11 n WLAN<br>
	[    4.519810] usb 3-1: Manufacturer: Ralink<br>
	[    4.523828] usb 3-1: SerialNumber: 1.0<br>
	[    4.540270] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode<br>
	[    4.549450] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-01T00:00:09 UTC (9)<br>
	[    4.557507] of_cfs_init<br>
	[    4.560034] of_cfs_init: OK<br>
	[    4.563017] vcc3v3: disabling<br>
	[    4.565996] vcc1v8: disabling<br>
	[    4.568978] vdd-gpu: disabling<br>
	[    4.572697] Freeing unused kernel memory: 576K<br>
	[    4.588281] Run /init as init process<br>
	[    4.664320] mmc2: new DDR MMC card at address 0001<br>
	[    4.670421] mmcblk2: mmc2:0001 NCard  14.5 GiB<br>
	[    4.675813] mmcblk2boot0: mmc2:0001 NCard  partition 1 4.00 MiB<br>
	[    4.682544] mmcblk2boot1: mmc2:0001 NCard  partition 2 4.00 MiB<br>
	[    4.689552]  mmcblk2: p1<br>
	[    4.720051] sunxi-mmc 4022000.mmc: data error, sending stop command<br>
	[    4.726460] sunxi-mmc 4022000.mmc: send stop command failed<br>
	[    4.732785] sunxi-mmc 4022000.mmc: data error, sending stop command<br>
	[    5.736234] sunxi-mmc 4022000.mmc: send stop command failed
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">10140</guid><pubDate>Mon, 15 Apr 2019 15:43:55 +0000</pubDate></item><item><title>Finally.... got Bluetooth working on Pine64 H64 model-B</title><link>https://testforum.armbian.com/topic/13636-finally-got-bluetooth-working-on-pine64-h64-model-b/</link><description><![CDATA[<p>
	All,
</p>

<p>
	 
</p>

<p>
	Don´t know if anybody else did it... but I got Bluetooth running by modifying the device tree and adding support for communication between the RTL8723BS and UART1 and loading the needed RTL8723B firmware.
</p>

<p>
	 
</p>

<p>
	Distro: Armbian Buster
</p>

<p>
	Kernel version: 5.4.30-sunxi64 
</p>

<p>
	 
</p>

<p>
	This is how I did it:
</p>

<p>
	 
</p>

<p>
	1) Create a patch (xx.patch) with the next content and place it in  ~/build/userpatches/kernel/sunxi-current/
</p>

<p>
	 
</p>

<p>
	--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts    2020-04-06 12:37:45.584912094 +0200<br>
	+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts    2020-04-06 12:37:45.584912094 +0200<br>
	@@ -498,6 +498,21 @@<br>
	     status = "okay";<br>
	 };<br>
	 <br>
	+/* On Wifi/BT connector, with RTS/CTS */<br>
	+&amp;uart1 {<br>
	+    pinctrl-names = "default";<br>
	+    pinctrl-0 = &lt;&amp;uart1_pins&gt;, &lt;&amp;uart1_rts_cts_pins&gt;;<br>
	+    status = "okay";<br>
	+<br>
	+    bluetooth {<br>
	+        compatible = "realtek,rtl8723bs-bt";<br>
	+        device-wake-gpios = &lt;&amp;r_pio 1 1 GPIO_ACTIVE_HIGH&gt;; /* PM1 */<br>
	+        host-wake-gpios = &lt;&amp;r_pio 1 2 GPIO_ACTIVE_HIGH&gt;; /* PM2 */<br>
	+        reset-gpios = &lt;&amp;r_pio 1 4 GPIO_ACTIVE_LOW&gt;; /* PM4 */<br>
	+        post-power-on-delay-ms = &lt;200&gt;;<br>
	+    };<br>
	+};<br>
	+<br>
	 &amp;usb2otg {<br>
	     dr_mode = "host";<br>
	     status = "okay";
</p>

<p>
	 
</p>

<p>
	2) Run sudo ./compile with your favorite  config (Desktop/server/blablabla)
</p>

<p>
	3) Flash the image to an SD card or eMMC module.
</p>

<p>
	4) Start your Pine64 H64 model-B
</p>

<p>
	4) Connect to a network and run the firmware update/upgrades (armbian-config) and install the Bluetooth tools.
</p>

<p>
	5) DO NOT ENABLE SERIAL 1 !!!! in armbian-config
</p>

<p>
	6) Download the next git repo to your board:  <a href="https://github.com/lwfinger/rtl8723bs_bt.gitReboot" rel="external nofollow">https://github.com/lwfinger/rtl8723bs_bt.git</a>
</p>

<p>
	7) Unpack the archive, run make
</p>

<p>
	8) Copy the next firmware files to /lib/firmwares/rtl_bt:
</p>

<ol><li>
		  sudo cp rtlbt_fw_new /lib/firmware/rtl_bt/rtl8723bs_fw.bin
	</li>
	<li>
		sudo cp rtlbt_config /lib/firmware/rtl_bt/rtl8723bs_config.bin
	</li>
</ol><p>
	9) Reboot
</p>

<p>
	 
</p>

<p>
	<u><strong>Expected dmesg output:</strong></u>
</p>

<p>
	 
</p>

<p>
	<em>[   45.107273] Bluetooth: HCI UART driver ver 2.3<br>
	[   45.107279] Bluetooth: HCI UART protocol H4 registered<br>
	[   45.107281] Bluetooth: HCI UART protocol BCSP registered<br>
	[   45.107329] Bluetooth: HCI UART protocol LL registered<br>
	[   45.107331] Bluetooth: HCI UART protocol ATH3K registered<br>
	[   45.107375] Bluetooth: HCI UART protocol Three-wire (H5) registered<br>
	[   45.107509] Bluetooth: HCI UART protocol Intel registered<br>
	[   45.107592] Bluetooth: HCI UART protocol Broadcom registered<br>
	[   45.107614] Bluetooth: HCI UART protocol QCA registered<br>
	[   45.107616] Bluetooth: HCI UART protocol AG6XX registered<br>
	[   45.107642] Bluetooth: HCI UART protocol Marvell registered<br><br>
	[   45.845446] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723<br>
	[   45.849521] Bluetooth: hci0: RTL: rom_version status=0 version=1<br><strong>[   45.849529] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723bs_fw.bin<br>
	[   46.055000] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723bs_config.bin</strong><br>
	[   46.096579] Bluetooth: hci0: RTL: cfg_sz 55, total sz 23699</em>
</p>

<p>
	 
</p>

<p>
	<em>[   46.929071] Bluetooth: hci0: RTL: fw version 0x373e6962</em>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<strong><u><em>'hciconfig list' output:</em></u></strong>
</p>

<p>
	 
</p>

<p>
	<em>hci0:    Type: Primary  Bus: UART<br>
	    BD Address: 48:46:C1:3A:6B:5F  ACL MTU: 820:8  SCO MTU: 255:16<br>
	    UP RUNNING PSCAN ISCAN <br>
	    RX bytes:1982677 acl:3028 sco:0 events:491 errors:0<br>
	    TX bytes:91688 acl:232 sco:0 commands:225 errors:0</em>
</p>

<p>
	 
</p>

<p>
	File transfer from Pine to Samsung is working... haven't tested anything else..
</p>

<p>
	 
</p>

<p>
	Regards,
</p>

<p>
	 
</p>

<p>
	__Dirk__ 
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="6312" href="https://testforum.armbian.com/uploads/monthly_2020_04/Pine64_H64_model-b_running_bluetooth.jpg.cd2bded889277b1c4e4dec2ac4bebb27.jpg" rel=""><img alt="Pine64_H64_model-b_running_bluetooth.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="6312" width="1000" src="https://testforum.armbian.com/uploads/monthly_2020_04/Pine64_H64_model-b_running_bluetooth.thumb.jpg.477d90d8f3d748bc8bac38e3b5180395.jpg" loading="lazy" height="560"></a>
</p>
]]></description><guid isPermaLink="false">13636</guid><pubDate>Mon, 06 Apr 2020 19:10:09 +0000</pubDate></item><item><title>pine64 bluetooth firmware config file missing</title><link>https://testforum.armbian.com/topic/13874-pine64-bluetooth-firmware-config-file-missing/</link><description><![CDATA[<p>
	After a fresh armbian installation + armbian-firmware-full package, the pine64 bluetooth doesn't work because the rtl8723bs_config-pine64.bin file is missing.<br>
	I've downloaded the file from https://github.com/anarsoul/rtl8723bt-firmware/tree/master/rtl_bt into /lib/firmware/rtl_bt and it works so I've created a PR here <a href="https://github.com/armbian/firmware/pull/14" rel="external nofollow">https://github.com/armbian/firmware/pull/14</a> to add it to the firmware package so it can work out of the box.
</p>

<p>
	Let me know if I need to do something else for the PR to be merged.
</p>

<p>
	Thanks.
</p>
]]></description><guid isPermaLink="false">13874</guid><pubDate>Tue, 28 Apr 2020 06:54:08 +0000</pubDate></item><item><title>Pine64 H64 model-B case modding.</title><link>https://testforum.armbian.com/topic/13667-pine64-h64-model-b-case-modding/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	Since I still couldn't find a enclosure for my Pine64 H64 model-B, I mocked up one myself using a Eur 6,50 Raspberry Pi 4 case.  
</p>

<p>
	 
</p>

<p>
	1) From the USB/ETH connector side I cut out the sections in between the connectors since there is a small offset that pushes the Pine64 board aside when closing the case.
</p>

<p>
	2) From one of the cover lulls, I cut out a section to fit over the IR sensor.
</p>

<p>
	3) On the HDMI side I cut out the two ports holes of the RPI micro hdmi connections  and I made a notch in the USB-C hole to fit the power connector of the Pine64.
</p>

<p>
	4) Drilled a hole in the cover large enough for the WIFI/BT antenna connector, on the board, to fit through.
</p>

<p>
	 
</p>

<p>
	The pcb takes the exact same mounting points inside the enclosure as the rpi4, so you don't have to fiddle around there.  MicroSD card slot matches exactly
</p>

<p>
	 
</p>

<p>
	I only forgot to add some holes for the two buttons (Reset/Poweroff) on the SDcard side.
</p>

<p>
	 
</p>

<p>
	A very thin <strong>hot</strong> knife works very nice to cut in/out the case material.
</p>

<p>
	 
</p>

<p>
	Regards,
</p>

<p>
	 
</p>

<p>
	__Dirk__
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="6346" href="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091052.jpg.d52c6793d33dd62bbdddfb9a7dd8dd39.jpg" rel=""><img alt="20200409_091052.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="6346" width="422" src="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091052.thumb.jpg.4c587edae675d70a24ec39519e404f46.jpg" loading="lazy" height="746.94"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="6348" href="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091604.jpg.8562bd18930208c9bbf01477e32c85b7.jpg" rel=""><img alt="20200409_091604.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="6348" width="422" src="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091604.thumb.jpg.795d39356b2f2276e28a65f0983889a9.jpg" loading="lazy" height="746.94"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="6345" href="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091040.jpg.baedd973f20db25681a22bb9126f30d9.jpg" rel=""><img alt="20200409_091040.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="6345" width="422" src="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091040.thumb.jpg.70bf4d2726dbe795065dc585dbcaba3d.jpg" loading="lazy" height="746.94"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="6343" href="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_092731.jpg.b9704458c0e4d42472da42eff196c4d0.jpg" rel=""><img alt="20200409_092731.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="6343" width="1000" src="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_092731.thumb.jpg.cde02cdd8dacad36172d9c8017c26f29.jpg" loading="lazy" height="560"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="jpg" data-fileid="6347" href="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091249.jpg.ed93bb9d019163d014229f8567f6bc03.jpg" rel=""><img alt="20200409_091249.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="6347" width="422" src="https://testforum.armbian.com/uploads/monthly_2020_04/20200409_091249.thumb.jpg.37b07b9b1c2afa4cbb274e8884708538.jpg" loading="lazy" height="746.94"></a>
</p>
]]></description><guid isPermaLink="false">13667</guid><pubDate>Thu, 09 Apr 2020 07:51:28 +0000</pubDate></item><item><title>IDE like VSCode or Atom for Pine64 on Armbian Debian Buster</title><link>https://testforum.armbian.com/topic/12475-ide-like-vscode-or-atom-for-pine64-on-armbian-debian-buster/</link><description><![CDATA[<p>
	I'm searching for an IDE like VSCode or Atom for my Pine64 with 2GB.
</p>

<p>
	I've found a way to install VSCode named Code OSS headmelted, but after 15 minutes the memory gone to be overflow, with the risk to collapse the os.
</p>

<p>
	Excluding Geany, is there some IDE that works and can be used for NodeJS/ES6 ?
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">12475</guid><pubDate>Wed, 18 Dec 2019 21:29:39 +0000</pubDate></item><item><title>Pine A64 no HDMI signal</title><link>https://testforum.armbian.com/topic/13651-pine-a64-no-hdmi-signal/</link><description><![CDATA[<p>
	After a reboot, my HDMI does not send anymore signal.
</p>

<p>
	The resolution of my desktop (using x11vnc) is 1024x768.
</p>

<p>
	 
</p>

<p>
	This is the pastebin from dmesg: <a href="https://pastebin.com/N5HaM7MV" rel="external nofollow">dmesg from Pine64</a>
</p>

<p>
	 
</p>

<p>
	There are some error on sunxi8.
</p>

<p>
	Can someone help me?
</p>
]]></description><guid isPermaLink="false">13651</guid><pubDate>Wed, 08 Apr 2020 12:33:04 +0000</pubDate></item><item><title>pine 64so Pine64, bananapi M64</title><link>https://testforum.armbian.com/topic/13699-pine-64so-pine64-bananapi-m64/</link><description><![CDATA[<p>
	pine 64so Pine64, bananapi M64
</p>

<p>
	images 19.11.3, GUI XFCE 4.12  dont not run after upgrade
</p>

<p>
	images 20.02 GUI does not work from begining after installed.
</p>

<p>
	 
</p>

<p>
	Never mind i build 19.11.5 kernel 5.4.18 and works
</p>
]]></description><guid isPermaLink="false">13699</guid><pubDate>Sat, 11 Apr 2020 09:38:55 +0000</pubDate></item><item><title>Pine64-LTS getting all serial ports to work.</title><link>https://testforum.armbian.com/topic/13181-pine64-lts-getting-all-serial-ports-to-work/</link><description><![CDATA[<p>
	I am currently using the Armbian 20.02 release and doing some tests with the serial ports of a
</p>

<p>
	Pine64-LTS board. I noticed that i could not get all the serial ports to work. I needed to make a
</p>

<p>
	couple of changes in order to get them all working. Maybe i did something wrong and my changes
</p>

<p>
	were not needed, but i still would like to list them here in order to help other users who are
</p>

<p>
	having problems with the serial ports.
</p>

<p>
	 
</p>

<p>
	When first starting up the armbian release i used the armbian-config tool to enable the uart 1,
</p>

<p>
	uart 2, uart 3 and uart4. I rebooted but noticed not all ports where present. I noticed a message
</p>

<p>
	in the dmesg log showing ttyS4 error -28. After some research (zcat /proc/config.gz) i noticed the
</p>

<p>
	kernel was compiled with only max 4 serial ports -&gt; CONFIG_SERIAL_8250_NR_UARTS=4 
</p>

<p>
	Sadly this meant i had to recompile the kernel since this item can't be increased with a
</p>

<p>
	kernel parameter setting.
</p>

<p>
	 
</p>

<p>
	After recompiling the kernel with CONFIG_SERIAL_8250_NR_UARTS=16 and
</p>

<p>
	CONFIG_SERIAL_8250_RUNTIME_UARTS=5 i rebooted the system with the new kernel and
</p>

<p>
	this time got the last uart 4 (addressed by 1c29000.serial) initialized (no more error -28).
</p>

<p>
	I did noticed a new problem. The uart 1 (addressed by 1c28400.serial) was initialized by
</p>

<p>
	the kernel as /dev/ttyS1 but after looking in the /dev directory there was no /dev/ttyS1
</p>

<p>
	I did some more research and thought this was due to the bluetooh hci_uart or other
</p>

<p>
	bluetooth items. So i blacklisted the modules by creating files in
</p>

<p>
	/dev/modprobe.d/&lt;module name&gt;.conf containing the line 'blacklist &lt;module name&gt;'.
</p>

<p>
	This stopped the bluetooth modules from loading but still the /dev/ttyS1 got lost.
</p>

<p>
	I thought this was probably due to some issue in the dtb file so i converted the
</p>

<p>
	/boot/dtb/allwinner/sun50i-a64-pine64-lts.dtb file to a dts file so i could read what was
</p>

<p>
	going on (using the dtc command):
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">dtc -I dtb -O dts -o sun50i-a64-pine64-lts.dts sun50i-a64-pine64-lts.dtb</span></pre>

<p>
	 
</p>

<p>
	In the dts file i noticed the uart 1 (addressed by 1c28400.serial) also contained a bluetooth
</p>

<p>
	part:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">serial@1c28400 {
                        compatible = "snps,dw-apb-uart";
                        reg = &lt; 0x1c28400 0x400 &gt;;
                        interrupts = &lt; 0x00 0x01 0x04 &gt;;
                        reg-shift = &lt; 0x02 &gt;;
                        reg-io-width = &lt; 0x04 &gt;;
                        clocks = &lt; 0x02 0x44 &gt;;
                        resets = &lt; 0x02 0x2f &gt;;
                        status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = &lt; 0x32 0x33 &gt;;
                        phandle = &lt; 0x76 &gt;;

                        bluetooth {
                                compatible = "realtek,rtl8723bs-bt";
                                reset-gpios = &lt; 0x34 0x00 0x04 0x01 &gt;;
                                device-wake-gpios = &lt; 0x34 0x00 0x05 0x00 &gt;;
                                host-wake-gpios = &lt; 0x34 0x00 0x06 0x00 &gt;;
                                firmware-postfix = "pine64";
                        };
                };</span></pre>

<p>
	I removed the complete bluetooth part, so this part looked like:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">serial@1c28400 {
                        compatible = "snps,dw-apb-uart";
                        reg = &lt; 0x1c28400 0x400 &gt;;
                        interrupts = &lt; 0x00 0x01 0x04 &gt;;
                        reg-shift = &lt; 0x02 &gt;;
                        reg-io-width = &lt; 0x04 &gt;;
                        clocks = &lt; 0x02 0x44 &gt;;
                        resets = &lt; 0x02 0x2f &gt;;
                        status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = &lt; 0x32 0x33 &gt;;
                        phandle = &lt; 0x76 &gt;;
                };</span></pre>

<p>
	 
</p>

<p>
	I first made a backup of the original dtb file:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">cp /boot/dtb/allwinner/sun50i-a64-pine64-lts.dtb /boot/dtb/allwinner/sun50i-a64-pine64-lts.dtb-orig</span></pre>

<p>
	 
</p>

<p>
	I then converted the altered dts file back into a dtb format with the help of the following command:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">dtc -I dts -O dtb -o sun50i-a64-pine64-lts.dtb sun50i-a64-pine64-lts.dts</span></pre>

<p>
	 
</p>

<p>
	I rebooted the system and this time i did got all 5 serial ports working and also available via /dev/ttyS* device nodes.
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">dmesg log (serial lines)
[    2.877614] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 30, base_baud = 1500000) is a U6_16550A
[    2.929097] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 31, base_baud = 1500000) is a U6_16550A
[    2.952307] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 32, base_baud = 1500000) is a U6_16550A
[    2.975520] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 33, base_baud = 1500000) is a U6_16550A
[    2.998728] 1c29000.serial: ttyS4 at MMIO 0x1c29000 (irq = 34, base_baud = 1500000) is a U6_16550A</span></pre>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">ls -al /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 Feb 25 12:54 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Feb 25 11:42 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Feb 25 11:42 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Feb 25 11:42 /dev/ttyS3
crw-rw---- 1 root dialout 4, 68 Feb 25 11:42 /dev/ttyS4</span></pre>

<p>
	 
</p>

<p>
	I do not know who is maintaining these parts of Armbian but would like to propose to remove the bluetooth item
</p>

<p>
	from the default DTB file and create an overlay for enabling bluetooth. Possibly with the help of armbian-config
</p>

<p>
	to enable and disable it. Also the kernel should have at least the amount of uarts enabled to make use of it
</p>

<p>
	without recompiling it.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">13181</guid><pubDate>Tue, 25 Feb 2020 11:56:08 +0000</pubDate></item><item><title>Can't install PINE A64-LTS to eMMC</title><link>https://testforum.armbian.com/topic/7783-cant-install-pine-a64-lts-to-emmc/</link><description><![CDATA[<p>
	Is there a way to boot the Pine-A64 LTS with Armbian via eMMC?<br><br>
	I can use the SD card to boot the armian-Sopine image, but the eMMC memory is not recognized.<br><br>
	With the Ayufan image (jessie-minimal) on SD card (<a href="https://github.com/ayufan-pine64/linux-build/releases" rel="external nofollow">https://github.com/ayufan-pine64/linux-build/releases)</a>, I can at least recognize the eMMC memory and using<br>
	          sudo dd bs = 30M if = Image / jessie-minimal-sopine-0.7.19-118.img of =/dev/ mmcblk1<br>
	copy to the eMMC memory. I removed the SD card and booted with eMMC.
</p>

<p>
	 
</p>

<p>
	I did the same steps with the Armbian image and write the Armbian image on the eMMC (with the Ayufan image on SD card)
</p>

<p>
	        sudo dd bs=30M if=Image/Armbian_5.38_Pine64so_Ubuntu_xenial_default_3.10.107.img of=/dev/mmcblk1
</p>

<p>
	and nothings happens after the reboot.
</p>

<p>
	 
</p>

<p>
	There are further steps that I have to carry out?
</p>
]]></description><guid isPermaLink="false">7783</guid><pubDate>Tue, 24 Jul 2018 11:40:31 +0000</pubDate></item><item><title>Pine64/Sopine + Waveshare Rpi LCD's</title><link>https://testforum.armbian.com/topic/12851-pine64sopine-waveshare-rpi-lcds/</link><description><![CDATA[<p>
	I'm currently looking into a new project which will use (hopefully) the Rpi Waveshare hdmi based 4" lcd touch screen, linked to the pine64/Sopine
</p>

<p>
	I'm at research stage, and will be looking into using a current 5.x kernel.
</p>

<p>
	If anyone has any info on the waveshare lcd's I need to watch out for or suggestions to get further info (specifically the touch driver side), please post a response.
</p>

<p>
	Progress on the project will be posted here, links will be added once I have some basics running.
</p>

<p>
	 
</p>

<p>
	This can hopefully open up the waveshare displays to other devices.
</p>

<p>
	<a contenteditable="false" data-ipshover="" data-ipshover-target="https://testforum.armbian.com/profile/1-igor/?do=hovercard" data-mentionid="1" href="https://testforum.armbian.com/profile/1-igor/" rel="">@Igor</a> Yes I've read <a href="https://testforum.armbian.com/topic/12295-fbtft-on-539-kernel/?tab=comments#comment-90396" rel="">This post</a> but am willing to do what I can to get Armbian to support the displays as best I can.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">12851</guid><pubDate>Mon, 27 Jan 2020 18:37:03 +0000</pubDate></item><item><title>Pine H64 Model B Questions</title><link>https://testforum.armbian.com/topic/12363-pine-h64-model-b-questions/</link><description><![CDATA[<p>
	I've tried searching the forums for info on the Pine H64 Model B, but all the information is rather outdated, so I have some questions:
</p>

<ul><li>
		Is this board supported by the images on the Pine H64 page which show a Model A board? (There was mention they work but without ethernet support.)
	</li>
	<li>
		Has ethernet support been fixed in the Pine H64 images for Model B?
	</li>
	<li>
		Are nightly builds still disabled for these boards?
	</li>
</ul><p>
	 
</p>
]]></description><guid isPermaLink="false">12363</guid><pubDate>Thu, 05 Dec 2019 06:26:09 +0000</pubDate></item><item><title>Understanding the armbian build process for Pine64</title><link>https://testforum.armbian.com/topic/12497-understanding-the-armbian-build-process-for-pine64/</link><description><![CDATA[<p>
	Hi everyone!
</p>

<p>
	 
</p>

<p>
	I'm trying to build my own distribution for the Pine64, and I use armbian as a working reference.
</p>

<p>
	I'm able to compile ATF + U-boot + Kernel + rootfs and the board actually boots and I get a console over the serial interface and over HDMI.
</p>

<p>
	 
</p>

<p>
	The problem is that GbE Ethernet does not work. It appears that the 8211 phy is not powered.
</p>

<p>
	The good guys on the pine64 IRC pointed to the ATF, where the DC1SW regulator should be turned on in order to power the phy.
</p>

<p>
	<strong>On armbian everything works just fine.</strong>
</p>

<p>
	 
</p>

<p>
	I think I messed up something in the build - wrong version / config / dts in either ATF, U-boot or the linux kernel.
</p>

<p>
	 
</p>

<p>
	I tried to understand how the armbian Pine64 image was built - but since I'm totally new to armbian I got lost pretty quick.
</p>

<p>
	 
</p>

<p>
	So basically I want to know how can I find the following information:
</p>

<p>
	1. What version + platform of ATF is used? Is it from the official ARM repo, or some fork?
</p>

<p>
	2. What version + config + dts of U-Boot is used?
</p>

<p>
	3. What version + config + dts of Linux is used? Is it mainline / LTS kernel? are there any special patches applied that I should be aware?
</p>

<p>
	 
</p>

<p>
	I know it is a bit weird question to ask here, but I really want to learn how to create my distro, and armbian is a great reference.
</p>
]]></description><guid isPermaLink="false">12497</guid><pubDate>Sun, 22 Dec 2019 07:00:10 +0000</pubDate></item><item><title>Pine64: Unable to export GPIO 64 - 67</title><link>https://testforum.armbian.com/topic/10640-pine64-unable-to-export-gpio-64-67/</link><description><![CDATA[<p>
	How can I use / release the ports PC0-PC3 (GPIO 64 - 67) in kernel 4.19?
</p>

<p>
	 
</p>

<p>
	In my project I am using the ports PC0-PC3 (GPIO 64 - 67) for in-circuit programming (with avrdude). Everything was fine until I switched from kernel 4.14 to kernel 4.19.
</p>

<p>
	 
</p>

<p>
	Now the ports are already in use. (Although according to the pine64 schematics nothing is connected to those ports)
</p>

<p>
	 
</p>

<p>
	sudo cat /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins<br>
	...<br>
	pin 64 (PC0): device 1c68000.spi function spi0 group PC0<br>
	pin 65 (PC1): device 1c68000.spi function spi0 group PC1<br>
	pin 66 (PC2): device 1c68000.spi function spi0 group PC2<br>
	pin 67 (PC3): device 1c68000.spi function spi0 group PC3<br>
	...
</p>

<p>
	In kernel 4.14 the ports were unclaimed:
</p>

<p>
	sudo cat /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins
</p>

<p>
	...
</p>

<p>
	pin 64 (PC0): (MUX UNCLAIMED) (GPIO UNCLAIMED)<br>
	pin 65 (PC1): (MUX UNCLAIMED) (GPIO UNCLAIMED)<br>
	pin 66 (PC2): (MUX UNCLAIMED) (GPIO UNCLAIMED)<br>
	pin 67 (PC3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
</p>

<p>
	...
</p>

<p>
	 
</p>

<p>
	How can I free the ports so I can use kernel 4.19 in my project?
</p>

<p>
	 
</p>

<p>
	Here is the related information from armbianmonitor -u<span>:</span>
</p>

<p>
	[ 5222.922107] sun50i-a64-pinctrl 1c20800.pinctrl: pin PC3 already requested by 1c68000.spi; cannot claim for 1c20800.pinctrl:67 [ 5222.922122] sun50i-a64-pinctrl 1c20800.pinctrl: pin-67 (1c20800.pinctrl:67) status -22
</p>

<p>
	 
</p>

<p>
	Thanks for any information in advance.
</p>
]]></description><guid isPermaLink="false">10640</guid><pubDate>Thu, 13 Jun 2019 11:23:38 +0000</pubDate></item><item><title>pine64 fast enough for typical programs?</title><link>https://testforum.armbian.com/topic/11490-pine64-fast-enough-for-typical-programs/</link><description><![CDATA[<p>
	https://www.pine64.org/pinephone/
</p>

<p>
	It gets the same cpu as the pine64. If you have a pine64 can
</p>

<p>
	it run common programs like firefox, vlc, libre office,
</p>

<p>
	gimp and jitsi?
</p>

<p>
	 
</p>

<p>
	Is the pine64 as fast
</p>

<p>
	as the orange pi
</p>

<p>
	one?
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">11490</guid><pubDate>Wed, 04 Sep 2019 20:35:29 +0000</pubDate></item><item><title>Pine64+ on 4.19.13-sunxi64: rcu_sched self-detected stall on CPU</title><link>https://testforum.armbian.com/topic/9331-pine64-on-41913-sunxi64-rcu_sched-self-detected-stall-on-cpu/</link><description><![CDATA[<p>
	After upgrading from 4.14.70-sunxi64 to 4.19.13-sunxi64 Pine64+ board started to misbehave after running for some time.
</p>

<p>
	Dmesg shows:
</p>

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

	<div class="ipsQuote_contents">
		<p>
			saus. 14 03:26:23 pine64 kernel: rcu: INFO: rcu_sched self-detected stall on CPU<br>
			saus. 14 03:26:23 pine64 kernel: rcu:         2-...0: (286 GPs behind) idle=ad6/0/0x1 softirq=380346/380347 fqs=2<br>
			saus. 14 03:26:23 pine64 kernel: rcu:          (t=60094 jiffies g=291549 q=3)<br>
			saus. 14 03:26:23 pine64 kernel: Task dump for CPU 2:<br>
			saus. 14 03:26:23 pine64 kernel: swapper/2       R  running task        0     0      1 0x0000002a<br>
			saus. 14 03:26:23 pine64 kernel: Call trace:<br>
			saus. 14 03:26:23 pine64 kernel:  dump_backtrace+0x0/0x1c0<br>
			saus. 14 03:26:23 pine64 kernel:  show_stack+0x14/0x20<br>
			saus. 14 03:26:23 pine64 kernel:  sched_show_task+0x160/0x198<br>
			saus. 14 03:26:23 pine64 kernel:  dump_cpu_task+0x40/0x50<br>
			saus. 14 03:26:23 pine64 kernel:  rcu_dump_cpu_stacks+0xc0/0x100<br>
			saus. 14 03:26:23 pine64 kernel:  rcu_check_callbacks+0x594/0x780<br>
			saus. 14 03:26:23 pine64 kernel:  update_process_times+0x2c/0x58<br>
			saus. 14 03:26:23 pine64 kernel:  tick_sched_handle.isra.5+0x30/0x48<br>
			saus. 14 03:26:23 pine64 kernel:  tick_sched_timer+0x48/0x98<br>
			saus. 14 03:26:23 pine64 kernel:  __hrtimer_run_queues+0xe4/0x1f8<br>
			saus. 14 03:26:23 pine64 kernel:  hrtimer_interrupt+0xf4/0x2b0<br>
			saus. 14 03:26:23 pine64 kernel:  arch_timer_handler_phys+0x28/0x40<br>
			saus. 14 03:26:23 pine64 kernel:  handle_percpu_devid_irq+0x80/0x138<br>
			saus. 14 03:26:23 pine64 kernel:  generic_handle_irq+0x24/0x38<br>
			saus. 14 03:26:23 pine64 kernel:  __handle_domain_irq+0x5c/0xb0<br>
			saus. 14 03:26:23 pine64 kernel:  gic_handle_irq+0x58/0xa8<br>
			saus. 14 03:26:23 pine64 kernel:  el1_irq+0xb0/0x140<br>
			saus. 14 03:26:23 pine64 kernel:  arch_cpu_idle+0x10/0x18<br>
			saus. 14 03:26:23 pine64 kernel:  do_idle+0x1d4/0x298<br>
			saus. 14 03:26:23 pine64 kernel:  cpu_startup_entry+0x24/0x28<br>
			saus. 14 03:26:23 pine64 kernel:  secondary_start_kernel+0x18c/0x1c8<br>
			saus. 14 03:26:23 pine64 kernel: Task dump for CPU 3:<br>
			saus. 14 03:26:23 pine64 kernel: tor             R  running task        0  2964      1 0x00000802<br>
			saus. 14 03:26:23 pine64 kernel: Call trace:<br>
			saus. 14 03:26:23 pine64 kernel:  __switch_to+0x94/0xd8<br>
			saus. 14 03:26:23 pine64 kernel:  do_mem_abort+0x54/0x100<br>
			saus. 14 03:26:23 pine64 kernel:  el0_da+0x20/0x24
		</p>
	</div>
</blockquote>

<p>
	 
</p>

<p>
	Armbian-release:
</p>

<p>
	BOARD=pine64<br>
	BOARD_NAME="Pine64"<br>
	BOARDFAMILY=sun50iw1<br>
	VERSION=5.70<br>
	LINUXFAMILY=sunxi64<br>
	BRANCH=next<br>
	ARCH=arm64<br>
	IMAGE_TYPE=stable<br>
	BOARD_TYPE=conf<br>
	INITRD_ARCH=arm64<br>
	KERNEL_IMAGE_TYPE=Image
</p>

<p>
	 
</p>

<p>
	With Armbian Pine64 3.10 kernel board worked without hanging for 2+ years.
</p>

<p>
	I also tried 4.18.xx-sunxi64 kernel from dev branch - same problem.
</p>
]]></description><guid isPermaLink="false">9331</guid><pubDate>Wed, 16 Jan 2019 18:03:44 +0000</pubDate></item><item><title>Pine H64 Won't start with Armbian</title><link>https://testforum.armbian.com/topic/10818-pine-h64-wont-start-with-armbian/</link><description><![CDATA[<p>
	I have a brand new Pine H64-B. 
</p>

<p>
	 
</p>

<p>
	I can get AOSC to start on it, but needed to get Ambian to work. It will partly boot up, but never gets to the the CLI or desktop
</p>

<p>
	 
</p>

<p>
	I have a good SD Card (AOSC works fine, works on a Pi; tried 32G and 128G, ) and power supply.
</p>

<p>
	 
</p>

<p>
	Armbian_5.89.190626_Pineh64_Debian_stretch_dev_5.1.12.img<br>
	Armbian_5.88_Pineh64_Debian_stretch_dev_5.1.7.img<br>
	Armbian_5.88_Pineh64_Ubuntu_bionic_dev_5.1.7.img
</p>

<p>
	 
</p>

<p>
	They get up to:
</p>

<p>
	<br>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">Welcome to Debian GNU/Linux 9 (stretch)!

... snip ... 

[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.</span></pre>

<p>
	 
</p>

<p>
	Then it hangs for &gt; 12 hours.
</p>

<p>
	 
</p>

<p>
	Ubuntu is similar:
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">Welcome to Ubuntu 18.04.2 LTS!

... snip ... 

[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev
       Starting udev Kernel Device Manager...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Set the console keyboard layout.
[ OK ] Started Reached target Local File Systems (Pre).</span></pre>

<p>
	Hangs for a day or so.
</p>

<p>
	 
</p>

<p>
	I guess I can use AOSC, but for compatibility with the 5+ Pi's we have, I was hoping to get Armbian to work.
</p>

<p>
	 
</p>

<p>
	Any ideas?  
</p>

<p>
	 
</p>

<p>
	Thank you,
</p>

<p>
	 
</p>

<p>
	        == John ==
</p>
]]></description><guid isPermaLink="false">10818</guid><pubDate>Mon, 01 Jul 2019 15:48:01 +0000</pubDate></item><item><title>[Pine64] axp20 / sys/class/power_supply problems</title><link>https://testforum.armbian.com/topic/10104-pine64-axp20-sysclasspower_supply-problems/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	This is my first attempt to install Armbian on a Pine64 + that I bought 2 weeks ago. I created one from the source, but as the battery management failed, I tried it with a constructed image (Armbian_5.69_Pine64_Debian_stretch_next_4.19.13.img), but it's still the same: everything works fine, except battery management. The state of battery and energy should appear as files in the /sys/class/power/directory, but this directory is not created. I can see this directory and the battery information in other images (like the version of the 3.1 kernel of Ayufan).
</p>

<p>
	What I have seen is a strange error (for me) in dmesg, related to the power management modules (axp..), but I do not know how to solve it:
</p>

<p>
	root@pine64:~# uname -a<br>
	Linux pine64 4.19.13-sunxi64 #5.69 SMP Wed Jan 9 18:10:00 CET 2019 aarch64 GNU/Linux
</p>

<p>
	root@pine64:~# dmesg | grep axp
</p>

<p>
	[    1.787551] axp20x-rsb sunxi-rsb-3a3: AXP20x variant AXP803 found
</p>

<p>
	[    1.790301] input: axp20x-pek as /devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/input/input0
</p>

<p>
	[    1.795894] axp20x-rsb sunxi-rsb-3a3: AXP20X driver loaded
</p>

<p>
	[    3.065498] axp20x-gpio axp20x-gpio: DMA mask not set
</p>

<p>
	[    3.066057] axp20x-gpio axp20x-gpio: AXP209 pinctrl and GPIO driver loaded
</p>

<p>
	[    5.313564] axp20x-battery-power-supply axp20x-battery-power-supply: DMA mask not set
</p>

<p>
	[    5.316583] axp20x-ac-power-supply axp20x-ac-power-supply: DMA mask not set
</p>

<p>
	[    5.371486] axp20x-adc axp813-adc: DMA mask not set
</p>

<p>
	 
</p>

<p>
	The same dmesg in other images (but these images are based on kernels that are too old for what I need):
</p>

<p>
	root@pinebook:/home/adminq# uname -a<br>
	Linux pinebook 3.10.105-bsp-1.2-ayufan-136 #1 SMP PREEMPT Sat Oct 27 21:18:35 UTC 2018 aarch64 GNU/Linux<br>
	root@pinebook:/home/adminq# dmesg | grep axp<br>
	[   10.729542] axp81x_board_init: axp regl_devs num = 23<br>
	[   11.990682] input: axp81x-supplyer as /devices/platform/axp81x_board/axp81x-supplyer.47/input/input1<br>
	root@pinebook:/home/adminq# ls /sys/class/power_supply/<br>
	ac  battery  usb
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Thank you very much for your wonderful work.
</p>

<p>
	 
</p>

<p>
	Regards.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">10104</guid><pubDate>Sun, 20 Jan 2019 23:43:32 +0000</pubDate></item><item><title>5.1.0-sunxi64 kernel on Pine64 breaks ethernet (Unsupported interface mode: rgmii-txid)</title><link>https://testforum.armbian.com/topic/10338-510-sunxi64-kernel-on-pine64-breaks-ethernet-unsupported-interface-mode-rgmii-txid/</link><description><![CDATA[<p>
	vmlinuz-4.20.7-sunxi64 works fine (the Armbianmonitor URL is from that) but 5.1.0 breaks eth:
</p>

<p>
	 
</p>

<p>
	1c30000.ethernet: Unsupported interface mode: rgmii-txid
</p>

<p>
	 
</p>

<p>
	<br>
	 
</p>
]]></description><guid isPermaLink="false">10338</guid><pubDate>Thu, 09 May 2019 12:36:34 +0000</pubDate></item><item><title>Touch screen in Pine64</title><link>https://testforum.armbian.com/topic/9567-touch-screen-in-pine64/</link><description><![CDATA[<p>
	Mainline stable Armbian stable for Pine64 worked great.
</p>

<p>
	I have successfully make my 3.5 TFT screen work but not the touch screen. I read some tutorials,  mostly guide.
</p>

<p>
	<a href="https://testforum.armbian.com/topic/7119-guide-how-to-configure-tft-display-touchscreen-on-orange-pi-pc-mainline-kernel/" rel="">This guide</a> for TFT and Touch is really detailed. For touch:
</p>

<p>
	- Step 1: ads7846 driver seems ok
</p>

<p>
	- Step 2: ads7846_device there is a warning after make and make install, and it said to skip depmod
</p>

<p>
	- After this, I tried 
</p>

<pre class="ipsCode">
sudo modprob ads7846
sudo modprob ads7846_device model=7846 cs=1 gpio_pendown=1 keep_vref_on=1 swap_xy=1 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900
</pre>

<p>
	ads7846 is ok (confirmed with lsmod).
</p>

<p>
	But ads7846_device return invalid argument, it means that module ads7846_device is not in the system.
</p>

<p>
	Anyone succeed with Pine64?
</p>
]]></description><guid isPermaLink="false">9567</guid><pubDate>Thu, 07 Feb 2019 05:41:33 +0000</pubDate></item><item><title>[SOLVED] Pine64+ 2GB shows up as 1GB to the world</title><link>https://testforum.armbian.com/topic/10341-solved-pine64-2gb-shows-up-as-1gb-to-the-world/</link><description><![CDATA[<p>
	Hi. I have a 2GB Pine64+ and have armbian on it.
</p>

<p>
	<img alt="Armbian-Pine64plus-Memory.png" class="ipsImage" data-ratio="51.63" height="516" width="1000" src="https://i.postimg.cc/mZ9HpWZ4/Armbian-Pine64plus-Memory.png" loading="lazy"></p>

<p>
	 
</p>

<p>
	Yes, it's not new, but I noticed the problem only now. <img alt=":wacko:" data-emoticon="" src="https://testforum.armbian.com/uploads/emoticons/default_wacko.png" title=":wacko:" loading="lazy"> <span><img alt=":lol:" data-emoticon="" src="https://testforum.armbian.com/uploads/emoticons/default_laugh.png" title=":lol:" loading="lazy"> It's because my use - in short, I use these boards for hobbyistic low level programming - say an OS loader writing, so it's flash and test, never been looking into linux too deep - only needed utilities. staring at the top is not of that set. <span><img alt=":)" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_smile.png" srcset="https://testforum.armbian.com/uploads/emoticons/smile@2x.png 2x" title=":)" width="20" loading="lazy"></span></span>
</p>

<p>
	<span>Now, when reached the DT parsing, passed by uboot, on this board, my loader, noticed 1GB of RAM... Basically, 1GB, as I see, is a default value set in the dts for pine64-plus yet. The DT is not updated on the fly by uboot, as it looks should be. and when I went to Linux, I saw the same - it sees it as 1GB! I don't see different downloads for variants of this board, so how does armbian distinguish between them? Is that discrimination being done right? <em><strong>I saw in the output, that uboot does see 2GB of RAM, still passes stale information in the DT.</strong></em> What is this, how do you think, is it my miserable fault, a known problem, got it fixed now? <em><strong>Maybe a lot of people keep using their 2GB models not even suspecting linux sees only 1GB?</strong></em></span>
</p>
]]></description><guid isPermaLink="false">10341</guid><pubDate>Thu, 09 May 2019 22:47:40 +0000</pubDate></item><item><title>Pine H64 Model B</title><link>https://testforum.armbian.com/topic/9623-pine-h64-model-b/</link><description><![CDATA[<p>
	Hello community,
</p>

<p>
	 
</p>

<p>
	I got some brand new Pine H64 Model B this week.
</p>

<p>
	Anyone interested in a free test device?
</p>

<p>
	 
</p>

<p>
	Markus
</p>
]]></description><guid isPermaLink="false">9623</guid><pubDate>Wed, 13 Feb 2019 20:03:35 +0000</pubDate></item><item><title>Pine64 Temperature sensor DS18B20</title><link>https://testforum.armbian.com/topic/10292-pine64-temperature-sensor-ds18b20/</link><description><![CDATA[<p>
	 
</p>

<p>
	Hello, I have Pine64 2GB I want to connect the temperature sensor DS18B20.
</p>

<p>
	 How to connect it.
</p>

<p>
	Sorry for my English
</p>
]]></description><guid isPermaLink="false">10292</guid><pubDate>Sun, 05 May 2019 18:40:43 +0000</pubDate></item><item><title>access AXP803 reg on Pine64 via sysfs</title><link>https://testforum.armbian.com/topic/10143-access-axp803-reg-on-pine64-via-sysfs/</link><description><![CDATA[<p>
	Hi everyone,<br><br>
	I'm using Pine64 LTS for a project. According to AXP803 datasheet  Page37 &amp; 38, the charge LED indicator can be set to Mode A or Mode B. Does anyone know how to change this setting via sysfs, or other interface(I2c, Uart) ?<br><br><br>
	pine@pine64so:/sys/class/power_supply$ ls<br>
	axp20x-battery  axp813-ac<br>
	pine@pine64so:/sys/class/power_supply$ cd axp813-ac<br>
	pine@pine64so:/sys/class/power_supply/axp813-ac$ ls<br>
	device  health  input_current_limit  online  power  present  subsystem  type  uevent  voltage_min<br>
	pine@pine64so:/sys/class/power_supply/axp813-ac$ cat uevent<br>
	POWER_SUPPLY_NAME=axp813-ac<br>
	POWER_SUPPLY_HEALTH=Good<br>
	POWER_SUPPLY_PRESENT=1<br>
	POWER_SUPPLY_ONLINE=1<br>
	POWER_SUPPLY_VOLTAGE_MIN=4000000<br>
	POWER_SUPPLY_INPUT_CURRENT_LIMIT=1500000<br><br><br>
	Thanks,<br>
	JTX
</p>]]></description><guid isPermaLink="false">10143</guid><pubDate>Tue, 16 Apr 2019 02:54:47 +0000</pubDate></item><item><title>Pine 64 2 Gb first run board</title><link>https://testforum.armbian.com/topic/10154-pine-64-2-gb-first-run-board/</link><description><![CDATA[<p>
	Over the years have been using the Pine64 2Gb computer as an automation server running with original Xenial Base Image [20161218-1] by longsleep.
</p>

<p>
	This is a first generation Pine64 2Gb computer that I got during the start up of the company.
</p>

<p>
	Currently utilizing a 2 AMP 5VDC PS connected to the Euler bus, heatsinks on the top and bottom of the board and a boot up 100Mb mode.
</p>

<p>
	 
</p>

<p>
	It would run fine for months then occassionally wouldn't start on boot.
</p>

<p>
	 
</p>

<p>
	Recently redid the box using Armbian.<br>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">|  _ \(_)_ __   ___ / /_ | || |  
| |_) | | '_ \ / _ \ '_ \| || |_
|  __/| | | | |  __/ (_) |__   _|
|_|   |_|_| |_|\___|\___/   |_|  
                                 

Welcome to ARMBIAN 5.73 stable Ubuntu 18.04.2 LTS 4.19.25-sunxi64   
System load:   0.36 0.44 0.33      Up time:       1:27 hour        
Memory usage:  31 % of 2001MB     IP:            192.168.244.149
CPU temp:      42°C               
Usage of /:    20% of 30G        

Last login: Tue Apr 16 17:22:07 2019 from 192.168.244.232</span></pre>

<p>
	Which works well except that every few days the time gets reset to some odd date a couple of hundred years from now and then shuts down the network port.
</p>

<p>
	 
</p>

<p>
	Checking the RTC (with battery) the time is always right.
</p>

<p>
	 
</p>

<p>
	Here using an NTP server plugin with PFSense.  Particular about time.
</p>

<p>
	 
</p>

<p>
	These issues are messing with my automation schedules.
</p>

<p>
	 
</p>

<p>
	Should I update to a nightly build? 
</p>
]]></description><guid isPermaLink="false">10154</guid><pubDate>Tue, 16 Apr 2019 23:48:32 +0000</pubDate></item><item><title>PPS-GPIO no longer default kernel configuration</title><link>https://testforum.armbian.com/topic/9901-pps-gpio-no-longer-default-kernel-configuration/</link><description><![CDATA[<p>
	After a recent (long overdue) update on my pine64 I found that pps-gpio was no longer working.  Further investigation found that the default kernel configuration with 4.19.x no longer includes CONFIG_PPS_CLIENT_GPIO (nor CONFIG_PPS_CLIENT_LDISC).  Anyone wishing to use pps-gpio (via overlay) will need to configure and build a custom kernel.
</p>

<p>
	 
</p>

<pre class="ipsCode">
user@pine64:~$ cat /etc/armbian-release 
# PLEASE DO NOT EDIT THIS FILE
BOARD=pine64
BOARD_NAME="Pine64"
BOARDFAMILY=sun50iw1
VERSION=5.76.190218
LINUXFAMILY=sunxi64
BRANCH=next
ARCH=arm64
IMAGE_TYPE=nightly
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image

user@pine64:~$ uname -a
Linux pine64 4.19.25-sunxi64 #5.76.190310 SMP Sun Mar 10 16:22:07 CET 2019 aarch64 GNU/Linux

user@pine64:~$ gzip -d &lt; /proc/config.gz | egrep -i pps
CONFIG_PPS=y
# CONFIG_PPS_DEBUG is not set
# PPS clients support
# CONFIG_PPS_CLIENT_KTIMER is not set
# CONFIG_PPS_CLIENT_LDISC is not set
# CONFIG_PPS_CLIENT_GPIO is not set
# PPS generators support

</pre>

<p>
	 
</p>

<p>
	This appears to likely be from upstream changes in default kernel config options, though I haven't investigated this yet.
</p>

<p>
	 
</p>

<p>
	Would it be possible to re-add these to the default armbian configurations (CONFIG_PPS_CLIENT_LDISC and CONFIG_PPS_CLIENT_GPIO)?  I can look to submitting a pull request with the needed changes if needed.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">9901</guid><pubDate>Mon, 18 Mar 2019 01:59:31 +0000</pubDate></item><item><title>Pine64 VPN Gateway (PA641GB) tutorial</title><link>https://testforum.armbian.com/topic/7368-pine64-vpn-gateway-pa641gb-tutorial/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I have a Pine64-1gb laying around collecting dust for more that a year and had the idea to replace my RPi3 whitch is now running as a VPN Router.
</p>

<p>
	The RPi3 is restricted to 2 streams and cause cpu load to 100% so mabe the Pine64 could help here.
</p>

<p>
	As I already setup the RPi3 as VPN Router I thought I use the same procedure for the Pine64 with Armbian Jessie.
</p>

<p>
	 
</p>

<p>
	This is what I use:
</p>

<p>
	HW: Pine64 with 1gb ram (Model: PA641GB)
</p>

<p>
	OS: ARMBIAN 5.38 stable Debian GNU/Linux 8 (jessie) 3.10.107-pine64
</p>

<p>
	VPN software: OpenVPN
</p>

<p>
	VPN Service: PIA
</p>

<p>
	 
</p>

<p>
	Here a small tutorial of the commands that I'v been used to create this VPN Gateway:
</p>

<p>
	 
</p>

<p>
	Fist start to setup a Static IP address like this: command ~#sudo nano /etc/network/interfaces
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">auto lo
iface lo inet loopback 
auto eth0
allow-hotplug eth0
iface eth0 inet static
	address 192.168.1.2
	netmask 255.255.255.0
	gateway 192.168.1.1
	dns-nameservers 1.1.1.1</span></pre>

<p>
	I also used armbian-config to do this but I always received a message complaining about dnsmasq.
</p>

<p>
	So I did this and the problem went away:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo apt-get update
sudo apt-get install dnsmasq</span></pre>

<p>
	 
</p>

<p>
	Setup the <strong>VPN Client</strong>
</p>

<p>
	installing openvpn client
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo apt-get install openvpn</span></pre>

<p>
	Download and unzip PIA OpenVPN profiles
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">wget https://www.privateinternetaccess.com/openvpn/openvpn.zip
unzip openvpn.zip -d openvpn</span></pre>

<p>
	 
</p>

<p>
	Copy the profile and certificates to OpenVPN Folder
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo cp openvpn/ca.rsa.2048.crt
openvpn/crl.rsa.2048.pem /etc/openvpn/
sudo cp openvpn/put-your-chosed-server-name-here.ovpn /etc/openvpn/-put-your-server-name-here-to-create.conf</span></pre>

<p>
	notice that the extension has changed from ovpn to conf create a login file with username and password for PIA
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo nano /etc/openvpn/login</span></pre>

<p>
	add your username and password per line
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">put-your-username-here
put-your-password-here</span></pre>

<p>
	now we need to change the config file to point to correct file locations
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo nano /etc/openvpn/put-your-server-name-here-that-your-create-.conf</span></pre>

<p>
	change the following lines and add the paths:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">auth-user-pass 
ca ca.rsa.2048.crt
crl-verif crl.rsa.2048.pem

to:

auth-user-pass /etc/openvpn/login 
ca /etc/openvpn/ca.rsa.2048.crt
crl-verif /etc/openvpn/crl.rsa.2048.pem</span></pre>

<p>
	Now reboot: sudo reboot
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Now let's test the VPN
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo openvpn --config /etc/openvpn/-put-your-created-server-name-here-.conf</span></pre>

<p>
	to Exit use Ctrl + c Enable VPN at boot
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo systemctl enable openvpn@-your-created-server-here-
example: sudo systemctl enable openvpn@Japan (you get the point)</span></pre>

<p>
	 
</p>

<p>
	Setup IPTables
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo nano /etc/sysctl.conf</span></pre>

<p>
	uncomment the # to allow forwarding
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">net.ipv4.ip_forward = 1</span></pre>

<p>
	enable the service by typing this command:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo sysctl -p</span></pre>

<p>
	IPTables this is best to just copy and past this to your ssh session. If you want to know more details about these rules, check out the video
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo iptables -A INPUT -i lo -m comment --comment "loopback" -j ACCEPT 
sudo iptables -A OUTPUT -o lo -m comment --comment "loopback" -j ACCEPT 
sudo iptables -I INPUT -i eth0 -m comment --comment "In from LAN" -j ACCEPT 
sudo iptables -I OUTPUT -o tun+ -m comment --comment "Out to VPN" -j ACCEPT 
sudo iptables -A OUTPUT -o eth0 -p udp --dport 1198 -m comment --comment "openvpn" -j ACCEPT 
sudo iptables -A OUTPUT -o eth0 -p udp --dport 123 -m comment --comment "ntp" -j ACCEPT 
sudo iptables -A OUTPUT -p UDP --dport 67:68 -m comment --comment "dhcp" -j ACCEPT 
sudo iptables -A OUTPUT -o eth0 -p udp --dport 53 -m comment --comment "dns" -j ACCEPT 
sudo iptables -A FORWARD -i tun+ -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT 
sudo iptables -A FORWARD -i eth0 -o tun+ -m comment --comment "LAN out to VPN" -j ACCEPT 
sudo iptables -t nat -A POSTROUTING -o tun+ -j MASQUERADE</span></pre>

<p>
	make the rules persistent when reboot:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo apt-get install iptables-persistent</span></pre>

<p>
	the installer will ask to save the rules IPv4 select <strong>YES</strong> and also <strong>YES</strong> for IPv6.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo netfilter-persistent save</span></pre>

<p>
	lets apply this netfilter to the startup:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo systemctl enable netfilter-persistent</span></pre>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">sudo reboot</span></pre>

<p>
	 
</p>

<p>
	Enjoy !!!! <img alt=":D" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_biggrin.png" srcset="https://testforum.armbian.com/uploads/emoticons/biggrin@2x.png 2x" title=":D" width="20" loading="lazy"></p>
]]></description><guid isPermaLink="false">7368</guid><pubDate>Fri, 01 Jun 2018 22:46:30 +0000</pubDate></item><item><title>Pine64 kernel 4.19.x 4K monitor trouble</title><link>https://testforum.armbian.com/topic/9989-pine64-kernel-419x-4k-monitor-trouble/</link><description><![CDATA[<p>
	Hi guys, I am newbie, my monitor <em>iiyama ProLite B2888UHSU</em> is flickering random white lines on black screen. U-boot console was displayed correctly. Same flickering I have seen on stock 
</p>

<p>
	<em>Armbian Bionic mainline kernel 4.19.y (next)</em>. Only <em>Armbian Xenial desktop legacy kernel 3.10.y</em> is working correctly.
</p>

<p>
	 
</p>

<p>
	Can you help me?
</p>

<p>
	Maybe I can fix it, too, but I don't know, how  and where to start.
</p>

<p>
	 
</p>

<p>
	Thanks
</p>
]]></description><guid isPermaLink="false">9989</guid><pubDate>Wed, 27 Mar 2019 09:51:44 +0000</pubDate></item><item><title>Do you want to HELP?  - Pine64</title><link>https://testforum.armbian.com/topic/8374-do-you-want-to-help-pine64/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I am glad you are interested to help us.
</p>

<p>
	A long time ago at the end of 2015 the Kickstarter was founded and since middle of 2016 the hardware is available.
</p>

<p>
	If you look at our download page of Pine64 you can see that since then we have collected a lot of information of which some of it maybe obsolete/outdated/resolved: <a href="https://www.armbian.com/pine64/" rel="external nofollow">https://www.armbian.com/pine64/</a>
</p>

<p>
	 
</p>

<p>
	Now, if you are a lucky owner of such a SBC you have THE CHANCE to help the armbian project. Will you please download the latest <u>Xenial legacy kernel 3.10.y</u> and verifiy if some of the problems listed on the website are already solved in the current release?
</p>

<p>
	 
</p>

<p>
	And if so, please report back here what you have tested and which of the lines of the website (by quoting these) are obsolete or if you know how it can be resolved.
</p>

<p>
	 
</p>

<p>
	Let's start bug hunting <img alt=":thumbup:" data-emoticon="" src="https://testforum.armbian.com/uploads/emoticons/default_thumbup.png" title=":thumbup:" loading="lazy"></p>

<p>
	 
</p>

<p>
	and spread the word to support us hunting.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">8374</guid><pubDate>Wed, 03 Oct 2018 17:53:05 +0000</pubDate></item><item><title>About DSI's RGB888 format</title><link>https://testforum.armbian.com/topic/9697-about-dsis-rgb888-format/</link><description><![CDATA[<p>
	Hi<br><br>
	I set the DSI format to RGB888.<br>
	However, looking at the output of DSI seemed to be BGR888 format, why?.<br><br>
	About DSI format I confirmed the Allwinner A64 SoC specification, but I did not understand it well.<br><br><br>
	The software and hardware used are as follows.<br>
	 software: Armbian<br>
	 hardware: Pine A64-LTS<br><br>
	Thank you.
</p>]]></description><guid isPermaLink="false">9697</guid><pubDate>Fri, 22 Feb 2019 01:41:11 +0000</pubDate></item><item><title>How to check temperature of Pine64</title><link>https://testforum.armbian.com/topic/9564-how-to-check-temperature-of-pine64/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I want to monitor the temperature of my Pine64, because I run the pine in an relatively warm environment.  Unfortunately, the usual ways do not lead to a reasonable result:
</p>

<p>
	 
</p>

<p>
	I tried the armbianmonitor: "armbianmonitor -m"
</p>

<p>
	with this result:<br>
	Time      CPU n/a    load %cpu %sys %usr %nice %io %irq   CPU
</p>

<p>
	17:08:20:   ---      0.00   0%   0%   0%   0%   0%   0% -13552°C<br>
	17:08:25:   ---      0.00   0%   0%   0%   0%   0%   0% -13673°C
</p>

<p>
	 
</p>

<p>
	and read the file: /sys/devices/virtual/thermal/thermal_zone0/temp: contains the same wrong value -13552
</p>

<p>
	 
</p>

<p>
	Is there a way to activate the temperature measurement? 
</p>

<p>
	I am using the following system: ARMBIAN 5.49.180626 nightly Ubuntu 16.04.4 LTS 4.14.52-sunxi64
</p>

<p>
	 
</p>

<p>
	Thanks a lot
</p>

<p>
	Linda
</p>
]]></description><guid isPermaLink="false">9564</guid><pubDate>Wed, 06 Feb 2019 17:22:23 +0000</pubDate></item><item><title>Cannot open serial on putty unless chmod tty</title><link>https://testforum.armbian.com/topic/9492-cannot-open-serial-on-putty-unless-chmod-tty/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	I have an issue, i am running the Pine LTS board on eMMC using Armbian latest stable image.  We want to access the serial port on the board, so to test i downloaded putty, i select serial and click open. I get an error when opening this, so i have to run: sudo chmod 777 /dev/tty50 and sudo chmod /dev/tty52 on each boot, then i am able to open the serial port using putty. 
</p>

<p>
	 
</p>

<p>
	When i look at the ls -l /dev/tty50 i get: crw--w---- 1 root tty 4, 50 Jan 30 30 16:07 tty50. After etensive research i added my user cst to the tty group, but when i reboot i still have to manually run chmod again to access the serial port. 
</p>

<p>
	 
</p>

<p>
	Can someone please assist me with getting this command to run on boot or some solution as i cannot every time run this command as these boards are Gateways which will be in remote locations.  I did try rc.local but i understand that this is not available anymore. 
</p>

<p>
	 
</p>

<p>
	I am not too much of a Armbian guru so if you could assist in detailed steps i would appreciate it. 
</p>

<p>
	 
</p>

<p>
	No URL is given when i run the armbianmonitor command, it is blank. 
</p>

<p>
	 
</p>

<p>
	Thanks!
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">9492</guid><pubDate>Wed, 30 Jan 2019 14:38:26 +0000</pubDate></item><item><title>Pine64 Audio Jack Problem</title><link>https://testforum.armbian.com/topic/9378-pine64-audio-jack-problem/</link><description><![CDATA[<p>
	This is an old, original Pine64 Board w/ 1GB RAM.
</p>

<p>
	 
</p>

<p>
	Armbian Version: 5.69
</p>

<p>
	 
</p>

<p>
	I am unable to get audio signal (output) from the Audio Jack.
</p>

<p>
	Tried normal headphone with 3 contacts, also tried headset with 4 contacts, BOTH fail to get audio out.
</p>

<p>
	 
</p>

<p>
	Tried Stretch and also Ubuntu, no success...
</p>

<p>
	 
</p>

<p>
	Does anybody succeed getting audio out from the onboard audio jack with Armbiam?
</p>

<p>
	If so, can you give a brief description of the procedure/steps and the soft(s) you are using?
</p>

<p>
	 
</p>

<p>
	When using a external USB Audio adapter everything seems to work fine (connecting to the Adapter Audio Jack), so, I guess that from the point of view of software the problem is really located around the Onboard Audio Jack...
</p>

<p>
	 
</p>

<p>
	Right now my basic need is to be able to get AUDIO OUTPUT from the Jack (connector)...
</p>

<p>
	 
</p>

<p>
	Thanks all,
</p>

<p>
	Valter Fukuoka
</p>
]]></description><guid isPermaLink="false">9378</guid><pubDate>Sun, 20 Jan 2019 09:29:00 +0000</pubDate></item><item><title>Waveshare 3.5 on Pine64</title><link>https://testforum.armbian.com/topic/9369-waveshare-35-on-pine64/</link><description><![CDATA[<p>
	I have a Pine64+ 2GB and use Waveshare 3.5 (A). Armbian Bionic Ubuntu installed.
</p>

<p>
	I tried to initiate Waveshare screen by following steps:
</p>

<p>
	- Enable spidev0.0 from armbianEnv.txt (confirm with /dev/spidev0.0)
</p>

<p>
	- modprobe fbtft by:
</p>

<pre class="ipsCode">
sudo modprobe fbtft_device name=piscreen</pre>

<p>
	But I got error with step 2. Here is the output of dmesg
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">[ 4419.154174] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 4419.163004] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 4419.164436] spidev spi0.0: spidev spi0.0 1000kHz 8 bits mode=0x00
[ 4419.164564] spidev spi0.0: Deleting spi0.0
[ 4419.165176] fbtft_device: GPIOS used by 'piscreen':
[ 4419.165183] fbtft_device: 'reset' = GPIO25
[ 4419.165187] fbtft_device: 'dc' = GPIO24
[ 4419.165190] fbtft_device: 'led' = GPIO22
[ 4419.165203] spi spi0.0: fb_ili9486 spi0.0 32000kHz 8 bits mode=0x00
[ 4419.186567] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned.
[ 4419.188554] fb_ili9486 spi0.0: fbtft_request_gpios: gpio_request_one('reset'=25) failed with -517</span></pre>

<p>
	It seems that GPIO25 is not responded. I know that many have success with OrangePi, but no one with Pine64.
</p>

<p>
	Any suggestion?
</p>

<p>
	 
</p>

<p>
	Thanks.
</p>
]]></description><guid isPermaLink="false">9369</guid><pubDate>Sat, 19 Jan 2019 13:18:01 +0000</pubDate></item><item><title>Camera for Pine64 in 2019</title><link>https://testforum.armbian.com/topic/9151-camera-for-pine64-in-2019/</link><description><![CDATA[<p>
	Ciao dears, I hope this is the correct section. I tried to find a solution in this and other forums, but I found dated post . I try to open one with the hope of solving the problem also for others
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	I'm having trouble getting the camera module s5k4ec to work for my pine64 running armbian 5.60
</p>

<p>
	#cat /etc/lsb-release
</p>

<p>
	DISTRIB_ID=Ubuntu
</p>

<p>
	DISTRIB_RELEASE=16.04
</p>

<p>
	DISTRIB_CODENAME=xenial
</p>

<p>
	DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
</p>

<p>
	 
</p>

<p>
	Here my armbianmonitor -u <a href="http://ix.io/1wU9" rel="external nofollow">http://ix.io/1wU9</a>. 
</p>

<p>
	 
</p>

<p>
	i've activated the module in/boot/armbianEnv.txt
</p>

<p>
	verbosity=1<br>
	console=both<br>
	disp_mode=720p60<br><strong>camera_type=s5k4ec</strong><br>
	pine64_lcd=off<br>
	overlay_prefix=sun50i-a64<br>
	rootdev=UUID=97dbd6a3-cb6e-4dd8-a999-76e955b73f0e<br>
	rootfstype=ext4<br>
	usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
</p>

<p>
	 
</p>

<p>
	I tried to follow <a href="https://github.com/avafinger/pine64_camera" rel="external nofollow">https://github.com/avafinger/pine64_camera</a> with no success; i'm stuck here "rename in SD card: [sdcard]/BOOT/pine64/sun50i-a64-pine64-plus.dtb to [sdcard]/BOOT/pine64/sun50i-a64-pine64-plus.dtb_no_camera" 
</p>

<p>
	since i've [sdcard]/boot/dtb instead of [sdcard]/boot/pine64. Iìve tried to copy sun50i-a64-pine64-plus.dtb in /boot/dtb but it seems it no work - I don't have /dev/video0.
</p>

<p>
	 
</p>

<p>
	I also tried with motion, same results 
</p>

<p>
	[0] [NTC] [ALL] [Dec 27 15:24:20] main: Motion thread 1 restart<br>
	[1] [NTC] [ALL] [Dec 27 15:24:20] motion_init: Thread 1 started , motion detection Enabled<br>
	[1] [NTC] [VID] [Dec 27 15:24:20] vid_v4lx_start: Using videodevice /dev/video0 and input -1<br>
	[1] [ALR] [VID] [Dec 27 15:24:20] vid_v4lx_start: Failed to open video device /dev/video0: No such file or directory<br>
	[1] [WRN] [ALL] [Dec 27 15:24:20] motion_init: Could not fetch initial image from camera Motion continues using width and height from config file(s)<br>
	[1] [NTC] [ALL] [Dec 27 15:24:20] image_ring_resize: Resizing pre_capture buffer to 1 items
</p>

<p>
	 
</p>

<p>
	surely I'm wrong with something since I'm a noob trying to become -at leats - good. 
</p>

<p>
	someone who wants to give me some advice? 
</p>

<p>
	Many Thanks,
</p>

<p>
	Andi. 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">9151</guid><pubDate>Thu, 27 Dec 2018 14:27:43 +0000</pubDate></item><item><title>I2S Codec on Euler bus of Pine A64+</title><link>https://testforum.armbian.com/topic/8971-i2s-codec-on-euler-bus-of-pine-a64/</link><description><![CDATA[<p>
	I  am using an armbian build image on PINE A64+ board with the kernel 3.10.107.  During build i enabled below I2S driver as built-in.
</p>

<p>
	CONFIG_SND_SOC_SUNXI_RW=y<br>
	CONFIG_SND_SOC_SUNXI_AUDIO_DMA=y<br>
	CONFIG_SND_SOC_SUNXI_TDM=y<br>
	CONFIG_SND_SUNXI_SOC=y<br>
	CONFIG_SND_SOC_INTERNAL_AUDIOCODEC=y<br>
	CONFIG_SND_SOC_INTERNAL_I2S=y<br>
	CONFIG_SND_SOC_AUDIO_CODEC_MACHINE=y<br>
	CONFIG_SND_SOC_DAUDIO_PLATFORM=y<br>
	CONFIG_SND_SOC_VIRCODEC=y<br>
	CONFIG_SND_SOC_DAUDIO0_MACHINE=y<br>
	# CONFIG_SND_SOC_DAUDIO1_MACHINE is not set<br>
	CONFIG_SND_SUNXI_SOC_HDMIAUDIO=y
</p>

<p>
	 
</p>

<p>
	The Internal Audio  and HDMI Audio are initialized successfully but failed to snddaudio0 which can be accessed from Euler bus pins.  below is the error log.
</p>

<p>
	 
</p>

<p>
	Dec  4 02:22:10 localhost kernel: [   10.453351] snddaudio0 sound.8: ASoC: CPU DAI (null) not registered<br>
	Dec  4 02:22:10 localhost kernel: [   10.453386] snddaudio0 sound.8: snd_soc_register_card() failed: -517<br>
	Dec  4 02:22:10 localhost kernel: [   10.453390] [RANJ] sunxi_snddaudio0_dev_probe done with -517
</p>

<p>
	 
</p>

<p>
	apaly - l returns the following
</p>

<p>
	root@pine64:/boot# aplay -l<br>
	**** List of PLAYBACK Hardware Devices ****<br>
	card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC codec-aif1-0 []<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0<br>
	card 0: audiocodec [audiocodec], device 1: bb Voice codec-aif2-1 []<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0<br>
	card 0: audiocodec [audiocodec], device 2: bb-bt-clk codec-aif2-2 []<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0<br>
	card 0: audiocodec [audiocodec], device 3: bt Voice codec-aif3-3 []<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0<br>
	card 1: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []<br>
	  Subdevices: 1/1<br>
	  Subdevice #0: subdevice #0
</p>

<p>
	<br>
	Before I tried to load as modules with below changes .
</p>

<p>
	&lt;*&gt;   ASoC support for audiocodec<br>
	   &lt;M&gt;   ASoC support for internal-i2s <br>
	   &lt;M&gt;   ASoC support for audiocodec machine <br>
	   &lt;M&gt;   ASoC support for daudio platform. <br>
	   &lt;M&gt;   ASoC support for vircodec  <br>
	   &lt;M&gt;   ASoC support for daudio0 machine <br>
	   &lt; &gt;   ASoC support for daudio1 machine <br>
	   &lt;M&gt;   ASoC support for hdmiaudio 
</p>

<p>
	 
</p>

<p>
	changed the device tree file for <a href="mailto:sound@1" rel="">sound@1</a>  (sun50iw1pi-pine64-plus.dtb)
</p>

<p>
	sound@1 {<br>
	compatible = "allwinner,sunxi-daudio0-machine";<br>
	sunxi,daudio0-controller = &lt;0x4e&gt;;<br>
	status = "disabled";   -------&gt; "okay"<br>
	device_type = "snddaudio0";<br>
	};
</p>

<p>
	The result is same.   Please help me to enable I2S codec testing on Euler bus I2S pins using  Armbian build image.
</p>

<p>
	 
</p>

<p>
	Regards
</p>

<p>
	Ranjit
</p>

<p>
	<br>
	   
</p>
]]></description><guid isPermaLink="false">8971</guid><pubDate>Tue, 04 Dec 2018 05:34:46 +0000</pubDate></item><item><title>Bluetooth with latest DEV armbian</title><link>https://testforum.armbian.com/topic/9037-bluetooth-with-latest-dev-armbian/</link><description><![CDATA[<p>
	As I said in another topic, I'm trying to make bluetooth work with my Pine64 1GB board
</p>

<p>
	 
</p>

<p>
	The other topic is there :
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedcontent="" data-embedid="embed7707803743" scrolling="no" src="https://testforum.armbian.com/topic/8795-next-lts-kernel-419y-allwinner-a10-a20-a64-h2-h3-h5-h6-debugging-party/?do=embed&amp;comment=67567&amp;embedComment=67567&amp;embedDo=findComment" style="height:265px;max-width:502px;" loading="lazy"></iframe>

<p>
	 
</p>

<p>
	Yesterday I tried using `rtk_hciattach` from <a href="https://github.com/lwfinger/rtl8723bs_bt" rel="external nofollow">https://github.com/lwfinger/rtl8723bs_bt</a>
</p>

<p>
	That was the program I was using with legacy kernel.
</p>

<p>
	 
</p>

<p>
	After a fresh start (removed the Power USB and plugged it back in) I get this output <span>: </span>
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">root@pine64:~/src/rtl8723bs_bt# ./rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5
Realtek Bluetooth init uart with init speed:115200, final_speed:115200, type:HCI UART H5
Realtek Bluetooth :Realtek hciattach version 2.5

Realtek Bluetooth :3-wire sync pattern resend : 1, len: 8

Realtek Bluetooth :Get SYNC Resp Pkt

Realtek Bluetooth :Get SYNC pkt-active mode

Realtek Bluetooth :3-wire config pattern resend : 1 , len: 10
Realtek Bluetooth :Get CONFG pkt-active mode

Realtek Bluetooth :Get CONFG resp pkt-active mode

Realtek Bluetooth :H5 init finished

Realtek Bluetooth ERROR: can't access bt config file:/lib/firmware/rtl_bt/rtlbt_config, errno:2

Realtek Bluetooth ERROR: Get Config file error, just use efuse settings
Realtek Bluetooth ERROR: Can't access firmware, errno:2
Realtek Bluetooth ERROR: Get BT firmware error
Can't initialize device: No such file or directory
root@pine64:~/src/rtl8723bs_bt# make install
mkdir -p /lib/firmware/rtl_bt
cp -p rtlbt_* /lib/firmware/rtl_bt/.
root@pine64:~/src/rtl8723bs_bt# ./rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5
Realtek Bluetooth init uart with init speed:115200, final_speed:115200, type:HCI UART H5
Realtek Bluetooth :Realtek hciattach version 2.5

Realtek Bluetooth :3-wire sync pattern resend : 1, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 2, len: 8

Realtek Bluetooth :3-wire sync pattern resend : 3, len: 8

Realtek Bluetooth :Get SYNC Resp Pkt

Realtek Bluetooth :Get SYNC pkt-active mode

Realtek Bluetooth :3-wire config pattern resend : 1 , len: 10
Realtek Bluetooth :Get CONFG pkt-active mode

Realtek Bluetooth :Get CONFG resp pkt-active mode

Realtek Bluetooth :H5 init finished

Realtek Bluetooth :config offset(f4),length(8)
Realtek Bluetooth :config baud rate to :4928002, hwflowcontrol:5f, 1
Realtek Bluetooth :config offset(27),length(1)
Realtek Bluetooth :config offset(fe),length(1)
Realtek Bluetooth :config offset(15b),length(4)
Realtek Bluetooth :config offset(1e3),length(1)
Realtek Bluetooth :Get config baud rate from config file:4928002
Realtek Bluetooth :Load FW OK
Realtek Bluetooth :RTK send HCI_VENDOR_READ_RTK_ROM_VERISION_Command

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :receive hci command complete event with command:1001

Realtek Bluetooth :Read RTK LMP version with Status:0
Realtek Bluetooth :gLmpVersion = 0x8723
Realtek Bluetooth :RTK send HCI_VENDOR_READ_RTK_ROM_VERISION_Command

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :receive hci command complete event with command:fc6d

Realtek Bluetooth :Read RTK rom version with Status:0
Realtek Bluetooth :rtk_hw_cfg.eversion = 1
Realtek Bluetooth :rtk_get_fw_project_id: opcode 0, len 1, data 1
Realtek Bluetooth :fw_ver 0x1e3ee40e, patch_num 2
Realtek Bluetooth :patch length is 0x5e90
Realtek Bluetooth :start offset is 0x4f00
Realtek Bluetooth :fw: exists, config file: exists
Realtek Bluetooth :baudrate in change speed command: 0x2 0x80 0x92 0x4

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :receive hci command complete event with command:fc17

Realtek Bluetooth :Change BD Rate with status:0
Realtek Bluetooth :final_speed 1500000

Realtek Bluetooth :hw flow control enable
Realtek Bluetooth :iEndIndex:96  iLastPacketLen:71 iAdditionpkt:4

Realtek Bluetooth :hci_download_patch tx_index:0 rx_index: -1

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 0

Realtek Bluetooth :hci_download_patch tx_index:1 rx_index: 0

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 1

Realtek Bluetooth :hci_download_patch tx_index:2 rx_index: 1

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 2

Realtek Bluetooth :hci_download_patch tx_index:3 rx_index: 2

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 3

Realtek Bluetooth :hci_download_patch tx_index:4 rx_index: 3

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 4

Realtek Bluetooth :hci_download_patch tx_index:5 rx_index: 4

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 5

Realtek Bluetooth :hci_download_patch tx_index:6 rx_index: 5

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 6

Realtek Bluetooth :hci_download_patch tx_index:7 rx_index: 6

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 7

Realtek Bluetooth :hci_download_patch tx_index:8 rx_index: 7

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 8

Realtek Bluetooth :hci_download_patch tx_index:9 rx_index: 8

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 9

Realtek Bluetooth :hci_download_patch tx_index:10 rx_index: 9

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 10

Realtek Bluetooth :hci_download_patch tx_index:11 rx_index: 10

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 11

Realtek Bluetooth :hci_download_patch tx_index:12 rx_index: 11

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 12

Realtek Bluetooth :hci_download_patch tx_index:13 rx_index: 12

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 13

Realtek Bluetooth :hci_download_patch tx_index:14 rx_index: 13

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 14

Realtek Bluetooth :hci_download_patch tx_index:15 rx_index: 14

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 15

Realtek Bluetooth :hci_download_patch tx_index:16 rx_index: 15

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 16

Realtek Bluetooth :hci_download_patch tx_index:17 rx_index: 16

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 17

Realtek Bluetooth :hci_download_patch tx_index:18 rx_index: 17

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 18

Realtek Bluetooth :hci_download_patch tx_index:19 rx_index: 18

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 19

Realtek Bluetooth :hci_download_patch tx_index:20 rx_index: 19

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 20

Realtek Bluetooth :hci_download_patch tx_index:21 rx_index: 20

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 21

Realtek Bluetooth :hci_download_patch tx_index:22 rx_index: 21

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 22

Realtek Bluetooth :hci_download_patch tx_index:23 rx_index: 22

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 23

Realtek Bluetooth :hci_download_patch tx_index:24 rx_index: 23

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 24

Realtek Bluetooth :hci_download_patch tx_index:25 rx_index: 24

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 25

Realtek Bluetooth :hci_download_patch tx_index:26 rx_index: 25

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 26

Realtek Bluetooth :hci_download_patch tx_index:27 rx_index: 26

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 27

Realtek Bluetooth :hci_download_patch tx_index:28 rx_index: 27

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 28

Realtek Bluetooth :hci_download_patch tx_index:29 rx_index: 28

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 29

Realtek Bluetooth :hci_download_patch tx_index:30 rx_index: 29

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 30

Realtek Bluetooth :hci_download_patch tx_index:31 rx_index: 30

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 31

Realtek Bluetooth :hci_download_patch tx_index:32 rx_index: 31

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 32

Realtek Bluetooth :hci_download_patch tx_index:33 rx_index: 32

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 33

Realtek Bluetooth :hci_download_patch tx_index:34 rx_index: 33

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 34

Realtek Bluetooth :hci_download_patch tx_index:35 rx_index: 34

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 35

Realtek Bluetooth :hci_download_patch tx_index:36 rx_index: 35

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 36

Realtek Bluetooth :hci_download_patch tx_index:37 rx_index: 36

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 37

Realtek Bluetooth :hci_download_patch tx_index:38 rx_index: 37

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 38

Realtek Bluetooth :hci_download_patch tx_index:39 rx_index: 38

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 39

Realtek Bluetooth :hci_download_patch tx_index:40 rx_index: 39

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 40

Realtek Bluetooth :hci_download_patch tx_index:41 rx_index: 40

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 41

Realtek Bluetooth :hci_download_patch tx_index:42 rx_index: 41

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 42

Realtek Bluetooth :hci_download_patch tx_index:43 rx_index: 42

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 43

Realtek Bluetooth :hci_download_patch tx_index:44 rx_index: 43

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 44

Realtek Bluetooth :hci_download_patch tx_index:45 rx_index: 44

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 45

Realtek Bluetooth :hci_download_patch tx_index:46 rx_index: 45

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 46

Realtek Bluetooth :hci_download_patch tx_index:47 rx_index: 46

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 47

Realtek Bluetooth :hci_download_patch tx_index:48 rx_index: 47

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 48

Realtek Bluetooth :hci_download_patch tx_index:49 rx_index: 48

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 49

Realtek Bluetooth :hci_download_patch tx_index:50 rx_index: 49

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 50

Realtek Bluetooth :hci_download_patch tx_index:51 rx_index: 50

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 51

Realtek Bluetooth :hci_download_patch tx_index:52 rx_index: 51

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 52

Realtek Bluetooth :hci_download_patch tx_index:53 rx_index: 52

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 53

Realtek Bluetooth :hci_download_patch tx_index:54 rx_index: 53

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 54

Realtek Bluetooth :hci_download_patch tx_index:55 rx_index: 54

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 55

Realtek Bluetooth :hci_download_patch tx_index:56 rx_index: 55

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 56

Realtek Bluetooth :hci_download_patch tx_index:57 rx_index: 56

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 57

Realtek Bluetooth :hci_download_patch tx_index:58 rx_index: 57

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 58

Realtek Bluetooth :hci_download_patch tx_index:59 rx_index: 58

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 59

Realtek Bluetooth :hci_download_patch tx_index:60 rx_index: 59

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 60

Realtek Bluetooth :hci_download_patch tx_index:61 rx_index: 60

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 61

Realtek Bluetooth :hci_download_patch tx_index:62 rx_index: 61

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 62

Realtek Bluetooth :hci_download_patch tx_index:63 rx_index: 62

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 63

Realtek Bluetooth :hci_download_patch tx_index:64 rx_index: 63

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 64

Realtek Bluetooth :hci_download_patch tx_index:65 rx_index: 64

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 65

Realtek Bluetooth :hci_download_patch tx_index:66 rx_index: 65

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 66

Realtek Bluetooth :hci_download_patch tx_index:67 rx_index: 66

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 67

Realtek Bluetooth :hci_download_patch tx_index:68 rx_index: 67

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 68

Realtek Bluetooth :hci_download_patch tx_index:69 rx_index: 68

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 69

Realtek Bluetooth :hci_download_patch tx_index:70 rx_index: 69

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 70

Realtek Bluetooth :hci_download_patch tx_index:71 rx_index: 70

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 71

Realtek Bluetooth :hci_download_patch tx_index:72 rx_index: 71

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 72

Realtek Bluetooth :hci_download_patch tx_index:73 rx_index: 72

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 73

Realtek Bluetooth :hci_download_patch tx_index:74 rx_index: 73

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 74

Realtek Bluetooth :hci_download_patch tx_index:75 rx_index: 74

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 75

Realtek Bluetooth :hci_download_patch tx_index:76 rx_index: 75

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 76

Realtek Bluetooth :hci_download_patch tx_index:77 rx_index: 76

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 77

Realtek Bluetooth :hci_download_patch tx_index:78 rx_index: 77

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 78

Realtek Bluetooth :hci_download_patch tx_index:79 rx_index: 78

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 79

Realtek Bluetooth :hci_download_patch tx_index:80 rx_index: 79

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 80

Realtek Bluetooth :hci_download_patch tx_index:81 rx_index: 80

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 81

Realtek Bluetooth :hci_download_patch tx_index:82 rx_index: 81

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 82

Realtek Bluetooth :hci_download_patch tx_index:83 rx_index: 82

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 83

Realtek Bluetooth :hci_download_patch tx_index:84 rx_index: 83

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 84

Realtek Bluetooth :hci_download_patch tx_index:85 rx_index: 84

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 85

Realtek Bluetooth :hci_download_patch tx_index:86 rx_index: 85

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 86

Realtek Bluetooth :hci_download_patch tx_index:87 rx_index: 86

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 87

Realtek Bluetooth :hci_download_patch tx_index:88 rx_index: 87

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 88

Realtek Bluetooth :hci_download_patch tx_index:89 rx_index: 88

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 89

Realtek Bluetooth :hci_download_patch tx_index:90 rx_index: 89

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 90

Realtek Bluetooth :hci_download_patch tx_index:91 rx_index: 90

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 91

Realtek Bluetooth :hci_download_patch tx_index:92 rx_index: 91

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 92

Realtek Bluetooth :hci_download_patch tx_index:93 rx_index: 92

Realtek Bluetooth :Received reliable seqno 0 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 93

Realtek Bluetooth :hci_download_patch tx_index:94 rx_index: 93

Realtek Bluetooth :Received reliable seqno 1 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 94

Realtek Bluetooth :hci_download_patch tx_index:95 rx_index: 94

Realtek Bluetooth :Received reliable seqno 2 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 95

Realtek Bluetooth :hci_download_patch tx_index:96 rx_index: 95

Realtek Bluetooth :Received reliable seqno 3 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 96

Realtek Bluetooth :hci_download_patch tx_index:97 rx_index: 96

Realtek Bluetooth :Received reliable seqno 4 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 97

Realtek Bluetooth :hci_download_patch tx_index:98 rx_index: 97

Realtek Bluetooth :Received reliable seqno 5 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 98

Realtek Bluetooth :hci_download_patch tx_index:99 rx_index: 98

Realtek Bluetooth :Received reliable seqno 6 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 99

Realtek Bluetooth :Send FW last command
Realtek Bluetooth :hci_download_patch tx_index:100 rx_index: 99

Realtek Bluetooth :Received reliable seqno 7 from card
Realtek Bluetooth :rtk_hw_cfg.rx_index 100

Realtek Bluetooth :Init Process finished
Can't set device: Protocol not supported
Can't initialize device: Protocol not supported</span></pre>

<p>
	So that does not work but it seems the communication with the chip is working.
</p>

<p>
	 
</p>

<p>
	If I retry after a normal reboot then `rtk_hciattach` completely fail.
</p>

<p>
	 
</p>

<p>
	I'm building a kernel with this patch enabled <span>:</span> <a href="https://github.com/armbian/build/blob/master/patch/kernel/sunxi-dev/0142-Bluetooth-hci_h5-Add-support-for-binding-RTL8723BS-w.patch.disabled" rel="external nofollow">https://github.com/armbian/build/blob/master/patch/kernel/sunxi-dev/0142-Bluetooth-hci_h5-Add-support-for-binding-RTL8723BS-w.patch.disabled</a>
</p>

<p>
	 
</p>

<p>
	I'll see if that helps
</p>

<p>
	 
</p>

<p>
	If anyone has an idea I'm all ears <img alt=";)" data-emoticon="" height="20" src="https://testforum.armbian.com/uploads/emoticons/default_wink.png" srcset="https://testforum.armbian.com/uploads/emoticons/wink@2x.png 2x" title=";)" width="20" loading="lazy"></p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">9037</guid><pubDate>Tue, 11 Dec 2018 08:44:55 +0000</pubDate></item><item><title>Board PINE H64 cannot boot from image file compiled in our armbian system</title><link>https://testforum.armbian.com/topic/8927-board-pine-h64-cannot-boot-from-image-file-compiled-in-our-armbian-system/</link><description><![CDATA[<p>
	problem description as follow:
</p>

<p>
	our compile env:
</p>

<p>
	root@ubuntu69:/tycom/armbian# uname -a<br>
	Linux ubuntu69 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux<br>
	root@ubuntu69:/tycom/armbian# cat /etc/os-release<br>
	NAME="Ubuntu"<br>
	VERSION="18.04.1 LTS (Bionic Beaver)"<br>
	ID=ubuntu<br>
	ID_LIKE=debian<br>
	PRETTY_NAME="Ubuntu 18.04.1 LTS"<br>
	VERSION_ID="18.04"<br>
	 
</p>

<p>
	Board：PINE H64
</p>

<p>
	Compile Env：from https://github.com/armbian
</p>

<p>
	 
</p>

<p>
	In our compile environment，generate the image file：Armbian_5.67_Pineh64_Debian_stretch_dev_4.19.2.img，we burn it into SD by Etcher，the booting is hang，no error message:
</p>

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

<p>
	[    1.188734] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB<br>
	[    1.194122] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode<br>
	[    1.261947] random: fast init done<br>
	[    1.313257] mmc1: new high speed MMC card at address 0001<br>
	[    1.319604] mmcblk1: mmc1:0001 8GME4R 7.28 GiB <br>
	[    1.324848] mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB<br>
	[    1.331482] mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB<br>
	[    1.338769]  mmcblk1: p1<br>
	[    1.774235] mmc0: host does not support reading read-only switch, assuming write-enable<br>
	[    1.785748] mmc0: new high speed SDHC card at address 1388<br>
	[    1.792102] mmcblk0: mmc0:1388 USD00 14.7 GiB <br>
	[    1.797771]  mmcblk0: p1<br>
	[    4.502167] usb 1-1: new high-speed USB device number 2 using ehci-platform<br>
	[    4.526161] usb 3-1: new high-speed USB device number 2 using ehci-platform<br>
	[    4.647329] usb 1-1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18<br>
	[    4.655531] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>
	[    4.662681] usb 1-1: Product: Android
</p>

<p>
	[    4.666360] usb 1-1: Manufacturer: Android<br>
	[    4.692293] usb 3-1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18<br>
	[    4.700487] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>
	[    4.707633] usb 3-1: Product: Android<br>
	[    4.711312] usb 3-1: Manufacturer: Android
</p>

<p>
	 
</p>

<p>
	But we download the image file (Armbian_5.59.180824_Pineh64_Debian_stretch_dev_4.18.0-rc7.img) from armbian officail website, and then burn it into SD card，all going well，any advise ? pls help to check, thanks a lot.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">8927</guid><pubDate>Wed, 28 Nov 2018 08:07:47 +0000</pubDate></item><item><title>Anarsoul's patches for A64 mainline</title><link>https://testforum.armbian.com/topic/8063-anarsouls-patches-for-a64-mainline/</link><description><![CDATA[<p>
	I am posting the following in the capacity of an errand boy ;)
</p>

<p>
	Anarsoul has done a lot of work on the A64 and has custom patches for the Pine A64, SOPine and the Pinebook that have not found their way into mainline yet (his git: https://github.com/anarsoul/). He only does Arch and has no knowledge of Debian/ Ubuntu. I recently asked on Twitter and PINE64 forum which OS users would like to see the Pinebook ship and many users reported Armbian.
</p>

<p>
	If anyone would be willing to help incorporate Anarsoul's work into Armbian so that we could have more features working on the aforementioned devices on mainline, then please have a chat with him in the linux-sunxi or pine64 IRC. 
</p>
]]></description><guid isPermaLink="false">8063</guid><pubDate>Tue, 28 Aug 2018 10:10:40 +0000</pubDate></item><item><title>Building Pine64+ server image for ubuntu bionic/4.x kernel</title><link>https://testforum.armbian.com/topic/8689-building-pine64-server-image-for-ubuntu-bionic4x-kernel/</link><description><![CDATA[<p>
	I've been building armbian xenial images for my pine64+ a few times now and it works well. But I would like to switch to bionic if I can. I find it hard to find a good place of documentation for either the 4.x kernel or ubuntu bionic for armbian, specifically for A64/Pine64 boards. If I google, I see tons of forum posts with specific issues, but no coherent overview of any issues with 4.x kernels? And reading through 2-3 years of replies on some threads is a bit much to find the info I need. So what would or wouldn't work on a 4.x kernel on ubuntu bionic? Also, I am confused about who does what, and therefore where to go with problems. How are longsleep or sunxi involved in this? In the end, I guess my main question is: is it feasible to have a pine64A+ running no Ubuntu bionic, which I assume requires  4.x kernel, and what problems am I likely to encounter, or do I need to solve?
</p>

<p>
	Cheers,
</p>

<p>
	 
</p>

<p>
	Dolf.
</p>
]]></description><guid isPermaLink="false">8689</guid><pubDate>Mon, 05 Nov 2018 06:15:16 +0000</pubDate></item><item><title>How to change DSI Clock for Pine A64-LTS</title><link>https://testforum.armbian.com/topic/8597-how-to-change-dsi-clock-for-pine-a64-lts/</link><description><![CDATA[<p>
	Hi
</p>

<p>
	 
</p>

<p>
	How do I change the DSI clock for Pine A64-LTS ?
</p>

<p>
	 
</p>

<p>
	Thank you.
</p>
]]></description><guid isPermaLink="false">8597</guid><pubDate>Wed, 31 Oct 2018 00:34:12 +0000</pubDate></item><item><title>emmc for Pine64LTS/Pine64so</title><link>https://testforum.armbian.com/topic/5756-emmc-for-pine64ltspine64so/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	 
</p>

<p>
	I'm trying to use the emmc device located on the Pine64LTS - not neccessarily to boot (though that would be nice).  I'm employing a 16GB FORESEE card, which I obtained from the Pine folks.
</p>

<p>
	 
</p>

<p>
	First I installed the Stable SoPine64 Armbian_5.30_Pine64so_Ubuntu_xenial_default_3.10.105 image from the Download web page.  When I booted the image from an microSD card, only /dev/mmcblk0 showed up - no /dev/mmcblk1.  When I tried to boot from the image loaded on the emmc card, the boot failed.
</p>

<p>
	 
</p>

<p>
	Next I tried to build a more up-to-date image, using:
</p>

<pre>
<code>git clone --depth <span>1</span> http<span>s:</span>//github.<span>com</span>/armbian/build
<span>cd</span> build
</code><code>./compile<span>.sh</span>
</code></pre>

<p>
	And using the choices for the Pine64so legacy kernel and the full desktop build.  Again the same result: no /dev/mmcblk1.  So, I'm wondering - is it possible to utilize the emmc device on this board (one of its big attractions).
</p>

<p>
	 
</p>

<p>
	Tom
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">5756</guid><pubDate>Sat, 25 Nov 2017 04:44:48 +0000</pubDate></item><item><title>Pine64 no network</title><link>https://testforum.armbian.com/topic/7732-pine64-no-network/</link><description><![CDATA[<p>
	Hello everbody,
</p>

<p>
	 
</p>

<p>
	thank you very much for your comprehensive answers and letting me know that the issue is caused by an EOL fact.
</p>

<p>
	 
</p>

<p>
	So i changed to the recommended builds, but unfortunately it seems that none of it is bootable, or useable, neither Xenial, nor jessie, not even the newest bionic.
</p>

<p>
	 
</p>

<p>
	Is there some sort of general problem that makes those builds unbootlable?
</p>

<p>
	 
</p>

<p>
	<strong>Jessie</strong>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://testforum.armbian.com/uploads/monthly_2018_07/IMG_20180715_160933.jpg.64f323d2a9e5951aea70ab105cf335a6.jpg" data-fileid="3004" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="3004" src="https://testforum.armbian.com/uploads/monthly_2018_07/IMG_20180715_160933.thumb.jpg.eb905f3f87e1a03b0493ca15293e505b.jpg" alt="IMG_20180715_160933.thumb.jpg.eb905f3f87e1a03b0493ca15293e505b.jpg" loading="lazy"></a>
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<strong>Xenial</strong>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://testforum.armbian.com/uploads/monthly_2018_07/IMG_20180715_161710.jpg.325d1013fc908144227a34aeb6f49d67.jpg" data-fileid="3005" rel=""><img class="ipsImage ipsImage_thumbnailed" data-fileid="3005" src="https://testforum.armbian.com/uploads/monthly_2018_07/IMG_20180715_161710.thumb.jpg.76207892a40ea0df8384abb144ba0ef0.jpg" alt="IMG_20180715_161710.thumb.jpg.76207892a40ea0df8384abb144ba0ef0.jpg" loading="lazy"></a>
</p>

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="58098" data-ipsquote-contentid="7709" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1531562871" data-ipsquote-userid="1" data-ipsquote-username="Igor">
	<div class="ipsQuote_citation">
		On 7/14/2018 at 12:07 PM, Igor said:
	</div>

	<div class="ipsQuote_contents">
		<p>
			for
		</p>
	</div>
</blockquote>
]]></description><guid isPermaLink="false">7732</guid><pubDate>Sun, 15 Jul 2018 14:49:07 +0000</pubDate></item><item><title>Pine A64 / Sopine A64/R18 Ethernet</title><link>https://testforum.armbian.com/topic/8133-pine-a64-sopine-a64r18-ethernet/</link><description><![CDATA[<p>
	I am currently developing a custom board which is based of the Pine64/Pine64-R18 dev board.
</p>

<p>
	I previously had an issue with the ethernet not working at u-boot level using the sopine based R18 board, this I resolved by patching u-boot with the relevant emac sections that were missing from the device tree.
</p>

<p>
	 
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedcontent="" data-embedid="embed1954264224" scrolling="no" src="https://testforum.armbian.com/topic/5931-pine64-pine64so-uboot-no-ethernet/?do=embed" style="height:222px;max-width:502px;" loading="lazy"></iframe>

<p>
	On the custom board we have used the R18 processor with the LAN8720 ethernet-phy chip rather than the RTL8211 used by the pine, and can't get the ethernet to initialise.
</p>

<p>
	We have checked rmii clock timings etc and compared the custom board to the Pine and have noticed the following:-
</p>

<p>
	 
</p>

<p>
	MDC has been measured to be running at 18.6Mhz, resulting in 53ns pulse periods, on both our custom and the pine64 board.
</p>

<p>
	The minimum MDC clock period for both the lan8720 and rtl8211 however is 400ns according to datasheet.
</p>

<p>
	The ethernet is not working on the LAN, yet it is on the RTL.
</p>

<p>
	It seems the RTL is capable of running at that speed, although spec is 400ns, but the LAN is conforming to it's spec.
</p>

<p>
	 
</p>

<p>
	Any ideas on how to slow this clock speed down to the minimum 400ns period would be appreciated.
</p>

<p>
	 
</p>

<p>
	Gavin
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">8133</guid><pubDate>Thu, 06 Sep 2018 10:48:26 +0000</pubDate></item><item><title>Armbian Jessie + LCD + TouchScreen issue</title><link>https://testforum.armbian.com/topic/7910-armbian-jessie-lcd-touchscreen-issue/</link><description><![CDATA[<p>
	Hi
</p>

<p>
	I have Pine64+ with LCD + TouchScreen - all from Pine team.
</p>

<p>
	I checked some OS, but only Armbian DE is responsiveness enough for me.
</p>

<p>
	Now, Armbian Jessie is on SD card, stable ISO with all updates and upgrades installed - 3.10.107-pine64.
</p>

<p>
	Change from HDMI to LCD done by changing pine64_lcd to 'on' in /boot/armbianEnv.txt 
</p>

<p>
	I add gt9xxf_ts in /etc/modues and restart Pine64. But cursor doesn't move on any touch.
</p>

<p>
	 
</p>

<p>
	I confirm that the gt9xxf_ts module loaded by runing 'lsmod' as root, but this module is used by 0 (nobody).
</p>

<p>
	I've checked which event is assigned and I got:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">cat /proc/bus/input/devices | grep -B 2 -A 8 gt9xxf_ts

I: Bus=0018 Vendor=dead Product=beef Version=28bb
N: Name="gt9xxf_ts"
P: Phys=input/goodix-ts
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event4 autohotplug cpufreq_interactive
B: PROP=2
B: EV=b
B: KEY=400 0 0 0 0 0
B: ABS=265000000000000</span></pre>

<p>
	I even check if module works correctly. I installed 'evtest' and run it:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">apt-get install evtest
evtest /dev/input/event4</span></pre>

<p>
	I received confirmation that module works:
</p>

<p>
	First part after start testing, second after touching the screen.
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0xdead product 0xbeef version 0x28bb
Input device name: "gt9xxf_ts"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 330 (BTN_TOUCH)
  Event type 3 (EV_ABS)
    Event code 48 (ABS_MT_TOUCH_MAJOR)
      Value      0
      Min        0
      Max      255
    Event code 50 (ABS_MT_WIDTH_MAJOR)
      Value      0
      Min        0
      Max      255
    Event code 53 (ABS_MT_POSITION_X)
      Value      0
      Min        0
      Max     1024
    Event code 54 (ABS_MT_POSITION_Y)
      Value      0
      Min        0
      Max      600
    Event code 57 (ABS_MT_TRACKING_ID)
      Value      0
      Min        0
      Max      255
Properties:
  Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)


[...]
Event: time 1533817457.820178, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1533817457.820178, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.820178, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.820178, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.820178, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.820178, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.820178, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.820178, -------------- EV_SYN ------------
Event: time 1533817457.830562, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.830562, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.830562, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.830562, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.830562, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.830562, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.830562, -------------- EV_SYN ------------
Event: time 1533817457.841032, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.841032, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.841032, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.841032, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.841032, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.841032, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.841032, -------------- EV_SYN ------------
Event: time 1533817457.851437, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.851437, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.851437, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.851437, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.851437, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.851437, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.851437, -------------- EV_SYN ------------
Event: time 1533817457.861906, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.861906, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.861906, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.861906, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.861906, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.861906, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.861906, -------------- EV_SYN ------------
Event: time 1533817457.871984, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 292
Event: time 1533817457.871984, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 247
Event: time 1533817457.871984, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 37
Event: time 1533817457.871984, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 37
Event: time 1533817457.871984, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0
Event: time 1533817457.871984, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.871984, -------------- EV_SYN ------------
Event: time 1533817457.882381, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1533817457.882381, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1533817457.882381, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 1533817457.882381, ++++++++++++++ EV_REL ++++++++++++
Event: time 1533817457.882381, -------------- EV_SYN ------------</span></pre>

<p>
	 
</p>

<p>
	 
</p>

<p>
	What I miss to move cursor with touch?
</p>
]]></description><guid isPermaLink="false">7910</guid><pubDate>Thu, 09 Aug 2018 12:22:25 +0000</pubDate></item><item><title>Pine64 none of the Images seems to bootup</title><link>https://testforum.armbian.com/topic/7897-pine64-none-of-the-images-seems-to-bootup/</link><description><![CDATA[<p>
	Hello everybody,
</p>

<p>
	 
</p>

<p>
	since an Softwareupdate some time ago, i m not able to boot up the Pine64 with any Image.
</p>

<p>
	 
</p>

<p>
	It doesnt matter what distro, or what channel.
</p>

<p>
	 
</p>

<p>
	Does anybody have the same issue?
</p>
]]></description><guid isPermaLink="false">7897</guid><pubDate>Tue, 07 Aug 2018 15:50:55 +0000</pubDate></item><item><title>Armbian Bionic on Pine A64+ Bad DEVICE error</title><link>https://testforum.armbian.com/topic/7844-armbian-bionic-on-pine-a64-bad-device-error/</link><description><![CDATA[<p>
	I tried to flash the latest Armbian (Armbian_5.52.180715_Pine64_Ubuntu_bionic_dev_4.18.0-rc4) on my A64+. When starting I can't bott and gett one of these error messages:
</p>

<p>
	 
</p>

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

	<div class="ipsQuote_contents">
		<p>
			Loading Environment from FAT... ** Bad Device mmc 0 **
		</p>

		<p>
			Loading Environment from FAT... Unable to use mmc 0:1... Failed (-5)
		</p>
	</div>
</blockquote>

<p>
	 
</p>

<p>
	Does anybody have any idea what might go wrong? I know it's not stable yet. <br>
	After that message, the device waits for an image from a TFTP Server.
</p>

<p>
	<img alt="33159061wy.jpg" class="ipsImage" height="750" src="http://up.picr.de/33159061wy.jpg" width="562" loading="lazy"><img alt="33378874ct.jpg" class="ipsImage" height="750" src="http://up.picr.de/33378874ct.jpg" width="562" loading="lazy"></p>
]]></description><guid isPermaLink="false">7844</guid><pubDate>Tue, 31 Jul 2018 12:37:06 +0000</pubDate></item><item><title>Pine64 touch screen on kernel 4.9</title><link>https://testforum.armbian.com/topic/3377-pine64-touch-screen-on-kernel-49/</link><description><![CDATA[<p>Hi,</p>
<p> </p>
<p>I have a pine64 with the official touch screen, currently running Xenial with legacy kernel.</p>
<p> </p>
<p>I followed the instructions to enable the touchscreen:</p>
<pre class="ipsCode prettyprint">
Also starting with 5.24 Pine64â€™s own LCD with touchscreen support can simply be activated in  /boot/armbianEnv.txt
by setting pine64_lcd=on and adding gt9xxf_ts to /etc/modules followed by a reboot.

</pre>
<p> which works fine.</p>
<p> </p>
<p> </p>
<p>Preferably, I'd like to use a later kernel, as I'm not interested in any graphical  HW acceleration but would like some of the other improvements in later kernels.</p>
<p> </p>
<p>When I tried the instructions with kernel 4.9, I couldn't find the  gt9xxf_ts module.</p>
<p> </p>
<p>Is there any way of making this work with vanilla/developer kernels?</p>
<p> </p>
<p>BR.</p>
<p> </p>
<p>--Marius--</p>
<p> </p>
<p> </p>
]]></description><guid isPermaLink="false">3377</guid><pubDate>Thu, 26 Jan 2017 09:26:27 +0000</pubDate></item><item><title>Pine64 PPS working?</title><link>https://testforum.armbian.com/topic/6835-pine64-pps-working/</link><description><![CDATA[<p>
	I have tried searching but there doesn't seem to be much info on PPS support.  It is a standard part of modern kernels and should be pretty consistent.
</p>

<p>
	 
</p>

<p>
	On a Pine64+ using mainline kernel (debian-stretch-next) I chose an interrupt-enabled pin (PH9) updated /boot/armbianEnv.txt with
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">overlays=pps-gpio uart1 uart2
param_pps_pin=PH9</span></pre>

<p>
	and rebooted.  I have a device (a GPS) with its PPS output connected to the Pi2 bus pin 13 that corresponds to PH9 and during boot this appears to be configured as a new PPS source:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">[    5.548061] pps pps0: new PPS source pps@0.-1
[    5.548135] pps pps0: Registered IRQ 145 as PPS source</span></pre>

<p>
	/dev/pps0 is indeed created by udev, but unfortunately it never sees any assertions beyond the fist:
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">root@pine64:~# ppstest /dev/pps0
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
time_pps_fetch() error -1 (Connection timed out)
^C
root@pine64:~# cat /sys/class/pps/pps0/assert 
1478193403.873076084#1</span></pre>

<p>
	I have confirmed the connected device is raising this line for 10ms every 1000ms using a scope and have confirmed this can be seen via the GPIO pin using 'cat' in a while loop to see the value change to 1 and back to 0 each second.
</p>

<p>
	 
</p>

<p>
	It appears the interrupt is not being raised beyond the initial device creation, which would be the reason pulses are never seen by any clients (such as ppstest)
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">root@pine64:~# egrep 145 /proc/interrupts 
145:          1          0          0          0  sunxi_pio_edge  41 Edge      pps@0.-1</span></pre>

<p>
	 
</p>

<p>
	Would anyone have any thoughts here?  I may try the legacy kernel to see if there is any difference.
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">6835</guid><pubDate>Mon, 26 Mar 2018 20:14:18 +0000</pubDate></item><item><title>Pine64 A+ - HDMI Audio not in list of alsa devices</title><link>https://testforum.armbian.com/topic/7686-pine64-a-hdmi-audio-not-in-list-of-alsa-devices/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	 
</p>

<p>
	First of all, thank you so much for putting these images together. Kudos to you all for some great work! Now on to my issue.
</p>

<p>
	 
</p>

<p>
	I installed Xenial build and it booted up nicely to XFCE. The only issue I am having is no audio over HDMI. I know the display works for HDMI audio as my nVidia Shield works fine. Any help on determining the issue?
</p>

<p>
	 
</p>

<p>
	If you need any logs, boot messages, and/or config files, let me know.
</p>

<p>
	 
</p>

<p>
	Thank you in advance,
</p>

<p>
	 
</p>

<p>
	Brian
</p>
]]></description><guid isPermaLink="false">7686</guid><pubDate>Tue, 10 Jul 2018 23:42:49 +0000</pubDate></item><item><title>Pine64: How to keep the LTS kernel (4.14)?</title><link>https://testforum.armbian.com/topic/7646-pine64-how-to-keep-the-lts-kernel-414/</link><description><![CDATA[<p>
	How can I keep the LTS-kernel (4.14) with a terminal command?
</p>

<p>
	The lastest update/upgrade installs the kernel 4.17. How can I avoid this kernel-update? For my long term-project I need the LTS-kernel 4.14.
</p>

<p>
	 
</p>

<p>
	Some time ago I updated by mainline-system (Ubuntu server kernel 4.13 to 4.14-kernel with the following command
</p>

<p>
	apt-get  -y -qq --no-install-recommends install linux-image-next-sunxi64 linux-headers-next-sunxi64 linux-u-boot-pine64-next linux-xenial-root-next-pine64 linux-dtb-next-sunxi64
</p>

<p>
	 
</p>

<p>
	Thanks a lot.
</p>
]]></description><guid isPermaLink="false">7646</guid><pubDate>Fri, 06 Jul 2018 08:30:50 +0000</pubDate></item><item><title>Pine64 LTS/ SOPINE headers</title><link>https://testforum.armbian.com/topic/6735-pine64-lts-sopine-headers/</link><description><![CDATA[<p>
	Does anyone know where i can find linux headers for the LTS/Sopine, or an image that contains them? None of the images from the wiki seem contain the headers.
</p>

<p>
	 
</p>

<p>
	I installed the Armbian legacy with 3.10.107 and was able to get Pine64 headers using apt-get install linux-headers-pine64 but they seem to be missing many files when i try to compile. Any help is greatly appreciated.
</p>
]]></description><guid isPermaLink="false">6735</guid><pubDate>Thu, 15 Mar 2018 06:03:01 +0000</pubDate></item><item><title>Armbian Pine A64 Desktop Debian</title><link>https://testforum.armbian.com/topic/7408-armbian-pine-a64-desktop-debian/</link><description><![CDATA[<p>
	An extravagant man of boundless vision-part Raymond Loewy, component Buckminster Fuller, component Willy Wonka, and a smidgen Pepe Le Pew-Philippe Starck is nominally a industrial designer however truly an almost-anything-you-can-think-of designer.
</p>

<p>
	&gt;&gt; <a href="https://www.facebook.com/Bestmasticatingjuicers.zones" rel="external nofollow">https://www.facebook.com/Bestmasticatingjuicers.zones</a>
</p>

<p>
	He became famous in the 1980s and 90s because of his prong-like toothbrushes and citrus-juicers for Alessi, his sculptural chairs for Kartell, and his revolutionary interiors for Ian Schrager's first creation of boutique resorts, one of them New York's Royalton along with Miami Beach's Delano. Since then, his interests have ranged wider still, from his StarckBike line of electric bicycles into the Venus, the yacht he made for Steve Jobs. In this year alone, Starck has established a voice- and app-controlled"smart" radiator valve, a trio of touch parfums, along with a modular woodstove and log-storage unit, while also hammering his redesign, in cooperation with his eldest daughter, Ara, of those restaurants in Paris's venerable Le Meurice hotel. Herewith, a few details gleaned from a conversation conducted together with the 67-year-old Frenchman, who spoke from his seaside house in southern Portugal-"a sort of Mies van der Rohe glass shoebox on a dune," as he explained it.
</p>

<p>
	<img alt="Tribest-Slowstar-Vertical-Slow-Juicer-an" class="ipsImage" height="750" src="http://juicerszones.com/wp-content/uploads/2018/05/Tribest-Slowstar-Vertical-Slow-Juicer-and-Mincer-juicerszone-1.jpg" width="750" loading="lazy"></p>

<p>
	HE CONSIDERS himself to be productive in non-urban, non-office environments, alone but because of his wife, Jasmine, and their young daughter, Justice. HE OWNS several homes abutting a body of water, among them the glass home in Portugal, an oyster farm in southwest France, and island homes on Capri, Formentera (Ibiza's southern sibling), and Burano (near Venice).
</p>

<p>
	HE ATTRIBUTES that this specific real-estate proclivity into an innate need to be proximate to mud. "The mud is essential for me," he states,"because the mud is what we call la soupe primaire -the primordial soup" HE DOES not have a computer and does not have any email address. His concession to contemporary gadgetry-mania is a iPad Mini, which he utilizes primarily as a music player-often with the Zik headphones he made for the French technician company Parrot.
</p>

<p>
	HE LIKES to function with music playing, but just music that's conducive to concentration. His preferred composer-musicians in this respect are the atmospherists Brian Eno, Roger Eno, Alva Noto, and Ryuichi Sakamoto.
</p>

<p>
	 
</p>

<p>
	<a href="https://sites.google.com/site/bestcoldpressjuicers" rel="external nofollow">https://sites.google.com/site/bestcoldpressjuicers</a>
</p>

<p>
	HE GOES to bed early, about 10:30 P.M., and drops into an eventful, dream-filled sleep in which"I move and go to other worlds," he says. "With other light. With people I have not met. I talk about things that don't exist. I see incredible invention, incredible architecture" HE WAKES up exhausted and, to his chagrin, seldom remembers enough details of his wildest fantasies to incorporate them into his design function.
</p>

<p>
	A RARE exception for this nightly encounter happened in the early 1980s, when, tasked with designing the private quarters at the elysee Palace for France's then president, Franeois Mitterrand, he dreamed of a table with a clear-glass surface atop collapsible metal legs. He hurried from his bed to his sketchbook to design it instantly.
</p>

<p>
	HE WAS only in his late teens when he secured his first major job, helping develop Pierre Cardin's furniture line. Although he admired Cardin's intelligence and modernist aesthetic, he broke with his mentor on philosophical grounds. "My dream was to make one-dollar things for a million individuals; he wanted to make $1 million furniture for a couple of people," he states. HE HAS been requested by prospective customers to rectify the fact that air conditioners are awful by designing a beautiful one, however, has resisted. "The true answer is, open your window," he states. "We overlook easy solutions because it's not good company."
</p>

<p>
	HE JUSTIFIES his getting to the perfume business because (a)"the material part is nothing, 100 grams of fluid," and (b) that he finds a fantastic odor reassuring,"a place in which you feel better, where you feel secure."
</p>

<p>
	HE HAS homes in multiple countries but doesn't believe himself multi-lingual:"My English-we can say it is shit." HE HAS four older children from three preceding relationships. He and Jasmine were wed on December 15, 2007, in Paris.
</p>

<p>
	 
</p>

<p>
	<a href="http://juicerszones.com" rel="external nofollow">http://juicerszones.com</a>
</p>

<p>
	HE LAST wore a necktie on such day. He also wore an Australian military-style jacket and a long, black Azzedine Alaea skirt, which proved drafty. HE AND Jasmine drove to their own wedding by motorcycle-a poor choice, given the skirt. "At 11 o'clock at night, I had been in my bed, using a doctor," he says,"and that I nearly die." HIS HAIR is closely cropped and becomingly salt-and-pepper but from the 1980s was a dark-brown, mushroom-shaped pouf.
</p>

<p>
	HE CREDITS his previous look entirely to his friend Jean-Baptiste Mondino, the photographer, who first styled it that way for a take. "I am very, very accurate in my creativity," he states. "But, for myself, my appearance, I don't care. I don't care about my physique. That's the reason why I am too fat."
</p>

<p>
	HE IS a vegetarian. He became one when his only son, Oa, was born 21 years ago. "I found that I did not want everyone to consume my son," he said. "I don't want to kill. It's clearly philosophical."
</p>
]]></description><guid isPermaLink="false">7408</guid><pubDate>Wed, 06 Jun 2018 22:42:52 +0000</pubDate></item><item><title>Pine64-R18 - Setup GPIO inputs via Device Tree</title><link>https://testforum.armbian.com/topic/7291-pine64-r18-setup-gpio-inputs-via-device-tree/</link><description><![CDATA[<p>
	Hi
</p>

<p>
	 
</p>

<p>
	I have been trying to allocate specific gpio's as input via the Device Tree, this ultimately being for a custom made board.
</p>

<p>
	I can and have successfully allocated pins PB0, PB1, PB3 &amp; PB5, which are showing in /dev/inputs/by-path and have been verified working with evtest.
</p>

<p>
	 
</p>

<p>
	Working code <span>:-</span>
</p>

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

/ {

  fragment@0 {
    target = &lt;&amp;pio&gt;;
    __overlay__ {
      input_0: input_0 {
        pins = "PB0";
        function = "gpio_in";
        bias-pull-up;
      };
    };
  };

  fragment@1 {
    target-path = "/";
    __overlay__ {
      button_1 {
        compatible = "gpio-keys";
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;input_0&gt;;
        
        Button_1 {
          label = "Button_1";
          linux,code = &lt;2&gt;;
          gpios = &lt;&amp;pio 1 0 1&gt;;
        };
      };
    };
  };
};</span></pre>

<p>
	However, I need to use GPIO PG2, PG3 PG4 &amp; PG5.
</p>

<p>
	When changing the allocation, both 'pins = "PB0";' in fragment0 and 'gpios = &lt;&amp;pio 1 0 1&gt;;' to PG2 and &amp;pio 6 2 1, then overlay is successfully installed, but however not working.
</p>

<p>
	 
</p>

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

/ {

  fragment@0 {
    target = &lt;&amp;pio&gt;;
    __overlay__ {
      input_0: input_0 {
        pins = "PG2";
        function = "gpio_in";
        bias-pull-up;
      };
    };
  };

  fragment@1 {
    target-path = "/";
    __overlay__ {
      button_1 {
        compatible = "gpio-keys";
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;input_0&gt;;
        
        Button_1 {
          label = "Button_1";
          linux,code = &lt;2&gt;;
          gpios = &lt;&amp;pio 6 2 1&gt;;
        };
      };
    };
  };
};</span></pre>

<p>
	I have verified that the pins I intend to use are in fact IRQ pins, and can control the pins via sysfs, by manually exporting, setup and echo to toggle them.
</p>

<p>
	I've haven't seen anything that stands out in the balance of the std Device Tree structure that might be causing this issue.
</p>

<p>
	 
</p>

<p>
	Any suggestions as to where else I could look into resolving this would be appreciated.
</p>

<p>
	 
</p>

<p>
	Regards
</p>

<p>
	Gavin B
</p>
]]></description><guid isPermaLink="false">7291</guid><pubDate>Tue, 22 May 2018 11:43:41 +0000</pubDate></item></channel></rss>
