OpenSBI v0.9-9-g1fa28f8
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Nuclei Demo SoC
Platform Features : timer,mfdeleg
Platform HART Count : 8
Firmware Base : 0xa0000000
Firmware Size : 156 KB
Runtime SBI Version : 0.2
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7*
Domain0 Region00 : 0x00000000a0000000-0x00000000a003ffff ()
Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x00000000a0200000
Domain0 Next Arg1 : 0x00000000a8000000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART ISA : rv64imafdcbpsu
Boot HART Features : scounteren,mcounteren,time
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 30
Boot HART MHPM Count : 0
Boot HART MHPM Count : 0
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2021.01 (Aug 17 2021 - 06:37:21 +0000)
CPU: rv64imafdc
Model: nuclei,demo-soc
DRAM: 224 MiB
Board: Initialized
MMC: Nuclei SPI version 0x0
spi@10034000:mmc@0: 0
In: serial@10013000
Out: serial@10013000
Err: serial@10013000
Net: No ethernet found.
Hit any key to stop autoboot: 0
252 bytes read in 47 ms (4.9 KiB/s)
## Executing script at a0200000
Loading kernel
3632376 bytes read in 28401 ms (124 KiB/s)
Loading dtb
4841 bytes read in 113 ms (41 KiB/s)
Starts booting from SD
## Booting kernel from Legacy Image at a1000000 ...
Image Name: OpenEmbedded/1.0+gitAUTOINC+67b5
Image Type: RISC-V Linux Kernel Image (gzip compressed)
Data Size: 3632312 Bytes = 3.5 MiB
Load Address: a0400000
Entry Point: a0400000
Verifying Checksum ... OK
## Flattened Device Tree blob at a8000000
Booting using the fdt blob at 0xa8000000
Uncompressing Kernel Image
Using Device Tree in place at 00000000a8000000, end 00000000a80042e8
Starting kernel ...
[ 0.000000] Linux version 5.10.0 (oe-user@oe-host) (riscv64-oe-linux-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 SMP Fri Nov 19 09:56:24 UTC 2021
[ 0.000000] OF: fdt: Ignoring memory range 0xa0000000 - 0xa0400000
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x00000000a0400000-0x00000000adffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000a0400000-0x00000000adffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000a0400000-0x00000000adffffff]
[ 0.000000] software IO TLB: mapped [mem 0x00000000a9cf6000-0x00000000adcf6000] (64MB)
[ 0.000000] SBI specification v0.2 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x9
[ 0.000000] SBI v0.2 TIME extension detected
[ 0.000000] SBI v0.2 IPI extension detected
[ 0.000000] SBI v0.2 RFENCE extension detected
[ 0.000000] SBI v0.2 HSM extension detected
[ 0.000000] riscv: ISA extensions acdfim
[ 0.000000] riscv: ELF capabilities acdfim
[ 0.000000] percpu: Embedded 16 pages/cpu s25112 r8192 d32232 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 55550
[ 0.000000] Kernel command line: earlycon=sbi console=ttyNUC0 root=/dev/mmcblk0p2 rootwait
[ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 142000K/225280K available (4710K kernel code, 4157K rwdata, 2048K rodata, 188K init, 328K bss, 83280K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] riscv-intc: 64 local interrupts mapped
[ 0.000000] plic: interrupt-controller@8000000: mapped 53 interrupts with 4 handlers for 8 contexts.
[ 0.000000] random: get_random_bytes called from 0xffffffe000002964 with crng_init=0
[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1ef4687b1, max_idle_ns: 112843571739654 ns
[ 0.000396] sched_clock: 64 bits at 32kHz, resolution 30517ns, wraps every 70368744171142ns
[ 0.013671] Calibrating delay loop (skipped), value calculated using timer frequency.. 0.06 BogoMIPS (lpj=327)
[ 0.025054] pid_max: default: 32768 minimum: 301
[ 0.039855] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.048370] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.165008] rcu: Hierarchical SRCU implementation.
[ 0.184265] EFI services will not be available.
[ 0.226959] smp: Bringing up secondary CPUs ...
[ 1.335968] CPU1: failed to come online
[ 2.479858] CPU2: failed to come online
[ 3.623657] CPU3: failed to come online
[ 4.767456] CPU4: failed to come online
[ 5.911376] CPU5: failed to come online
[ 7.055389] CPU6: failed to come online
[ 8.199371] CPU7: failed to come online
[ 8.206573] smp: Brought up 1 node, 1 CPU
[ 8.238891] devtmpfs: initialized
[ 8.341430] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 8.352905] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 8.377532] pinctrl core: initialized pinctrl subsystem
[ 8.406249] NET: Registered protocol family 16
[ 9.031433] clocksource: Switched to clocksource riscv_clocksource
[ 9.113342] NET: Registered protocol family 2
[ 9.163818] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 9.174407] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 9.186004] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 9.198760] TCP: Hash tables configured (established 2048 bind 2048)
[ 9.219329] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 9.228881] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 9.252929] NET: Registered protocol family 1
[ 9.293182] RPC: Registered named UNIX socket transport module.
[ 9.300170] RPC: Registered udp transport module.
[ 9.304870] RPC: Registered tcp transport module.
[ 9.310241] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 9.377929] workingset: timestamp_bits=62 max_order=16 bucket_order=0
[ 9.750396] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 9.790802] JFS: nTxBlock = 1109, nTxLock = 8875
[ 12.875915] NET: Registered protocol family 38
[ 12.882537] io scheduler mq-deadline registered
[ 12.887115] io scheduler kyber registered
[ 15.674926] 10013000.serial: ttyNUC0 at MMIO 0x10013000 (irq = 1, base_baud = 0) is a Nuclei UART/USART
[ 15.686340] printk: console [ttyNUC0] enabled
[ 15.686340] printk: console [ttyNUC0] enabled
[ 15.695709] printk: bootconsole [sbi0] disabled
[ 15.695709] printk: bootconsole [sbi0] disabled
[ 16.316375] brd: module loaded
[ 16.842651] loop: module loaded
[ 16.864990] nuclei_spi 10014000.spi: mapped; irq=2, cs=1
[ 16.916137] spi-nor spi0.0: gd25q32 (4096 Kbytes)
[ 17.066833] random: fast init done
[ 18.622955] ftl_cs: FTL header not found.
[ 18.681030] nuclei_spi 10034000.spi: mapped; irq=4, cs=1
[ 18.753265] libphy: Fixed MDIO Bus: probed
[ 18.833129] mmc_spi spi1.0: SD/MMC host mmc0, no DMA, no WP, no poweroff, cd polling
[ 18.865051] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 18.932098] NET: Registered protocol family 10
[ 19.027709] Segment Routing with IPv6
[ 19.036590] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 19.081848] NET: Registered protocol family 17
[ 19.165771] Waiting for root device /dev/mmcblk0p2...
[ 19.300872] mmc0: host does not support reading read-only switch, assuming write-enable
[ 19.310089] mmc0: new SDXC card on SPI
[ 19.382629] mmcblk0: mmc0:0000 SD64G 59.5 GiB
[ 19.990325] mmcblk0: p1 p2
[ 21.410461] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 21.417938] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 23.001647] EXT4-fs (mmcblk0p2): recovery complete
[ 23.076477] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 23.087646] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 23.145874] devtmpfs: mounted
[ 23.175903] Freeing unused kernel memory: 188K
[ 23.183135] Run /sbin/init as init process
init started: BusyBox v1.34.1 ()
starting pid 95, tty '': '/bin/mount -t proc proc /proc'
starting pid 96, tty '': '/bin/mount -t sysfs sysfs /sys'
starting pid 97, tty '': '/bin/mount -t devtmpfs devtmpfs /dev'
mount: /dev: devtmpfs already mounted on /dev.
starting pid 98, tty '': '/bin/mount -o remount,rw /'
[ 48.295684] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
starting pid 99, tty '': '/bin/mkdir -p /dev/pts'
starting pid 100, tty '': '/bin/mount -t devpts devpts /dev/pts'
starting pid 101, tty '': '/bin/mount -a'
mount: /root: mount point does not exist.
starting pid 102, tty '': '/sbin/swapon -a'
starting pid 108, tty '': '/etc/init.d/rcS'
[ 70.709289] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: No such file or directory
Fri Mar 9 12:34:56 UTC 2018
[ 94.720764] random: dd: uninitialized urandom read (512 bytes read)
starting pid 186, tty '/dev/ttyNUC0': '/sbin/getty 115200 ttyNUC0'
OpenEmbedded nodistro.0 nuclei ttyNUC0
nuclei login: root
root@nuclei:~# uname -a
Linux nuclei 5.10.0 #1 SMP Fri Nov 19 09:56:24 UTC 2021 riscv64 riscv64 riscv64 GNU/Linux