connecting to NetworkSerialPort(target=Target(name='sifive_fu540', env=None), name='USBSerialPort', state=, avail=True, host='nuc-2', port=48065, speed=115200, protocol='rfc2217') calling microcom -s 115200 -t nuc-2:48065 connected to 192.168.0.2 (port 48065) Escape character: Ctrl-\ Type the escape character to get to the prompt. SiFive FSBL: 2018-03-20 HiFive-U serial #: 0000013c OpenSBI v1.1 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : sifive,hifive-unleashed-a00 Platform Features : medeleg Platform HART Count : 5 Platform IPI Device : aclint-mswi Platform Timer Device : aclint-mtimer @ 1000000Hz Platform Console Device : sifive_uart Platform HSM Device : --- Platform Reboot Device : gpio-restart Platform Shutdown Device : --- Firmware Base : 0x80000000 Firmware Size : 320 KB Runtime SBI Version : 1.0 Domain0 Name : root Domain0 Boot HART : 2 Domain0 HARTs : 0*,1*,2*,3*,4* 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 : 2 Boot HART Domain : root Boot HART Priv Version : v1.10 Boot HART Base ISA : rv64imafdc Boot HART ISA Extensions : none Boot HART PMP Count : 8 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 36 Boot HART MHPM Count : 2 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2022.07 (Aug 25 2022 - 14:57:58 -0700) CPU: rv64imac Model: SiFive HiFive Unleashed A00 DRAM: 8 GiB Core: 36 devices, 22 uclasses, devicetree: separate MMC: spi@10050000:mmc@0: 0 Loading Environment from SPIFlash... SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB *** Warning - bad CRC, using default environment In: serial@10010000 Out: serial@10010000 Err: serial@10010000 Net: sifive-reset reset: failed to get cltx_reset reset eth0: ethernet@10090000 Hit any key to stop autoboot: 2  0 => setenv autoload no => setenv initrd_high 0xffffffffffffffff => setenv fdt_high 0xffffffffffffffff => dhcp ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) BOOTP broadcast 1 DHCP client bound to address 192.168.0.123 (9 ms) => setenv serverip 192.168.0.2 => tftp 0x80200000 3905920/tftp-deploy-7pixggk9/kernel/Image ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) Using ethernet@10090000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.123 Filename '3905920/tftp-deploy-7pixggk9/kernel/Image'. Load address: 0x80200000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############### 1.5 MiB/s done Bytes transferred = 22166528 (1523c00 hex) => tftp 0x83500000 3905920/tftp-deploy-7pixggk9/ramdisk/ramdisk.cpio.gz.uboot ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) Using ethernet@10090000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.123 Filename '3905920/tftp-deploy-7pixggk9/ramdisk/ramdisk.cpio.gz.uboot'. Load address: 0x83500000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ##################################### 1.4 MiB/s done Bytes transferred = 14847387 (e28d9b hex) => setenv initrd_size ${filesize} => tftp 0x83000000 3905920/tftp-deploy-7pixggk9/dtb/hifive-unleashed-a00.dtb ethernet@10090000: PHY present at 0 ethernet@10090000: Starting autonegotiation... ethernet@10090000: Autonegotiation complete ethernet@10090000: link up, 100Mbps full-duplex (lpa: 0xcde1) Using ethernet@10090000 device TFTP from server 192.168.0.2; our IP address is 192.168.0.123 Filename '3905920/tftp-deploy-7pixggk9/dtb/hifive-unleashed-a00.dtb'. Load address: 0x83000000 Loading: *# 1012.7 KiB/s done Bytes transferred = 8303 (206f hex) => setenv bootargs 'console=ttySIF0,115200n8 root=/dev/ram0 console_msg_format=syslog earlycon deferred_probe_timeout=60 ip=dhcp' => booti 0x80200000 0x83500000 0x83000000 ## Loading init Ramdisk from Legacy Image at 83500000 ... Image Name: Image Type: RISC-V Linux RAMDisk Image (uncompressed) Data Size: 14847323 Bytes = 14.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 83000000 Booting using the fdt blob at 0x83000000 Using Device Tree in place at 0000000083000000, end 000000008300506e Starting kernel ... [ 0.000000] Linux version 6.12.0-rc5-next-20241031 (KernelCI@build-j358041-riscv-clang-17-defconfig-trpjg) (Debian clang version 17.0.6 (++20231208085813+6009708b4367-1~exp1~20231208085906.81), GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Thu Oct 31 07:56:34 UTC 2024 [ 0.000000] Machine model: SiFive HiFive Unleashed A00 [ 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] efi: UEFI not found. [ 0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options '') [ 0.000000] printk: legacy bootconsole [sifive0] enabled [ 0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable mmode_resv0@80000000 [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000027fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000008007ffff] [ 0.000000] node 0: [mem 0x0000000080080000-0x000000027fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000027fffffff] [ 0.000000] SBI HSM extension detected [ 0.000000] CPU with hartid=0 is not available [ 0.000000] riscv: base ISA extensions acdfim [ 0.000000] riscv: ELF capabilities acdfim [ 0.000000] percpu: Embedded 21 pages/cpu s49064 r8192 d28760 u86016 [ 0.000000] Kernel command line: console=ttySIF0,115200n8 root=/dev/ram0 console_msg_format=syslog earlycon deferred_probe_timeout=60 ip=dhcp <6>[ 0.000000] printk: log buffer data + meta data: 131072 + 458752 = 589824 bytes <6>[ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) <6>[ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) <6>[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2097152 <6>[ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off <6>[ 0.000000] software IO TLB: area num 4. <6>[ 0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB) <5>[ 0.000000] Virtual kernel memory layout: <5>[ 0.000000] fixmap : 0xffffffc4fea00000 - 0xffffffc4ff000000 (6144 kB) <5>[ 0.000000] pci io : 0xffffffc4ff000000 - 0xffffffc500000000 ( 16 MB) <5>[ 0.000000] vmemmap : 0xffffffc500000000 - 0xffffffc600000000 (4096 MB) <5>[ 0.000000] vmalloc : 0xffffffc600000000 - 0xffffffd600000000 ( 64 GB) <5>[ 0.000000] modules : 0xffffffff0159e000 - 0xffffffff80000000 (2026 MB) <5>[ 0.000000] lowmem : 0xffffffd600000000 - 0xffffffd800000000 (8192 MB) <5>[ 0.000000] kernel : 0xffffffff80000000 - 0xffffffffffffffff (2047 MB) <6>[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 <6>[ 0.000000] rcu: Hierarchical RCU implementation. <6>[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. <6>[ 0.000000] rcu: RCU debug extended QS entry/exit. <6>[ 0.000000] Tracing variant of Tasks RCU enabled. <6>[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. <6>[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 <6>[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. <6>[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 <6>[ 0.000000] riscv-intc: 64 local interrupts mapped <6>[ 0.000000] riscv: providing IPIs using SBI IPI extension <6>[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. <6>[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 3526361616960 ns <6>[ 0.000002] sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns <6>[ 0.008946] Console: colour dummy device 80x25 <6>[ 0.013376] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=4000) <6>[ 0.023627] pid_max: default: 32768 minimum: 301 <6>[ 0.028590] LSM: initializing lsm=capability <6>[ 0.033587] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.041157] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) <6>[ 0.051104] CPU node for /cpus/cpu@0 exist but the possible cpu range is :0-3 <6>[ 0.060194] riscv: ELF compat mode unsupported <6>[ 0.060209] ASID allocator disabled (0 bits) <6>[ 0.069094] rcu: Hierarchical SRCU implementation. <6>[ 0.073706] rcu: Max phase no-delay instances is 1000. <6>[ 0.079721] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level <6>[ 0.087794] EFI services will not be available. <6>[ 0.092941] smp: Bringing up secondary CPUs ... <4>[ 0.098207] ------------[ cut here ]------------ <4>[ 0.098216] WARNING: CPU: 1 PID: 0 at kernel/time/clockevents.c:455 clockevents_register_device+0x172/0x184 <4>[ 0.098256] Modules linked in: <4>[ 0.098268] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.12.0-rc5-next-20241031 #1 <4>[ 0.098288] Hardware name: SiFive HiFive Unleashed A00 (DT) <4>[ 0.098295] epc : clockevents_register_device+0x172/0x184 <4>[ 0.098312] ra : clockevents_config_and_register+0x1a/0x24 <4>[ 0.098329] epc : ffffffff800b1238 ra : ffffffff800b1264 sp : ffffffc6000b3d90 <4>[ 0.098341] gp : ffffffff815211c8 tp : ffffffd680146600 t0 : 00000000000f4240 <4>[ 0.098352] t1 : 0000000000000020 t2 : ffffffff812c1c9a s0 : ffffffc6000b3dd0 <4>[ 0.098363] s1 : ffffffd7fefae540 a0 : 0000000000000000 a1 : 0000000000000001 <4>[ 0.098373] a2 : ffffffff815241e8 a3 : ffffffffffffffff a4 : 0000000000000000 <4>[ 0.098384] a5 : ffffffffffffffff a6 : 00000000000003e8 a7 : 00000000000186a1 <4>[ 0.098395] s2 : ffffffff8152807a s3 : ffffffd7fefae540 s4 : 0000000000000000 <4>[ 0.098406] s5 : ffffffff807e802c s6 : 0000000000000028 s7 : ffffffff81410fe8 <4>[ 0.098417] s8 : ffffffff81410fe0 s9 : 000000008003d6ac s10: 0000000000000000 <4>[ 0.098428] s11: 0000000000000000 t3 : 0000000000000000 t4 : ffffffd680076900 <4>[ 0.098438] t5 : 0000000000000001 t6 : 0000000000000003 <4>[ 0.098446] status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003 <4>[ 0.098457] [] clockevents_register_device+0x172/0x184 <4>[ 0.098478] [] clockevents_config_and_register+0x1a/0x24 <4>[ 0.098497] [] riscv_timer_starting_cpu+0x90/0xd0 <4>[ 0.098521] [] cpuhp_invoke_callback+0xaa/0x15a <4>[ 0.098538] [] notify_cpu_starting+0xc8/0x100 <4>[ 0.098566] [] smp_callin+0x34/0x74 <4>[ 0.098590] ---[ end trace 0000000000000000 ]--- <6>[ 0.101252] smp: Brought up 1 node, 4 CPUs <6>[ 0.281351] Memory: 8120536K/8388608K available (10362K kernel code, 2949K rwdata, 4096K rodata, 2313K init, 485K bss, 264048K reserved, 0K cma-reserved) <6>[ 0.297678] devtmpfs: initialized <6>[ 0.304480] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns <6>[ 0.313771] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) <6>[ 0.321337] pinctrl core: initialized pinctrl subsystem <6>[ 0.327013] DMI not present or invalid. <6>[ 0.331435] NET: Registered PF_NETLINK/PF_ROUTE protocol family <6>[ 0.337670] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations <6>[ 0.344698] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations <6>[ 0.352677] audit: initializing netlink subsys (disabled) <5>[ 0.358501] audit: type=2000 audit(0.208:1): state=initialized audit_enabled=0 res=1 <6>[ 0.359104] thermal_sys: Registered thermal governor 'step_wise' <6>[ 0.366271] cpuidle: using governor menu <6>[ 0.400667] cpu3: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.400667] cpu2: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.400668] cpu1: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.452761] cpu0: Ratio of byte access time to unaligned word access is 0.01, unaligned accesses are slow <6>[ 0.462053] CCACHE: 4 banks, 16 ways, sets/bank=512, bytes/block=64 <6>[ 0.468347] CCACHE: Index of the largest way enabled: 15 <6>[ 0.481824] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages <6>[ 0.488125] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page <6>[ 0.495979] ACPI: Interpreter disabled. <6>[ 0.499533] iommu: Default domain type: Translated <6>[ 0.504359] iommu: DMA domain TLB invalidation policy: strict mode <5>[ 0.511905] SCSI subsystem initialized <6>[ 0.515719] usbcore: registered new interface driver usbfs <6>[ 0.520941] usbcore: registered new interface driver hub <6>[ 0.526495] usbcore: registered new device driver usb <6>[ 0.532735] Advanced Linux Sound Architecture Driver Initialized. <6>[ 0.539591] vgaarb: loaded <6>[ 0.542251] clocksource: Switched to clocksource riscv_clocksource <6>[ 0.549155] pnp: PnP ACPI: disabled <6>[ 0.567095] NET: Registered PF_INET protocol family <6>[ 0.574366] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) <6>[ 0.600205] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 131072 bytes, linear) <6>[ 0.608783] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) <6>[ 0.616365] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) <6>[ 0.626691] TCP bind hash table entries: 65536 (order: 10, 4194304 bytes, linear) <6>[ 0.648713] TCP: Hash tables configured (established 65536 bind 65536) <6>[ 0.655299] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear) <6>[ 0.663201] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear) <6>[ 0.671560] NET: Registered PF_UNIX/PF_LOCAL protocol family <6>[ 0.677946] RPC: Registered named UNIX socket transport module. <6>[ 0.683376] RPC: Registered udp transport module. <6>[ 0.688333] RPC: Registered tcp transport module. <6>[ 0.693263] RPC: Registered tcp-with-tls transport module. <6>[ 0.698992] RPC: Registered tcp NFSv4.1 backchannel transport module. <6>[ 0.705694] PCI: CLS 0 bytes, default 64 <6>[ 0.711602] Unpacking initramfs... <6>[ 0.742984] workingset: timestamp_bits=46 max_order=21 bucket_order=0 <5>[ 0.762506] NFS: Registering the id_resolver key type <5>[ 0.767143] Key type id_resolver registered <5>[ 0.771507] Key type id_legacy registered <6>[ 0.775789] nfs4filelayout_init: NFSv4 File Layout Driver Registering... <6>[ 0.782695] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... <6>[ 0.818394] 9p: Installing v9fs 9p2000 file system support <6>[ 0.823854] NET: Registered PF_ALG protocol family <6>[ 0.828543] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) <6>[ 0.854812] io scheduler mq-deadline registered <6>[ 0.858875] io scheduler kyber registered <6>[ 0.863193] io scheduler bfq registered <6>[ 0.879926] riscv-plic: interrupt-controller@c000000: mapped 53 interrupts with 4 handlers for 9 contexts. <6>[ 0.902860] SBI CPPC extension NOT detected!! <6>[ 0.988882] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled <6>[ 0.998057] 10010000.serial: ttySIF0 at MMIO 0x10010000 (irq = 12, base_baud = 31249999) is a SiFive UART v0 <6>[ 1.007410] printk: legacy console [ttySIF0] enabled <6>[ 1.007410] printk: legacy console [ttySIF0] enabled <6>[ 1.017800] printk: legacy bootconsole [sifive0] disabled <6>[ 1.017800] printk: legacy bootconsole [sifive0] disabled <6>[ 1.030384] 10011000.serial: ttySIF1 at MMIO 0x10011000 (irq = 13, base_baud = 31249999) is a SiFive UART v0 <6>[ 1.052268] loop: module loaded <6>[ 1.056462] sifive_spi 10040000.spi: mapped; irq=14, cs=1 <6>[ 2.102651] Freeing initrd memory: 14492K <6>[ 2.120369] sifive_spi 10050000.spi: mapped; irq=15, cs=1 <6>[ 2.129429] macb 10090000.ethernet: Registered clk switch 'sifive-gemgxl-mgmt'