---------------------------------------- Custom Bootloader for MEEP OpenSBI v0.9 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : OPENPITON RISC-V Platform Features : timer,mfdeleg Platform HART Count : 20 Firmware Base : 0x80000000 Firmware Size : 240 KB Runtime SBI Version : 0.2 Domain0 Name : root Domain0 Boot HART : 3 Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7*,8*,9*,10*,11*,12*,13*,14*,15*,16*,17*,18*,19* Domain0 Region00 : 0x0000000080000000-0x000000008003ffff () Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200000 Domain0 Next Arg1 : 0x00000000b0200000 Domain0 Next Mode : S-mode Domain0 SysReset : yes memory reg size 16 memory reg (orig): <0x80000000> <0x200000000> /memory: reducing size to 0x13ff00000 memory reg (new): <0x80000000> <0x13fe00000> data-xchg (new): <0x1bfe00000> <0x100000> pmem (new): <0x1bff00000> <0xc0100000> fdt_fixups done char -1 Boot HART ID : 3 Boot HART Domain : root Boot HART ISA : rv64imafdcsu Boot HART Features : scounteren,mcounteren Boot HART PMP Count : 0 Boot HART PMP Granularity : 0 Boot HART PMP Address Bits: 0 Boot HART MHPM Count : 4 Boot HART MHPM Count : 4 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 [ 0.000000] Linux version 5.11.0-dirty (xavim@satu) (riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #148 SMP Tue Sep 7 16:46:10 CEST 2021 [ 0.000000] OF: fdt: No chosen node found, continuing without [ 0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000 [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '') [ 0.000000] printk: bootconsole [sbi0] enabled [ 0.000000] printk: debug: ignoring loglevel setting. [ 0.000000] reserved 0x7fdfffff - dram_end 0xbfe00000 - max_mapped_addr 0x801fffff [ 0.000000] max_low_pfn 0x1bfe00 - max_pfn 0x1bfe00 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080200000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x00000001bfdfffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080200000-0x00000001bfdfffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x00000001bfdfffff] [ 0.000000] On node 0 totalpages: 1309696 [ 0.000000] DMA32 zone: 7161 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 523776 pages, LIFO batch:63 [ 0.000000] Normal zone: 10745 pages used for memmap [ 0.000000] Normal zone: 785920 pages, LIFO batch:63 [ 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] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB) [ 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 s25624 r8192 d31720 u65536 [ 0.000000] pcpu-alloc: s25624 r8192 d31720 u65536 alloc=16*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1291790 [ 0.000000] Kernel command line: earlyprintk earlycon=sbi ignore_loglevel console=ttyS0 root=/dev/pmem0p1 ro maxcpus=2 [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 5064028K/5238784K available (6447K kernel code, 2894K rwdata, 2048K rodata, 10097K init, 301K bss, 174756K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] riscv-intc: 64 local interrupts mapped [ 0.000000] plic: plic@fff1100000: mapped 2 interrupts with 4 handlers for 8 contexts. [ 0.000000] random: get_random_bytes called from start_kernel+0x380/0x580 with crng_init=0 [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [3] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x171024e6b, max_idle_ns: 3526361618415 ns [ 0.000033] sched_clock: 64 bits at 781kHz, resolution 1280ns, wraps every 4398046510720ns [ 0.010240] Calibrating delay loop (skipped), value calculated using timer frequency.. 1.56 BogoMIPS (lpj=7812) [ 0.021820] pid_max: default: 32768 minimum: 301 [ 0.033886] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.046525] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.091210] rcu: Hierarchical SRCU implementation. [ 0.108202] smp: Bringing up secondary CPUs ... [ 0.128606] smp: Brought up 1 node, 2 CPUs [ 0.151372] devtmpfs: initialized [ 0.184343] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.195669] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.213323] NET: Registered protocol family 16 [ 0.428527] usbcore: registered new interface driver usbfs [ 0.436016] usbcore: registered new interface driver hub [ 0.442625] usbcore: registered new device driver usb [ 0.463710] clocksource: Switched to clocksource riscv_clocksource [ 0.500544] NET: Registered protocol family 2 [ 0.517117] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.529644] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.557739] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear) [ 0.600011] TCP: Hash tables configured (established 65536 bind 65536) [ 0.613937] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.626182] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.642247] NET: Registered protocol family 1 [ 0.664217] RPC: Registered named UNIX socket transport module. [ 0.670933] RPC: Registered udp transport module. [ 0.676432] RPC: Registered tcp transport module. [ 0.681483] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.754716] workingset: timestamp_bits=62 max_order=21 bucket_order=0 [ 1.916728] NFS: Registering the id_resolver key type [ 1.922860] Key type id_resolver registered [ 1.927824] Key type id_legacy registered [ 1.934342] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.796136] io scheduler mq-deadline registered [ 2.801331] io scheduler kyber registered [ 3.902017] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.935614] printk: console [ttyS0] disabled [ 3.941944] fff0c2c000.uart: ttyS0 at MMIO 0xfff0c2c000 (irq = 1, base_baud = 6250000) is a 16550 *** baud: 57600 *** *** baud: 38400 *** *** baud: 19200 *** *** baud: 9600 *** [ 16.897120] EXT4-fs (pmem0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: disabled. [ 21.170534] systemd[1]: System time before build time, advancing clock. [ 21.473209] systemd[1]: systemd v246.6-3.0.riscv64.fc33 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD -SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 21.778173] systemd[1]: Detected architecture riscv64. Welcome to Fedora 33 (Rawhide)! [ 21.952655] systemd[1]: Set hostname to . [ 33.518664] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-udev.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 33.785743] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-udev.service:28: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 34.115769] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-trigger.service:23: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 34.385795] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-trigger.service:24: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 34.722840] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-pivot.service:30: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 34.989728] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-pivot.service:31: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 35.319285] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 35.586356] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 35.912858] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 36.176586] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 36.491297] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-initqueue.service:24: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 36.758270] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-initqueue.service:25: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 37.111584] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.service:26: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 37.377047] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.service:27: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 38.242944] systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed. [ 41.145538] systemd[1]: Queued start job for default target Multi-User System. [ 41.261679] random: systemd: uninitialized urandom read (16 bytes read) [ 41.348496] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 41.498289] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 41.621670] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 41.797253] random: systemd: uninitialized urandom read (16 bytes read) [ 41.890288] systemd[1]: Created slice system-modprobe.slice. [ OK ] Created slice system-modprobe.slice. [ 42.067402] random: systemd: uninitialized urandom read (16 bytes read) [ 42.161815] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 42.357411] random: systemd: uninitialized urandom read (16 bytes read) [ 42.450039] systemd[1]: Created slice system-sshd\x2dkeygen.slice. [ OK ] Created slice system-sshd\x2dkeygen.slice. [ 42.637858] random: systemd: uninitialized urandom read (16 bytes read) [ 42.729099] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 42.908033] random: systemd: uninitialized urandom read (16 bytes read) [ 42.995407] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password Requests to Wall Directory Watch. [ 43.219960] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped. [ 43.365826] random: systemd: uninitialized urandom read (16 bytes read) [ 43.447246] systemd[1]: Reached target Network is Online. [ OK ] Reached target Network is Online. [ 43.619069] random: systemd: uninitialized urandom read (16 bytes read) [ 43.700714] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 43.877478] random: systemd: uninitialized urandom read (16 bytes read) [ 43.959129] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 44.109505] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 44.372029] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 44.564892] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe44.727413] random: fast init done [0m. [ 45.001088] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 45.114913] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 45.311694] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 45.482775] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 45.669716] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 45.850412] systemd[1]: Condition check resulted in Huge Pages File System being skipped. [ 45.959055] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped. [ 46.078725] systemd[1]: Condition check resulted in Kernel Debug File System being skipped. [ 46.189768] systemd[1]: Condition check resulted in Kernel Trace File System being skipped. [ 46.356898] systemd[1]: Mounting Temporary Directory (/tmp)... Mounting Temporary Directory (/tmp)... [ 46.535668] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped. [ 46.746408] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 46.930000] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 47.107473] systemd[1]: Starting File System Check on Root Device... Starting File System Check on Root Device... [ 47.326899] systemd[1]: Condition check resulted in Load Kernel Modules being skipped. [ 47.439738] systemd[1]: Condition check resulted in FUSE Control File System being skipped. [ 47.553297] systemd[1]: Condition check resulted in Kernel Configuration File System being skipped. [ 47.672584] systemd[1]: Condition check resulted in Repartition Root Disk being skipped. [ 47.858755] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 48.160151] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 48.420079] systemd[1]: Condition check resulted in Setup Virtual Console being skipped. [ 48.926124] systemd[1]: Mounted Temporary Directory (/tmp). [ OK ] Mounted Temporary Directory (/tmp). [ 49.146732] systemd[1]: modprobe@drm.service: Succeeded. [ 49.330182] systemd[1]: Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module drm. [ 50.332288] systemd[1]: Finished Apply Kernel Variables. [ OK ] Finished Apply Kernel Variables. [ 50.540096] systemd[1]: Finished File System Check on Root Device. [ OK ] Finished File System Check on Root Device. [ 50.828688] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 52.278684] EXT4-fs (pmem0p1): re-mounted. Opts: (null). Quota mode: disabled. [ 52.496906] systemd[1]: Finished Remount Root and Kernel File Systems. [ OK ] Finished Remount Root and Kernel File Systems. [ 52.712398] systemd[1]: Condition check resulted in First Boot Wizard being skipped. [ 52.824307] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 53.008843] systemd[1]: Starting Load/Save Random Seed... Starting Load/Save Random Seed... [ 53.172427] systemd[1]: Condition check resulted in Create System Users being skipped. [ 53.500007] systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... [* ] (1 of 4) A start job is running for...ice Nodes in /dev (14s / no limit) [ OK ] Finished Create Static Device Nodes in /dev. [ 55.978279] systemd[1]: Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems (Pre). [ 56.169848] systemd[1]: Reached target Local File Systems. [ OK ] Reached target Local File Systems. [ 56.549638] systemd[1]: Starting Restore /run/initramfs on shutdown... Starting Restore /run/initramfs on shutdown... [ 56.957719] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm. [ OK ] Started Entropy Daemon based on the HAVEGE algorithm. [ 57.290990] systemd[1]: Condition check resulted in Import network configuration from initramfs being skipped. [ 57.553150] systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped. [ 57.939690] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data... Starting Tell Plymouth To Write Out Runtime Data... [ 58.289736] systemd[1]: Condition check resulted in Mark the need to relabel after reboot being skipped. [ 58.761884] systemd[1]: Starting Journal Service... Starting Journal Service... [ 59.050986] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped. [ 59.531564] systemd[1]: Starting Rule-based Manager for Device Events and Files... Starting Rule-based Manager for Device Events and Files... [ 60.119170] systemd[1]: Finished Restore /run/initramfs on shutdown. [ OK ] Finished Restore /run/initramfs on shutdown. [ 60.569429] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data. [ 60.765304] random: crng init done [ 60.806689] random: 1 urandom warning(s) missed due to ratelimiting [ OK ] Finished Tell Plymouth To Write Out Runtime Data. [ 61.151833] systemd[1]: Finished Load/Save Random Seed. [ OK ] Finished Load/Save Random Seed. [ 61.491994] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped. [ 63.891047] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Found device /dev/ttyS0. [ OK ] Finished Coldplug All udev Devices. [ OK ] Finished Flush Journal to Persistent Storage. Starting Show Plymouth Boot Screen... Starting Create Volatile Files and Directories... [ OK ] Started Show Plymouth Boot Screen. [ OK ] Started Forward Password R...s to Plymouth Directory Watch. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Reached target Paths. [ OK ] Finished Create Volatile Files and Directories. Starting Security Auditing Service... [FAILED] Failed to start Security Auditing Service. See 'systemctl status auditd.service' for details. Starting Update UTMP about System Boot/Shutdown... [ OK ] Finished Update UTMP about System Boot/Shutdown. [ OK ] Reached target System Initialization. [ OK ] Started dnf makecache --timer. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started daily update of the root trust anchor for DNSSEC. [ OK ] Reached target Timers. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on SSSD Kerberos Cache Manager responder socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. Starting firewalld - dynamic firewall daemon... Starting LSB: Init script for live image.... [ OK ] Reached target sshd-keygen.target. Starting OpenSSH server daemon... Starting System Security Services Daemon... [ OK ] Started OpenSSH server daemon. [ OK ] Started System Security Services Daemon. [ OK ] Reached target User and Group Name Lookups. Starting User Login Management... Starting Permit User Sessions... [ OK ] Started LSB: Init script for live image.. Starting NTP client/server... [ OK ] Finished Permit User Sessions. Starting Hold until boot process finishes up... Starting Terminate Plymouth Boot Screen... Fedora 33 (Rawhide) Kernel 5.11.0-dirty on an riscv64 (ttyS0) fedora-riscv login: riscv Password: Last login: Wed Jul 14 11:46:07 on ttyS0 [riscv@fedora-riscv ~]$ lscpu Architecture: riscv64 Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0,1 Off-line CPU(s) list: 2,3 Thread(s) per core: 2 Core(s) per socket: 1 Socket(s): 1 [riscv@fedora-riscv ~]$