Lichee RV Dock - Debian

Hardware info on main page.

History

2023-07-19: various info. lsblk

tingo@licheerv:~$ lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk0     179:0    0 28.8G  0 disk 
|-mmcblk0p1 179:1    0   64M  0 part /boot
`-mmcblk0p2 179:2    0  7.8G  0 part /
zram0       254:0    0    0B  0 disk 

mount

tingo@licheerv:~$ mount
/dev/mmcblk0p2 on / type ext4 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=237072k,nr_inodes=59268,mode=755,inode64)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=98540k,nr_inodes=819200,mode=755,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=49268k,nr_inodes=12317,mode=700,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=49268k,nr_inodes=12317,mode=700,uid=1000,gid=1000,inode64)

disk usage

tingo@licheerv:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.6G  5.3G  2.0G  73% /
devtmpfs        232M     0  232M   0% /dev
tmpfs           241M     0  241M   0% /dev/shm
tmpfs            97M  728K   96M   1% /run
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
/dev/mmcblk0p1   64M   22M   43M  35% /boot
tmpfs            49M   20K   49M   1% /run/user/0
tmpfs            49M   16K   49M   1% /run/user/1000

files on the fat partition (/boot)

tingo@licheerv:~$ ls -lF /boot
total 22194
-rwxr-xr-x 1 root root 22721044 May 16  2022 Image*
-rwxr-xr-x 1 root root     1411 Jan 11  2022 boot.scr.uimg*
-rwxr-xr-x 1 root root      203 May 15  2022 uEnv.txt*

2023-07-19: created a user, assigned it to the appropraite groups and tried to ssh into the machine. At first it failed, because password auth was turned off in /etc/ssh/sshd_config. Fixed that, restarted ssh with systemctl restart ssh and now I could login with my user.

tingo@kg-core2:~ $ ssh 10.1.161.39
Linux licheerv 5.18.0-rc1-395456-gcc63db754b21 #14 PREEMPT Mon May 16 22:37:48 PDT 2022 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.
Last login: Wed Jul 19 14:51:37 2023 from 10.1.150.52

which version?

tingo@licheerv:~$ cat /etc/debian_version 
bookworm/sid

kernel

tingo@licheerv:~$ uname -a
Linux licheerv 5.18.0-rc1-395456-gcc63db754b21 #14 PREEMPT Mon May 16 22:37:48 PDT 2022 riscv64 GNU/Linux

lsb_release output

tingo@licheerv:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux bookworm/sid
Release:    n/a
Codename:   bookworm

2023-07-19: started a terminal, using connmanctl services I could see my wireless networks, and with connmanctl in interactive mode I could connect to wifi and got an ip address.

2023-07-19: I wrote an image (licheerv-debian-clean-hdmi.zst) to a microSD card and inserted in the TF (microSD) slot on the CM board. Connected a (small) usb hub to the USB A connector on the RV dock and connected usb keyboard and usb mouse to it. Connected a monitor to the HDMI connector on the RV dock, connected power to the USB C connector on the CM board. LEDs on the CM board and on the RV dock lit up. After a while I got a picture on the monitor screen and could see that Debian was booting up. I logged in as "root" with the provided password.

2023-07-19: I created this page.