{"id":1662,"date":"2016-02-24T08:24:22","date_gmt":"2016-02-24T08:24:22","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1662"},"modified":"2016-02-24T08:24:22","modified_gmt":"2016-02-24T08:24:22","slug":"arm-radxa-rock2-powerful-but-confused","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1662","title":{"rendered":"ARM &#8211; Radxa Rock2 &#8211; Powerful, but Confused.."},"content":{"rendered":"<p>Recently took delivery of a Radxa <strong>Rock2<\/strong> ARMv7 system, based on the RX3288 Cortex A17 chipset..<\/p>\n<p><a href=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/02\/rock2.jpg\" rel=\"attachment wp-att-1663\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1663\" src=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/02\/rock2.jpg\" alt=\"Radxa Rock2\" width=\"651\" height=\"517\" srcset=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/02\/rock2.jpg 651w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/02\/rock2-300x238.jpg 300w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2016\/02\/rock2-378x300.jpg 378w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/a><\/p>\n<p>The system comes with a version of Android installed on the onboard eMMC, but I managed &#8211; after a bit of work &#8211; to install Fedora 23 on an SDcard and get it to boot onto that..\u00a0\u00a0\u00a0\u00a0\u00a0 At this point, I should mention that the online documentation could best be described as both confusing, and lacking in details..<\/p>\n<p>So far, I have managed to get the pre-installed kernel &#8211; an antique patched version of 3.10! &#8211; to boot into the Fedora rootfs on the SDcard:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">Fedora 23 (Twenty Three)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">Kernel 3.10.0 on an armv7l (ttyFIQ0)<\/span><\/strong>\r\n\r\n<strong><span style=\"font-family: courier new,courier;\">rgrock2 login:<\/span><\/strong><\/pre>\n<p>The system still boots from the eMMC, though, and the partitions on this are effectively inaccessible from Linux, as they appear to be (re) created by scripts during the boot process, which seems to be based on something similar to fastboot (but not actually fastboot) plus a heavily cut-down (and apparently uncontrollable) version of an old release of U-Boot..\u00a0\u00a0 The layout of the SDcard is odd too, and needs the Linux rootfs partition to start after the first 72MB, otherwise it is not found at boot time..<\/p>\n<pre><span style=\"font-family: courier new,courier;\">Gparted:<\/span>\r\n<strong><span style=\"font-family: courier new,courier;\">Partition   File System    Label          Size    Used      Unused<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">unallocated unallocated                 72.00MiB  ---        ---<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/dev\/sdf1   ext4           rock2-root   7.33GiB   4.26GiB   3.07GiB<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">unallocated unallocated                 1.00MiB   ---        ---<\/span><\/strong><\/pre>\n<p>I had tried following the (confusing) instructions to build and flash a newer version of U-Boot, and to flash this to actually boot <span style=\"text-decoration: underline;\">from<\/span> the SDcard (rather than just <span style=\"text-decoration: underline;\">to<\/span> it) but &#8211; so far &#8211; without success..\u00a0\u00a0\u00a0\u00a0 At this stage of the game I am reluctant (although tempted&#8230;) to just &#8216;erase&#8217; the eMMC (<strong><span style=\"font-family: courier new,courier;\">dd if=\/dev\/zero.<\/span><\/strong>&#8230;etc&#8230;)<\/p>\n<p>The other frustration is that the &#8216;inaccessible&#8217; kernel image <em>forces<\/em> the use of selinux&#8230;\u00a0\u00a0\u00a0 I had (as usual) set selinux to &#8216;disabled&#8217; in the config, but this resulted in the boot process hanging consistently..\u00a0\u00a0 So, for the time being, I have had to set it to &#8216;permissive&#8217;&#8230;<\/p>\n<p>The good news is that this system is fast, compared to the other armv7 and aarch64 systems I have..<\/p>\n<p>That is as far as I have got, but there is (obviously!) much still to do, and I am afraid that much of it will be (un)educated guesswork on my part..<\/p>\n<p>More news, when I have it..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0\u00a0 February 23, 2016.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently took delivery of a Radxa Rock2 ARMv7 system, based on the RX3288 Cortex A17 chipset.. The system comes with a version of Android installed on the onboard eMMC, but I managed &#8211; after a bit of work &#8211; to install Fedora 23 on an SDcard and get it to boot onto that..\u00a0\u00a0\u00a0\u00a0\u00a0 At this point, I <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1662\"><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":[91,10,1238,11,16,19,20,1274],"tags":[576,101,1284,1216,242,1281,1282,1283],"class_list":["post-1662","post","type-post","status-publish","format-standard","hentry","category-arm","category-fedora","category-fix","category-hacks","category-linux-arm","category-opinion","category-performance-2","category-rock2","tag-armv7","tag-boot","tag-cortex-a17","tag-fedora-23","tag-linux","tag-radxa","tag-rock2","tag-rx3288"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1662","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=1662"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1662\/revisions"}],"predecessor-version":[{"id":1664,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1662\/revisions\/1664"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}