{"id":1757,"date":"2016-06-07T21:23:12","date_gmt":"2016-06-07T20:23:12","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1757"},"modified":"2016-06-07T21:23:12","modified_gmt":"2016-06-07T20:23:12","slug":"arm64-pine64-not-exactly-compact","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1757","title":{"rendered":"ARM64 &#8211; Pine64 &#8211; Not Exactly &#8216;Compact&#8217;.."},"content":{"rendered":"<p>I recently obtained one of the newly-released (- to the &#8216;public&#8217;..) <strong>Pine64<\/strong> ARM64 systems&#8230;\u00a0\u00a0\u00a0 My first reaction, was that it is a bit on the large side..\u00a0 The board is over <span style=\"text-decoration: underline;\">twice<\/span> the size of the Odroid C2..<\/p>\n<div id=\"attachment_1758\" style=\"width: 970px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/06\/pine64.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1758\" class=\"size-full wp-image-1758\" src=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/06\/pine64.jpg\" alt=\"Pine64 ARM64.\" width=\"960\" height=\"637\" srcset=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/06\/pine64.jpg 960w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/06\/pine64-300x199.jpg 300w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/06\/pine64-768x510.jpg 768w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/06\/pine64-452x300.jpg 452w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><p id=\"caption-attachment-1758\" class=\"wp-caption-text\"><strong>Pine64 ARM64.<\/strong><\/p><\/div>\n<p>As usual, the &#8216;standard&#8217; U-Boot was a heavily-customised old version, that only mounted Android-format Kernel &#8216;blob&#8217;s, but a hacked version of this &#8211; which loads standard ARM64 &#8216;Image&#8217; kernels, is available, and I used the one from the Debian\/Longsleep image referenced on the Wiki:\u00a0 <a href=\"http:\/\/wiki.pine64.org\/index.php\/Main_Page\" target=\"_blank\">http:\/\/wiki.pine64.org\/index.php\/Main_Page<\/a>.<\/p>\n<p>I substituted a <strong>Fedora 24<\/strong> aarch64 root filesystem, and everything worked OK.<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">Fedora 24 (Twenty Four)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Kernel 3.10.65-7-pine64-longsleep on an aarch64 (ttyS0)<\/span><\/strong><\/pre>\n<p>I then tried the <em>patched<\/em> 4.7-rc1 kernel from here:\u00a0 <a href=\"https:\/\/github.com\/apritzel\/linux\/tree\/a64-v5\" target=\"_blank\">https:\/\/github.com\/apritzel\/linux\/tree\/a64-v5<\/a>.\u00a0\u00a0\u00a0 I found that this did boot, if the Kernel config was left unchanged after &#8216;make defconfig&#8217;..<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">Fedora 24 (Twenty Four)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Kernel 4.7.0-rc1+ on an aarch64 (ttyS0)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">.............................<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"># uname -a<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Linux rgpine 4.7.0-rc1+ #1 SMP PREEMPT Tue Jun 7 05:01:18 EDT 2016 aarch64 aarch64 aarch64 GNU\/Linux<\/span><\/strong><\/pre>\n<p>I found that the networking did not work, and so had to select this (ST Microelectronics \/ STMMAC \/ Allwinner GMAC), and this is still being tested, along with other deselections of &#8216;unwanted&#8217; options..\u00a0\u00a0\u00a0 I had originally just selected &#8216;Allwinner..sunxi..&#8217; under the &#8216;Platform selection&#8217; option, but this did not boot&#8230;\u00a0\u00a0\u00a0\u00a0\u00a0 The <strong><em>aprinzel<\/em><\/strong> kernel is still very much work-in-progress, and there should be later versions soon..<\/p>\n<p>I did try a patched version of the mainline U-Boot, from here:\u00a0 <a href=\"https:\/\/github.com\/apritzel\/u-boot\/tree\/pine64\" target=\"_blank\">https:\/\/github.com\/apritzel\/u-boot\/tree\/pine64<\/a> , and I did get it to load (<em>boot0<\/em> plus <em>u-boot<\/em> image) and run, but the resulting kernel boot (using a known\/good kernel) was unsuccessful&#8230;<\/p>\n<pre><span style=\"font-family: courier new,courier;\">...................<\/span>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.236247] platform reg-81x-cs-rtc: Driver reg-81x-cs-rtc requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.245014] platform reg-81x-cs-aldo1: Driver reg-81x-cs-aldo1 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.254129] platform reg-81x-cs-aldo2: Driver reg-81x-cs-aldo2 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.263626] platform reg-81x-cs-aldo3: Driver reg-81x-cs-aldo3 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.272743] platform reg-81x-cs-dldo1: Driver reg-81x-cs-dldo1 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.281947] platform reg-81x-cs-dldo2: Driver reg-81x-cs-dldo2 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.291064] platform reg-81x-cs-dldo3: Driver reg-81x-cs-dldo3 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.300165] platform reg-81x-cs-dldo4: Driver reg-81x-cs-dldo4 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.309310] platform reg-81x-cs-eldo1: Driver reg-81x-cs-eldo1 requests probe deferral<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">[ 160.318427] platform reg-81x-cs-eldo2: Driver reg-81x-cs-eldo2 requests probe deferral<\/span><\/strong>\r\n<span style=\"font-family: courier new,courier;\">................. etc...........etc................<\/span><\/pre>\n<p>One other thing to watch..\u00a0\u00a0 I did get the wifi\/bluetooth plug-on daughter board, but this became <span style=\"text-decoration: underline;\">extremely<\/span> hot, after a short while, and I removed it..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 January 7, 2016.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently obtained one of the newly-released (- to the &#8216;public&#8217;..) Pine64 ARM64 systems&#8230;\u00a0\u00a0\u00a0 My first reaction, was that it is a bit on the large side..\u00a0 The board is over twice the size of the Odroid C2.. As usual, the &#8216;standard&#8217; U-Boot was a heavily-customised old version, that only mounted Android-format Kernel &#8216;blob&#8217;s, but a hacked <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1757\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1132,1131,1280,5,10,11,1298,14,16,19,20,1381,350,937],"tags":[1133,183,1384,578,1382,1383,372,1385],"class_list":["post-1757","post","type-post","status-publish","format-standard","hentry","category-aarch64","category-arm64","category-boot","category-compilation","category-fedora","category-hacks","category-hardware","category-kernel","category-linux-arm","category-opinion","category-performance-2","category-pine64","category-success","category-u-boot-2","tag-arm64","tag-hacks-2","tag-kernel-4-7-rc1-patched","tag-new","tag-pine64","tag-soc","tag-u-boot","tag-work-in-progress"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1757"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1757\/revisions"}],"predecessor-version":[{"id":1759,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1757\/revisions\/1759"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}