← Back to LicheeRV Nano
buildroot on LicheeRV Nano

System Version

"20241129"

Status

basic

Last Update

2024-12-13

BuildRoot LicheeRV Nano Test Report

Test Environment

Operating System Information

Hardware Information

  • LicheeRV Nano
  • A Type-C power cable
  • A UART to USB debugger

Installation Steps

Using dd to Flash Image onto microSD Card

Download the image, then decompress and flash it:

xz -d 2024-11-29-11-46-540e94.img.xz
sudo dd if=2024-11-29-11-46-540e94.img of=/dev/your_device bs=1M status=progress

Logging into the System

Logging into the system via serial port.

Default Username: root Default Password: root

Expected Results

The system should boot normally and allow login via the onboard serial port.

Actual Results

The system booted successfully and login via the onboard serial port was also successful.

Boot Log

Screen recording (from flashing image to login):

asciicast

Starting kernel ...

[    0.000000] Linux version 5.10.4-tag- (neucrack@neucrack-desktop) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #14 PREEMPT Fri Nov 29 11:40:35 CST 2024
[    0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[    0.000000] printk: bootconsole [sbi0] enabled
+ mkdir -p /dev
+ mount -t devtmpfs devtmpfs /dev
+ mkdir -p /proc
+ mount -t proc proc /proc
+ mkdir -p /sys
+ mount -t sysfs sysfs /sys
+ mount -t configfs configfs /sys/kernel/config
+ mount -t debugfs debugfs /sys/kernel/debug
+ mkdir -p /boot
+ mount -o ro /dev/mmcblk0p1 /boot
+ msc=0
+ '[' -e /boot/rec ]
+ umount /dev/mmcblk0p1
+ grep lo
+ wc -l
+ grep 'User Key'
+ cat /sys/kernel/debug/gpio
+ flashkey0=0
+ sleep 0.5
+ grep lo
+ wc -l
+ grep 'User Key'
+ cat /sys/kernel/debug/gpio
+ flashkey1=0
+ '[' 0 -ne 0 ]
+ mkdir /realroot
+ mount -o rw /dev/mmcblk0p2 /realroot
+ mfail=0
+ '[' 0 -ne 0 ]
+ mount -t proc proc /realroot/proc
+ mount -t sysfs sysfs /realroot/sys
+ mount -t devtmpfs devtmpfs /realroot/dev
+ exec switch_root /realroot /sbin/init
INIT: version  booting
INIT: No inittab.d directory found
INIT: Entering runlevel: 3
load kernel module: OK
i2cget: read failed: Remote I/O error
mounting filesystem : OK
Saving 2048 bits of non-creditable seed for next boot
Starting syslogd: OK
copy config file from /boot:  beta OK
Starting klogd: OK
Running sysctl: OK
usb mode: device
sh: write error: Invalid argument
load gt9xx touchscreen driver
Populating /dev using udev: done
hostname: licheervnano-6681
ethernet mac address: 48:da:35:6f:66:81
Starting haveged: haveged: command socket is listening at fd 3
OK
load wifi kernel module: OK
Starting system message bus: done
start ethernet: OK
udhcpc: started, v1.36.1
udhcpc: broadcasting discover
rndis mac address: 48:da:35:6f:66:81
RNDIS DHCP OK
ncm mac address: 48:da:35:6e:66:81
CDC NCM DHCP OK
wifi mode: sta
Successfully initialized wpa_supplicant
nl80211: kernel reports: Registration to specific type not supported
Starting iptables: udhcpc: started, v1.36.1
OK
Starting bluetoothd: OK
Starting network: udhcpc: broadcasting discover
OK
Starting ntpd: udhcpc: broadcasting discover
OK
Starting ssdpd: OK
ssh-keygen: generating new host keys: RSA udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: broadcasting discover
udhcpc: no lease, forking to background
ECDSA ED25519 
Starting sshd: OK
Starting audtest: OK
Starting camtest: Starting ednctest: OK
Starting input-event-daemon: input-event-daemon: fopen(/etc/input-event-daemon.conf): No such file or directory
done
Starting ivetest: OK
Starting lcdtest: OK
Starting loadtest: OK
Starting modeltest: OK
HELLO WORLD
Starting nettest: OK
Starting nntest: OK
Warning: Partition /dev/mmcblk0p2 is being used. Are you sure you want to continue?
udhcpc: no lease, forking to background
Warning: Partition /dev/mmcblk0p2 is being used. Are you sure you want to continue?
                                                                                                                                          Yes/No? yes
Information: You may need to update /etc/fstab.

                                                                     Starting temptest: OK
resize2fs 1.47.0 (5-Feb-2023)

Welcome to Linux
licheervnano-6681 login: Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 2
The filesystem on /dev/mmcblk0p2 is now 7787647 (4k) blocks long.

root
licheervnano-6681 login: root
Password: 
# uname -a
Linux licheervnano-6681 5.10.4-tag- #14 PREEMPT Fri Nov 29 11:40:35 CST 2024 riscv64 GNU/Linux
# cat /etc/os-release
NAME=Buildroot
VERSION=-g540e9435a
ID=buildroot
VERSION_ID=2023.11.2
PRETTY_NAME="Buildroot 2023.11.2"
INIT: Id "acm" respawning too fast: disabled for 5 minutes

# 

Test Criteria

Successful: The actual result matches the expected result.

Failed: The actual result does not match the expected result.

Test Conclusion

Test successful.