Giter Site home page Giter Site logo

asilvame / debian-on-amlogic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devmfc/debian-on-amlogic

0.0 0.0 0.0 56 KB

Minimal Debian and Ubuntu images for Amlogic based Android TV-boxes with mainline Linux LTS kernel.

License: GNU General Public License v2.0

debian-on-amlogic's Introduction

Debian Linux image for Android TV boxes with Amlogic SOC's.

Minimal Debian and Ubuntu Linux images for Amlogic based OTT TV-boxes with mainline Linux LTS kernel. Boots the kernel with vendor u-boot, so without the use of a chain loaded u-boot.

Current images:

  • Debian Bookworm (v12) with Linux kernel 6.6.1
  • Ubuntu Mantic (v23.10) with Linux kernel 6.6.1

New boxes since this release:

Tested TV-boxes with box specific DTB (bluetooth / leds / vfd display)

  • A95X (S905)
  • A95X F2 (S905X2)
  • Beelink GT King (S922X)
  • H96 Max X3 (S905X3, 1000M ethernet)
  • H96 Pro Plus (S912, 1000M ethernet)
  • HK1 X3 (S905X3, 1000M ethernet)
  • KM8 Pro (S912, 1000M ethernet)
  • Tanix TX3 (S905X3, 1000M ethernet)
  • Tanix W2 (EXPERIMENTAL S905W2, 100M ethernet)
  • TOX1 (S905X3, 1000M ethernet)
  • X88 Pro X3 (S905X3, 1000M ethernet)
  • X96 (S905X, 100M ethernet))
  • X96 Air A100 (S905X3, 100M ethernet)
  • X96 Air P2 (S905X3, 1000M ethernet)
  • X96 Air P3 (S905X3, 1000M ethernet)
  • X96 Max Plus 2 (S905X3, 1000M ethernet)
  • X96 Max Plus 2T (S905X3, 1000M ethernet)
  • X96 Max Plus Q2 (S905X3, 1000M ethernet)
  • X96 Mini (S905W, 100M ethernet)
  • x96 X4 (EXPERIMENTAL S905X4, 1000M ethernet)

Current supported SOC's via generic DTB's (device trees)

  • S905 (Meson GXBB)
  • S905W (Meson GXL)
  • S905X (Meson GXL)
  • S905X2 (Meson G12A), 100M and 1000M ethernet
  • S905X3 (Meson SM1), 100M and 1000M ethernet
  • S912 (Meson GXM), 1000M ethernet
  • S922X (Meson G12B), 1000M ethernet
  • Experimental: S905X4 (Meson SC2)
  • Experimental: S905W2 (Meson S4)

Install

  1. Burn the image to a USB flash disk (or sdcard) with some image burner like Balena Etcher, Win32Diskimager, dd or something
  2. Open boot.config on the first FAT-partition with an editor
  3. Uncomment the box= line for your box.
  4. If you want to boot from sdcard: uncomment the line root=/dev/mmcblk0p2
  5. Save the config file.

Start

  1. put the disk in the box
  2. hold the reset/update button (in most cases this button is hidden in the av-port, get a toothpick or cotton tip and push the button with that)
  3. power on the box
  4. hold the reset/update button for about 7 seconds (longer does not hurt)
  5. it should now boot to Debian / Ubuntu
  6. you can login with user root, password: tvbox
  7. Have fun

Boot process

  • The boot script uses the vendor bootloader on the box, so there is no bootloader in the image
  • The boot script does not use a "chain loaded" bootloader
  • The boot script will NOT install 'multiboot' or modify the bootloader environment with its boot procedure. This in contrary of most other images for Amlogic boxes. This means that it is almost impossible to damage/brick your device while trying to boot with this image. This also means that you have to push the reset button every time you want to boot with this image. However, you can install 'multiboot' by running ./aml-multiboot-setup.sh in the /root directory when booted into Linux. That script WILL change your bootloader's environment, so there is a chance (very small, but still) this can 'brick' your box. If you don't have the tools, images or knowledge to unbrick your box: be warned and don't blame me or ask me for help.

What does work

In most cases:

  • HDMI
  • HDMI sound
  • USB 2 and 3
  • eMMC
  • SDCARD
  • Ethernet (100M and Gigabit)
  • Wifi
  • Bluetooth
  • VFD Led Display

Exceptions

A95X F2: bluetooth (MT7668) will not work, wifi does work
X96 Max Plus Q2: Wifi (qca6174) is slow/lagging for small transfers
X96 Mini Wifi does not work
X96 X4: HDMI does not really work, but with the use of simpleframebuffer there is a console.
Tanxix W2: HDMI does not work, but it is usable as a headless server, wifi does not work

Not tested but will probably work

  • cec
  • ir

Not tested and probably won't work:

  • S/PDiff port
  • av-port

Sources

Sorry no sources at this moment. Not that I don't want to share, but because they are messy and I don't have the time to clean them up. However, most of the sources for the images are just shell scripts, so feel free to reuse them. Also the bootscripts, box configs and DTB's are all there. When I have some time to spare I will try to upload the sources.

debian-on-amlogic's People

Contributors

devmfc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.