Libre Computer Cottonwood (librecomputer-cottonwood)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to postmarketOS Trailblazer (postmarketos-trailblazer) for installation instructions and more information.
Libre Computer AML-S905D3-CC-V0.2
AML-S905D3-CC-V0.2 as seen on the Libre Computer website
AML-S905D3-CC-V0.2 as seen on the Libre Computer website
Manufacturer Libre Computer
Name AML-S905D3-CC-V0.2
Codename librecomputer-solitude
Released 2023
Type single board computer
Hardware
Chipset Amlogic S905D3
CPU 2.0 GHz Quad core
GPU Mali G31
Memory 4 GB
Architecture aarch64
Software
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline yes
Generic port postmarketOS Trailblazer (postmarketos-trailblazer)
Features
Flashing
Broken
Internal storage
SD card
Multimedia
3D Acceleration
Works
Audio
IR RX
Works
Connectivity
Ethernet
Broken
Miscellaneous
FDE
USB-A
Works
HDMI/DP
Works
U-Boot
Primary Bootloader
Works
Secondary Bootloader
Mainline
Works
Internal Storage
Works
SD card
Works
USB Host
Works
USB Peripheral
Works
Display
Works
Keyboard
Works
Note This device is supported as part of a generic port. Refer to postmarketOS Trailblazer (postmarketos-trailblazer) for installation instructions and more information.
Libre Computer AML-A311D-CC-V0.2
AML-A311D-CC-V0.2 as seen on the Libre Computer website
AML-A311D-CC-V0.2 as seen on the Libre Computer website
Manufacturer Libre Computer
Name AML-A311D-CC-V0.2
Codename librecomputer-alta
Released 2023
Type single board computer
Hardware
Chipset Amlogic A311D
CPU 2.0 GHz Quad core
GPU Mali G31
Memory 4 GB
Architecture aarch64
Software
FOSS bootloader yes
postmarketOS
Category testing
Pre-built images no
Mainline yes
Generic port postmarketOS Trailblazer (postmarketos-trailblazer)
Features
Flashing
Broken
Internal storage
SD card
Multimedia
3D Acceleration
Works
Audio
IR RX
Works
Connectivity
Ethernet
Broken
Miscellaneous
FDE
USB-A
Works
HDMI/DP
Works
U-Boot
Primary Bootloader
Works
Secondary Bootloader
Mainline
Works
Internal Storage
Works
SD card
Works
USB Host
Works
USB Peripheral
Works
Display
Works
Keyboard
Works
This device is based on the Amlogic S905D3.
See the SoC page for common tips, guides and troubleshooting steps
This device is based on the Amlogic A311D.
See the SoC page for common tips, guides and troubleshooting steps

The AML-S905D3-CC and AML-A311D-CC are single board computers made by Libre Computer and belonging in the Cottonwood family. Except for the SoC used they are identical. Quite well supported in mainline because of the manufacturer funding mainline development for this board.

Installation

Installation to an external USB storage device and eMMC have been tested and confirmed working.

Use pmbootstrap to build your own image, like so:

$ pmbootstrap init # manufacturer: postmarketos, codename: trailblazer, kernel: linux-postmarketos-amlogic

If installing to eMMC

If you're installing to USB or an SD card, you can skip this entirely until pmbootstrap install

Make sure the SPI/MMC switch is set to SPI and connect the board to your computer using a USB-C cable. Interrupt U-Boot and type the following in the prompt:

=> ums 0 mmc 0

Your eMMC device should appear as a normal storage device on your computer. Follow the "Writing to storage" section. Once that is done, you can:

CTRL+C - Operation aborted
=> boot

Writing to storage

$ pmbootstrap install --sdcard=/dev/storage_device # replace `mmcblk0` with the path of your USB storage device or eMMC/SD

Issues

HDMI audio

HDMI audio seems to not work with my monitor at least. Could be because there's no UCM profile or asound.state provided at the moment.

Ethernet

Ethernet works.

On older kernels and SPI flash firmware, it may not work on librecomputer-solitude however. The following is printed to dmesg:

[   87.674546] stmmaceth ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   87.899591] stmmaceth ff3f0000.ethernet eth0: PHY [mdio_mux-0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=26)
[   88.107415] stmmaceth ff3f0000.ethernet: Failed to reset the dma
[   88.107432] stmmaceth ff3f0000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[   88.107440] stmmaceth ff3f0000.ethernet eth0: __stmmac_open: Hw setup failed

If that happens to you, upgrade your SPI flash U-Boot. Instructions for how to do that can be found here: https://hub.libre.computer/t/libre-computer-board-bios-firmware-update-images/3113

Users owning this device


See also