doc:appunti:hardware:x96_mini
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:x96_mini [2022/02/01 09:19] – niccolo | doc:appunti:hardware:x96_mini [2023/10/22 22:23] – [Connecting an external USB 2.5 inches hard disk] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | **How to install Kodi on the X96 mini TV Box** | ||
+ | |||
+ | {{ .: | ||
I bought this little device for about 27 EUR in January 2022 from Aliexpress, I wish to use it as a TV Box, getting media from the LAN or from an external hard disk atthached via USB. It is based on the **Amlogic S905W** chip, equipped with **1 Gb** of **RAM** and **16 Gb** of **flash** storage. | I bought this little device for about 27 EUR in January 2022 from Aliexpress, I wish to use it as a TV Box, getting media from the LAN or from an external hard disk atthached via USB. It is based on the **Amlogic S905W** chip, equipped with **1 Gb** of **RAM** and **16 Gb** of **flash** storage. | ||
Line 7: | Line 10: | ||
It seems that the best combination of **Kodi** and **GNU/ | It seems that the best combination of **Kodi** and **GNU/ | ||
- | From the download section I selected | + | ===== Download the appropriate version of CoreELEC ===== |
+ | |||
+ | From the download section I selected | ||
^ Device | ^ Device | ||
Line 21: | Line 26: | ||
- Copy the image over an SD card using the Linux command line tool **dd**: < | - Copy the image over an SD card using the Linux command line tool **dd**: < | ||
- Mount the first partition on the SD card and copy the file **device_trees/ | - Mount the first partition on the SD card and copy the file **device_trees/ | ||
+ | |||
+ | ====== Ports and connectors ====== | ||
+ | |||
+ | {{.: | ||
+ | {{.: | ||
+ | |||
+ | One USB port is **white** in color, so it should be an **USB 1.x**, the **black** USB port should be instead an **USB 2.0 Hi-Speed**. | ||
====== First boot using the toothpick trick ====== | ====== First boot using the toothpick trick ====== | ||
Line 200: | Line 212: | ||
* / | * / | ||
* / | * / | ||
+ | |||
+ | ====== Installing extra software with Entware ====== | ||
+ | |||
+ | **[[https:// | ||
+ | |||
+ | The architecture of the X96 Mini is **aarch64** as revealed by the command **uname -m** and the kernel is a **Linux 4.9** as revealed by **uname -a**. The **[[http:// | ||
+ | |||
+ | The **CoreELEC** distribution does not inlcue any package manager, so we have to download and unpack the **Entware** packages manually. All the Entware software is packed to be installed into the **/opt/** hiearchy, which in CoreELEC is a symlink to the **/ | ||
+ | |||
+ | In this example we want to install the **base64** utility which we need to send some archives via an http connection. First of all we dowloaded the **libc_2.27-11_aarch64-3.10.ipk**, | ||
+ | **coreutils-base64_9.1-1_aarch64-3.10.ipk** package. | ||
+ | |||
+ | Some packages requires a **postinst** script to be run in order to initialize some configuration files, the file is contained into the **control.tar.gz** archive. E.g. the **terminfo** package - which is required to run most of the fullscreen tools, with colors and cursors, like the Midnigth Commander - initializes the **/ | ||
+ | |||
+ | < | ||
+ | export TERMINFO=/ | ||
+ | </ | ||
+ | |||
+ | Finally you have to adjust your **PATH** and eventually the **LD_LIBRARY_PATH** environment variables to take into account the path of the newly installed binay packages. I added the following into my **/ | ||
+ | |||
+ | < | ||
+ | PATH='/ | ||
+ | LD_LIBRARY_PATH='/ | ||
+ | </ | ||
+ | |||
+ | ====== Connecting a 2.5" hard disk via the USB ====== | ||
+ | |||
+ | |||
+ | Disk performance | ||
+ | |||
+ | < | ||
+ | CoreELEC:~ # hdparm -t /dev/sda | ||
+ | /dev/sda: | ||
+ | | ||
+ | </ | ||
+ | |||
doc/appunti/hardware/x96_mini.txt · Last modified: 2023/10/22 23:32 by niccolo