<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3486&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [ ARM64 ] build, for Pine64 RockPro64]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3486</link>
		<description><![CDATA[The most recent posts in [ ARM64 ] build, for Pine64 RockPro64.]]></description>
		<lastBuildDate>Sat, 05 Dec 2020 20:18:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [ ARM64 ] build, for Pine64 RockPro64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26113#p26113</link>
			<description><![CDATA[<p>hello&#160; cafinux,<br />you can grab the image <a href="http://arm-files.devuan.org/devuan_beowulf_3.0.0_arm64_rockpro64_0.2.tar.xz" rel="nofollow">here</a> <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>EDIT: there are several partitions because it is using a shceme of GPT partitions and so to make a small image was impossible, since the backup partition table is mirrored at the end of the sdcard, obligating you to do a large image..</p><p>So we make several images that you can dd to the correct places to form the final image..in that way we make a &quot;small image&quot; <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />The next image for that board, will have a traditional msdos partition scheme ignoring the 3 bootloader partitions and so will be all info in same image <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>If you have any doubts, just ask <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Sat, 05 Dec 2020 20:18:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26113#p26113</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ ARM64 ] build, for Pine64 RockPro64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26110#p26110</link>
			<description><![CDATA[<p>Looks interesting but the link goes to a 404 page. Is there someway of acquiring the image? The pine64 Rockpro is a very versatile board and I have used a few but have wanted a simple cut down img with out all the bloat. BTW I&#039;m lazy I should set to and study the SDK. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (cafinux)]]></author>
			<pubDate>Sat, 05 Dec 2020 13:39:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26110#p26110</guid>
		</item>
		<item>
			<title><![CDATA[Re: [ ARM64 ] build, for Pine64 RockPro64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21680#p21680</link>
			<description><![CDATA[<p>PWM is configurable with values [ 250 - 255 ].<br />250 - Fan Off.<br />255 - Fan at maximum power..</p><p>The Fan behaviour, suggests( after several tests...), that we have 5 levels of power.. 25{1,2,3,4,5}.</p><p>&#039;echo 251 &gt; /sys/class/hwmon/hwmon2/pwm1&#039; - activates Fan in the lower power applied, if you have a not so efficient Cooling system,<br />The value 251, maybe not sufficient, and so maybe you need to try levels above( 252-255 ).</p><p>If you have a emmc flash module in place,<br />And you have flashed this image to a sdcard, then if you want to boot from sdcard, you need to close Switch4( <a href="https://wiki.pine64.org/index.php?title=ROCKPro64#Jumpers" rel="nofollow">SW4 jumper</a> close to emmc module, during at least some ~5 seconds, while applying power to the board ), if not, it will boot from the emmc module..</p><p>Of course you can also flash it to a emmc module, and then boot normally( because emmc has priority over sdcard on this board.. ).</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Tue, 12 May 2020 19:26:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21680#p21680</guid>
		</item>
		<item>
			<title><![CDATA[[ ARM64 ] build, for Pine64 RockPro64]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21453#p21453</link>
			<description><![CDATA[<p>Hello All,<br />This is a preliminary build, for <a href="https://www.pine64.org/rockpro64/" rel="nofollow">RockPro64</a><br />v0.2beta Server build.</p><p>Features &amp; Versions:</p><p>1) - Arm Trusted Firmware&#160; - <strong>v2.3</strong> ( built for arm64 )<br />&#160; &#160; &#160;U-boot boot-loader&#160; &#160; &#160; &#160; &#160;- <strong>v2020.04</strong> ( built for arm64 )<br />2) - Linux Kernel&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; - <strong>Stable 5.6.10</strong> ( built for arm64 )<br />3) - UserSpace&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; - <strong>Devuan Beowulf</strong> ( for arm64 )<br />4) - ChangeLog&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; - update kernel,correct ethernet, hdmi, initial bringup of sound via hdmi<br />5) - Problems &amp; to be done - After coming to Beowulf, its impossible to auto-mount zramfs as swap, automatically, sound via 3.5mm Jack still not possible usig codec HIFI ES8316...</p><p>1) BootLoader( ATF + u-boot )</p><p>Disk Partitioning scheme:</p><div class="codebox"><pre><code># parted /dev/mmcblk1
(...)                                                         
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      64s      8063s     8000s                  idbloader
 2      16384s   24575s    8192s                  uboot
 3      24576s   32767s    8192s                  none
 4      32768s   262143s   229376s   ext2         boot       boot, esp
 5      262144s  3743744s  3481601s  ext4         rootfs</code></pre></div><p>a)&#160; &#160;- Bootloader( Arm Trusted Firmware + U-Boot ), starting at sector 64( 1st partition.. ), and ending at sector 32767( 3rd partition.. )<br />&#160; a1) - The Bootloader will search for a file called &#039;boot.scr&#039;( in 4th partition ), and after initialize the u-boot environment, will execute that script..<br />&#160; a2) - In&#160; &#039;boot.scr&#039;, for this image, it will point to &#039;RockPro64 v2.1&#039; Device Tree Binary File by default( was tested there.. )..<br />&#160; a3) - If you have &quot;RockPro64 v2&quot;, please Read Bellow in the &#039;Notes Section&#039;..&#160; &#160;<br />b)&#160; - 4th Partition( after BootLoader ) is mounted as&#160; &#039;/boot&#039;<br />c)&#160; - 5ft Partition is mounted as rootfs &#039;/&#039;</p><p>NOTA!<br />The Bootloader in a) usually takes ~1MiB..<br />Each time a bootloader is built, all area [ 64s - 32767s ], needs to be clean first( so that you can flash the new bootloader.. because could still be there any bits of the previous one.. which could lead to unpredictable consequences.. ).</p><p>If you have Other Board than &quot;RockPro64 v2.1&#039;&#039;&#039;( RockPro64 v2&#039; ), situation described in a3):<br />The &#039;boot.cmd&#039; script( format, Human Readable ):</p><div class="codebox"><pre><code>setenv macaddr da 19 c8 7a 6d f4

#setenv devtype mmc
#setenv devnum 1

#part uuid ${devtype} ${devnum}:1 idbloaderuuid
#part uuid ${devtype} ${devnum}:2 ubootuuid
#part uuid ${devtype} ${devnum}:3 noneuuid
#part uuid ${devtype} ${devnum}:4 bootuuid
#part uuid ${devtype} ${devnum}:5 rootfsuuid

setenv bootargs &quot;earlyprintk debug=on earlycon=uart8250,mmio32,0xff1a0000  console=tty1 console=ttyS2,1500000n8 root=/dev/mmcblk1p5 rw rootfstype=ext4 fsck.repair=yes net.ifnames=0 video=eDP-1:1680x1050@60 video=HDMI-1:1680x1050@60 bootsplash.bootfile=dev1-arm16.png&quot;
# ubootpart=${bootuuid}
setenv fdtfile rockchip/rk3399-rockpro64.dtb

if load ${devtype} ${devnum}:4 ${kernel_addr_r} vmlinuz; then
  if load ${devtype} ${devnum}:5 ${fdt_addr_r} usr/lib/linux-image-5.6.10/${fdtfile}; then
    fdt addr ${fdt_addr_r}
    fdt resize 65536
    fdt set /ethernet@fe300000 local-mac-address &quot;[${macaddr}]&quot;
    booti ${kernel_addr_r} - ${fdt_addr_r};
  fi;
fi</code></pre></div><p>Write this Image, to a sd-card, then mount it, and change the &#039;boot.cmd&#039; script to point to your board..<br /># You can find a list of supported boards in: &#039;/usr/lib/linux-image-5.6.10/rockchip&#039;<br /># Edit the file &#039;boot.cmd&#039;, with &#039;vi&#039; for example.<br /># change the line:<br />&#039;<span class="bbc">setenv fdtfile rockchip/rk3399-rockpro64.dtb</span>&#039;<br />to<br />&#039;<span class="bbc">setenv fdtfile rockchip/rk3399-rockpro64-v2.dtb</span>&#039;</p><p>Save the file,<br /># Generate the real script file( binary ), &#039;boot.scr&#039;</p><div class="codebox"><pre><code>mkimage -C none -A arm64 -T script -d boot.cmd boot.scr</code></pre></div><p>2) - Linux Kernel</p><p>Packages:</p><p>There are 3 packages installed( in the future will be at least Userspace Panfrost mesa-3d graphics drivers more.. for a desktop version..):</p><div class="codebox"><pre><code>~# dpkg -l |grep -E &quot;(linux-.*(headers|image|libc-dev))&quot;
ii  linux-headers-5.6.10       5.6.10-7                           arm64        Linux kernel headers for 5.6.10 on arm64
ii  linux-image-5.6.10         5.6.10-7                           arm64        Linux kernel, version 5.6.10
ii  linux-libc-dev:arm64       5.6.10-7                           arm64        Linux support headers for userspace development</code></pre></div><p>The target will be to reach, ideally, full usability of all characteristics..</p><p>3) - UserSpace -Users &amp; Passwords:</p><p>1) root&#160; &#160; &#160; - password &#039;toor&#039;<br />2) devuan - password &#039;devuan&#039;</p><p>NOTA!<br />SSH is enabled, so that you can login, but root login, is disabled, you should login as &#039;devuan&#039;, only then switch to &#039;root&#039;, if you want to.. for that,<br />After Login as &#039;devuan&#039;, issue:</p><div class="codebox"><pre><code>sudo su -</code></pre></div><p>And type your &#039;devuan&#039; password, that&#039;s it..</p><p>4) - Changelog</p><p>a) - Kernel update to 5.6.10,<br />b) - Ethernet working ok<br />c) - HDMI is working ok, but still needs to be enabled sooner in the boot process..<br />d) - Panfrost kernel Driver<br />e) - DVFS - Dynamic Voltage Frequency Scalling working ok<br />f) - { IR, RTC, SPDIF } Kernel Driver test Handlers, including decoders for RAW IR( NEC, RC5(x/sz), RC6, JVC, Sony. SANYO, Sharp, MCE Keyboard/mouse, XMP )<br />g) - Its now possible to boot, without assigning &#039;/dev/urandom&#039; to crng( but there are still a warning message in the boot process... ).<br />h) - reboot now works OK.<br />i) - Fan PWM works, but always at 255( max power.. )<br />j) - Sound via HIFI ES8316, to 3.5mm Jack still not possible( Codec added )..<br />k) - Sound via HDMI, works OK!!<br />l) - USB Ports work, but still a warning message about usb-otg..</p><p>5) - Problems and testings to be done..</p><p>a) - After migration to beowulf, its impossible, for now, to automount zramfs as swap, automatically.. you need to issue</p><div class="codebox"><pre><code>swapon -a</code></pre></div><p>it could be related with several packages, including those(&#160; most probably): init init-system-helpers initscripts insserv eudev mawk sed( this problem doesn&#039;t occurr in the RPi1 Image..armel )</p><p>b) - Testing is needed, on camera interfaces<br />c) - testing is needed in LVDS panels<br />d) - Test IR driver shipped, tests needed<br />e) - Compile UserSpace Mesa Panfrost Driver stack( userspace counterpart for kernel space one.. )<br />f) - <del>Try to tune Fan PWM</del>( if possible will be added <a href="https://github.com/tuxd3v/ats" rel="nofollow">ATS</a> to control fan ), Right npw,<br />&#160; &#160; &#160;the most pratical solution would be to add;<br />&#160; &#160; <span class="bbc">echo 251 &gt; /sys/class/hwmon/hwmon2/pwm1</span> to /etc/rc.local<br />g) - solve Sound via HIFI ES8316..<br />h) - <del>improve Sound Quality via HDMI..</del> Solved!!<br />i) - investigate usb-otg warning<br />j) - other minor warnings..</p><p>For this image, to reach more Supported Hardware and Users, your help is also needed <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />Testing <a href="https://cld.pt/dl/download/31311a79-71d8-48a7-b331-acc78efa67c4/devuan-beowulf-rockpro64-arm64-0.2.img.tar.xz?download=true" rel="nofollow">devuan-beowulf-rockpro64-arm64-0.2.img</a>, and posting your feedback.</p><p>SHA256sum:</p><div class="codebox"><pre><code>4$ sha256sum devuan-beowulf-rockpro64-arm64-0.2.img.tar.xz 
ab0f9547de0d92f1516a2bbde944606043ce88a30aa098a72734782b12dbd9a3  devuan-beowulf-rockpro64-arm64-0.2.img.tar.xz</code></pre></div><p>Best Regards,<br />tux</p>]]></description>
			<author><![CDATA[dummy@example.com (tuxd3v)]]></author>
			<pubDate>Tue, 05 May 2020 17:27:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21453#p21453</guid>
		</item>
	</channel>
</rss>
