[Letux-kernel] Successfully booting LetuxOS on Star64 (RISCV) board
H. Nikolaus Schaller
hns at goldelico.com
Sat Feb 7 15:17:47 CET 2026
Finally,
I managed to bake a µSD with makesd that can boot the LetuxOS kernel and Debian 13.2.
Although I have been working on building our own LetuxOS SPL and U-Boot I found that the board takes the bootloader from eMMC and I just have to provide a /boot/boot.scr file.
makesd (needs self-update) command: DEV=/dev/sdb /usr/local/bin/makesd -vb latest -vk latest -vr trixie star64 -r letux
LetuxOS boot.scr source: https://git.goldelico.com/?p=letux-uboot.git;a=blob;f=Letux/boot-scr/boot-star64.txt;h=cbdcbb3a2c455187717ddca1afda9c2208f4b749;hb=acf88e491c8621caa3bd188419b5fbe3b5fab5ab
LetuxOS Kernel: https://download.goldelico.com/letux-kernel/latest-riscv/
LetuxOS Rootfs: https://download.goldelico.com/letux-debian-rootfs/trixie-riscv64-letux.tbz
Attached are higlights from the Boot Log.
Note 1: I can simply use my RasPi FTDI adapter for the boot console
Note 2: systemd seems to be very verbose
Note 3: Ethernet seems to work (at least one of two ports), USB is broken, no WiFi/Bluetooth is visible, HDMI untested
So this is some breakthrough demonstrating that we can also handle RiscV devices.
BR,
Nikolaus
U-Boot SPL 2021.10 (Jan 19 2023 - 04:09:41 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : StarFive VisionFive V2
Platform Features : medeleg
Platform HART Count : 5
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 4000000Hz
Platform Console Device : uart8250
Platform HSM Device : jh7110-hsm
U-Boot 2021.10 (Jan 19 2023 - 04:09:41 +0800), Build: jenkins-github_visionfive2-6
CPU: rv64imacu
Model: StarFive VisionFive V2
DRAM: 8 GiB
MMC: sdio0 at 16010000: 0, sdio1 at 16020000: 1
Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
776 bytes read in 16 ms (46.9 KiB/s)
## Executing script at 43900000
booting LetuxOS from µSDon Star64 (with U-Boot in eMMC)
38584 bytes read in 13 ms (2.8 MiB/s)
9125727 bytes read in 404 ms (21.5 MiB/s)
Uncompressing Kernel Image
## Flattened Device Tree blob at 46000000
Booting using the fdt blob at 0x46000000
Using Device Tree in place at 0000000046000000, end 000000004600c6b7
Starting kernel ...
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
[ 0.000000] Booting Linux on hartid 1
[ 0.000000] Linux version 6.19.0-rc8-letux+ (hns at iMac.local) (riscv64-linux-gnu-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.40) #5488 SMP Sat Feb 7 09:23:39 CET 2026
[ 0.000000] Machine model: StarFive VisionFive 2 v1.3B
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10002
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] Malformed early option 'earlycon'
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[ 0.000000] SBI HSM extension detected
[ 0.000000] riscv: base ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] Ticket spinlock: enabled
[ 0.000000] percpu: Embedded 31 pages/cpu s86872 r8192 d31912 u126976
[ 0.000000] pcpu-alloc: s86872 r8192 d31912 u126976 alloc=31*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Kernel command line: console=ttyS0,115200 debug rootwait earlycon=sbi root=PARTUUID=d18d2207-01 rw rootfstype=ext4,ext3,btrfs rootwait
[ 1.706858] Run /sbin/init as init process
[ 1.710960] with arguments:
[ 1.713923] /sbin/init
[ 1.716635] with environment:
[ 1.719779] HOME=/
[ 1.720768] mmc0: new HS200 MMC card at address 0001
[ 1.722134] TERM=linux
[ 1.728205] mmcblk0: mmc0:0001 SLD32G 28.9 GiB
[ 1.736887] mmcblk0:
[ 1.739934] mmcblk0boot0: mmc0:0001 SLD32G 4.00 MiB
[ 1.747952] mmcblk0boot1: mmc0:0001 SLD32G 4.00 MiB
[ 1.755365] mmcblk0rpmb: mmc0:0001 SLD32G 4.00 MiB, chardev (242:0)
...
Welcome to Debian GNU/Linux 13 (trixie)!
...
Freeing unused kernel image (initmem) memory: 2424K
Run /sbin/init as init process
with arguments:
/sbin/init
with environment:
HOME=/
mmc0: new HS200 MMC card at address 0001
TERM=linux
mmcblk0: mmc0:0001 SLD32G 28.9 GiB
mmcblk0:
mmcblk0boot0: mmc0:0001 SLD32G 4.00 MiB
mmcblk0boot1: mmc0:0001 SLD32G 4.00 MiB
mmcblk0rpmb: mmc0:0001 SLD32G 4.00 MiB, chardev (242:0)
...
[ 83.742893] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[FAILED] Failed to start isc-dhcp-server.service - LSB: DHCP server.
Debian GNU/Linux 13 letux ttyS0
letux login: root
Linux letux 6.19.0-rc8-letux+ #5488 SMP Sat Feb 7 09:23:39 CET 2026 riscv64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
!!! LetuxOS WARNING !!!
!!! Root access through ssh and console with empty password is enabled. !!!
!!! This is a big security hole. !!!
!!! To disable, run 'apt-get remove letux-ssh-root' !!!
[ 94.442827] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[ 94.538799] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[ 96.872415] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[ 96.882146] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[ 96.892110] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[ 96.920796] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
[ 96.930876] systemd-journald[114]: Successfully sent stream file descriptor to service manager.
root at letux:~# uname -a
Linux letux 6.19.0-rc8-letux+ #5488 SMP Sat Feb 7 09:23:39 CET 2026 riscv64 GNU/Linux
root at letux:~# cat /etc/debian_version
13.2
root at letux:~# root at letux:~# cat /proc/cpuinfo
processor : 0
hart : 1
isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
mmu : sv39
uarch : sifive,u74-mc
mvendorid : 0x489
marchid : 0x8000000000000007
mimpid : 0x4210427
hart isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
processor : 1
hart : 2
isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
mmu : sv39
uarch : sifive,u74-mc
mvendorid : 0x489
marchid : 0x8000000000000007
mimpid : 0x4210427
hart isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
processor : 2
hart : 3
isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
mmu : sv39
uarch : sifive,u74-mc
mvendorid : 0x489
marchid : 0x8000000000000007
mimpid : 0x4210427
hart isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
processor : 3
hart : 4
isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
mmu : sv39
uarch : sifive,u74-mc
mvendorid : 0x489
marchid : 0x8000000000000007
mimpid : 0x4210427
hart isa : rv64imafdc_zicntr_zicsr_zifencei_zihpm_zaamo_zalrsc_zca_zcd_zba_zbb
root at letux:~#root at letux:~# lsmod
Module Size Used by
cdns3 151552 0
cdns_usb_common 24576 1 cdns3
roles 16384 1 cdns_usb_common
dwmac_starfive 12288 0
stmmac_platform 28672 1 dwmac_starfive
stmmac 393216 4 dwmac_starfive,stmmac_platform
snd_soc_simple_card 20480 0
cdns3_starfive 12288 0
pcs_xpcs 36864 1 stmmac
jh7110_trng 20480 0
snd_soc_simple_card_utils 28672 1 snd_soc_simple_card
pcie_starfive 16384 0
clk_starfive_jh7110_aon 12288 3
clk_starfive_jh7110_vout 12288 0
clk_starfive_jh7110_isp 12288 3
phy_jh7110_dphy_rx 12288 0
spi_cadence_quadspi 45056 0
sfctemp 12288 0
clk_starfive_jh7110_stg 12288 16
spi_pl022 28672 0
jh7110_pwmdac 16384 2
phy_jh7110_pcie 12288 2
phy_jh7110_usb 12288 1
snd_soc_spdif_tx 12288 1
drm 753664 0
drm_panel_orientation_quirks 32768 1 drm
backlight 16384 1 drm
configfs 73728 1
root at letux:~#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20260207/439dac4d/attachment-0001.htm>
More information about the Letux-kernel
mailing list