0094.html 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Armbian on Amlogic S912 Android TV Box (Tanix TX9s)</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  7. <script type="text/javascript">
  8. $(function(){
  9. $('textarea').each(function(i,e){
  10. theTextarea = $(this);
  11. theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
  12. });
  13. $('li').each(function(i,e){
  14. if(!$(this).hasClass('noCheckbox')){
  15. var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
  16. $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
  17. $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
  18. }
  19. });
  20. $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
  21. theElement = $(this);
  22. var lines = theElement.html().split("\n");
  23. theElement.empty();
  24. for(l=0;l<lines.length;l++){
  25. if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
  26. theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ $.trim(lines[l].replace(/"/g, '&quot;')) +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
  27. } else {
  28. theElement.append(lines[l]);
  29. }
  30. }
  31. });
  32. $(document).on('click','input.copy-text',function(){
  33. theButton = $(this);
  34. $('input.copy-text').attr('src','images/clipboard.png');
  35. $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
  36. try {
  37. if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
  38. $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
  39. } else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
  40. $('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
  41. } else {
  42. $('#'+ theButton.attr('rel')).addClass('copy-animation');
  43. }
  44. navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
  45. theButton.attr('src','images/clipboard_active.png');
  46. } catch(err) {
  47. }
  48. return false;
  49. });
  50. $(document).on('click','input.completeBox',function(){
  51. theBox = $(this);
  52. $('#'+ theBox.attr('rel')).addClass('strikethrough');
  53. theBox.prop('disabled',true);
  54. theBox.parent('li').prevAll().each(function(i,e){
  55. theLI = $(this);
  56. if(theLI.find('input[type=checkbox]').not(':checked')){
  57. $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
  58. theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
  59. }
  60. });
  61. });
  62. if(window.self !== window.top){
  63. window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
  64. }
  65. });
  66. </script>
  67. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  68. </head>
  69. <body>
  70. <div id="gridContainer">
  71. <div class="topMargin"></div>
  72. <div id="listName" class="topMargin">
  73. <h1>Installing Armbian on Amlogic S912 Android TV Box (Tanix TX9s)</h1>
  74. </div>
  75. <div></div>
  76. <div id="content">
  77. <p>I love the idea of the Raspberry Pi, but there are some cheaper alternative single board computers that offer a similar experience for a fraction of the cost. While the community support isn&#39;t quite what it is for the Pi, there are a ton of projects you can accomplish on the cheap with these little hidden gems. Keep an eye on AliExpress and Amazon and you can find SBC&#39;s sporting quad core ARM process with 2-4 GB of RAM for under $30, including a power supply and IR remote control.</p>
  78. <p>The box used in this video is a Tanix TX9s I picked up on GearBest for $24.99 shipped. It sports an Octa Core Amlogic S912 @ 2GHz and 2 GB of DDR3 RAM.<br />
  79. https://www.gearbest.com/goods/pp_009744724529.html?lang=en&amp;wid=1433363</p>
  80. <h2>Things You Will Need</h2>
  81. <ul>
  82. <li>microSD card at least 8 GB</li>
  83. </ul>
  84. <h2>Downloads and Flashing to MicroSD</h2>
  85. <ol>
  86. <li>Download Armbian <a href="https://yadi.sk/d/_rQgn_FosYuW0g" target="_blank">Download</a></li>
  87. <li>Download Balena Etcher <a href="https://www.balena.io/etcher/" target="_blank">Download</a></li>
  88. <li>Run Balena Etcher</li>
  89. <li>Burn Armbian image to microSD card</li>
  90. <li>Safely remove microSD and re-insert</li>
  91. <li>Ignore/close the Windows dialogs to format the inserted microSD card</li>
  92. </ol>
  93. <h2>Configure MicroSD Card for Armbian</h2>
  94. <ol>
  95. <li>Open the readable partition of the microSD card in Explorer</li>
  96. <li>Edit uEnv.txt in a text editor
  97. <ol start="1" style="list-style-type: lower-alpha;">
  98. <li>Comment out rk-3399 lines by adding #</li>
  99. <li>Uncomment aml s9xx FDT and APPEND lines by removing #</li>
  100. <li>Update the FDT line to point to a working .dtb file for your device
  101. <div class="codeBlock"># aml s9xxx<br />
  102. #FDT=/dtb/amlogic/meson-g12a-x96-max-no-cvbs.dtb<br />
  103. #FDT=/dtb/amlogic/meson-g12b-ugoos-am6-no-cvbs.dtb<br />
  104. #FDT=/dtb/amlogic/meson-g12b-odroid-n2.dtb<br />
  105. FDT=/dtb/amlogic/meson-gxm-s912-libretech-pc.dtb<br />
  106. APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0</div>
  107. </li>
  108. <li>Save</li>
  109. <li>Close</li>
  110. </ol>
  111. </li>
  112. <li>Safely remove microSD</li>
  113. <li>Insert microSD card to Android TV box</li>
  114. </ol>
  115. <h2>Booting to Armbian for the First Time</h2>
  116. <ol>
  117. <li>Plug the power adapter into the Android TV box</li>
  118. <li>If the device has never booted from external storage before the stock Android OS will load</li>
  119. <li>In Android, navigate to the application drawer &gt; Run Update &amp; Backup</li>
  120. <li>Select Local &gt; Navigate to the microSD card &gt; aml_autoscript.zip</li>
  121. <li>Select Update</li>
  122. <li>The system will reboot twice and should then begin booting Armbian from the microSD card</li>
  123. <li>You should see the Armbian terminal running startup scripts</li>
  124. <li>When prompted, login with username: root password: 1234</li>
  125. <li>Input a new root password</li>
  126. <li>Confirm the new root password</li>
  127. <li>When prompted, input a username</li>
  128. <li>Input a password for the new user</li>
  129. <li>Confirm the password for the new user</li>
  130. <li>Follow any additional the prompts</li>
  131. <li>Armbian will boot into the desktop environment</li>
  132. </ol>
  133. <p>Special thanks to the developers and forum members over at <a href="https://armbian.com" target="_blank">Armbian.com</a> for making this possible</p>
  134. </div>
  135. </div>
  136. </body>
  137. </html>