<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[PINE64 - Quartz64 Tutorials]]></title>
		<link>https://forum.pine64.org/</link>
		<description><![CDATA[PINE64 - https://forum.pine64.org]]></description>
		<pubDate>Thu, 16 Apr 2026 06:38:45 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Fixing the Quartz64 USB3 Port with the soldering iron]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=18302</link>
			<pubDate>Sun, 04 Jun 2023 00:43:45 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=26921">Hemi03</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=18302</guid>
			<description><![CDATA[In this tutorial I will document what components i desolderd, to fix the flaky USB3 Port on the Quartz64.<br />
<br />
To fix the issues with USB3 you need to disconnect the sata connector, it is messing with the USB3 connection.<br />
This will disable the sata connector and you will only be left with a USB3 Connector (a working one tho).<br />
<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">WARNING: THIS CAN BREAK YOUR DEVICE AND THAT WILL BE YOUR FAULT</span><br />
<span style="font-weight: bold;" class="mycode_b">Only proceed if you have advanced soldering skills, the components are very small.</span><br />
<br />
<br />
<br />
You need: <br />
<ul class="mycode_list"><li>A hight power soldering iron (my Pinecil strugglet a faire bit)<br />
</li>
<li>A fine tip for the iron<br />
</li>
<li>Flux Paste<br />
</li>
</ul>
<br />
<br />
<hr class="mycode_hr" />
First locate the 4 resistors that connect the sata connector, i numberd them in this picture:<br />
<br />
<img src="https://i.postimg.cc/bw4QDWJR/Quartz-USB3-fix.jpg" loading="lazy"  alt="[Image: Quartz-USB3-fix.jpg]" class="mycode_img" /><br />
<hr class="mycode_hr" />
<br />
I simply applied flux paste on to the resistors and pushed them of there pads with the hot soldering iron.<br />
After that USB3 should just work fine.]]></description>
			<content:encoded><![CDATA[In this tutorial I will document what components i desolderd, to fix the flaky USB3 Port on the Quartz64.<br />
<br />
To fix the issues with USB3 you need to disconnect the sata connector, it is messing with the USB3 connection.<br />
This will disable the sata connector and you will only be left with a USB3 Connector (a working one tho).<br />
<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">WARNING: THIS CAN BREAK YOUR DEVICE AND THAT WILL BE YOUR FAULT</span><br />
<span style="font-weight: bold;" class="mycode_b">Only proceed if you have advanced soldering skills, the components are very small.</span><br />
<br />
<br />
<br />
You need: <br />
<ul class="mycode_list"><li>A hight power soldering iron (my Pinecil strugglet a faire bit)<br />
</li>
<li>A fine tip for the iron<br />
</li>
<li>Flux Paste<br />
</li>
</ul>
<br />
<br />
<hr class="mycode_hr" />
First locate the 4 resistors that connect the sata connector, i numberd them in this picture:<br />
<br />
<img src="https://i.postimg.cc/bw4QDWJR/Quartz-USB3-fix.jpg" loading="lazy"  alt="[Image: Quartz-USB3-fix.jpg]" class="mycode_img" /><br />
<hr class="mycode_hr" />
<br />
I simply applied flux paste on to the resistors and pushed them of there pads with the hot soldering iron.<br />
After that USB3 should just work fine.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Installing Arch Linux ARM on the Quartz64]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=15472</link>
			<pubDate>Mon, 06 Dec 2021 19:27:10 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=22385">CounterPillow</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=15472</guid>
			<description><![CDATA[Hello everyone,<br />
<br />
I wrote a guide on how to install Arch Linux ARM. Currently it's intended for experienced audiences. It still requires using <span style="font-family: Courier New;" class="mycode_font">qemu-user-static</span> to install a custom kernel package, unless you have an already running aarch64 Arch Linux or Manjaro system handy, in which case you can forego the <span style="font-family: Courier New;" class="mycode_font">qemu-user-static</span> dependency and just install the package with no additional steps in the arch-chroot.<br />
<br />
You can find the guide on the Wiki, where I'll keep it updated: <a href="https://wiki.pine64.org/wiki/Installing_Arch_Linux_ARM_On_The_Quartz64" target="_blank" rel="noopener" class="mycode_url">https://wiki.pine64.org/wiki/Installing_...e_Quartz64</a><br />
<br />
Once kernel 5.16 releases, and Arch Linux ARM packages it, I'll update the guide to remove the currently scary part,  and I'll declare it safe for anyone with a bit of Linux command line knowledge to follow.]]></description>
			<content:encoded><![CDATA[Hello everyone,<br />
<br />
I wrote a guide on how to install Arch Linux ARM. Currently it's intended for experienced audiences. It still requires using <span style="font-family: Courier New;" class="mycode_font">qemu-user-static</span> to install a custom kernel package, unless you have an already running aarch64 Arch Linux or Manjaro system handy, in which case you can forego the <span style="font-family: Courier New;" class="mycode_font">qemu-user-static</span> dependency and just install the package with no additional steps in the arch-chroot.<br />
<br />
You can find the guide on the Wiki, where I'll keep it updated: <a href="https://wiki.pine64.org/wiki/Installing_Arch_Linux_ARM_On_The_Quartz64" target="_blank" rel="noopener" class="mycode_url">https://wiki.pine64.org/wiki/Installing_...e_Quartz64</a><br />
<br />
Once kernel 5.16 releases, and Arch Linux ARM packages it, I'll update the guide to remove the currently scary part,  and I'll declare it safe for anyone with a bit of Linux command line knowledge to follow.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Using PCF8574 I2C GPIO Expanders]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=15444</link>
			<pubDate>Wed, 01 Dec 2021 08:48:13 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=22385">CounterPillow</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=15444</guid>
			<description><![CDATA[Hi all,<br />
<br />
I've begun writing a guide on the wiki on how to use the cheap ubiquitous 8-lane PCF8574 I2C GPIO Expander with the Quartz64 Model A:<br />
<br />
<a href="https://wiki.pine64.org/wiki/Quartz64_Model_A_using_a_PCF8574" target="_blank" rel="noopener" class="mycode_url">https://wiki.pine64.org/wiki/Quartz64_Mo..._a_PCF8574</a><br />
<br />
It should also be more generally applicable to other boards, if you adjust the used I2C controller. You don't need to speak any I2C protocol to use this at all; the Linux kernel handles it all for you!<br />
<br />
I encourage anyone to edit the wiki article if they find a mistake, and expand the guide as is reasonable. I believe that collaboratively we can produce great guides for the board.]]></description>
			<content:encoded><![CDATA[Hi all,<br />
<br />
I've begun writing a guide on the wiki on how to use the cheap ubiquitous 8-lane PCF8574 I2C GPIO Expander with the Quartz64 Model A:<br />
<br />
<a href="https://wiki.pine64.org/wiki/Quartz64_Model_A_using_a_PCF8574" target="_blank" rel="noopener" class="mycode_url">https://wiki.pine64.org/wiki/Quartz64_Mo..._a_PCF8574</a><br />
<br />
It should also be more generally applicable to other boards, if you adjust the used I2C controller. You don't need to speak any I2C protocol to use this at all; the Linux kernel handles it all for you!<br />
<br />
I encourage anyone to edit the wiki article if they find a mistake, and expand the guide as is reasonable. I believe that collaboratively we can produce great guides for the board.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[From open box to bash prompt]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=15197</link>
			<pubDate>Wed, 27 Oct 2021 14:59:13 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=15297">chaseadam</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=15197</guid>
			<description><![CDATA[This should get you from unboxing to a console.<br />
<br />
At the time of writing, the graphics output is not functional in the <a href="https://github.com/manjaro-arm/quartz64-bsp-images/releases" target="_blank" rel="noopener" class="mycode_url">Manjaro builds</a> (but looks to be in the Android 11 Production Test Build for Quartz64 model A SBC)<br />
<br />
There is a hint that the default baud rate of the serial port is 1.5mbaud in a warning on the <a href="https://wiki.pine64.org/wiki/Quartz64#Software_releases" target="_blank" rel="noopener" class="mycode_url">Quartz64 Wiki</a> (emphasis added)<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="font-weight: bold;" class="mycode_b">Warning:</span> Software for the Quartz64 is still early in development, and therefore currently lacks features such as the ability to produce video output. You are strongly encouraged to procure a 3.3V UART serial adapter capable of running at <span style="font-weight: bold;" class="mycode_b">1.5 mbaud</span>[], such as <a href="https://pine64.com/product/serial-console-woodpecker-edition/" target="_blank" rel="noopener" class="mycode_url">the woodpecker</a> if you want to use a Quartz64 at this stage.</blockquote>
<br />
Make sure your adapter chipset supports 1.5 mbaud or higher. I happened to have (counterfeit?) CP2102 USB to TTL UART adapters which only go up to 1 mbaud. <span style="font-weight: bold;" class="mycode_b">If your adapter does not support the higher baud rate, `screen` does <span style="font-style: italic;" class="mycode_i">not</span> show an error</span>, it just uses the highest supported baud rate of the chip.<br />
<br />
Burn the <a href="https://github.com/manjaro-arm/quartz64-bsp-images/releases" target="_blank" rel="noopener" class="mycode_url">Manjaro builds</a> to a 2GB or larger microSD card (or eMMC if you purchased). As root run with the path of the SD card:<br />
<br />
`xz -d &lt; Manjaro-ARM-minimal-quartz64-bsp-20211025.img.xz - | dd of=/dev/sdX`<br />
<br />
The serial port to use is described as UART2_RX_M0_DEBUG and UART2_TX_M0_DEBUG in the <a href="https://wiki.pine64.org/wiki/Quartz64#GPIO_Pins_.28Quartz64_Model_A.29" target="_blank" rel="noopener" class="mycode_url">pinout</a>.<br />
<br />
<img src="https://ipfs.io/ipfs/QmVHARmKUtS6JMwX6ej8mYY24kCLRHXtAHdk3RCv7GjSKz" loading="lazy"  width="400" height="300" alt="[Image: QmVHARmKUtS6JMwX6ej8mYY24kCLRHXtAHdk3RCv7GjSKz]" class="mycode_img" /><br />
<br />
Assuming you know your TTL adapter tty path, you have permissions to it and you have `screen` installed:<br />
<br />
`screen /dev/ttyUSB0 1500000`<br />
<br />
When booting, you should see activity from two LEDs next to the power button. If you only see It will start with a solid white and switch to a blinking red. <a href="https://ipfs.io/ipfs/QmNVshth7q1rov82sFNfvEtkSS78YYZgpvUtMnwr1jPCiL" target="_blank" rel="noopener" class="mycode_url">Here is a video.</a><br />
<br />
Boot and you should be presented with a setup menu.<br />
<br />
Ethernet is set to use DHCP by default.<br />
<br />
I switch to using SSH at this point.<br />
<br />
Other info:<br />
<br />
If you are using microSD and eMMC, <a href="http://forum.pine64.org/showthread.php?tid=14973&amp;pid=101031#pid101031" target="_blank" rel="noopener" class="mycode_url">there is a report it will attempt to boot from microSD first</a>.<br />
<br />
There is <a href="http://forum.pine64.org/showthread.php?tid=14973&amp;pid=100849#pid100849" target="_blank" rel="noopener" class="mycode_url">mention of a Debian build</a>, but it may not be as convenient as the Manjaro setup]]></description>
			<content:encoded><![CDATA[This should get you from unboxing to a console.<br />
<br />
At the time of writing, the graphics output is not functional in the <a href="https://github.com/manjaro-arm/quartz64-bsp-images/releases" target="_blank" rel="noopener" class="mycode_url">Manjaro builds</a> (but looks to be in the Android 11 Production Test Build for Quartz64 model A SBC)<br />
<br />
There is a hint that the default baud rate of the serial port is 1.5mbaud in a warning on the <a href="https://wiki.pine64.org/wiki/Quartz64#Software_releases" target="_blank" rel="noopener" class="mycode_url">Quartz64 Wiki</a> (emphasis added)<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="font-weight: bold;" class="mycode_b">Warning:</span> Software for the Quartz64 is still early in development, and therefore currently lacks features such as the ability to produce video output. You are strongly encouraged to procure a 3.3V UART serial adapter capable of running at <span style="font-weight: bold;" class="mycode_b">1.5 mbaud</span>[], such as <a href="https://pine64.com/product/serial-console-woodpecker-edition/" target="_blank" rel="noopener" class="mycode_url">the woodpecker</a> if you want to use a Quartz64 at this stage.</blockquote>
<br />
Make sure your adapter chipset supports 1.5 mbaud or higher. I happened to have (counterfeit?) CP2102 USB to TTL UART adapters which only go up to 1 mbaud. <span style="font-weight: bold;" class="mycode_b">If your adapter does not support the higher baud rate, `screen` does <span style="font-style: italic;" class="mycode_i">not</span> show an error</span>, it just uses the highest supported baud rate of the chip.<br />
<br />
Burn the <a href="https://github.com/manjaro-arm/quartz64-bsp-images/releases" target="_blank" rel="noopener" class="mycode_url">Manjaro builds</a> to a 2GB or larger microSD card (or eMMC if you purchased). As root run with the path of the SD card:<br />
<br />
`xz -d &lt; Manjaro-ARM-minimal-quartz64-bsp-20211025.img.xz - | dd of=/dev/sdX`<br />
<br />
The serial port to use is described as UART2_RX_M0_DEBUG and UART2_TX_M0_DEBUG in the <a href="https://wiki.pine64.org/wiki/Quartz64#GPIO_Pins_.28Quartz64_Model_A.29" target="_blank" rel="noopener" class="mycode_url">pinout</a>.<br />
<br />
<img src="https://ipfs.io/ipfs/QmVHARmKUtS6JMwX6ej8mYY24kCLRHXtAHdk3RCv7GjSKz" loading="lazy"  width="400" height="300" alt="[Image: QmVHARmKUtS6JMwX6ej8mYY24kCLRHXtAHdk3RCv7GjSKz]" class="mycode_img" /><br />
<br />
Assuming you know your TTL adapter tty path, you have permissions to it and you have `screen` installed:<br />
<br />
`screen /dev/ttyUSB0 1500000`<br />
<br />
When booting, you should see activity from two LEDs next to the power button. If you only see It will start with a solid white and switch to a blinking red. <a href="https://ipfs.io/ipfs/QmNVshth7q1rov82sFNfvEtkSS78YYZgpvUtMnwr1jPCiL" target="_blank" rel="noopener" class="mycode_url">Here is a video.</a><br />
<br />
Boot and you should be presented with a setup menu.<br />
<br />
Ethernet is set to use DHCP by default.<br />
<br />
I switch to using SSH at this point.<br />
<br />
Other info:<br />
<br />
If you are using microSD and eMMC, <a href="http://forum.pine64.org/showthread.php?tid=14973&amp;pid=101031#pid101031" target="_blank" rel="noopener" class="mycode_url">there is a report it will attempt to boot from microSD first</a>.<br />
<br />
There is <a href="http://forum.pine64.org/showthread.php?tid=14973&amp;pid=100849#pid100849" target="_blank" rel="noopener" class="mycode_url">mention of a Debian build</a>, but it may not be as convenient as the Manjaro setup]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Installing Manjaro on EMMC]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=15013</link>
			<pubDate>Sat, 02 Oct 2021 09:24:04 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=22234">homerunisgood</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=15013</guid>
			<description><![CDATA[Hi,<br />
<br />
I've been trying unsuccessfully to flash to eMMC the images from <a href="https://github.com/manjaro-arm/quartz64-bsp-images/releases" target="_blank" rel="noopener" class="mycode_url">https://github.com/manjaro-arm/quartz64-...s/releases</a><br />
<br />
In absence of any instruction, I thought that a simple dd would have been enough, but it does not look so.<br />
<br />
Flashing the image the the SD card works well though! Is there something different to flash the image, or something more to do afterward?<br />
<br />
The symptoms are that during the boot sequence, it just stops always at the same place, just after kernel start:<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Starting kernel ... <br />
 <br />
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] <br />
[    0.000000] Linux verGCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Fri Sep 17 12:52:46 UTC 2021 <br />
[    0.000ne64 RK3566 Quartz64-A Board <br />
[    0.000000] earlycon: uart8250 000] printk: bootconsole [uart8250] enabled <br />
[    3.048209] rockchip-usb2phy fe8a0000.usb2-phy: failed to cre[    3.067859] arm-scmi firmware:scmi: Failed. SCMI protocol 2e <br />
[    3.496594] arm-scmi firmware:scmi: Failed. SCMI protocol 19 not active. <br />
[    3.499908] arm-scmi firmware:scmi: Failed. SCMI protocol 17 [    3.561017] rockchip-dw-pcie 3c0000000.pcie: invalid resour) <br />
Starting version 249.4-1-arch</code></div></div><br />
and then never goes farther...]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I've been trying unsuccessfully to flash to eMMC the images from <a href="https://github.com/manjaro-arm/quartz64-bsp-images/releases" target="_blank" rel="noopener" class="mycode_url">https://github.com/manjaro-arm/quartz64-...s/releases</a><br />
<br />
In absence of any instruction, I thought that a simple dd would have been enough, but it does not look so.<br />
<br />
Flashing the image the the SD card works well though! Is there something different to flash the image, or something more to do afterward?<br />
<br />
The symptoms are that during the boot sequence, it just stops always at the same place, just after kernel start:<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Starting kernel ... <br />
 <br />
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] <br />
[    0.000000] Linux verGCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Fri Sep 17 12:52:46 UTC 2021 <br />
[    0.000ne64 RK3566 Quartz64-A Board <br />
[    0.000000] earlycon: uart8250 000] printk: bootconsole [uart8250] enabled <br />
[    3.048209] rockchip-usb2phy fe8a0000.usb2-phy: failed to cre[    3.067859] arm-scmi firmware:scmi: Failed. SCMI protocol 2e <br />
[    3.496594] arm-scmi firmware:scmi: Failed. SCMI protocol 19 not active. <br />
[    3.499908] arm-scmi firmware:scmi: Failed. SCMI protocol 17 [    3.561017] rockchip-dw-pcie 3c0000000.pcie: invalid resour) <br />
Starting version 249.4-1-arch</code></div></div><br />
and then never goes farther...]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[u-boot rk356х (rockchip repository)]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=14507</link>
			<pubDate>Sat, 24 Jul 2021 22:24:36 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=8391">mara</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=14507</guid>
			<description><![CDATA[small instruction for building u-boot surrounded by aarch64:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>git clone --depth=1 -b next-dev https://github.com/rockchip-linux/u-boot.git u-boot<br />
git clone --depth=1 https://github.com/rockchip-linux/rkbin.git rkbin<br />
cd u-boot<br />
wget https://gitlab.com/sndwvs/images_build_kit/-/raw/arm/patch/u-boot/rk3568/01-add-u-boot-quartz64.patch<br />
patch -p1 &lt; 01-add-u-boot-quartz64.patch<br />
ln -sf ../rkbin/bin/rk35/rk3568_bl31_v1.24.elf bl31.elf<br />
ln -sf ../rkbin/bin/rk35/rk3568_bl32_v1.05.bin tee.bin<br />
make rk3566-quartz64_defconfig<br />
make -j4 &amp;&amp; make -j4 u-boot.itb<br />
tools/mkimage -n rk356x -T rksd -d ../rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.08.bin:spl/u-boot-spl.bin idblock.bin<br />
<br />
# write sdcard<br />
dd if=idblock.bin of=/dev/mmcblk0 seek=64<br />
dd if=u-boot.itb of=/dev/mmcblk0p1</code></div></div><br />
when building on <span style="font-weight: bold;" class="mycode_b">x86_64</span> system use <a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads/9-2-2019-12" target="_blank" rel="noopener" class="mycode_url">cross compiler</a> <a href="https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz?revision=61c3be5d-5175-4db6-9030-b565aae9f766&amp;hash=CB9A16FCC54DC7D64F8BBE8D740E38A8BF2C8665" target="_blank" rel="noopener" class="mycode_url">gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz</a> and:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>make CROSS_COMPILE=&lt; PATH CROSS COMPILER/aarch64-none-linux-gnu- &gt; -j4 &amp;&amp; make CROSS_COMPILE=&lt; PATH CROSS COMPILER/aarch64-none-linux-gnu- &gt; -j4 u-boot.itb</code></div></div><br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>U-Boot SPL board init<br />
U-Boot SPL 2017.09-rk3566 (Jul 25 2021 - 00:51:44)<br />
unknown raw ID phN<br />
unrecognized JEDEC id bytes: 00, 00, 00<br />
Trying to boot from MMC2<br />
No misc partition<br />
## Verified-boot: 0<br />
## Checking atf-1 0x00040000 ... sha256+ OK<br />
## Checking uboot 0x00a00000 ... sha256+ OK<br />
## Checking fdt 0x00b23d18 ... sha256+ OK<br />
## Checking atf-2 0xfdcc9000 ... sha256+ OK<br />
## Checking atf-3 0xfdcd0000 ... sha256+ OK<br />
## Checking optee 0x08400000 ... sha256+ OK<br />
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)<br />
Total: 257.451 ms<br />
<br />
INFO:    Preloader serial: 2<br />
NOTICE:  BL31: v2.3():v2.3-135-gcda1658bc-dirty:xsf<br />
NOTICE:  BL31: Built : 14:19:26, Jun  1 2021<br />
INFO:    GICv3 without legacy support detected.<br />
INFO:    ARM GICv3 driver initialized in EL3<br />
INFO:    pmu v1 is valid<br />
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz<br />
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz<br />
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz<br />
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz<br />
INFO:    Using opteed sec cpu_context!<br />
INFO:    boot cpu mask: 0<br />
INFO:    BL31: Initializing runtime services<br />
INFO:    BL31: Initializing BL32<br />
I/TC: <br />
I/TC: Start rockchip platform init<br />
I/TC: Rockchip release version: 1.0<br />
I/TC: OP-TEE version: 3.6.0-307-g0b06ae94 #1 Fri May  7 01:52:27 UTC 2021 aarch64<br />
I/TC: Initialized<br />
INFO:    BL31: Preparing for EL3 exit to normal world<br />
INFO:    Entry point address = 0xa00000<br />
INFO:    SPSR = 0x3c9<br />
<br />
<br />
U-Boot 2017.09-rk3566 (Jul 25 2021 - 00:57:20 +0300)<br />
<br />
Model: Pine64 RK3566 Quartz64 Board<br />
PreSerial: 2, raw, 0xfe660000<br />
DRAM:  7.7 GiB<br />
Sysmem: init<br />
Relocation Offset: ed354000, fdt: eb9f99f8 <br />
no mmc device at slot 1<br />
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0<br />
Bootdev(atags): mmc 1<br />
MMC1: Legacy, 50Mhz<br />
PartType: EFI<br />
No misc partition<br />
boot mode: None<br />
FIT: No boot partition<br />
No resource partition<br />
Failed to load DTB<br />
Failed to get kernel dtb, ret=-19<br />
io-domain: OK<br />
<br />
** Unable to use mmc 1:3 for loading the env **<br />
Using default environment<br />
<br />
Model: Pine64 RK3566 Quartz64 Board<br />
rockchip_set_serialno: could not find efuse/otp device<br />
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)<br />
  apll 816000 KHz<br />
  dpll 528000 KHz<br />
  gpll 1188000 KHz<br />
  cpll 1000000 KHz<br />
  npll 24000 KHz<br />
  vpll 24000 KHz<br />
  hpll 24000 KHz<br />
  ppll 100000 KHz<br />
  armclk 816000 KHz<br />
  aclk_bus 150000 KHz<br />
  pclk_bus 50000 KHz<br />
  aclk_top_high 300000 KHz<br />
  aclk_top_low 200000 KHz<br />
  hclk_top 150000 KHz<br />
  pclk_top 50000 KHz<br />
  aclk_perimid 300000 KHz<br />
  hclk_perimid 150000 KHz<br />
  pclk_pmu 50000 KHz<br />
Net:  clk_get_by_name(master_bus) failed: -22eqos_probe_resources() failed: -22No ethernet found.<br />
Hit key to stop autoboot('CTRL+C'):  0 <br />
## Booting FIT Image FIT: No boot partition<br />
FIT: No FIT image<br />
Could not find misc partition<br />
ANDROID: reboot reason: "(none)"<br />
optee api revision: 2.0<br />
TEEC: Waring: Could not find security partition<br />
Not AVB images, AVB skip<br />
android_image_load_by_partname: Can't find part: boot<br />
Android image load failed<br />
Android boot failed, error -1.<br />
switch to partitions #0, OK<br />
mmc1 is current device<br />
Scanning mmc 1:2...<br />
Found /extlinux/extlinux.conf<br />
Retrieving file: /extlinux/extlinux.conf<br />
212 bytes read in 17 ms (11.7 KiB/s)<br />
1:      slarm64<br />
Retrieving file: /Image<br />
29239808 bytes read in 2476 ms (11.3 MiB/s)<br />
append: root=/dev/mmcblk0p3 ro rootwait rootfstype=ext4 init=/sbin/init loglevel=4 earlycon=uart8250,mmio32,0xfe660000 console=tty1 console=ttyS2,1500000n8<br />
Retrieving file: /dtb/rk3566-quartz64a.dtb<br />
75961 bytes read in 85 ms (872.1 KiB/s)<br />
Fdt Ramdisk skip relocation<br />
## Flattened Device Tree blob at 0x0a100000<br />
  Booting using the fdt blob at 0x0a100000<br />
  'reserved-memory' ramoops@110000: addr=110000 size=f0000<br />
  Using Device Tree in place at 000000000a100000, end 000000000a1158b8<br />
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)<br />
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)<br />
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)<br />
Total: 2980.864 ms<br />
<br />
Starting kernel ...</blockquote>
]]></description>
			<content:encoded><![CDATA[small instruction for building u-boot surrounded by aarch64:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>git clone --depth=1 -b next-dev https://github.com/rockchip-linux/u-boot.git u-boot<br />
git clone --depth=1 https://github.com/rockchip-linux/rkbin.git rkbin<br />
cd u-boot<br />
wget https://gitlab.com/sndwvs/images_build_kit/-/raw/arm/patch/u-boot/rk3568/01-add-u-boot-quartz64.patch<br />
patch -p1 &lt; 01-add-u-boot-quartz64.patch<br />
ln -sf ../rkbin/bin/rk35/rk3568_bl31_v1.24.elf bl31.elf<br />
ln -sf ../rkbin/bin/rk35/rk3568_bl32_v1.05.bin tee.bin<br />
make rk3566-quartz64_defconfig<br />
make -j4 &amp;&amp; make -j4 u-boot.itb<br />
tools/mkimage -n rk356x -T rksd -d ../rkbin/bin/rk35/rk3566_ddr_1056MHz_v1.08.bin:spl/u-boot-spl.bin idblock.bin<br />
<br />
# write sdcard<br />
dd if=idblock.bin of=/dev/mmcblk0 seek=64<br />
dd if=u-boot.itb of=/dev/mmcblk0p1</code></div></div><br />
when building on <span style="font-weight: bold;" class="mycode_b">x86_64</span> system use <a href="https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads/9-2-2019-12" target="_blank" rel="noopener" class="mycode_url">cross compiler</a> <a href="https://developer.arm.com/-/media/Files/downloads/gnu-a/9.2-2019.12/binrel/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz?revision=61c3be5d-5175-4db6-9030-b565aae9f766&amp;hash=CB9A16FCC54DC7D64F8BBE8D740E38A8BF2C8665" target="_blank" rel="noopener" class="mycode_url">gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu.tar.xz</a> and:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>make CROSS_COMPILE=&lt; PATH CROSS COMPILER/aarch64-none-linux-gnu- &gt; -j4 &amp;&amp; make CROSS_COMPILE=&lt; PATH CROSS COMPILER/aarch64-none-linux-gnu- &gt; -j4 u-boot.itb</code></div></div><br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>U-Boot SPL board init<br />
U-Boot SPL 2017.09-rk3566 (Jul 25 2021 - 00:51:44)<br />
unknown raw ID phN<br />
unrecognized JEDEC id bytes: 00, 00, 00<br />
Trying to boot from MMC2<br />
No misc partition<br />
## Verified-boot: 0<br />
## Checking atf-1 0x00040000 ... sha256+ OK<br />
## Checking uboot 0x00a00000 ... sha256+ OK<br />
## Checking fdt 0x00b23d18 ... sha256+ OK<br />
## Checking atf-2 0xfdcc9000 ... sha256+ OK<br />
## Checking atf-3 0xfdcd0000 ... sha256+ OK<br />
## Checking optee 0x08400000 ... sha256+ OK<br />
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)<br />
Total: 257.451 ms<br />
<br />
INFO:    Preloader serial: 2<br />
NOTICE:  BL31: v2.3():v2.3-135-gcda1658bc-dirty:xsf<br />
NOTICE:  BL31: Built : 14:19:26, Jun  1 2021<br />
INFO:    GICv3 without legacy support detected.<br />
INFO:    ARM GICv3 driver initialized in EL3<br />
INFO:    pmu v1 is valid<br />
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz<br />
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz<br />
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz<br />
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz<br />
INFO:    Using opteed sec cpu_context!<br />
INFO:    boot cpu mask: 0<br />
INFO:    BL31: Initializing runtime services<br />
INFO:    BL31: Initializing BL32<br />
I/TC: <br />
I/TC: Start rockchip platform init<br />
I/TC: Rockchip release version: 1.0<br />
I/TC: OP-TEE version: 3.6.0-307-g0b06ae94 #1 Fri May  7 01:52:27 UTC 2021 aarch64<br />
I/TC: Initialized<br />
INFO:    BL31: Preparing for EL3 exit to normal world<br />
INFO:    Entry point address = 0xa00000<br />
INFO:    SPSR = 0x3c9<br />
<br />
<br />
U-Boot 2017.09-rk3566 (Jul 25 2021 - 00:57:20 +0300)<br />
<br />
Model: Pine64 RK3566 Quartz64 Board<br />
PreSerial: 2, raw, 0xfe660000<br />
DRAM:  7.7 GiB<br />
Sysmem: init<br />
Relocation Offset: ed354000, fdt: eb9f99f8 <br />
no mmc device at slot 1<br />
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0<br />
Bootdev(atags): mmc 1<br />
MMC1: Legacy, 50Mhz<br />
PartType: EFI<br />
No misc partition<br />
boot mode: None<br />
FIT: No boot partition<br />
No resource partition<br />
Failed to load DTB<br />
Failed to get kernel dtb, ret=-19<br />
io-domain: OK<br />
<br />
** Unable to use mmc 1:3 for loading the env **<br />
Using default environment<br />
<br />
Model: Pine64 RK3566 Quartz64 Board<br />
rockchip_set_serialno: could not find efuse/otp device<br />
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)<br />
  apll 816000 KHz<br />
  dpll 528000 KHz<br />
  gpll 1188000 KHz<br />
  cpll 1000000 KHz<br />
  npll 24000 KHz<br />
  vpll 24000 KHz<br />
  hpll 24000 KHz<br />
  ppll 100000 KHz<br />
  armclk 816000 KHz<br />
  aclk_bus 150000 KHz<br />
  pclk_bus 50000 KHz<br />
  aclk_top_high 300000 KHz<br />
  aclk_top_low 200000 KHz<br />
  hclk_top 150000 KHz<br />
  pclk_top 50000 KHz<br />
  aclk_perimid 300000 KHz<br />
  hclk_perimid 150000 KHz<br />
  pclk_pmu 50000 KHz<br />
Net:  clk_get_by_name(master_bus) failed: -22eqos_probe_resources() failed: -22No ethernet found.<br />
Hit key to stop autoboot('CTRL+C'):  0 <br />
## Booting FIT Image FIT: No boot partition<br />
FIT: No FIT image<br />
Could not find misc partition<br />
ANDROID: reboot reason: "(none)"<br />
optee api revision: 2.0<br />
TEEC: Waring: Could not find security partition<br />
Not AVB images, AVB skip<br />
android_image_load_by_partname: Can't find part: boot<br />
Android image load failed<br />
Android boot failed, error -1.<br />
switch to partitions #0, OK<br />
mmc1 is current device<br />
Scanning mmc 1:2...<br />
Found /extlinux/extlinux.conf<br />
Retrieving file: /extlinux/extlinux.conf<br />
212 bytes read in 17 ms (11.7 KiB/s)<br />
1:      slarm64<br />
Retrieving file: /Image<br />
29239808 bytes read in 2476 ms (11.3 MiB/s)<br />
append: root=/dev/mmcblk0p3 ro rootwait rootfstype=ext4 init=/sbin/init loglevel=4 earlycon=uart8250,mmio32,0xfe660000 console=tty1 console=ttyS2,1500000n8<br />
Retrieving file: /dtb/rk3566-quartz64a.dtb<br />
75961 bytes read in 85 ms (872.1 KiB/s)<br />
Fdt Ramdisk skip relocation<br />
## Flattened Device Tree blob at 0x0a100000<br />
  Booting using the fdt blob at 0x0a100000<br />
  'reserved-memory' ramoops@110000: addr=110000 size=f0000<br />
  Using Device Tree in place at 000000000a100000, end 000000000a1158b8<br />
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)<br />
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)<br />
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)<br />
Total: 2980.864 ms<br />
<br />
Starting kernel ...</blockquote>
]]></content:encoded>
		</item>
	</channel>
</rss>