<?xml version="1.0"?>
<rss version="2.0"><channel><title>FAQ Latest Topics</title><link>https://forum.armbian.com/forum/189-faq/</link><description>FAQ Latest Topics</description><language>en</language><item><title>Installation Instructions for TV Boxes with Amlogic CPUs</title><link>https://forum.armbian.com/topic/33676-installation-instructions-for-tv-boxes-with-amlogic-cpus/</link><description><![CDATA[<p>
	These instructions are for Amlogic CPUs for TV Boxes. 
</p>

<p>
	 
</p>

<p>
	Note: If you have previously run other distributions on the box such as coreelec the below installation will not wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr>.  You will need to restore the original android firmware before attempting the install.  coreelec changes the boot environment in ways that are incompatible with these Armbian builds.
</p>

<p>
	 
</p>

<p>
	Download links:
</p>

<p>
	    Weekly Community Rolling Builds:  <a href="https://www.armbian.com/amlogic-s9xx-tv-box/" rel="external nofollow">https://www.armbian.com/amlogic-s9xx-tv-box/</a>
</p>

<p>
	    or build your own image using the Armbian build framewo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr>
</p>

<p>
	 
</p>

<p>
	Once you download your chosen build, you need to burn the image to an SD card.  Generally balenaEtcher is recommended as it does a verification of the burn.  Also be sure to use high quality SD cards.
</p>

<p>
	 
</p>

<p>
	Once you have the SD card with your chosen build, then you need to edit the boot configuration file on the SD card.  In the BOOT partition of the SD card there will be a file /boot/extlinux/extlinux.conf, that you need to edit.  There will also be a extlinux.conf.template file to use as a reference.  You will need to add a line into the extlinux.conf file for the Device Tree (<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>) file you will be using for your box.  Place this line before the APPEND line as shown in the .template file.
</p>

<p>
	 
</p>

<p>
	Basically you need to have the correct <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> for your box.  You may need to attempt to use different <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> files until you find the one that wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr>s the best for your box's hardware (there are a bunch of <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> files in /boot/<abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>/amlogic/... to try depending on your cpu a<abbr title="Release candidate"><abbr title="Release candidate">rc</abbr></abbr>hitecture and hardware).  It is unlikely that there will be a matching <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> file for your TV box.  The idea is to find the one that wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr>s best for your box.  This may mean that you try booting with different <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> files until you fine one that wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr>s good enough for your needs.  By sea<abbr title="Release candidate"><abbr title="Release candidate">rc</abbr></abbr>hing the forums you will find information about what <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>s other users have found wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr> best for different boxes.  Because you are booting from an SD card, you can easily try different <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> files.  The dtd files are named by cpu family.  So for example <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr> files for the s905x2 cpu are named meson-g12a-*.  Below there is a table that shows the identifiers for each familiy (g12a for s905x2 in this case).
</p>

<p>
	 
</p>

<p>
	Next you need to copy the correct uboot for your box.  This is needed for how these builds boot on amlogic boxes.  There are four different u-boot files located in the /boot directory:  u-boot-s905, u-boot-s905x-s912, u-boot-s905x2-s922, u-boot-s905x3
</p>

<p>
	You need to copy (note copy not move) the u-boot file that matches your cpu to a new file named u-boot.ext in the /boot directory
</p>

<p>
	So for example with a TX3 mini box that has an s905w cpu you would copy u-boot-s905x-s912 to u-boot.ext: cp u-boot-s905x-s912 u-boot.ext
</p>

<p>
	(See table below for more details on which u-boot to use for which cpu)
</p>

<p>
	 
</p>

<p>
	Once you have your SD card prepared you need to enable multiboot on the box.  There are different ways documented to do this, but the most common is the "toothpick" method.  The "toothpick" method means to hold the reset button while applying power to the box.  The reset button is often hidden and located at the back of the audio/video jack connector.  By pressing that button with a toothpick or other such pointed device you can enable multiboot.  What you need to do is have the box unplugged, have your prepared sd card inserted, then press and hold the button while inserting the power connector.  Then after a bit of time you can release the button.  (I don't know exactly how long you need to hold the button after power is applied, but if it doesn't wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr> the first time try again holding for longer or shorter times).
</p>

<p>
	 
</p>

<p>
	You should now be booting into armbian/linux.  Note that the first boot takes longer as it is enlarging the root filesystem to utilize the entire SD card.
</p>

<p>
	 
</p>

<p>
	After you are satisfied that your box is wo<abbr title="Rockchip"><abbr title="Rockchip">rk</abbr></abbr>ing correctly for your needs you can optionally copy the installation from the SD card to internal <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> storage (assuming your box has <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr>). (Note: Installing to <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> has some risks of bricking your box.  Don't do this unless you feel you understand how to reinstall your box's android firmware)  You install armbian to <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> by running the shell script in the /ro<abbr>ot directory</abbr><span>:</span> install-aml.sh. Note: It is not possible to install into <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> on boxes with the s905 cpu (s905x, s905w, s905x2, etc however should all be supported).  It is recommended that you make a backup of <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> first.  Also be prepared if anything goes horribly wrong with your <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> install to reinstall the android firmware using the Amlogic USB Burning Tool to unbrick your device.  If you have or can find an original android firmware on the internet and you can generally (but not always) recover a bricked box using the Amlogic tool and the original firmware file.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Mapping from CPU to uboot and <abbr title="Device tree blob"><abbr title="Device tree blob">dtb</abbr></abbr>:
</p>

<p>
	 
</p>

<p>
	u-boot-s905
</p>

<p>
	s905 - gxbb
</p>

<p>
	 
</p>

<p>
	u-boot-s905x2-s912
</p>

<p>
	S905X - gxl
</p>

<p>
	S905W - gxl
</p>

<p>
	S905D - gxl
</p>

<p>
	S905L - gxl
</p>

<p>
	S805X - gxl
</p>

<p>
	S912 - gxm
</p>

<p>
	A311D - gxm
</p>

<p>
	 
</p>

<p>
	u-boot-s905x2-s922
</p>

<p>
	S905X2 - g12a
</p>

<p>
	S922 - g12b
</p>

<p>
	 
</p>

<p>
	u-boot-s905x3
</p>

<p>
	S905X3 - sm1
</p>

<p>
	 
</p>

<p>
	Not supported or not tested
</p>

<p>
	S805 -
</p>

<p>
	S905W2 -
</p>

<p>
	S905X4 -
</p>

<p>
	S805X2 - s4
</p>

<p>
	A113D - axg
</p>

<p>
	A113X - axg
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	Note: Followup posts in this thread should be limited to comments to improve or better understand these instructions.  Other issues should be posted as new questions in the Amlogic CPU Boxes sub-forum.
</p>
]]></description><guid isPermaLink="false">33676</guid><pubDate>Sat, 25 Feb 2023 22:14:00 +0000</pubDate></item><item><title>Old Installation Instructions thread</title><link>https://forum.armbian.com/topic/17106-old-installation-instructions-thread/</link><description><![CDATA[<p>
	.
</p>
]]></description><guid isPermaLink="false">17106</guid><pubDate>Mon, 03 Jan 2022 09:11:20 +0000</pubDate></item><item><title>Status of Armbian on TV Boxes - Please Read First</title><link>https://forum.armbian.com/topic/16976-status-of-armbian-on-tv-boxes-please-read-first/</link><description><![CDATA[<p>
	<strong>Welcome to the world of Armbian on TV Boxes!</strong>
</p>

<p>
	 
</p>

<p>
	TV Boxes are not officially supported by the Armbian project.  This "TV Box" sub forum is for users interested in experimenting with Armbian on TV Boxes.
</p>

<p>
	 
</p>

<p>
	Overall you will be best served if you set your expectations low as to what you might be able to accomplish with your TV Box and Armbian.  Specifically you should think of your TV Box as a potential linux server - *not* as a desktop replacement.
</p>

<p>
	 
</p>

<p>
	Feel free to post and ask questions in the TV Box forums if you are interested.  But realize this is a peer-to-peer forum so you may or may not get an answer.  Don't expect or demand support as there are only a handful of people that participate in these forums and they are all donating their time.
</p>

<p>
	 
</p>

<p>
	Search is your friend.  There is a lot of historic information stored on this site.  Your question has likely already been asked previously.  However, a lot has changed over time and therefore be prepared for a lot of the information you find by searching the forums to be outdated and in some cases just plain wrong.  Even though that may be the case, please search the forums first before posting a question.  It shows you are willing to invest the time to do your part and makes those of us who volunteer our time to answering questions more likely to want to help you.
</p>

<p>
	 
</p>

<p>
	 
</p>

<p>
	<strong>Amlogic (S9xx) based TV Boxes</strong>
</p>

<p>
	1. There is a community build for Amlogic based s9xx TV Boxes - The key being community - so please contribute to make improvements<br />
	2. A single developer (@balbes150) had worked years on getting things to the state they are.<br />
	3. As of October 14th, 2020 balbes150 removed support for Amlogic CPUs, so that is the last active build from him
</p>

<p>
	4. Expectations should be set low (i.e. don't expect anything to work) but if you do get the box to boot, get HDMI and wired ethernet to work, you are doing good.<br />
	5. You really shouldn't expect things like Wi-Fi, bluetooth, remote control, etc. to work.<br />
	6. There is a very small number of people on this forum/club that are able to provide any guidance.<br />
	7. Most likely no one on this forum owns your specific box and therefore generally can only provide vague guideance.<br />
	8. If you get this working on your box, it will likely only be useful for server type tasks, maybe a little light graphical desktop usage, but do not expect video playback, etc.
</p>

<p>
	 
</p>

<p>
	<strong>RockChip (rk3399, rk3328, rk3288, rk3228, etc) based TV Boxes</strong>
</p>

<p>
	These are probably the best supported TV boxes currently.  They have the most active developers.  Feel free to post in the Rockchip TV Box sub forums your questions.
</p>

<p>
	 
</p>

<p>
	<strong>Allwinner (H6, H616, H313) based TV Boxes</strong>
</p>

<p>
	There is no ongoing effort to support Allwinner based boxes.  Occasionally a developer will respond to a question, but in general if this is what you have, you will be expected to do a lot of work on your own, so you better be comfortable doing development for these type of boards.  You aren't likely to find anything that you can just install and have work.
</p>

<p>
	 
</p>

<p>
	<strong>Other Comments</strong>
</p>

<p>
	The official recommendation from the Armbian project would be to not use TV Boxes and use officially supported SBCs. Taking this approach will likely result in an easier time, less hassle, better support and likely a more fully functioning device.
</p>

<p>
	 
</p>

<p>
	There are reasons you may choose to want to use unsupported Armbian on TV boxes, for example here are some of my ( <a contenteditable="false" data-ipshover="" data-ipshover-target="https://forum.armbian.com/profile/12900-steeman/?do=hovercard" data-mentionid="12900" href="https://forum.armbian.com/profile/12900-steeman/" rel="">@SteeMan</a> ) reasons:
</p>

<p>
	 
</p>

<p>
	1) It is a challenge and therefore a learning opportunity.  I would never have learnt to build my own linux kernels from source if I was still exclusively using x86 hardware.  If you want a challenge you will find it here.
</p>

<p>
	 
</p>

<p>
	2) Price vs specs.  The Android TV boxes are built to be cheap consumer devices.  They are produced in larger quantities which drives down the per unit price.  You will generally not be able to get the same level of hardware for the same price with a standard <abbr title="Single board computer"><abbr title="Single board computer">SBC</abbr></abbr>.  But that cheapness comes with - no support by the manufacturers and potentially sub-standard components.  If the manufacturers goal is to sell the lowest price box they are likely cutting corners somewhere to make that happen.
</p>

<p>
	 
</p>

<p>
	3) <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> is standard.  TV boxes always come with internal storage while most SBCs do not.  Again from a price/performance standpoint having internal <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> storage vs running off an SD card is a plus.  <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> storage *should* be faster and more durable than storage on an sd card.  The caveats here being that this is one of the areas that the manufacturers may cut corners.  For example I have two TX3 mini boxes that are supposed to have 16GB of <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> memory (like the other TX3 mini boxes I have), but they were instead manufactured with cheaper <abbr title="A type of flash memory"><abbr title="A type of flash memory">nand</abbr></abbr> memory for which there is no mainline kernel support.  There is no visible difference between the identically packaged boxes that had <abbr title="embedded MultiMediaCard"><abbr title="embedded MultiMediaCard">emmc</abbr></abbr> vs those that came with <abbr title="A type of flash memory"><abbr title="A type of flash memory">nand</abbr></abbr>, other than opening the case and looking at the physical chips on the boards.
</p>

<p>
	 
</p>

<p>
	4) cases come standard.  TV boxes always come with cases, whereas for SBCs that is an extra cost.  For my uses having a case is a big improvement vs not having one.  A downside if that these cases are not necessarily well designed to provide adequate cooling.  So depending on your use case, overheating might be a problem.
</p>

<p>
	 
</p>

<p>
	5) While I own both SBCs and TV boxes, I personally find the TV boxes work best for my needs (running server based software) and I enjoy the challenge of getting them running and keeping them running with the great underlying work that the Armbian project is doing to build on top of.
</p>

<p>
	 
</p>

<p>
	If you have the correct expectations (set your expectations low) are looking to learn and are up for a challenge these are fun things to work with.  And I look forward to working with you on these forums.
</p>

<p>
	 
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">16976</guid><pubDate>Sat, 06 Feb 2021 17:20:41 +0000</pubDate></item></channel></rss>
