🛠 Premier boot du Lichee RV Dock avec Ubuntu 24.04 RISC-V

Sipeed Lichee RV Dock (Allwinner D1 / T-Head XuanTie C906) · debutant · Schéma : IMG-sipeed-lichee-rv-dock-debutant-1-licheerv-premier-boot.svg — Lichee RV Dock vue de dessus avec le module Lichee RV (SoC Allwinner D1), le câble USB-A vers USB-C (jamais C-vers-C), l'emplacement microSD sous le module et les broches UART0 PB8/PB9 de la console série

Objectives

Boot the Sipeed Lichee RV Dock (Lichee RV module + Dock carrier board, Allwinner D1 RISC-V SoC) for the first time using the official Ubuntu 24.04 Server image for this board — one of the first RISC-V images published by Canonical. You will learn how to write the image to a microSD card, how to power the board correctly (the USB-C cable pitfall is documented by Sipeed themselves), and how to monitor the boot process on the serial console. By the end, you will have a command prompt and know how to read the board's information.

Hardware

Complete Code

# 1) Télécharger l'image Ubuntu 24.04 Server pour Sipeed LicheeRV Dock
#    (liste des images officielles Canonical ; alternative : images Debian du
#    wiki Sipeed, ou image ArchLinux communautaire root/archriscv)
#    Décompresser puis écrire sur la microSD (VÉRIFIER le périphérique !) :
unxz -c ubuntu-24.04-preinstalled-server-riscv64+lichee-rv-dock.img.xz \
    | sudo dd of=/dev/sdX bs=4M status=progress conv=fsync   # sdX = votre carte !

# 2) Brancher l'adaptateur série : TX->RX, RX->TX, GND->GND (ne pas câbler le VCC)
#    sur les broches UART0 (PB8 TX / PB9 RX) du connecteur 2x20
picocom -b 115200 /dev/ttyUSB0        # ou: sudo minicom -b 115200 -D /dev/ttyUSB0

# 3) Insérer la microSD sous le module, alimenter en USB-C (câble A-vers-C)
#    -> U-Boot puis kernel Linux défilent sur la série

# 4) Après le prompt de login (ubuntu/ubuntu au premier boot), vérifier la carte :
uname -a            # riscv64 + version du noyau
head -1 /proc/cpuinfo
free -h             # 512 MB de RAM (DDR3 in-package du D1)
cat /proc/device-tree/compatible   # sipeed,lichee-rv-dock + allwinner,sun20i-d1

Expected Verification

On the serial console at 115200 8N1, you see U-Boot then the kernel starting, followed by an ubuntu login: prompt. uname -a displays riscv64, free -h shows approximately 460-500 MB usable out of 512 MB, and /proc/device-tree/compatible contains sipeed,lichee-rv-dock. The HDMI (up to 4Kp30) displays nothing under Server: this is normal, as the image has no graphical interface (Canonical states that RISC-V graphical support is not complete).

Common Errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials