Difference between revisions of "Amlogic TV boxes"

Add HDMI audio script link and SoC codenames
m (Add link to panfrost docs, formatting tweaks)
(Add HDMI audio script link and SoC codenames)
Line 32: Line 32:
=== Configure extlinux.conf ===
=== Configure extlinux.conf ===


After using a disk imaging tool such as '''dd''' to write one of the vim3 Manjaro ARM images to a disk, mount the disk and edit '''BOOT_MNJRO/extlinux/extlinux.conf'''. You must edit the line that begins with '''FDT /dtbs/amlogic/''' to point to the dtb file that you wish to use to configure your device tree.
After using a disk imaging tool such as [https://www.balena.io balenaEthcher] or '''gnome-disks''' to write one of the vim3 Manjaro ARM images to a disk, mount the disk and edit '''BOOT_MNJRO/extlinux/extlinux.conf'''. You must edit the line that begins with '''FDT /dtbs/amlogic/''' to point to the dtb file that you wish to use to configure your device tree.


If there isn't a matching dtb file for your box within the dtbs folder and you can't find a suitable dtb on this wiki or in the Manjaro forums then you should try '''meson-sm1-sei610.dtb''' first:
If there isn't a matching dtb file for your box within the dtbs folder and you can't find a suitable dtb on this wiki or in the Manjaro forums then you should try '''meson-sm1-sei610.dtb''' first:
Line 112: Line 112:


'''X96 Air Q1000''' - [https://github.com/danboid/meson-sm1-sei610-qca9377-bt meson-sm1-sei610-qca9377-bt] - Tested with linux-aml kernel 5.12. Working gigabit ethernet, WiFi, Bluetooth and HDMI audio. No support for onboard audio or LED display.
'''X96 Air Q1000''' - [https://github.com/danboid/meson-sm1-sei610-qca9377-bt meson-sm1-sei610-qca9377-bt] - Tested with linux-aml kernel 5.12. Working gigabit ethernet, WiFi, Bluetooth and HDMI audio. No support for onboard audio or LED display.
'''A95X F2''' - meson-g12a-u200.dtb - Boots but no ethernet, wifi/bluetooth.


=== Useful device tree commands ===
=== Useful device tree commands ===
Line 125: Line 127:
[https://github.com/PabloCastellano/extract-dtb DTB extractor] - Tool to split a kernel image with appended dtbs into separated kernel and dtb files.
[https://github.com/PabloCastellano/extract-dtb DTB extractor] - Tool to split a kernel image with appended dtbs into separated kernel and dtb files.


=== dtb/SoC code names ===


This is the dtb naming scheme used for the various Amlogic SoC's, which may help you find a working dtb:
gxbb → S905
gxl → S905X
g12a → S905X2
g12b → S922X
gxm → S912
sm1 → S905X3


== Tips and tricks ==
== Tips and tricks ==
Line 146: Line 157:


Download and install the latest '''archlinuxdroid-repo''' package then update to the latest daily mesa build by installing '''mesa-devel-git'''.
Download and install the latest '''archlinuxdroid-repo''' package then update to the latest daily mesa build by installing '''mesa-devel-git'''.
=== HDMI audio script ===
Some users have reported running '''g12_sound.sh''' from [https://gitlab.manjaro.org/manjaro-arm/packages/community/oc4-post-install this repo] has fixed their HDMI audio.
32

edits