Springe zum Hauptinhalt

Getting Started With VisionFive 2

giant-gd1d82756c_640.jpg

Tool chain

dzu@krikkit:/opt/src/git/linux (visionfive)$ sudo apt install gcc-riscv64-linux-gnu
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  binutils-riscv64-linux-gnu cpp-12-riscv64-linux-gnu cpp-riscv64-linux-gnu gcc-12-cross-base-ports
  gcc-12-riscv64-linux-gnu gcc-12-riscv64-linux-gnu-base libasan8-riscv64-cross libatomic1-riscv64-cross
  libc6-dev-riscv64-cross libc6-riscv64-cross libgcc-12-dev-riscv64-cross libgcc-s1-riscv64-cross
  libgomp1-riscv64-cross linux-libc-dev-riscv64-cross
Suggested packages:
  binutils-doc gcc-12-locales cpp-12-doc cpp-doc gcc-12-doc gdb-riscv64-linux-gnu gcc-doc
The following NEW packages will be installed:
  binutils-riscv64-linux-gnu cpp-12-riscv64-linux-gnu cpp-riscv64-linux-gnu gcc-12-cross-base-ports
  gcc-12-riscv64-linux-gnu gcc-12-riscv64-linux-gnu-base gcc-riscv64-linux-gnu libasan8-riscv64-cross
  libatomic1-riscv64-cross libc6-dev-riscv64-cross libc6-riscv64-cross libgcc-12-dev-riscv64-cross
  libgcc-s1-riscv64-cross libgomp1-riscv64-cross linux-libc-dev-riscv64-cross
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.7 MB of archives.
After this operation, 118 MB of additional disk space will be used.
Do you want to continue? [Y/n]
 [...]
dzu@krikkit:/opt/src/git/linux (visionfive)$

Linux source tree

As I only use one Linux git repository with a lot of remotes, I simply add the starfive-tech repository locally and switch to its visionfive branch:

dzu@krikkit:/opt/src/git/linux (master)$ git remote add starfive-tech https://github.com/starfive-tech/linux
dzu@krikkit:/opt/src/git/linux (master)$ git remote update
[...]
dzu@krikkit:/opt/src/git/linux (master)$ git checkout -b visionfive starfive-tech/visionfive
Updating files: 100% (2782/2782), done.
branch 'visionfive' set up to track 'starfive-tech/visionfive'.
Switched to a new branch 'visionfive'
dzu@krikkit:/opt/src/git/linux (visionfive)$ 
dzu@krikkit:/opt/src/git/linux (visionfive)$ export CROSS_COMPILE=riscv64-linux-gnu-
dzu@krikkit:/opt/src/git/linux (visionfive)$ export ARCH=riscv
dzu@krikkit:/opt/src/git/linux (visionfive)$ mkdir build-visionfive/
dzu@krikkit:/opt/src/git/linux (visionfive)$ make O=build-visionfive visionfive_defconfig
make[1]: Entering directory '/opt/src/git/linux/build-visionfive'
  GEN     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory '/opt/src/git/linux/build-visionfive'
dzu@krikkit:/opt/src/git/linux (visionfive)$ time make O=build-visionfive -j8

[...]
  AS      .tmp_vmlinux.kallsyms2.S
  LD      vmlinux
  SYSMAP  System.map
  SORTTAB vmlinux
  OBJCOPY arch/riscv/boot/Image
  GZIP    arch/riscv/boot/Image.gz
  Kernel: arch/riscv/boot/Image.gz is ready
make[1]: Leaving directory '/opt/src/git/linux/build-visionfive'

real    3m40.227s
user    23m41.537s
sys     2m55.174s
dzu@krikkit:/opt/src/git/linux (visionfive)$

QEMU

dzu@krikkit:~$ sudo apt install qemu-system-misc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  samba vde2
The following NEW packages will be installed:
  qemu-system-misc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 43.3 MB of archives.
After this operation, 205 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 qemu-system-misc amd64 1:7.1+dfsg-2 [43.3 MB]
Fetched 43.3 MB in 4s (12.1 MB/s)            
Selecting previously unselected package qemu-system-misc.
(Reading database ... 587950 files and directories currently installed.)
Preparing to unpack .../qemu-system-misc_1%3a7.1+dfsg-2_amd64.deb ...
Unpacking qemu-system-misc (1:7.1+dfsg-2) ...
Setting up qemu-system-misc (1:7.1+dfsg-2) ...
Processing triggers for man-db (2.10.2-3) ...
dzu@krikkit:~$

Debian riscv64 chroot

https://wiki.debian.org/RISC-V#Creating_a_riscv64_chroot

dzu@krikkit:~$ cd /tmp
dzu@krikkit:/tmp$ sudo apt install debian-ports-archive-keyring
Reading package lists... Done            
Building dependency tree... Done              
Reading state information... Done  
The following NEW packages will be installed:
  debian-ports-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.7 kB of archives.
After this operation, 52.2 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 debian-ports-archive-keyring all 2022.02.15 [29.7 kB]
Fetched 29.7 kB in 0s (214 kB/s)                                                             
Selecting previously unselected package debian-ports-archive-keyring.                  
(Reading database ... 587942 files and directories currently installed.)                             
Preparing to unpack .../debian-ports-archive-keyring_2022.02.15_all.deb ...            
Unpacking debian-ports-archive-keyring (2022.02.15) ... 
Setting up debian-ports-archive-keyring (2022.02.15) ...                  
dzu@krikkit:/tmp$ sudo debootstrap --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg \
  --include=debian-ports-archive-keyring \
  --arch riscv64 unstable debian-riscv64 http://deb.debian.org/debian-ports                     
I: Target architecture can be executed                                                                        
I: Checking Release signature                                                                                 
I: Valid Release signature (key id CBC70A60B9ED6F237A5F5B0BE852514F5DF312F6)                                  
I: Retrieving Packages                                 
I: Validating Packages                                 
I: Resolving dependencies of required packages...                                             
I: Resolving dependencies of base packages...                                                                 
I: Checking component main on http://deb.debian.org/debian-ports...                                           
I: Retrieving adduser 3.129                                                                                   
I: Validating adduser 3.129                            
I: Retrieving cron-daemon-common 3.0pl1-149            
I: Validating cron-daemon-common 3.0pl1-149            
I: Retrieving debconf-i18n 1.5.79                      
I: Validating debconf-i18n 1.5.79                      
I: Retrieving debconf 1.5.79                                                                                  
I: Validating debconf 1.5.79                           
I: Retrieving debian-archive-keyring 2021.1.1                                                                 
I: Validating debian-archive-keyring 2021.1.1                                                                 
I: Retrieving debian-ports-archive-keyring 2022.02.15                                                         
I: Validating debian-ports-archive-keyring 2022.02.15
 [...]
I: Configuring libnftables1:riscv64...
I: Configuring nftables...
I: Configuring iproute2...
I: Configuring isc-dhcp-client...
I: Configuring ifupdown...
I: Configuring tasksel...
I: Configuring tasksel-data...
I: Configuring libc-bin...
I: Base system installed successfully.
dzu@krikkit:/tmp$ 
dzu@krikkit:/tmp$ sudo chroot debian-riscv64/
root@krikkit:/# # Update package information
apt-get update^C
root@krikkit:/#
exit
dzu@krikkit:/tmp$ sudo chroot debian-riscv64/
root@krikkit:/# apt-get update
Hit:1 http://deb.debian.org/debian-ports unstable InRelease
Reading package lists... Done
root@krikkit:/# cat >>/etc/network/interfaces <<EOF
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
EOF
root@krikkit:/# passwd
New password:
Retype new password:
passwd: password updated successfully
root@krikkit:/# ln -sf /dev/null /etc/systemd/system/serial-getty@hvc0.service
root@krikkit:/# apt-get install linux-image-riscv64 u-boot-menu
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  apparmor busybox firmware-linux-free initramfs-tools initramfs-tools-core klibc-utils libatomic1 libklibc
  linux-base linux-image-5.19.0-1-riscv64 zstd
Suggested packages:
  apparmor-profiles-extra apparmor-utils bash-completion linux-doc-5.19 debian-kernel-handbook flash-kernel
The following NEW packages will be installed:
  apparmor busybox firmware-linux-free initramfs-tools initramfs-tools-core klibc-utils libatomic1 libklibc
  linux-base linux-image-5.19.0-1-riscv64 linux-image-riscv64 u-boot-menu zstd
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 92.5 MB of archives.
After this operation, 902 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian-ports unstable/main riscv64 apparmor riscv64 3.0.7-1 [668 kB]
Get:2 http://deb.debian.org/debian-ports unstable/main riscv64 busybox riscv64 1:1.35.0-2 [474 kB]
Get:3 http://deb.debian.org/debian-ports unstable/main riscv64 firmware-linux-free all 20200122-1 [24.2 kB]
Get:4 http://deb.debian.org/debian-ports unstable/main riscv64 libklibc riscv64 2.0.10-4 [60.4 kB]
Get:5 http://deb.debian.org/debian-ports unstable/main riscv64 klibc-utils riscv64 2.0.10-4 [98.0 kB]
Get:6 http://deb.debian.org/debian-ports unstable/main riscv64 initramfs-tools-core all 0.142 [105 kB]
Get:7 http://deb.debian.org/debian-ports unstable/main riscv64 linux-base all 4.9 [31.8 kB]
Get:8 http://deb.debian.org/debian-ports unstable/main riscv64 initramfs-tools all 0.142 [72.9 kB]
Get:9 http://deb.debian.org/debian-ports unstable/main riscv64 libatomic1 riscv64 12.2.0-3 [7216 B]
Get:10 http://deb.debian.org/debian-ports unstable/main riscv64 linux-image-5.19.0-1-riscv64 riscv64 5.19.6-1 [90.2 MB]
Get:11 http://deb.debian.org/debian-ports unstable/main riscv64 linux-image-riscv64 riscv64 5.19.6-1 [1432 B]
Get:12 http://deb.debian.org/debian-ports unstable/main riscv64 u-boot-menu all 4.1.0 [8452 B]
Get:13 http://deb.debian.org/debian-ports unstable/main riscv64 zstd riscv64 1.5.2+dfsg-1 [680 kB]
Fetched 92.5 MB in 8s (12.0 MB/s)
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package apparmor.
(Reading database ... 11167 files and directories currently installed.)
Preparing to unpack .../00-apparmor_3.0.7-1_riscv64.deb ...
Unpacking apparmor (3.0.7-1) ...
Selecting previously unselected package busybox.
Preparing to unpack .../01-busybox_1%3a1.35.0-2_riscv64.deb ...
Unpacking busybox (1:1.35.0-2) ...
Selecting previously unselected package firmware-linux-free.
Preparing to unpack .../02-firmware-linux-free_20200122-1_all.deb ...
Unpacking firmware-linux-free (20200122-1) ...
Selecting previously unselected package libklibc:riscv64.
Preparing to unpack .../03-libklibc_2.0.10-4_riscv64.deb ...
Unpacking libklibc:riscv64 (2.0.10-4) ...
Selecting previously unselected package klibc-utils.
Preparing to unpack .../04-klibc-utils_2.0.10-4_riscv64.deb ...
Unpacking klibc-utils (2.0.10-4) ...
Selecting previously unselected package initramfs-tools-core.
Preparing to unpack .../05-initramfs-tools-core_0.142_all.deb ...
Unpacking initramfs-tools-core (0.142) ...
Selecting previously unselected package linux-base.
Preparing to unpack .../06-linux-base_4.9_all.deb ...
Unpacking linux-base (4.9) ...
Selecting previously unselected package initramfs-tools.
Preparing to unpack .../07-initramfs-tools_0.142_all.deb ...
Unpacking initramfs-tools (0.142) ...
Selecting previously unselected package libatomic1:riscv64.
Preparing to unpack .../08-libatomic1_12.2.0-3_riscv64.deb ...
Unpacking libatomic1:riscv64 (12.2.0-3) ...
Selecting previously unselected package linux-image-5.19.0-1-riscv64.
Preparing to unpack .../09-linux-image-5.19.0-1-riscv64_5.19.6-1_riscv64.deb ...
Unpacking linux-image-5.19.0-1-riscv64 (5.19.6-1) ...
Selecting previously unselected package linux-image-riscv64.
Preparing to unpack .../10-linux-image-riscv64_5.19.6-1_riscv64.deb ...
Unpacking linux-image-riscv64 (5.19.6-1) ...
Selecting previously unselected package u-boot-menu.
Preparing to unpack .../11-u-boot-menu_4.1.0_all.deb ...
Unpacking u-boot-menu (4.1.0) ...
Selecting previously unselected package zstd.
Preparing to unpack .../12-zstd_1.5.2+dfsg-1_riscv64.deb ...
Unpacking zstd (1.5.2+dfsg-1) ...
Setting up linux-base (4.9) ...
Setting up firmware-linux-free (20200122-1) ...
Setting up apparmor (3.0.7-1) ...
Created symlink /etc/systemd/system/sysinit.target.wants/apparmor.service -> /lib/systemd/system/apparmor.service.
Setting up busybox (1:1.35.0-2) ...
Setting up libklibc:riscv64 (2.0.10-4) ...
Setting up libatomic1:riscv64 (12.2.0-3) ...
Setting up klibc-utils (2.0.10-4) ...
No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed.
Setting up zstd (1.5.2+dfsg-1) ...
Setting up u-boot-menu (4.1.0) ...
Setting up initramfs-tools-core (0.142) ...
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-5.19.0-1-riscv64 (5.19.6-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinux-5.19.0-1-riscv64
I: /initrd.img.old is now a symlink to boot/initrd.img-5.19.0-1-riscv64
I: /vmlinuz is now a symlink to boot/vmlinux-5.19.0-1-riscv64
I: /initrd.img is now a symlink to boot/initrd.img-5.19.0-1-riscv64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.19.0-1-riscv64
/etc/kernel/postinst.d/zz-u-boot-menu:
P: Checking for EXTLINUX directory... not found.
P: Creating EXTLINUX directory... done: /boot/extlinux
cat: /proc/cmdline: No such file or directory
P: Writing config for vmlinux-5.19.0-1-riscv64...
P: Updating /boot/extlinux/extlinux.conf...
Setting up linux-image-riscv64 (5.19.6-1) ...
Processing triggers for libc-bin (2.35-1) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.19.0-1-riscv64
root@krikkit:/# apt-get install openntpd ntpdate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libexpat1 libmpdec3 libnsl2 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libsqlite3-0
  media-types ntpsec-ntpdate ntpsec-ntpdig python3 python3-minimal python3-ntp python3.10 python3.10-minimal
Suggested packages:
  python3-doc python3-tk python3-venv python3.10-venv python3.10-doc binutils binfmt-support
The following NEW packages will be installed:
  libexpat1 libmpdec3 libnsl2 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libsqlite3-0
  media-types ntpdate ntpsec-ntpdate ntpsec-ntpdig openntpd python3 python3-minimal python3-ntp python3.10
  python3.10-minimal
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 5968 kB of archives.
After this operation, 21.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian-ports unstable/main riscv64 libpython3.10-minimal riscv64 3.10.7-1 [815 kB]
Get:2 http://deb.debian.org/debian-ports unstable/main riscv64 libexpat1 riscv64 2.4.9-1 [97.7 kB]
Get:3 http://deb.debian.org/debian-ports unstable/main riscv64 python3.10-minimal riscv64 3.10.7-1 [1654 kB]
Get:4 http://deb.debian.org/debian-ports unstable/main riscv64 python3-minimal riscv64 3.10.6-1 [38.7 kB]
Get:5 http://deb.debian.org/debian-ports unstable/main riscv64 media-types all 8.0.0 [33.4 kB]
Get:6 http://deb.debian.org/debian-ports unstable/main riscv64 libmpdec3 riscv64 2.5.1-2 [83.3 kB]
Get:7 http://deb.debian.org/debian-ports unstable/main riscv64 libnsl2 riscv64 1.3.0-2 [35.1 kB]
Get:8 http://deb.debian.org/debian-ports unstable/main riscv64 libsqlite3-0 riscv64 3.39.3-1 [762 kB]
Get:9 http://deb.debian.org/debian-ports unstable/main riscv64 libpython3.10-stdlib riscv64 3.10.7-1 [1601 kB]
Get:10 http://deb.debian.org/debian-ports unstable/main riscv64 python3.10 riscv64 3.10.7-1 [547 kB]
Get:11 http://deb.debian.org/debian-ports unstable/main riscv64 libpython3-stdlib riscv64 3.10.6-1 [21.8 kB]
Get:12 http://deb.debian.org/debian-ports unstable/main riscv64 python3 riscv64 3.10.6-1 [38.2 kB]
Get:13 http://deb.debian.org/debian-ports unstable/main riscv64 python3-ntp riscv64 1.2.1+dfsg1-7+b1 [95.1 kB]
Get:14 http://deb.debian.org/debian-ports unstable/main riscv64 ntpsec-ntpdig riscv64 1.2.1+dfsg1-7+b1 [34.5 kB]
Get:15 http://deb.debian.org/debian-ports unstable/main riscv64 ntpsec-ntpdate riscv64 1.2.1+dfsg1-7+b1 [31.6 kB]
Get:16 http://deb.debian.org/debian-ports unstable/main riscv64 ntpdate all 1:4.2.8p15+dfsg-2~1.2.1+dfsg1-7 [24.3 kB]
Get:17 http://deb.debian.org/debian-ports unstable/main riscv64 openntpd riscv64 1:6.2p3-4.2 [55.8 kB]
Fetched 5968 kB in 1s (7806 kB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package libpython3.10-minimal:riscv64.
(Reading database ... 15167 files and directories currently installed.)
Preparing to unpack .../libpython3.10-minimal_3.10.7-1_riscv64.deb ...
Unpacking libpython3.10-minimal:riscv64 (3.10.7-1) ...
Selecting previously unselected package libexpat1:riscv64.
Preparing to unpack .../libexpat1_2.4.9-1_riscv64.deb ...
Unpacking libexpat1:riscv64 (2.4.9-1) ...
Selecting previously unselected package python3.10-minimal.
Preparing to unpack .../python3.10-minimal_3.10.7-1_riscv64.deb ...
Unpacking python3.10-minimal (3.10.7-1) ...
Setting up libpython3.10-minimal:riscv64 (3.10.7-1) ...
Setting up libexpat1:riscv64 (2.4.9-1) ...
Setting up python3.10-minimal (3.10.7-1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 15470 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.10.6-1_riscv64.deb ...
Unpacking python3-minimal (3.10.6-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_8.0.0_all.deb ...
Unpacking media-types (8.0.0) ...
Selecting previously unselected package libmpdec3:riscv64.
Preparing to unpack .../2-libmpdec3_2.5.1-2_riscv64.deb ...
Unpacking libmpdec3:riscv64 (2.5.1-2) ...
Selecting previously unselected package libnsl2:riscv64.
Preparing to unpack .../3-libnsl2_1.3.0-2_riscv64.deb ...
Unpacking libnsl2:riscv64 (1.3.0-2) ...
Selecting previously unselected package libsqlite3-0:riscv64.
Preparing to unpack .../4-libsqlite3-0_3.39.3-1_riscv64.deb ...
Unpacking libsqlite3-0:riscv64 (3.39.3-1) ...
Selecting previously unselected package libpython3.10-stdlib:riscv64.
Preparing to unpack .../5-libpython3.10-stdlib_3.10.7-1_riscv64.deb ...
Unpacking libpython3.10-stdlib:riscv64 (3.10.7-1) ...
Selecting previously unselected package python3.10.
Preparing to unpack .../6-python3.10_3.10.7-1_riscv64.deb ...
Unpacking python3.10 (3.10.7-1) ...
Selecting previously unselected package libpython3-stdlib:riscv64.
Preparing to unpack .../7-libpython3-stdlib_3.10.6-1_riscv64.deb ...
Unpacking libpython3-stdlib:riscv64 (3.10.6-1) ...
Setting up python3-minimal (3.10.6-1) ...
Selecting previously unselected package python3.
(Reading database ... 15885 files and directories currently installed.)
Preparing to unpack .../0-python3_3.10.6-1_riscv64.deb ...
Unpacking python3 (3.10.6-1) ...
Selecting previously unselected package python3-ntp.
Preparing to unpack .../1-python3-ntp_1.2.1+dfsg1-7+b1_riscv64.deb ...
Unpacking python3-ntp (1.2.1+dfsg1-7+b1) ...
Selecting previously unselected package ntpsec-ntpdig.
Preparing to unpack .../2-ntpsec-ntpdig_1.2.1+dfsg1-7+b1_riscv64.deb ...
Unpacking ntpsec-ntpdig (1.2.1+dfsg1-7+b1) ...
Selecting previously unselected package ntpsec-ntpdate.
Preparing to unpack .../3-ntpsec-ntpdate_1.2.1+dfsg1-7+b1_riscv64.deb ...
Unpacking ntpsec-ntpdate (1.2.1+dfsg1-7+b1) ...
Selecting previously unselected package ntpdate.
Preparing to unpack .../4-ntpdate_1%3a4.2.8p15+dfsg-2~1.2.1+dfsg1-7_all.deb ...
Unpacking ntpdate (1:4.2.8p15+dfsg-2~1.2.1+dfsg1-7) ...
Selecting previously unselected package openntpd.
Preparing to unpack .../5-openntpd_1%3a6.2p3-4.2_riscv64.deb ...
Unpacking openntpd (1:6.2p3-4.2) ...
Setting up media-types (8.0.0) ...
Setting up libsqlite3-0:riscv64 (3.39.3-1) ...
Setting up libnsl2:riscv64 (1.3.0-2) ...
Setting up libmpdec3:riscv64 (2.5.1-2) ...
Setting up openntpd (1:6.2p3-4.2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/openntpd.service -> /lib/systemd/system/openntpd.service.
invoke-rc.d: could not determine current runlevel
Setting up libpython3.10-stdlib:riscv64 (3.10.7-1) ...
Setting up libpython3-stdlib:riscv64 (3.10.6-1) ...
Setting up python3.10 (3.10.7-1) ...
Setting up python3 (3.10.6-1) ...
running python rtupdate hooks for python3.10...
running python post-rtupdate hooks for python3.10...
Setting up python3-ntp (1.2.1+dfsg1-7+b1) ...
Setting up ntpsec-ntpdig (1.2.1+dfsg1-7+b1) ...
Setting up ntpsec-ntpdate (1.2.1+dfsg1-7+b1) ...
Setting up ntpdate (1:4.2.8p15+dfsg-2~1.2.1+dfsg1-7) ...
Processing triggers for libc-bin (2.35-1) ...
root@krikkit:/# sed -i 's/^DAEMON_OPTS="/DAEMON_OPTS="-s /' /etc/default/openntpd
root@krikkit:/# cat >>/etc/default/u-boot <<EOF
U_BOOT_PARAMETERS="rw noquiet root=/dev/vda1"
U_BOOT_FDT_DIR="noexist"
EOF
root@krikkit:/# u-boot-update
P: Checking for EXTLINUX directory... found.
cat: /proc/cmdline: No such file or directory
P: Writing config for vmlinux-5.19.0-1-riscv64...
P: Updating /boot/extlinux/extlinux.conf...
root@krikkit:/#
dzu@krikkit:/tmp$ sudo apt install qemu-system-misc opensbi u-boot-qemu
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
qemu-system-misc is already the newest version (1:7.1+dfsg-2).
The following NEW packages will be installed:
  opensbi u-boot-qemu
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1656 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://deb.debian.org/debian bookworm/main amd64 opensbi all 1.1-1 [82.6 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 u-boot-qemu all 2022.04+dfsg-2 [1573 kB]
Fetched 1656 kB in 0s (7839 kB/s) 
Selecting previously unselected package opensbi.
(Reading database ... 587994 files and directories currently installed.)
Preparing to unpack .../archives/opensbi_1.1-1_all.deb ...
Unpacking opensbi (1.1-1) ...
Selecting previously unselected package u-boot-qemu.
Preparing to unpack .../u-boot-qemu_2022.04+dfsg-2_all.deb ...
Unpacking u-boot-qemu (2022.04+dfsg-2) ...
Setting up u-boot-qemu (2022.04+dfsg-2) ...
Setting up opensbi (1.1-1) ...
dzu@krikkit:/tmp$ 
dzu@krikkit:/tmp$ sudo apt install qemu-system-misc opensbi u-boot-qemu
 [...]
dzu@krikkit:/tmp$ sudo apt-get install libguestfs-tools
 [...]
dzu@krikkit:/tmp$ sudo virt-make-fs --partition=gpt --type=ext4 --size=10G /tmp/debian-riscv64/ /opt/vms/rootfs-riscv64.img
dzu@krikkit:/tmp$ sudo chown dzu /opt/vms/rootfs-riscv64.img
dzu@krikkit:/tmp$ qemu-system-riscv64 -nographic -machine virt -m 1.9G  -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf  -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf  -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-device,rng=rng0  -append "console=ttyS0 rw root=/dev/vda1"  -device virtio-blk-device,drive=hd0 -drive file=/opt/vms/rootfs-riscv64.img,format=raw,id=hd0  -device virtio-net-device,netdev=usernet -netdev user,id=usernet,hostfwd=tcp::22222-:22

OpenSBI v1.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : riscv-virtio,qemu
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 10000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform Reboot Device    : sifive_test
Platform Shutdown Device  : sifive_test
Firmware Base             : 0x80000000
Firmware Size             : 288 KB
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000082200000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.12
Boot HART Base ISA        : rv64imafdch
Boot HART ISA Extensions  : time
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 54
Boot HART MHPM Count      : 16
Boot HART MIDELEG         : 0x0000000000001666
Boot HART MEDELEG         : 0x0000000000f0b509


U-Boot 2022.04+dfsg-2 (Apr 10 2022 - 23:28:14 +0000)

CPU:   rv64imafdch_zicsr_zifencei_zba_zbb_zbc_zbs
Model: riscv-virtio,qemu
DRAM:  1.9 GiB
Core:  19 devices, 10 uclasses, devicetree: board
Flash: 32 MiB
Loading Environment from nowhere... OK
In:    uart@10000000
Out:   uart@10000000
Err:   uart@10000000
Net:   eth0: virtio-net#2
Hit any key to stop autoboot:  0

Device 0: QEMU VirtIO Block Device
            Type: Hard Disk
            Capacity: 10240.0 MB = 10.0 GB (20971520 x 512)
... is now current device
Scanning virtio 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
U-Boot menu
1:      Debian GNU/Linux bookworm/sid 5.19.0-1-riscv64
2:      Debian GNU/Linux bookworm/sid 5.19.0-1-riscv64 (rescue target)
Enter choice: 1:        Debian GNU/Linux bookworm/sid 5.19.0-1-riscv64
Retrieving file: /boot/initrd.img-5.19.0-1-riscv64
Retrieving file: /boot/vmlinux-5.19.0-1-riscv64
append: rw noquiet root=/dev/vda1
Moving Image from 0x84000000 to 0x80200000, end=815d7000
## Flattened Device Tree blob at f90d5a30
   Booting using the fdt blob at 0xf90d5a30
   Using Device Tree in place at 00000000f90d5a30, end 00000000f90d9e09

Starting kernel ...

[    0.000000] Linux version 5.19.0-1-riscv64 (debian-kernel@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP Debian 5.19.6-1 (2022-09-01)
[    0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[    0.000000] Machine model: riscv-virtio,qemu
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080200000-0x00000000f9999fff]
[    0.000000] NUMA: NODE_DATA [mem 0xf95bfbc0-0xf95c0fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080200000-0x00000000f9999fff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080200000-0x00000000f9999fff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000000f9999fff]
[    0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 26214 pages in unavailable ranges
[    0.000000] SBI specification v1.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10001
[    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] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acdfhim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: cpu 0 has no node -1 or node-local memory
[    0.000000] percpu: Embedded 27 pages/cpu s72808 r8192 d29592 u110592
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 489787
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: rw noquiet root=/dev/vda1
[    0.000000] Unknown kernel command line parameters "noquiet", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 189380K/1990248K available (7650K kernel code, 5071K rwdata, 4096K rodata, 2462K init, 490K bss, 143472K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 29040 entries in 114 pages
[    0.000000] ftrace: allocated 114 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: plic@c000000: mapped 96 interrupts with 1 handlers for 2 contexts.
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000097] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.005152] Console: colour dummy device 80x25
[    0.010367] printk: console [tty0] enabled
[    0.012747] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.013035] pid_max: default: 32768 minimum: 301
[    0.014811] LSM: Security Framework initializing
[    0.015926] landlock: Up and running.
[    0.015981] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.018377] AppArmor: AppArmor initialized
[    0.018491] TOMOYO Linux initialized
[    0.019093] LSM support for eBPF active
[    0.021440] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.021529] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.058945] cblist_init_generic: Setting adjustable number of callback queues.
[    0.059171] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.059839] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.060929] ASID allocator using 16 bits (65536 entries)
[    0.062121] rcu: Hierarchical SRCU implementation.
[    0.062210] rcu:     Max phase no-delay instances is 1000.
[    0.066978] EFI services will not be available.
[    0.076643] smp: Bringing up secondary CPUs ...
[    0.076797] smp: Brought up 1 node, 1 CPU
[    0.151927] node 0 deferred pages initialised in 68ms
[    0.167234] devtmpfs: initialized
[    0.178499] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.178755] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.182199] pinctrl core: initialized pinctrl subsystem
[    0.190149] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.193135] audit: initializing netlink subsys (disabled)
[    0.197607] audit: type=2000 audit(0.176:1): state=initialized audit_enabled=0 res=1
[    0.199548] thermal_sys: Registered thermal governor 'fair_share'
[    0.199640] thermal_sys: Registered thermal governor 'bang_bang'
[    0.199686] thermal_sys: Registered thermal governor 'step_wise'
[    0.199714] thermal_sys: Registered thermal governor 'user_space'
[    0.244820] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.254676] iommu: Default domain type: Translated
[    0.254764] iommu: DMA domain TLB invalidation policy: strict mode
[    0.267006] NetLabel: Initializing
[    0.267096] NetLabel:  domain hash size = 128
[    0.267135] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.268109] NetLabel:  unlabeled traffic allowed by default
[    0.271590] vgaarb: loaded
[    0.273310] clocksource: Switched to clocksource riscv_clocksource
[    0.374898] VFS: Disk quotas dquot_6.6.0
[    0.375180] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.383550] AppArmor: AppArmor Filesystem Enabled
[    0.406424] NET: Registered PF_INET protocol family
[    0.407926] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.415483] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.415718] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.415840] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.416304] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.417477] TCP: Hash tables configured (established 16384 bind 16384)
[    0.420200] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear)
[    0.420617] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.420901] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.423303] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.423734] NET: Registered PF_XDP protocol family
[    0.423972] PCI: CLS 0 bytes, default 64
[    0.429030] Trying to unpack rootfs image as initramfs...
[    0.432570] Initialise system trusted keyrings
[    0.453448] Key type blacklist registered
[    0.454786] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.475127] zbud: loaded
[    0.486142] integrity: Platform Keyring initialized
[    0.486263] Key type asymmetric registered
[    0.486372] Asymmetric key parser 'x509' registered
[   10.796054] Freeing initrd memory: 50232K
[   11.005386] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[   11.005786] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[   11.006767] io scheduler mq-deadline registered
[   11.021802] pci-host-generic 30000000.pci: host bridge /soc/pci@30000000 ranges:
[   11.022721] pci-host-generic 30000000.pci:       IO 0x0003000000..0x000300ffff -> 0x0000000000
[   11.023233] pci-host-generic 30000000.pci:      MEM 0x0040000000..0x007fffffff -> 0x0040000000
[   11.023327] pci-host-generic 30000000.pci:      MEM 0x0400000000..0x07ffffffff -> 0x0400000000
[   11.023861] pci-host-generic 30000000.pci: Memory resource size exceeds max for 32 bits
[   11.024843] pci-host-generic 30000000.pci: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff]
[   11.026817] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
[   11.027145] pci_bus 0000:00: root bus resource [bus 00-ff]
[   11.027283] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[   11.027379] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[   11.027419] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff]
[   11.028820] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[   11.037668] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[   11.051952] 10000000.uart: ttyS0 at MMIO 0x10000000 (irq = 1, base_baud = 230400) is a 16550A
[   11.114143] printk: console [ttyS0] enabled
[   11.119382] mousedev: PS/2 mouse device common for all mice
[   11.123969] goldfish_rtc 101000.rtc: registered as rtc0
[   11.124860] goldfish_rtc 101000.rtc: setting system clock to 2022-09-29T12:58:19 UTC (1664456299)
[   11.129421] syscon-poweroff soc:poweroff: pm_power_off already claimed for sbi_srst_power_off
[   11.130388] syscon-poweroff: probe of soc:poweroff failed with error -16
[   11.131626] ledtrig-cpu: registered to indicate activity on CPUs
[   11.133237] riscv-pmu-sbi: SBI PMU extension is available
[   11.134155] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[   11.134591] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[   11.138570] NET: Registered PF_INET6 protocol family
[   11.287201] Segment Routing with IPv6
[   11.287842] In-situ OAM (IOAM) with IPv6
[   11.288528] mip6: Mobile IPv6
[   11.288871] NET: Registered PF_PACKET protocol family
[   11.290319] mpls_gso: MPLS GSO support
[   11.292380] registered taskstats version 1
[   11.292882] Loading compiled-in X.509 certificates
[   12.194421] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[   12.195379] Loaded X.509 cert 'Debian Secure Boot Signer 2022 - linux: 14011249c2675ea8e5148542202005810584b25f'
[   12.200380] zswap: loaded using pool lzo/zbud
[   12.203068] Key type ._fscrypt registered
[   12.203411] Key type .fscrypt registered
[   12.203655] Key type fscrypt-provisioning registered
[   12.361889] Key type encrypted registered
[   12.362329] AppArmor: AppArmor sha1 policy hashing enabled
[   12.363267] ima: No TPM chip found, activating TPM-bypass!
[   12.363894] ima: Allocated hash algorithm: sha256
[   12.367071] ima: No architecture policies found
[   12.368241] evm: Initialising EVM extended attributes:
[   12.368589] evm: security.selinux
[   12.368843] evm: security.SMACK64 (disabled)
[   12.369420] evm: security.SMACK64EXEC (disabled)
[   12.369707] evm: security.SMACK64TRANSMUTE (disabled)
[   12.369997] evm: security.SMACK64MMAP (disabled)
[   12.370275] evm: security.apparmor
[   12.370476] evm: security.ima
[   12.370659] evm: security.capability
[   12.370917] evm: HMAC attrs: 0x1
[   12.775097] Freeing unused kernel image (initmem) memory: 2460K
[   12.781876] Run /init as init process
Loading, please wait...
Starting version 251.4-3
[   17.114691] virtio_blk virtio1: 1/0/0 default/read/poll queues
[   17.152318] virtio_blk virtio1: [vda] 20971520 512-byte logical blocks (10.7 GB/10.0 GiB)
[   17.276978]  vda: vda1
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   18.842026] EXT4-fs (vda1): mounted filesystem with ordered data mode. Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   20.502812] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[   21.791100] systemd[1]: Inserted module 'autofs4'
[   21.962842] systemd[1]: systemd 251.4-3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[   21.966452] systemd[1]: Detected architecture riscv64.

Welcome to Debian GNU/Linux bookworm/sid!

[   21.980462] systemd[1]: Hostname set to <krikkit>.
[   25.591961] systemd[1]: Queued start job for default target Graphical Interface.
[   25.649547] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   25.667400] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   25.684773] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   25.692201] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   25.699861] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   25.715887] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[   25.720446] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   25.723578] systemd[1]: Reached target Local Integrity Protected Volumes.
[  OK  ] Reached target Local Integrity Protected Volumes.
[   25.726838] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   25.730104] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   25.732826] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   25.736167] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   25.739476] systemd[1]: Reached target Local Verity Protected Volumes.
[  OK  ] Reached target Local Verity Protected Volumes.
[   25.747705] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   25.758850] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   25.770741] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   25.782295] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   25.794002] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   25.802878] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   25.806117] systemd[1]: Reached target Socket Units.
[  OK  ] Reached target Socket Units.
[   25.843960] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[   25.912327] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   26.011275] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   26.159234] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[   26.356759] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[   26.493021] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   26.633517] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   26.833725] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   26.988858] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   27.157751] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   27.185770] systemd[1]: Repartition Root Disk was skipped because all trigger condition checks failed.
[   27.258380] fuse: init (API version 7.36)
[   27.316559] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   27.659671] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[   27.699215] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   27.738653] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   27.775080] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   27.850236] systemd[1]: Finished Create List of Static Device Nodes.
[  OK  ] Finished Create List of Static Device Nodes.
[   27.977469] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   28.026998] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   28.132126] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   28.168937] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[   28.226462] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[   28.273954] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[   28.403029] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   28.520095] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   28.543644] systemd[1]: Platform Persistent Storage Archival was skipped because of a failed condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   28.688519] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[   28.852506] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   29.078180] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[   29.476811] systemd[1]: Mounted FUSE Control File System.
[  OK  ] Mounted FUSE Control File System.
[   29.534568] systemd[1]: Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Configuration File System.
[   29.737708] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[   30.707011] systemd-journald[154]: Received client request to flush runtime journal.
[   31.625617] random: crng init done
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
[  OK  ] Reached target Local File Systems.
         Starting Load AppArmor profiles...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[   40.199616] audit: type=1400 audit(1664456328.572:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=176 comm="apparmor_parser"
[   41.120396] audit: type=1400 audit(1664456329.492:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=199 comm="apparmor_parser"
[   41.133525] audit: type=1400 audit(1664456329.504:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=199 comm="apparmor_parser"
[***   ] A start job is running for Load AppArmor profiles (16s / no limit)
[   42.455766] audit: type=1400 audit(1664456330.828:5): apparmor="STATUS" operation="profile_load" profile="u
[  OK  ] Finished Load AppArmor profiles.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Daily dpkg database backup timer.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target Timer Units.
[  OK  ] Started Regular background program processing daemon.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting getty on tty2-tty…nd logind are not available...
         Starting Raise network interfaces...
[  OK  ] Finished getty on tty2-tty… and logind are not available.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
         Starting OpenNTPd Network Time Protocol...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Getty on tty2.
[  OK  ] Started Getty on tty3.
[  OK  ] Started Getty on tty4.
[  OK  ] Started Getty on tty5.
[  OK  ] Started Getty on tty6.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenNTPd Network Time Protocol.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.

Debian GNU/Linux bookworm/sid krikkit ttyS0

krikkit login: root
Password:
Linux krikkit 5.19.0-1-riscv64 #1 SMP Debian 5.19.6-1 (2022-09-01) 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.
root@krikkit:~#

Kommentare

Comments powered by Disqus