|
| 1 | + CC riscv.o |
| 2 | + CC ram.o |
| 3 | + CC utils.o |
| 4 | + CC plic.o |
| 5 | + CC uart.o |
| 6 | + CC main.o |
| 7 | + CC aclint.o |
| 8 | + CC virtio-blk.o |
| 9 | + LD semu |
| 10 | + DTC minimal.dtb |
| 11 | +[32;01mReady to launch Linux kernel. Please be patient.[0m |
| 12 | +@./semu -k Image -c 1 -b minimal.dtb -i rootfs.cpio -n tap -d ext4.img |
| 13 | +[ 0.000000] Linux version 6.1.99 (jserv@node1) (riscv32-buildroot-linux-gnu-gcc.br_real (Buildroot 2024.02.4) 12.3.0, GNU ld (GNU Binutils) 2.41) #1 SMP Thu Jul 18 13:04:10 CST 2024 |
| 14 | +[ 0.000000] Machine model: semu |
| 15 | +[ 0.000000] earlycon: ns16550 at MMIO 0xf4000000 (options '') |
| 16 | +[ 0.000000] printk: bootconsole [ns16550] enabled |
| 17 | +[ 0.000000] Zone ranges: |
| 18 | +[ 0.000000] Normal [mem 0x0000000000000000-0x000000001fffffff] |
| 19 | +[ 0.000000] Movable zone start for each node |
| 20 | +[ 0.000000] Early memory node ranges |
| 21 | +[ 0.000000] node 0: [mem 0x0000000000000000-0x000000001fffffff] |
| 22 | +[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff] |
| 23 | +[ 0.000000] SBI specification v2.0 detected |
| 24 | +[ 0.000000] SBI implementation ID=0x999 Version=0x1 |
| 25 | +[ 0.000000] SBI TIME extension detected |
| 26 | +[ 0.000000] SBI IPI extension detected |
| 27 | +[ 0.000000] SBI RFENCE extension detected |
| 28 | +[ 0.000000] SBI SRST extension detected |
| 29 | +[ 0.000000] SBI HSM extension detected |
| 30 | +[ 0.000000] riscv: base ISA extensions aim |
| 31 | +[ 0.000000] riscv: ELF capabilities aim |
| 32 | +[ 0.000000] percpu: Embedded 10 pages/cpu s11604 r8192 d21164 u40960 |
| 33 | +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048 |
| 34 | +[ 0.000000] Kernel command line: earlycon console=ttyS0 |
| 35 | +[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) |
| 36 | +[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) |
| 37 | +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off |
| 38 | +[ 0.000000] Memory: 506428K/524288K available (3578K kernel code, 345K rwdata, 873K rodata, 185K init, 140K bss, 17860K reserved, 0K cma-reserved) |
| 39 | +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 |
| 40 | +[ 0.000000] rcu: Hierarchical RCU implementation. |
| 41 | +[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=1. |
| 42 | +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. |
| 43 | +[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 |
| 44 | +[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 |
| 45 | +[ 0.000000] riscv-intc: 32 local interrupts mapped |
| 46 | +[ 0.000000] plic: interrupt-controller@0: mapped 31 interrupts with 1 handlers for 1 contexts. |
| 47 | +[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. |
| 48 | +[ 0.000000] riscv-timer: riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] |
| 49 | +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0xefdb196da, max_idle_ns: 440795204367 ns |
| 50 | +[ 0.000000] sched_clock: 64 bits at 65MHz, resolution 15ns, wraps every 2199023255550ns |
| 51 | +[ 0.000017] Console: colour dummy device 80x25 |
| 52 | +[ 0.000022] Calibrating delay loop (skipped), value calculated using timer frequency.. 130.00 BogoMIPS (lpj=260000) |
| 53 | +[ 0.000027] pid_max: default: 32768 minimum: 301 |
| 54 | +[ 0.000043] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) |
| 55 | +[ 0.000048] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) |
| 56 | +[ 0.000154] ASID allocator disabled (0 bits) |
| 57 | +[ 0.000164] rcu: Hierarchical SRCU implementation. |
| 58 | +[ 0.000167] rcu: Max phase no-delay instances is 1000. |
| 59 | +[ 0.000191] smp: Bringing up secondary CPUs ... |
| 60 | +[ 0.000193] smp: Brought up 1 node, 1 CPU |
| 61 | +[ 0.000225] devtmpfs: initialized |
| 62 | +[ 0.000323] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns |
| 63 | +[ 0.000328] futex hash table entries: 256 (order: 2, 16384 bytes, linear) |
| 64 | +[ 0.000442] NET: Registered PF_NETLINK/PF_ROUTE protocol family |
| 65 | +[ 0.000527] platform soc@F0000000: Fixed dependency cycle(s) with /soc@F0000000/interrupt-controller@0 |
| 66 | +[ 0.001222] clocksource: Switched to clocksource riscv_clocksource |
| 67 | +[ 0.002111] NET: Registered PF_INET protocol family |
| 68 | +[ 0.002139] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) |
| 69 | +[ 0.002417] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) |
| 70 | +[ 0.002423] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) |
| 71 | +[ 0.002427] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) |
| 72 | +[ 0.002439] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) |
| 73 | +[ 0.002456] TCP: Hash tables configured (established 4096 bind 4096) |
| 74 | +[ 0.002464] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) |
| 75 | +[ 0.002469] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) |
| 76 | +[ 0.002485] NET: Registered PF_UNIX/PF_LOCAL protocol family |
| 77 | +[ 0.002559] Unpacking initramfs... |
| 78 | +[ 0.032861] Freeing initrd memory: 8188K |
| 79 | +[ 0.032883] workingset: timestamp_bits=30 max_order=17 bucket_order=0 |
| 80 | +[ 0.038732] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled |
| 81 | +[ 0.038862] printk: console [ttyS0] disabled |
| 82 | +[ 0.038867] f4000000.serial: ttyS0 at MMIO 0xf4000000 (irq = 1, base_baud = 312500) is a 16550 |
| 83 | +[ 0.038873] printk: console [ttyS0] enabled |
| 84 | +[ 0.038873] printk: console [ttyS0] enabled |
| 85 | +[ 0.038878] printk: bootconsole [ns16550] disabled |
| 86 | +[ 0.038878] printk: bootconsole [ns16550] disabled |
| 87 | +[ 0.038916] virtio_blk virtio0: 1/0/0 default/read/poll queues |
| 88 | +[ 0.038959] virtio_blk virtio0: [vda] 4800 512-byte logical blocks (2.46 MB/2.34 MiB) |
| 89 | +[ 0.039098] clk: Disabling unused clocks |
| 90 | +[ 0.039148] Freeing unused kernel image (initmem) memory: 180K |
| 91 | +[ 0.039152] Kernel memory protection not selected by kernel config. |
| 92 | +[ 0.039157] Run /init as init process |
| 93 | +[1;31m[SEMU LOG]: Use mach_absolute_time[0m |
| 94 | +[1;31m[SEMU LOG]: Real boot time: 43.63820 seconds, called 220128512 times semu_timer_clocksource[0m |
| 95 | +[1;31m[SEMU LOG]: ns_per_call = 4.46425, predict_sec = 8.92851, scale_factor = 1.12001[0m |
0 commit comments