Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf/evalsoc: update qemu run command using nuclei qemu 2024.04.29
NOTE: - Please download and use Nuclei Qemu 2024.04.29 from https://download.nucleisys.com/upload/files/toolchain/qemu/nuclei-qemu-2024.04.29-linux-x64.tar.gz - only modified evalsoc - ux900fd configuration - Please clean previous workspace such as work/evalsoc via make clean - then run it using : make run_qemu Sample output as below: $ make -j run_qemu make -C /Local/hqfang/workspace/software/nuclei-linux-sdk/u-boot O=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/u-boot CROSS_COMPILE=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu- all make[1]: Entering directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/u-boot' make -C /Local/hqfang/workspace/software/nuclei-linux-sdk/linux O=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/linux \ CONFIG_INITRAMFS_ROOT_UID=400000018 \ CONFIG_INITRAMFS_ROOT_GID=400000018 \ ARCH=riscv \ CROSS_COMPILE=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu- \ PATH=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin:/home/hqfang/.local/bin:/home/hqfang/.modular/pkg/packages.modular.com_mojo/bin:/home/hqfang/pycharm-community/bin:/home/hqfang/mysofts/Typora-linux-x64:/home/hqfang/mysofts/bin:/home/hqfang/.local/bin:/usr/local/git/bin:/home/share/tools/edatools/synopsys/scl/2018.06/linux64/bin:/home/share/tools/usr/bin:/home/hqfang/.modular/pkg/packages.modular.com_mojo/bin:/home/share/devtools/toolchain/nuclei_gnu/linux64/newlibc/gcc13_latest/gcc/bin:/home/share/devtools/toolchain/nuclei_gnu/linux64/newlibc/latest/gcc/bin:/home/share/devtools/toolchain/nuclei_gnu/linux64/glibc/gcc13_latest/gcc/bin:/home/share/devtools/toolchain/nuclei_gnu/linux64/glibc/latest/gcc/bin:/home/share/devtools/qemu/linux64/latest/bin:/home/share/devtools/openocd/linux64/latest/bin:/home/share/devtools/zcc/linux64/latest/bin:/home/share/devtools/ncycm/linux64/latest:/home/share/devtools/ncycm/linux64/latest/signoff/cycm:/home/share/devtools/nucleistudio/latest/NucleiStudio:/home/share/devtools/xlspike/linux64/latest:/home/share/devtools/rvprof/latest/bin:/home/share/devtools/armgcc/latest/gcc/bin:/home/share/devtools/runocd:/home/share/devtools/tools/bin:/home/share/tools/fpga/xilinx-2022.1/Vivado/2022.1/bin:/home/share/tools/module/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/hqfang/.bashrc.d/tools/hstr/bin \ vmlinux Image /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu-gcc -E -nostdinc -undef -x assembler-with-cpp -DSIMULATION=0 /Local/hqfang/workspace/software/nuclei-linux-sdk/conf/evalsoc/nuclei_rv64imafdc.dts -o /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dts.preprocessed make[1]: Entering directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/linux' mkdir -p /Local/hqfang/workspace/software/nuclei-linux-sdk/opensbi/platform/nuclei/evalsoc cp -u /Local/hqfang/workspace/software/nuclei-linux-sdk/conf/evalsoc/opensbi/* /Local/hqfang/workspace/software/nuclei-linux-sdk/opensbi/platform/nuclei/evalsoc make[2]: Entering directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc_5.10_64b/u-boot' make -C /Local/hqfang/workspace/software/nuclei-linux-sdk/opensbi O=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/opensbi CROSS_COMPILE=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu- \ PLATFORM_RISCV_ABI=lp64d PLATFORM_RISCV_ISA=rv64imafdc PLATFORM=nuclei/evalsoc make[2]: Entering directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc_5.10_64b/linux' make[1]: Entering directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/opensbi' echo "Platform preprocessed dts located in /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dts.preprocessed, processed with defines -DSIMULATION=0" Platform preprocessed dts located in /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dts.preprocessed, processed with defines -DSIMULATION=0 dtc -O dtb -o /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot/kernel.dtb /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dts.preprocessed dtc -O dtb -o /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dtb /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dts.preprocessed make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/opensbi' CFGCHK u-boot.cfg UPD include/generated/timestamp_autogenerated.h GEN ./Makefile Using /Local/hqfang/workspace/software/nuclei-linux-sdk/u-boot as source for U-Boot HOSTCC tools/mkenvimage.o HOSTCC tools/fit_image.o HOSTCC tools/image-host.o HOSTCC tools/dumpimage.o HOSTCC tools/mkimage.o HOSTLD tools/mkenvimage GEN Makefile HOSTLD tools/dumpimage HOSTLD tools/mkimage CALL /Local/hqfang/workspace/software/nuclei-linux-sdk/linux/scripts/atomic/check-atomics.sh CALL /Local/hqfang/workspace/software/nuclei-linux-sdk/linux/scripts/checksyscalls.sh CC common/main.o CC cmd/version.o CHK include/generated/compile.h LD common/built-in.o LD cmd/built-in.o CC lib/smbios.o CC lib/display_options.o LD lib/built-in.o LD u-boot Kernel: arch/riscv/boot/Image is ready make[2]: Leaving directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc_5.10_64b/linux' make[1]: Leaving directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/linux' Linux image is generated /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/linux/arch/riscv/boot/Image lz4 /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/linux/arch/riscv/boot/Image /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/Image.lz4 -f -9 Compressed 13305856 bytes into 4034959 bytes ==> 30.32% cp -f /Local/hqfang/workspace/software/nuclei-linux-sdk/conf/evalsoc/uboot.its /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/uboot.its cd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc && /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/u-boot/tools/mkimage -f uboot.its /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot/image.itb FIT description: U-boot FIT image Created: Tue Apr 30 12:59:09 2024 Image 0 (kernel) Description: Linux kernel Created: Tue Apr 30 12:59:09 2024 Type: Kernel Image Compression: lz4 compressed Data Size: 4034959 Bytes = 3940.39 KiB = 3.85 MiB Architecture: RISC-V OS: Linux Load Address: 0x200400000 Entry Point: 0x200400000 Hash algo: sha256 Hash value: 0a8b188d039efd7f020b3b1a8e82328d22961d8f27a73d2693a9956becae19a8 Image 1 (ramdisk) Description: buildroot initramfs Created: Tue Apr 30 12:59:09 2024 Type: RAMDisk Image Compression: uncompressed Data Size: 11866093 Bytes = 11587.98 KiB = 11.32 MiB Architecture: RISC-V OS: Linux Load Address: 0x208300000 Entry Point: unavailable Hash algo: sha256 Hash value: 624434732b35a61a269e50023bb46cd36e39fa16e913375c3bc10ba3cd1e9592 Image 2 (fdt) Description: unavailable Created: Tue Apr 30 12:59:09 2024 Type: Flat Device Tree Compression: uncompressed Data Size: 4681 Bytes = 4.57 KiB = 0.00 MiB Architecture: RISC-V Load Address: 0x208000000 Hash algo: sha256 Hash value: 0313e8bf2bde7802487e36dfb41d0775c9046c004472b9aa531eaf192b322174 Default Configuration: 'boot' Configuration 0 (boot) Description: Boot Image with ramdisk with dtb Kernel: kernel Init Ramdisk: ramdisk FDT: fdt OBJCOPY u-boot.srec OBJCOPY u-boot-nodtb.bin SYM u-boot.sym COPY u-boot.bin make[2]: Leaving directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc_5.10_64b/u-boot' make[1]: Leaving directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/u-boot' Uboot binary is generated into uboot /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/u-boot/tools/mkimage -A riscv -T script -O linux -C none -a 0 -e 0 -n "bootscript" -d /Local/hqfang/workspace/software/nuclei-linux-sdk/conf/evalsoc/uboot.cmd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot/boot.scr Uboot binary is generated into uboot mkdir -p /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader make -C /Local/hqfang/workspace/software/nuclei-linux-sdk/freeloader O=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader ARCH=rv64imafdc ABI=lp64d ARCH_EXT= \ BOOT_MODE=sd CROSS_COMPILE=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu- \ OPENSBI_BIN=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/opensbi/platform/nuclei/evalsoc/firmware/fw_jump.bin UBOOT_BIN=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/u-boot/u-boot.bin DTB=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dtb \ KERNEL_BIN=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot/uImage.lz4 INITRD_BIN=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot/uInitrd.lz4 CONFIG_MK=/Local/hqfang/workspace/software/nuclei-linux-sdk/conf/evalsoc/freeloader.mk \ CORE1_APP_BIN= CORE2_APP_BIN= CORE3_APP_BIN= \ CORE4_APP_BIN= CORE5_APP_BIN= CORE6_APP_BIN= CORE7_APP_BIN= Image Name: bootscript Created: Tue Apr 30 12:59:09 2024 Image Type: RISC-V Linux Script (uncompressed) Data Size: 907 Bytes = 0.89 KiB = 0.00 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 899 Bytes = 0.88 KiB = 0.00 MiB rm -f /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot.zip make[1]: Entering directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/freeloader' cp /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/u-boot/u-boot.bin /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/u-boot.bin cp /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/nuclei_rv64imafdc.dtb /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/fdt.dtb /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu-gcc -g -march=rv64imafdc -mabi=lp64d -fno-pie -static -DDDR_BASE=0x200000000 -DFLASH_BASE=0x20000000 -DFLASH_SIZE=32M -DCACHE_CTRL=0x100C1 -DTLB_CTRL=0x0 -DENABLE_SMP=1 -DENABLE_L2=1 -DAMPFW_START_OFFSET=0x7E000000 -DAMPFW_SIZE=0x400000 -DAMP_START_CORE=8 -DSPFL1DCTRL1=0x1F -DMERGL1DCTRL=0x013503FF -I/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader freeloader.S -o /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.elf -nostartfiles \ -L/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader -Wl,-M,-Map=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.map -Tlinker.lds cd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot && zip -q -r /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot.zip . /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu-size /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.elf text data bss dec hex filename 673400 0 0 673400 a4678 /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.elf /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu-objcopy /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.elf -O binary /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.bin /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/buildroot_initramfs/host/bin/riscv-nuclei-linux-gnu-objdump -d /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.elf > /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.dasm make[1]: Leaving directory '/Local/hqfang/workspace/software/nuclei-linux-sdk/freeloader' cd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot && dd if=/dev/zero of=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img bs=1024M count=1 1+0 records in 1+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.26487 s, 849 MB/s echo "Please make sure mformat version is >= 4.0.24, current version mformat (GNU mtools) 4.0.24 configured with the following options: enable-xdf disable-vold disable-new-vold disable-debug enable-raw-term " Please make sure mformat version is >= 4.0.24, current version mformat (GNU mtools) 4.0.24 configured with the following options: enable-xdf disable-vold disable-new-vold disable-debug enable-raw-term cd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot && mformat -F -h 64 -s 32 -t $((1024-1)) :: -i /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img || rm -f /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img cd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot && mcopy -i /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img boot.scr kernel.dtb uImage.lz4 uInitrd.lz4 :: || rm -f /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img cd /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot && if [ -f /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/boot/image.itb ] ; then mcopy -i /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img image.itb :: || rm -f /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img ; fi Run on qemu for simulation qemu-system-riscv64 -M nuclei_evalsoc,download=flashxip,soc-cfg=conf/evalsoc/evalsoc.json -smp 8 -m 2G -cpu nuclei-ux900fd,ext= -bios /Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/freeloader/freeloader.elf -nographic -drive file=/Local/hqfang/workspace/software/nuclei-linux-sdk/work/evalsoc/disk.img,if=sd,format=raw OpenSBI v0.9 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : Nuclei Evaluation SoC Platform Features : timer,mfdeleg Platform HART Count : 8 Firmware Base : 0x200000000 Firmware Size : 156 KB Runtime SBI Version : 0.2 Domain0 Name : root Domain0 Boot HART : 7 Domain0 HARTs : 0*,1*,2*,3*,4*,5*,6*,7* Domain0 Region00 : 0x0000000200000000-0x000000020003ffff () Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000200200000 Domain0 Next Arg1 : 0x0000000208000000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 7 Boot HART Domain : root Boot HART ISA : rv64imafdcsu Boot HART Features : scounteren,mcounteren,time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4 Boot HART PMP Address Bits: 54 Boot HART MHPM Count : 0 Boot HART MHPM Count : 0 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2021.01-00022-g57aa9034c1 (Apr 30 2024 - 12:59:07 +0800) CPU: rv64imafdc Model: nuclei,evalsoc DRAM: 2 GiB 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 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 971 bytes read in 31 ms (30.3 KiB/s) Loading FIT Image 15907708 bytes read in 55205 ms (281.3 KiB/s) Starts booting from SD using FIT Image Using 'boot' configuration Trying 'kernel' kernel subimage Description: Linux kernel Type: Kernel Image Compression: lz4 compressed Data Start: 0x2040000c0 Data Size: 4034959 Bytes = 3.8 MiB Architecture: RISC-V OS: Linux Load Address: 0x200400000 Entry Point: 0x200400000 Hash algo: sha256 Hash value: 0a8b188d039efd7f020b3b1a8e82328d22961d8f27a73d2693a9956becae19a8 Verifying Hash Integrity ... sha256+ OK Using 'boot' configuration Trying 'ramdisk' ramdisk subimage Description: buildroot initramfs Type: RAMDisk Image Compression: uncompressed Data Start: 0x2043d9350 Data Size: 11866093 Bytes = 11.3 MiB Architecture: RISC-V OS: Linux Load Address: 0x208300000 Entry Point: unavailable Hash algo: sha256 Hash value: 624434732b35a61a269e50023bb46cd36e39fa16e913375c3bc10ba3cd1e9592 Verifying Hash Integrity ... sha256+ OK Loading ramdisk from 0x2043d9350 to 0x208300000 Using 'boot' configuration Trying 'fdt' fdt subimage Description: unavailable Type: Flat Device Tree Compression: uncompressed Data Start: 0x204f2a40c Data Size: 4681 Bytes = 4.6 KiB Architecture: RISC-V Load Address: 0x208000000 Hash algo: sha256 Hash value: 0313e8bf2bde7802487e36dfb41d0775c9046c004472b9aa531eaf192b322174 Verifying Hash Integrity ... sha256+ OK Loading fdt from 0x204f2a40c to 0x208000000 Booting using the fdt blob at 0x208000000 Uncompressing Kernel Image Using Device Tree in place at 0000000208000000, end 0000000208004248 Starting kernel ... [ 0.000000] Linux version 5.10.196+ ([email protected]) (riscv-nuclei-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP Tue Apr 30 12:29:34 CST 2024 [ 0.000000] OF: fdt: Ignoring memory range 0x200000000 - 0x200400000 [ 0.000000] Machine model: nuclei,evalsoc [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '') [ 0.000000] printk: bootconsole [sbi0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Initial ramdisk at: 0x(____ptrval____) (11866112 bytes) [ 0.000000] Zone ranges: [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000200400000-0x000000027dffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000200400000-0x000000027dffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000200400000-0x000000027dffffff] [ 0.000000] software IO TLB: Cannot allocate buffer [ 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 s25432 r8192 d31912 u65536 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 508030 [ 0.000000] Kernel command line: earlycon=sbi console=ttyNUC0 [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 2003564K/2060288K available (4737K kernel code, 4114K rwdata, 2048K rodata, 192K init, 333K bss, 56724K 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@1c000000: mapped 53 interrupts with 8 handlers for 16 contexts. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [7] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1ef4687b1, max_idle_ns: 112843571739654 ns [ 0.000213] sched_clock: 64 bits at 32kHz, resolution 30517ns, wraps every 70368744171142ns [ 0.008026] Calibrating delay loop (skipped), value calculated using timer frequency.. 0.06 BogoMIPS (lpj=327) [ 0.008880] pid_max: default: 32768 minimum: 301 [ 0.011047] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.011566] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.053527] rcu: Hierarchical SRCU implementation. [ 0.056182] EFI services will not be available. [ 0.058593] smp: Bringing up secondary CPUs ... [ 0.087554] smp: Brought up 1 node, 8 CPUs [ 0.117279] devtmpfs: initialized [ 0.129882] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.130828] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.133117] pinctrl core: initialized pinctrl subsystem [ 0.137939] NET: Registered protocol family 16 [ 0.217926] clocksource: Switched to clocksource riscv_clocksource [ 0.230285] NET: Registered protocol family 2 [ 0.232696] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.248199] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.249145] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.250091] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.250976] TCP: Hash tables configured (established 16384 bind 16384) [ 0.253448] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.254302] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.257293] NET: Registered protocol family 1 [ 0.264129] RPC: Registered named UNIX socket transport module. [ 0.264648] RPC: Registered udp transport module. [ 0.265014] RPC: Registered tcp transport module. [ 0.265380] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.274200] Trying to unpack rootfs image as initramfs... [ 0.974029] Freeing initrd memory: 11584K [ 0.979461] workingset: timestamp_bits=62 max_order=19 bucket_order=0 [ 0.996551] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 1.000488] JFS: nTxBlock = 8192, nTxLock = 65536 [ 1.013732] jitterentropy: Initialization failed with host not compliant with requirements: 2 [ 1.014465] NET: Registered protocol family 38 [ 1.015319] io scheduler mq-deadline registered [ 1.015838] io scheduler kyber registered [ 1.185913] 10013000.serial: ttyNUC0 at MMIO 0x10013000 (irq = 1, base_baud = 3125000) is a Nuclei UART/USART [ 1.188232] printk: console [ttyNUC0] enabled [ 1.188232] printk: console [ttyNUC0] enabled [ 1.188934] printk: bootconsole [sbi0] disabled [ 1.188934] printk: bootconsole [sbi0] disabled [ 1.238800] brd: module loaded [ 1.252868] loop: module loaded [ 1.257202] nuclei_spi 10014000.spi: mapped; irq=2, cs=1 [ 1.275390] spi-nor spi0.0: is25wp256 (32768 Kbytes) [ 1.632904] ftl_cs: FTL header not found. [ 1.643066] nuclei_spi 10034000.spi: mapped; irq=3, cs=1 [ 1.691680] mmc_spi spi1.0: SD/MMC host mmc0, no DMA, no WP, no poweroff, cd polling [ 1.695281] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 1.705261] NET: Registered protocol family 10 [ 1.718048] Segment Routing with IPv6 [ 1.718688] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.721710] NET: Registered protocol family 17 [ 1.767059] Freeing unused kernel memory: 192K [ 1.783905] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.784576] mmc0: new SD card on SPI [ 1.789245] mmcblk0: mmc0:0000 QEMU! 1.00 GiB [ 1.792907] Run /init as init process [ 1.821044] mmcblk0: p1 Starting syslogd: OK Starting klogd: OK Running sysctl: OK Starting mdev... OK modprobe: can't change directory to '/lib/modules': No such file or directory Saving random seed: [ 6.594268] random: dd: uninitialized urandom read (32 bytes read) OK Welcome to Nuclei System Technology nucleisys login: root Password: processor : 0 hart : 7 isa : rv64imafdc mmu : sv39 processor : 1 hart : 0 isa : rv64imafdc mmu : sv39 processor : 2 hart : 1 isa : rv64imafdc mmu : sv39 processor : 3 hart : 2 isa : rv64imafdc mmu : sv39 processor : 4 hart : 3 isa : rv64imafdc mmu : sv39 processor : 5 hart : 4 isa : rv64imafdc mmu : sv39 processor : 6 hart : 5 isa : rv64imafdc mmu : sv39 processor : 7 hart : 6 isa : rv64imafdc mmu : sv39 Linux nucleisys 5.10.196+ #1 SMP Tue Apr 30 12:29:34 CST 2024 riscv64 GNU/Linux MemTotal: 2015340 kB MemFree: 1956336 kB MemAvailable: 1950648 kB Buffers: 0 kB Cached: 24108 kB SwapCached: 0 kB Active: 3340 kB Inactive: 22080 kB Active(anon): 3340 kB Inactive(anon): 22080 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 1324 kB Mapped: 3128 kB Shmem: 24108 kB KReclaimable: 7944 kB Slab: 16976 kB SReclaimable: 7944 kB SUnreclaim: 9032 kB KernelStack: 1536 kB PageTables: 144 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 1007668 kB Committed_AS: 27040 kB VmallocTotal: 67108863 kB VmallocUsed: 6220 kB VmallocChunk: 0 kB Percpu: 608 kB interrupts iomem ioports irq/ iomem ioports 10013000-10013fff : 10013000.serial serial@10013000 10014000-10014fff : 10014000.spi spi@10014000 10034000-10034fff : 10034000.spi spi@10034000 200400000-27dffffff : System RAM Signed-off-by: Huaqi Fang <[email protected]>
- Loading branch information