Libre Computer AML-S905X-CC-V1.0 (librecomputer-lepotato)

From postmarketOS
Libre Computer AML-S905X-CC-V1.0
librecomputer-lepotato as shown on Libre Computer's website
librecomputer-lepotato as shown on Libre Computer's website
Manufacturer Libre Computer
Name AML-S905X-CC-V1.0
Codename librecomputer-lepotato
Released 2019
Category testing
Pre-built images no
postmarketOS kernel 6.4.0
Hardware
Chipset Amlogic S905X
CPU 2.0 GHz Quad core
GPU Mali 450
Memory 1/2 GB
Architecture AArch64
Type Single Board Computer
Features
Flashing
Broken
FDE
Mainline
Works
3D Acceleration
Works
Audio
Works
Internal storage
Misc
Built-in DVB
Broken
USB-A
Works
HDMI/DP
Works
Ir RX
Works
Memory Card
Ethernet
Works
FOSS bootloader
Works
U-Boot
Primary Bootloader
Works
Secondary Bootloader
Mainline
Works
SD card
Works
USB Host
Works
USB Peripheral
Works
Display
Works
Keyboard
Works
This device is based on the Amlogic S905X.
See the SoC page for common tips, guides and troubleshooting steps

The AML-S905X-CC is a single board computer made by Libre Computer. Quite well supported in mainline because of the manufacturer funding mainline development for this board and using mainline in official images.

How to enter USB mode

You need a USB Type-A to USB Type-A cable. Libre Computer sells these with an eMMC module.

  • Unplug everything from your SBC
  • Plug your USB cable to the USB port next to the ethernet port
       here
        \/
  ___   __   __
 |   | |__| |__|
 |___| |__| |__|
  • Press the K11/Uboot button behind the ethernet port while plugging the other end of your USB cable to your computer
  • After 5 seconds or so, release the button
  • Run lsusb, you should see something like this:
$ lsusb
[...]
Bus 001 Device 055: ID 1b8e:c003 Amlogic, Inc. GX-CHIP
[...]

Installation

You can either install to an SD card or a Libre Computer eMMC module.

Use pmbootstrap to build your own image, like so:

$ pmbootstrap init # manufacturer: librecomputer, codename: lepotato

eMMC

Enter flash mode and clone Libre Computer's pyamlboot fork:

$ git clone https://github.com/libre-computer-project/pyamlboot -b scripts pyamlboot-librecomputer

Boot the board from USB and let U-Boot enter USB mass storage mode:

$ cd pyamlboot-librecomputer
$ ./run.sh aml-s905x-cc ums-emmc

Install postmarketOS:

$ pmbootstrap install --sdcard=/dev/sdb # replace `sdb` with the path of your emulated UMS

SD Card

$ pmbootstrap install --sdcard=/dev/mmcblk0 # replace `mmcblk0` with the path of your SD card

What works

Audio

HDMI audio is untested, but should work. Analog audio works.

For analog sound to work you need to install an asound.state file:

# curl https://raw.githubusercontent.com/libre-computer-project/libretech-raspbian-portability/master/apps/alsa/aml-s905x-cc.state > /var/lib/alsa/asound.state

This shouldn't be needed anymore once we start using UCM2 profiles.

Display

Display won't work, depending on the monitor. This is a known issue, see https://hub.libre.computer/t/aml-gxl-no-video-or-bad-video-on-monitor/331

Community info

Maintainers

Contributors

Users owning this device

  • Farooqkz (Notes: Usage as homemade tiny server. Runs Debian)
  • FerassElHafidi (Notes: 1 GB of RAM. Donated to me by Libre Computer.)


See also