{"id":1604,"date":"2018-10-23T15:16:37","date_gmt":"2018-10-23T06:16:37","guid":{"rendered":"http:\/\/rageworx.info\/?p=1604"},"modified":"2021-05-17T01:43:07","modified_gmt":"2021-05-16T16:43:07","slug":"rock960-debian-stretch-prebuild-system-image-for-aarch64","status":"publish","type":"post","link":"https:\/\/rageworx.info\/?p=1604","title":{"rendered":"Rock960b\/c debian stretch prebuild system image for AARCH64"},"content":{"rendered":"<p><a href=\"http:\/\/rageworx.info\/wp-content\/uploads\/2018\/10\/rock960evb.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1605\" src=\"http:\/\/rageworx.info\/wp-content\/uploads\/2018\/10\/rock960evb-500x281.png\" alt=\"\" width=\"500\" height=\"281\" srcset=\"https:\/\/rageworx.info\/wp-content\/uploads\/2018\/10\/rock960evb-500x281.png 500w, https:\/\/rageworx.info\/wp-content\/uploads\/2018\/10\/rock960evb-768x432.png 768w, https:\/\/rageworx.info\/wp-content\/uploads\/2018\/10\/rock960evb.png 800w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Currently 96rock&#8217;s (VAMRS) Rock960 board officially published for debian stretch image for 32bit ( they aren&#8217;t published for AARCH64 ), so I rebuilt their open source for supporting nvative AARCH64 at all with bundled LXDE.<\/p>\n<h3>Download link:<\/h3>\n<h4>Rock960B ( RK3399 + 4GB lpDDR3 + 32GB eMMC )<\/h4>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/mega.nz\/#!cp1wRSZS!Lg35IENdY7eyzCLT5PpYZc81b3XCZexUYq9n46YP_ig\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/mega.nz\/#!cp1wRSZS!Lg35IENdY7eyzCLT5PpYZc81b3XCZexUYq9n46YP_ig<\/a><\/p>\n<h4>Rock960C ( RK3399 + 4GB lpDDR3 + your SDcard )<\/h4>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/mega.nz\/#!tltgXaAB!2LSn67qzKU_93qJEw0AKv1k-4KgQP3TsQjR4MEkn6kQ\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/mega.nz\/#!tltgXaAB!2LSn67qzKU_93qJEw0AKv1k-4KgQP3TsQjR4MEkn6kQ<\/a><\/p>\n<p>This compressed binary contains many things: seperately kernel and u-boot image. But you don&#8217;t have to flash them in each, just use rkdeveloptool in toolbin.<\/p>\n<h3>\u00a0Walkthrough:<\/h3>\n<ul>\n<li>Extract compressed file to somewhere to use them easily.<\/li>\n<li>Move to extracted path.<\/li>\n<li>Give permission &#8220;rkdeveloptool&#8221; binary to executive, use\n<pre class=\"toolbar:2 lang:default highlight:0 decode:true\">$ chmod +x toolbin\/rkdeveloptool<\/pre>\n<\/li>\n<li>Make your Rock960 board connected USB-C to your PC and turn to maskrom mode ( push both of maskrom and reset butttons, then release only reset )<\/li>\n<li>Your host PC ( may Linux ) should detects new USB device, then it may allow to downloading mode with rkdeveloptool.\n<pre class=\"toolbar:2 lang:default highlight:0 decode:true\">$ sudo toolbin\/rkdeveloptool db toolbin\/rk3399_loader_v1.12.112.bin<\/pre>\n<\/li>\n<li>Then just write system.img to your board.<br \/>\n<span style=\"color: #ff0000;\">Warning : all your datas in eMMC may deleted, back up your data before doing this !<\/span><\/p>\n<pre class=\"toolbar:2 lang:default highlight:0 decode:true\">$ toolbin\/rkdeveloptool wl 0 system.img<\/pre>\n<\/li>\n<li>It may takes for minutes, wait for done.<\/li>\n<li>Then reset your board.\n<pre class=\"toolbar:2 lang:default highlight:0 decode:true\">$ toolbin\/rkdeveloptool rd<\/pre>\n<\/li>\n<\/ul>\n<h3>After boot up<\/h3>\n<p>You may see LXDE desktop within a minute, then connect to your WiFi, then make systems up to date with these.<\/p>\n<pre class=\"toolbar:2 lang:default highlight:0 decode:true\">$ sudo apt-get update\r\n$ sudo apt-get upgrade<\/pre>\n<p>&nbsp;<\/p>\n<h3>How to know 64bit ?<\/h3>\n<p>Just make a C++ source and compile it, then run it for a test. ( before you may need get install g++ with this :\u00a0 sudo apt-get install g++ )<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"cpp\" data-enlighter-theme=\"dracula\">\/\/ test.cpp\r\n\/\/ --------\r\n\r\n#include &lt;cstdio&gt;\r\n#include &lt;cstdlib&gt;\r\n#include &lt;cstring&gt;\r\n\r\nusing namespace std;\r\n\r\nint main( int argc, char** argv )\r\n{\r\n    void* pTest = NULL;\r\n    if ( sizeof(pTest) == 8 )\r\n    {\r\n        printf( \"Your system got 64bit pointer size.\\n\" );\r\n    }\r\n    else\r\n    {\r\n        printf( \"Your system got 32bit pointer size.\\n\" );\r\n    }\r\n    return 0;\r\n}<\/pre>\n<p>Then,<\/p>\n<pre class=\"toolbar:2 lang:default highlight:0 decode:true\">$ g++ test.cpp -o test\r\n$ .\/test\r\nYour system got 64bit pointer size.\r\n$ _<\/pre>\n<p>Done.<\/p>\n<h3>Additional build info<\/h3>\n<p>My AARCH64 system image build in these options &#8211;<\/p>\n<ul>\n<li>Default Rockchip configuration<\/li>\n<li>Not supports SOC cameras ( a.k.a MIPI-CSI )<\/li>\n<li>USB-C OTG supports as default option ( removable drive at host PC )<\/li>\n<\/ul>\n<h3>Recommended work to do after flashing image<\/h3>\n<ul>\n<li>Keep update your system via &#8216;apt-get&#8217;<\/li>\n<li>Manage your power configuration &#8211; I don&#8217;t recommend to use power manager ( there&#8217;s many Rockchip DWM driver control errors )<\/li>\n<\/ul>\n<h3>Recommended for developers<\/h3>\n<ul>\n<li>Install &#8216;g++&#8217; first.<\/li>\n<li>LXDE&#8217;s X11 library is not much functional &#8211; need to consider non-acccelerated desktop graphics ( because MALi 8xx not suppors OpenGL ! &#8211; OpenGL|ES and OpenGL is not compatibled )<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Currently 96rock&#8217;s (VAMRS) Rock960 board officially published for debian stretch image for 32bit ( they aren&#8217;t published for AARCH64 ), so I rebuilt their open source for supporting nvative AARCH64 at all with bundled LXDE. Download link: Rock960B ( RK3399 + 4GB lpDDR3 + 32GB eMMC ) https:\/\/mega.nz\/#!cp1wRSZS!Lg35IENdY7eyzCLT5PpYZc81b3XCZexUYq9n46YP_ig Rock960C (&#8230; <a href=\"https:\/\/rageworx.info\/?p=1604\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,573,3],"tags":[575,576,525,578,577,574,579],"class_list":["post-1604","post","type-post","status-publish","format-standard","hentry","category-development","category-embedded","category-raphs","tag-64bit","tag-aarch64","tag-binary","tag-debin","tag-prebuild","tag-rk3399","tag-stretch"],"_links":{"self":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/1604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1604"}],"version-history":[{"count":0,"href":"https:\/\/rageworx.info\/index.php?rest_route=\/wp\/v2\/posts\/1604\/revisions"}],"wp:attachment":[{"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rageworx.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}