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

From postmarketOS
Jump to navigation Jump to search
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
postmarketOS kernel 6.4.0
Hardware
Chipset Amlogic S905X
CPU 2.0 GHz Quad core
GPU Mali 450
Memory 1/2 GB
Architecture aarch64
Features
USB Networking
Unavailable
Flashing
Broken
Touchscreen
Unavailable
Display
Unavailable
WiFi
Unavailable
FDE
Mainline
Works
Battery
Unavailable
3D Acceleration
Works
Audio
Works
Bluetooth
Unavailable
Camera
Unavailable
GPS
Unavailable
Mobile data
Unavailable
SMS
Unavailable
Calls
Unavailable
USB OTG
Unavailable
NFC
Unavailable
Sensors
Accelerometer
Unavailable
Magnetometer
Unavailable
Ambient Light
Unavailable
Proximity
Unavailable
Hall Effect
Unavailable
Barometer
Unavailable
Power Sensor
Unavailable
Misc
Camera Flash
Unavailable
Keyboard
Unavailable
Touchpad
Unavailable
USB-A
Works
HDMI/DP
Works
Ir TX
Unavailable
Ir RX
Works
Stylus
Unavailable
Haptics
Unavailable
Ethernet
Works
FOSS bootloader
Works
U-Boot
Primary Bootloader
Works
Secondary Bootloader
Mainline
Works
Internal Storage
Unavailable
SD card
Works
USB Host
Works
USB Peripheral
Works
Display
Works
Keyboard
Works
Buttons
Unavailable


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

  • F (f_ on OFTC and Libera, @notrealvitali64:matrix.org on Matrix (NOT USED. PLEASE USE IRC))

Contributors

Users owning this device

  • F (Notes: 1 GB of RAM. Donated to me by Libre Computer.)


See also