Установка Linux на телевизионную приставку MXQpro 4K. В MXQpro 4K установлен ARM процессор Amlogic S905W и Android 11.

fdgxfg

Рис. 1

Со страницы https://github.com/ophub/amlogic-s9xxx-armbian/releases можно загрузить последние скомпилированные версии Linux Armbian Ubuntu или Debian.

Рис. 2. Запись образа Armbian на microSD Flash карту в программе balenaEtcher.

    _              _   ____  ___   ___  ____      
   / \   _ __ ___ | | / ___|/ _ \ / _ \| ___|_  __
  / _ \ | '_ ` _ \| | \___ \ (_) | | | |___ \ \/ /
 / ___ \| | | | | | |  ___) \__, | |_| |___) >  < 
/_/   \_\_| |_| |_|_| |____/  /_/ \___/|____/_/\_\
                                                  
Welcome to Armbian 23.02.0-trunk Jammy with Linux 5.15.82-flippy-79+o

System load:   2%           	Up time:       7 min	
Memory usage:  17% of 803M   	IP:	       192.168.1.10
Usage of /:    74% of 2.4G   	
RX today:      23.8 KiB  	

Last login: Sun Dec 18 18:34:27 2022
root@armbian:~#

dfgdfg

root@armbian:~# neofetch
                                 root@armbian 
                                 ------------ 
      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian (23.02.0-trunk) aarch64 
     ███████████████████████     Host: Amlogic Meson GXL (S905X) P212 Development Bo 
   ▄▄██                   ██▄▄   Kernel: 5.15.82-flippy-79+o 
   ▄▄██    ███████████    ██▄▄   Uptime: 38 mins 
   ▄▄██   ██         ██   ██▄▄   Packages: 555 (dpkg) 
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.1.16 
   ▄▄██   ██         ██   ██▄▄   Resolution: 720x576i 
   ▄▄██   █████████████   ██▄▄   Terminal: /dev/pts/0 
   ▄▄██   ██         ██   ██▄▄   CPU: ARMv8 rev 4 (v8l) (4) @ 1.000GHz 
   ▄▄██   ██         ██   ██▄▄   Memory: 154MiB / 803MiB 
   ▄▄██   ██         ██   ██▄▄
   ▄▄██                   ██▄▄                           
     ███████████████████████                             
      █ █ █ █ █ █ █ █ █ █ █

gsgsd

    _              _   ____  ___   ___  ____          
   / \   _ __ ___ | | / ___|/ _ \ / _ \| ___|_      __
  / _ \ | '_ ` _ \| | \___ \ (_) | | | |___ \ \ /\ / /
 / ___ \| | | | | | |  ___) \__, | |_| |___) \ V  V / 
/_/   \_\_| |_| |_|_| |____/  /_/ \___/|____/ \_/\_/  
                                                      
Welcome to Armbian 23.02.0-trunk Jammy with Linux 5.15.82-flippy-79+o

System load:   28%           	Up time:       6 min	
Memory usage:  17% of 803M   	IP:	       192.168.1.13
Usage of /:    85% of 2.4G   	
RX today:      54.0 MiB  	

Last login: Mon Dec 19 08:30:39 2022
root@armbian:~# neofetch
                                 root@armbian 
                                 ------------ 
      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian (23.02.0-trunk) aarch64 
     ███████████████████████     Host: Oranth Tanix TX3 Mini 
   ▄▄██                   ██▄▄   Kernel: 5.15.82-flippy-79+o 
   ▄▄██    ███████████    ██▄▄   Uptime: 7 mins 
   ▄▄██   ██         ██   ██▄▄   Packages: 555 (dpkg) 
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.1.16 
   ▄▄██   ██         ██   ██▄▄   Resolution: 720x576i 
   ▄▄██   █████████████   ██▄▄   Terminal: /dev/pts/0 
   ▄▄██   ██         ██   ██▄▄   CPU: ARMv8 rev 4 (v8l) (4) @ 1.000GHz 
   ▄▄██   ██         ██   ██▄▄   Memory: 150MiB / 803MiB 
   ▄▄██   ██         ██   ██▄▄
   ▄▄██                   ██▄▄                           
     ███████████████████████                             
      █ █ █ █ █ █ █ █ █ █ █

sdgfsdfg

    _              _   ____  ___   ___  ____  _ ____  
   / \   _ __ ___ | | / ___|/ _ \ / _ \| ___|| |___ \ 
  / _ \ | '_ ` _ \| | \___ \ (_) | | | |___ \| | __) |
 / ___ \| | | | | | |  ___) \__, | |_| |___) | |/ __/ 
/_/   \_\_| |_| |_|_| |____/  /_/ \___/|____/|_|_____|
                                                      
Welcome to Armbian 23.02.0-trunk Jammy with Linux 5.15.82-flippy-79+o

System load:   4%           	Up time:       25 min	
Memory usage:  17% of 803M   	Zram usage:    2% of 401M   	IP:	       192.168.1.12
Usage of /:    86% of 2.4G   	
RX today:      58.2 MiB  	

[ General system configuration (beta): armbian-config ]

dfhdfh

root@armbian:~# neofetch
                                 root@armbian 
                                 ------------ 
      █ █ █ █ █ █ █ █ █ █ █      OS: Armbian (23.02.0-trunk) aarch64 
     ███████████████████████     Host: Amlogic Meson GXL (S905L2) X7 5G Tv Box 
   ▄▄██                   ██▄▄   Kernel: 5.15.82-flippy-79+o 
   ▄▄██    ███████████    ██▄▄   Uptime: 26 mins 
   ▄▄██   ██         ██   ██▄▄   Packages: 558 (dpkg) 
   ▄▄██   ██         ██   ██▄▄   Shell: bash 5.1.16 
   ▄▄██   ██         ██   ██▄▄   Resolution: 720x576i 
   ▄▄██   █████████████   ██▄▄   Terminal: /dev/pts/0 
   ▄▄██   ██         ██   ██▄▄   CPU: ARMv8 rev 4 (v8l) (4) @ 1.000GHz 
   ▄▄██   ██         ██   ██▄▄   Memory: 145MiB / 803MiB 
   ▄▄██   ██         ██   ██▄▄
   ▄▄██                   ██▄▄                           
     ███████████████████████                             
      █ █ █ █ █ █ █ █ █ █ █

ddfg

root@armbian:~# python3
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

hgdf

apt install lm-sensors

nhfgf

root@armbian:~# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.

fgdfg

fdfhd

vcv

Выбор устройства (TV-box) на загрузочной Flash карте

Настройки производятся в разделе BOOT загрузочной Flash карты. Прежде всего, необходимо ознакомиться с содержимым папки dtb. В папке dtb папки с именами производителей процессоров: amlogic, allwinner, rockchip. Нас интересует содержимое папки amlogic:

meson-a1-ad401.dtb
meson-axg-jethome-jethub-j100.dtb
meson-axg-s400.dtb
meson-g12a-radxa-zero.dtb
meson-g12a-s905l3a-cm311.dtb
meson-g12a-s905l3a-e900v22c.dtb
meson-g12a-s905l3a-m401a.dtb
meson-g12a-sei510.dtb
meson-g12a-tanix-tx5max.dtb
meson-g12a-u200.dtb
meson-g12a-x96-max.dtb
meson-g12a-x96-max-rmii.dtb
meson-g12b-a311d-khadas-vim3.dtb
meson-g12b-dreambox-one.dtb
meson-g12b-dreambox-two.dtb
meson-g12b-gsking-x.dtb
meson-g12b-gtking.dtb
meson-g12b-gtking-oc.dtb
meson-g12b-gtking-pro.dtb
meson-g12b-gtking-pro-h.dtb
meson-g12b-gtking-pro-h-oc.dtb
meson-g12b-gtking-pro-rev_a.dtb
meson-g12b-gtking-pro-rev_a-oc.dtb
meson-g12b-odroid-n2.dtb
meson-g12b-odroid-n2-plus.dtb
meson-g12b-radxa-zero2.dtb
meson-g12b-s922x-khadas-vim3.dtb
meson-g12b-ugoos-am6b1.dtb
meson-g12b-ugoos-am6b-plus.dtb
meson-g12b-ugoos-am6b-plus-oc.dtb
meson-g12b-ugoos-am6.dtb
meson-g12b-ugoos-am6-plus.dtb
meson-gxbb-beelink-mini-mx.dtb
meson-gxbb-beelink-mini-mxiii.dtb
meson-gxbb-kii-pro.dtb
meson-gxbb-mecool-kii-pro.dtb
meson-gxbb-mecool-ki-plus.dtb
meson-gxbb-minix-neo-u1.dtb
meson-gxbb-mxq-pro-plus.dtb
meson-gxbb-nanopi-k2.dtb
meson-gxbb-nexbox-a95x.dtb
meson-gxbb-odroidc2.dtb
meson-gxbb-p200.dtb
meson-gxbb-p201.dtb
meson-gxbb-vega-s95-meta.dtb
meson-gxbb-vega-s95-pro.dtb
meson-gxbb-vega-s95-telos.dtb
meson-gxbb-wetek-hub.dtb
meson-gxbb-wetek-play2.dtb
meson-gxl-s805x-libretech-ac.dtb
meson-gxl-s805x-p241.dtb
meson-gxl-s905d-libretech-pc.dtb
meson-gxl-s905d-mecool-kii-pro.dtb
meson-gxl-s905d-mecool-ki-plus.dtb
meson-gxl-s905d-mecool-ki-pro.dtb
meson-gxl-s905d-mecool-m8s-plus.dtb
meson-gxl-s905d-p230.dtb
meson-gxl-s905d-p231.dtb
meson-gxl-s905d-phicomm-n1.dtb
meson-gxl-s905d-phicomm-n1-thresh.dtb
meson-gxl-s905d-sml5442tw.dtb
meson-gxl-s905d-vero4k-plus.dtb
meson-gxl-s905l2-ipbs9505.dtb
meson-gxl-s905l2-x7-5g.dtb
meson-gxl-s905l3b-m302a.dtb
meson-gxl-s905w-jethome-jethub-j80.dtb
meson-gxl-s905w-p281.dtb
meson-gxl-s905w-tx3-mini.dtb
meson-gxl-s905w-x96-mini.dtb
meson-gxl-s905x-b860h.dtb
meson-gxl-s905x-hwacom-amazetv.dtb
meson-gxl-s905x-khadas-vim.dtb
meson-gxl-s905x-libretech-cc.dtb
meson-gxl-s905x-libretech-cc-v2.dtb
meson-gxl-s905x-nexbox-a95x.dtb
meson-gxl-s905x-p212.dtb
meson-gxl-s905x-tbee.dtb
meson-gxl-s905x-tx9.dtb
meson-gxl-s905x-vero4k.dtb
meson-gxm-fake-octopus-planet.dtb
meson-gxm-khadas-vim2.dtb
meson-gxm-mecool-kiii-pro.dtb
meson-gxm-minix-neo-u9h.dtb
meson-gxm-nexbox-a1.dtb
meson-gxm-nexbox-a2.dtb
meson-gxm-octopus-planet.dtb
meson-gxm-phicomm-t1.dtb
meson-gxm-q200.dtb
meson-gxm-q201.dtb
meson-gxm-rbox-pro.dtb
meson-gxm-s912-libretech-pc.dtb
meson-gxm-t95z-plus.dtb
meson-gxm-tx8-max.dtb
meson-gxm-tx9-pro.dtb
meson-gxm-vega-s96.dtb
meson-gxm-wetek-core2.dtb
meson-gxm-x92.dtb
meson-sm1-a95xf3-air.dtb
meson-sm1-a95xf3-air-gbit.dtb
meson-sm1-bananapi-m5.dtb
meson-sm1-h96-max.dtb
meson-sm1-h96-max-x3.dtb
meson-sm1-h96-max-x3-oc.dtb
meson-sm1-hk1box-vontar-x3.dtb
meson-sm1-hk1box-vontar-x3-oc.dtb
meson-sm1-khadas-vim3l.dtb
meson-sm1-odroid-c4.dtb
meson-sm1-odroid-hc4.dtb
meson-sm1-sei610.dtb
meson-sm1-skyworth-lb2004-a4091.dtb
meson-sm1-tx3-bz.dtb
meson-sm1-tx3-bz-oc.dtb
meson-sm1-tx3-qz.dtb
meson-sm1-tx3-qz-oc.dtb
meson-sm1-ugoos-x3.dtb
meson-sm1-ugoos-x3-oc.dtb
meson-sm1-x96-air.dtb
meson-sm1-x96-air-gbit.dtb
meson-sm1-x96-max-plus-100m.dtb
meson-sm1-x96-max-plus.dtb
meson-sm1-x96-max-plus-ip1001m-2.dtb
meson-sm1-x96-max-plus-ip1001m.dtb
meson-sm1-x96-max-plus-oc.dtb
meson-sm1-x96-max-plus-q1.dtb
meson-sm1-x96-max-plus-q2.dtb

Это файлы конфигурации для различных TV приставок.

Откройте файл uEnv.txt из корня раздела BOOT и присвойте переменной FTD путь к файлу конфигурации наиболее соответствующей Вашему экземпляру TV приставки. Можно ориентироваться на процессор.

LINUX=/zImage
INITRD=/uInitrd
FDT=/dtb/amlogic/meson-gxl-s905w-tx3-mini.dtb
APPEND=root=UUID=ff54f775-ee93-4323-b759-6a4c57451991 rootflags=data=writeback rw rootfstype=ext4 console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1

В этом примере выбран файл meson-gxl-s905w-tx3-mini.dtb, так как вероятнее всего в моей TV приставке установлен процессор Amlogic S905W.

Замечено, что с процессорами Amlogic S905L, S905X и S905W могут работать почти все файлы из этого списка в имени которых встречается -gxl-.