Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Booted multiuser...



Hi,

The RISC-V port now boots to multiuser in qemu for RV64.

Nick
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         : 0x000000009fe00000
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,sstc
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
PM
[   1.0000000] NetBSD/riscv (fdt) booting ...
[   1.0000000] Loaded initial symtab at 0xffffffc0006125e0, strtab at 0xffffffc00066fdc0, # entries 15934
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020, 2021, 2022
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 9.99.108 (GENERIC) #11: Thu Dec 15 12:51:42 GMT 2022
[   1.0000000]  nick@thinkbook:/home/nick/netbsd/nick-aarch64/obj.riscv64/sys/arch/riscv/compile/GENERIC
[   1.0000000] total memory = 511472 KB
[   1.0000000] avail memory = 494664 KB
[   1.0000000] mainbus0 (root)
[   1.0000000] simplebus0 at mainbus0: riscv-virtio,qemu
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] simplebus3 at simplebus0
[   1.0000000] cpu0 at cpus0
[   1.0000000] intc0 at cpu0: local interrupt controller
[   1.0000000] plic0 at simplebus1: RISC-V PLIC (96 IRQs)
[   1.0000000] /soc/test@100000 at simplebus1 not configured
[   1.0000000] qemufwcfg0 at simplebus0
[   1.0000000] /flash@20000000 at simplebus0 not configured
[   1.0000000] /poweroff at simplebus0 not configured
[   1.0000000] /reboot at simplebus0 not configured
[   1.0000000] /soc/pmu at simplebus1 not configured
[   1.0000000] gfrtc0 at simplebus1: Google Goldfish RTC
[   1.0000000] com0 at simplebus1: ns16550a, 16-byte FIFO
[   1.0000000] com0: console
[   1.0000000] com0: interrupting on plic0 irq 10
[   1.0000000] /soc/pci@30000000 at simplebus1 not configured
[   1.0000000] virtio0 at simplebus1
[   1.0000000] virtio0: block device (id 2, rev. 0x01)
[   1.0000000] ld0 at virtio0: features: 0x10000a54<INDIRECT_DESC,CONFIG_WCE,FLUSH,BLK_SIZE,GEOMETRY,SEG_MAX>
[   1.0000000] virtio0: interrupting on plic0 irq 8
[   1.0000000] ld0: 8192 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16777216 sectors
[   1.0000000] virtio1 at simplebus1
[   1.0000000] virtio1: network device (id 1, rev. 0x01)
[   1.0000000] vioif0 at virtio1: features: 0x31870020<EVENT_IDX,INDIRECT_DESC,NOTIFY_ON_EMPTY,CTRL_MAC,CTRL_RX,CTRL_VQ,STATUS,MAC>
[   1.0000000] vioif0: Ethernet address 00:11:22:55:55:55
[   1.0000000] virtio1: interrupting on plic0 irq 7
[   1.0000000] virtio2 at simplebus1
[   1.0000000] virtio3 at simplebus1
[   1.0000000] virtio4 at simplebus1
[   1.0000000] virtio5 at simplebus1
[   1.0000000] virtio6 at simplebus1
[   1.0000000] virtio7 at simplebus1
[   1.0000000] /soc/clint@2000000 at simplebus1 not configured
[   1.0296465] WARNING: system needs entropy for security; see entropy(7)
[   1.0296465] dk0 at ld0: "EFI", 163840 blocks at 32768, type: msdos
[   1.0397749] dk1 at ld0: "netbsd-root", 16572416 blocks at 196608, type: ffs
[   1.0595693] swwdog0: software watchdog initialized
[   1.0699061] root on dk1
[   1.0699061] mountroot: trying lfs...
[   1.0699061] mountroot: trying ffs...
[   1.0699061] root file system type: ffs
[   1.0795328] kern.module.path=/stand/riscv/9.99.108/modules
[   1.0895343] init: copying out path `/sbin/init' 11
Thu Dec 15 12:51:59 UTC 2022
Starting root file system check:
/dev/rdk1: 26734 files, 272476 used, 746875 free (43 frags, 93354 blocks, 0.0% fragmentation)
/dev/rdk1: MARKING FILE SYSTEM CLEAN
Not resizing / (NAME=netbsd-root): already correct size
Starting devpubd.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting file system checks:
/dev/rdk0: 10 files, 81022 free (81022 clusters)
rndctl: no entropy in seed
Setting tty flags.
Starting network.
Hostname: riscv64
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Starting dhcpcd.
[  15.0595885] vioif0: link state UP (was UNKNOWN)
Starting mdnsd.
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting sshd.
Starting postfix.
Starting inetd.
Starting cron.
Thu Dec 15 12:52:32 UTC 2022

NetBSD/riscv (riscv64) (constty)

login: root
Dec 15 12:52:38 riscv64 login: ROOT LOGIN (root) on tty constty
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
    2018, 2019, 2020, 2021, 2022
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 9.99.108 (GENERIC) #11: Thu Dec 15 12:51:42 GMT 2022

Welcome to NetBSD!

This is a development snapshot of NetBSD for testing -- user beware!

Bug reports: https://www.NetBSD.org/support/send-pr.html
Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/
-- UNSAFE KEYS WARNING:

        The ssh host keys on this machine have been generated with
        not enough entropy configured, so may be predictable.

        To fix, follow the "Adding entropy" section in the entropy(7)
        man page and after this machine has enough entropy, re-generate
        the ssh host keys by running:

                sh /etc/rc.d/sshd keyregen
We recommend that you create a non-root account and use su(1) for root access.
riscv64#


Home | Main Index | Thread Index | Old Index