Qemu Command : qemu-system-sh4 -M r2d -m 1024M -kernel kernel.img -initrd rootfs.img.xz -nographic -serial vc -serial pipe:guest_pipe -no-reboot Qemu Version : QEMU emulator version 8.1.2 Copyright (c) 2003-2023 Fabrice Bellard and the QEMU Project developers [ 0.000000] Linux version 6.5.10 (ramin@ramin-pc) (sh4-openadk-linux-uclibc-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #9 Sat Nov 11 23:23:35 CET 2023 [ 0.000000] Boot params: [ 0.000000] ... MOUNT_ROOT_RDONLY - 00000000 [ 0.000000] ... RAMDISK_FLAGS - 00000000 [ 0.000000] ... ORIG_ROOT_DEV - 00000000 [ 0.000000] ... LOADER_TYPE - 00000001 [ 0.000000] ... INITRD_START - 01800000 [ 0.000000] ... INITRD_SIZE - 0011b418 [ 0.000000] Booting machvec: RTS7751R2D [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x000000000c000000-0x000000000fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x000000000c000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x000000000c000000-0x000000000fffffff] [ 0.000000] Renesas Technology Sales RTS7751R2D support. [ 0.000000] FPGA version:1 (revision:0) [ 0.000000] Kernel command line: console=ttySC1,115200 noiotrap [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] PVR=04050005 CVR=00110000 PRR=00000113 [ 0.000000] I-cache : n_ways=2 n_sets=64 way_incr=2048 [ 0.000000] I-cache : entry_mask=0x000007e0 alias_mask=0x00000000 n_aliases=0 [ 0.000000] D-cache : n_ways=2 n_sets=64 way_incr=2048 [ 0.000000] D-cache : entry_mask=0x000007e0 alias_mask=0x00000000 n_aliases=0 [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xdfff7000 - 0xdffff000 ( 32 kB) [ 0.000000] vmalloc : 0xc0000000 - 0xdfff5000 ( 511 MB) [ 0.000000] lowmem : 0x8c000000 - 0x90000000 ( 64 MB) (cached) [ 0.000000] : 0xa0000000 - 0xc0000000 ( 512 MB) (uncached) [ 0.000000] .init : 0x8c4cb000 - 0x8c4eb000 ( 128 kB) [ 0.000000] .data : 0x8c396ab8 - 0x8c4cac7c (1232 kB) [ 0.000000] .text : 0x8c010000 - 0x8c396ab8 (3610 kB) [ 0.000000] Memory: 58636K/65536K available (3606K kernel code, 220K rwdata, 1008K rodata, 128K init, 117K bss, 6896K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] intc: Registered controller 'sh7750' with 20 IRQs [ 0.000000] intc: Registered controller 'sh7750_dma8' with 9 IRQs [ 0.000000] intc: Registered controller 'sh7750_tmu34' with 2 IRQs [ 0.000000] intc: Registered controller 'sh7750_pci' with 8 IRQs [ 0.000000] Using R2D-PLUS interrupt controller. [ 0.000000] intc: Registered controller 'r2d-plus' with 13 IRQs [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] sh-tmu.0: ch0: used for clock events [ 0.000000] sh-tmu.0: ch0: used for periodic clock events [ 0.000000] sh-tmu.0: ch1: used as clock source [ 0.000000] clocksource: sh-tmu.0: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 127417363106 ns [ 0.000000] sh-tmu.1: ch0: used for clock events [ 0.000000] sh-tmu.1: ch1: used as clock source [ 0.000000] clocksource: sh-tmu.1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 127417363106 ns [ 0.000000] sched_clock: 32 bits at 250 Hz, resolution 4000000ns, wraps every 8589934590000000ns [ 0.000000] Calibrating delay loop (skipped)... 120.00 BogoMIPS PRESET (lpj=240000) [ 0.000000] CPU: SH7751R [ 0.000000] pid_max: default: 32768 minimum: 301 [ 0.000000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.016000] devtmpfs: initialized [ 0.020000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.020000] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.024000] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.024000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.028000] PCI: Starting initialization. [ 0.032000] SCSI subsystem initialized [ 0.032000] pps_core: LinuxPPS API ver. 1 registered [ 0.032000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.032000] PTP clock support registered [ 0.036000] sh_tmu sh-tmu.0: kept as earlytimer [ 0.036000] sh_tmu sh-tmu.1: kept as earlytimer [ 0.040000] PCI host bridge to bus 0000:00 [ 0.040000] pci_bus 0000:00: root bus resource [io 0x1000-0x3fffff] [ 0.040000] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfdffffff] [ 0.040000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.040000] pci 0000:00:00.0: [1054:350e] type 00 class 0x060000 [ 0.044000] pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size) [ 0.044000] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size) [ 0.044000] pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size) [ 0.044000] pci 0000:00:02.0: [10ec:8139] type 00 class 0x020000 [ 0.044000] pci 0000:00:02.0: reg 0x10: [io 0x0000-0x00ff] [ 0.044000] pci 0000:00:02.0: reg 0x14: [mem 0x00000000-0x000000ff] [ 0.044000] pci 0000:00:02.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] [ 0.044000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.044000] pci 0000:00:02.0: BAR 6: assigned [mem 0xfd000000-0xfd03ffff pref] [ 0.044000] pci 0000:00:02.0: BAR 0: assigned [io 0x1000-0x10ff] [ 0.044000] pci 0000:00:02.0: BAR 1: assigned [mem 0xfd040000-0xfd0400ff] [ 0.048000] vgaarb: loaded [ 0.048000] clocksource: Switched to clocksource sh-tmu.0 [ 0.056000] NET: Registered PF_INET protocol family [ 0.056000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.060000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.060000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.060000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.060000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.060000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.064000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.064000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.064000] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.064000] PCI: CLS 0 bytes, default 32 [ 0.068000] Trying to unpack rootfs image as initramfs... [ 0.072000] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.072000] io scheduler mq-deadline registered [ 0.072000] io scheduler kyber registered [ 0.128000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.136000] SuperH (H)SCI(F) driver initialized [ 0.136000] sh-sci.1: ttySC1 at MMIO 0xffe80000 (irq = 56, base_baud = 0) is a scif [ 0.140000] printk: console [ttySC1] enabled [ 0.200000] brd: module loaded [ 0.200000] sm501 sm501: SM501 At (ptrval): Version 050100a0, 8 Mb, IRQ 116 [ 0.228000] serial8250.9: ttyS0 at MMIO 0x13e30000 (irq = 116, base_baud = 9600) is a 16550A [ 0.240000] scsi host0: pata_platform [ 0.240000] ata1: PATA max PIO0 mmio cmd 0xb4001000 ctl 0xb400080c irq 123 [ 0.244000] physmap-flash physmap-flash: physmap platform flash device: [mem 0x00000000-0x02000000] [ 0.248000] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002000 [ 0.248000] Amd/Fujitsu Extended Query Table at 0x0040 [ 0.248000] Amd/Fujitsu Extended Query version 1.0. [ 0.248000] number of CFI chips: 1 [ 0.876000] Freeing initrd memory: 1132K [ 0.928000] Creating 4 MTD partitions on "physmap-flash": [ 0.932000] 0x000000000000-0x000000040000 : "U-Boot" [ 0.944000] 0x000000040000-0x000000080000 : "Environment" [ 0.948000] 0x000000080000-0x000000240000 : "Kernel" [ 0.948000] 0x000000240000-0x000001000000 : "Flash_FS" [ 0.960000] rtc-r9701 spi0.0: cannot read RTC register [ 0.964000] NET: Registered PF_PACKET protocol family [ 0.964000] heartbeat: version 0.1.2 loaded [ 1.000000] Freeing unused kernel image (initmem) memory: 128K [ 1.000000] This architecture does not have kernel memory protection. [ 1.000000] Run /init as init process test console Disabled Tests :export NO_TLS=1 NO_THREADS=1 NO_MATH=1 NO_NPTL=1 NO_LOCALE=1 -------------------- tests_start ------------------------ PASS argp-ex1 PASS argp-ex2 PASS arg_test PASS argp-ex3 PASS argp-ex4 PASS argp-test PASS assert PASS crypt PASS ctype PASS bug-argp1 SKIP tst-iconv1 PASS bug-if1 PASS tst-argp1 SKIP tst-iconv2 PASS md5c-test PASS gethost PASS sha256c-test SKIP tst-iconv3 PASS gethost_r-align PASS tst-argp2 PASS gethostid SKIP tst-iconv4 PASS sha512c-test SKIP tst-iconv5 SKIP tst-iconv6 PASS getnetent PASS if_nameindex PASS tst-aton PASS tst-ether_aton PASS tst-ethers-line PASS tst-ethers PASS tst-getni1 PASS tst-getni2 PASS tst-ifaddrs PASS tst-network PASS tst-ntoa PASS tst-res PASS tst-sock-nonblock PASS tst2_mbrtowc PASS tst_iswalnum PASS tst_iswalpha PASS tst_iswcntrl PASS tst_iswctype PASS tst_iswdigit PASS tst_iswgraph PASS tst_iswlower PASS tst_iswprint PASS tst_iswpunct PASS malloc-standard-alignment PASS tst_iswspace PASS tst_iswupper PASS malloc PASS mallocbug PASS tst_iswxdigit PASS tst_mblen PASS tst_mbrlen PASS realloc-can-shrink PASS realloc0 PASS tst_mbrtowc PASS tst_mbsrtowcs PASS testmalloc PASS tst_mbstowcs PASS tst-calloc PASS tst_mbtowc PASS tst_strcoll PASS tst-malloc PASS tst_strxfrm PASS tst-mallocfork PASS tst_towctrans PASS tst-mcheck PASS tst-valloc PASS tst_towlower PASS tst_towupper PASS tst_wcrtomb PASS tst_wcscat PASS tst_wcschr PASS tst_wcscmp PASS tst_wcscoll PASS tst_wcscpy PASS tst_wcscspn PASS tst_wcslen PASS tst_wcsncat PASS tst_wcsncmp PASS tst_wcsncpy PASS tst_wcspbrk PASS tst_wcsrtombs PASS tst_wcsspn PASS tst_wcsstr PASS tst_wcstok PASS tst_wcstombs PASS tst_wcswidth PASS tst_wcsxfrm PASS tst_wctob PASS tst_wctomb PASS tst_wctrans PASS bug-glob2 PASS tst_wctype PASS bug-readdir1 PASS dirent PASS tst_wcwidth PASS dirent64 PASS fdopen PASS opendir-tst1 PASS mmap PASS popen PASS seek PASS sem PASS getgroups PASS mmap2 PASS mmap64 PASS stdarg PASS tst-hasmntopt PASS grcat PASS tst-mmap-eofsync PASS tst-inotify PASS tst-mkostemps PASS pwcat SKIP tst-msgctl skip: 32-bit time_t cannot represent the post-2038 test date PASS test_grp PASS test_pwd PASS tst-mmap-fflushsync PASS tst-nftw PASS tst-preadvwritev PASS tst-mmap-offend PASS tst-mmap-setvbuf PASS tst-rlimit PASS tst-rlimit64 PASS tst-scandir PASS tst-seekdir SKIP tst-semctl skip: 32-bit time_t cannot represent the post-2038 test date SKIP tst-shmctl skip: 32-bit time_t cannot represent the post-2038 test date PASS tst-statfs PASS tst-statvfs PASS tst-syscall0 PASS tst-syscall1 PASS tst-syscall6 PASS tst-utmp PASS tst-utmpx PASS tst-regex2 SKIP tst-regexloc PASS getrpcent PASS tst-posix_spawn PASS bug269-setjmp PASS jmpbug PASS sigjmpbug PASS tst-setjmp PASS tst-vfork-longjmp PASS sigchld PASS signal PASS hello PASS tiny PASS tst-raise PASS tst-signal PASS memcmp-stat PASS tst-signalfd PASS stat-loop256 PASS 64bit PASS tst-sigset PASS stat-time64 PASS stat PASS fclose-loop PASS lseek_no_lfs PASS scanf_m PASS qsort PASS test-canon PASS test-canon2 PASS test-mkostemp-O_CLOEXEC PASS test-mkostemp-child PASS testatexit PASS teston_exit PASS teststrtol PASS teststrtoq PASS bug-strcoll1-O2 PASS bug-strcoll1 PASS bug-strncat1-O2 PASS bug-strncat1 PASS bug-strpbrk1-O2 PASS bug-strpbrk1 PASS bug-strspn1-O2 PASS bug-strspn1 PASS stratcliff-O2 PASS termios PASS stratcliff PASS test-ffs-O2 PASS clocktest PASS test-ffs PASS test_time PASS testcopy-O2 PASS testcopy PASS tst-ctime PASS tst-futimens1 PASS tester-O2 PASS tst-mktime PASS tester PASS tst-mktime3 PASS tst-bswap-O2 PASS tst-strptime2 PASS tst-timerfd PASS tst-bswap PASS tst-inlcall-O2 PASS tst-inlcall PASS tst-memmove-O2 PASS clone PASS tst-memmove PASS tst-strlen-O2 PASS tst-strlen PASS tst-strtok-O2 PASS tst-strtok PASS errno PASS exec-null PASS fork PASS getcwd PASS tst-strxfrm-O2 PASS getopt PASS tst-strxfrm PASS getopt_long PASS tst-fallocate PASS tst-getcwd PASS tst-posix_fallocate PASS tst-preadwrite PASS tst-preadwrite64 PASS tst-pselect PASS tstgetopt PASS vfork Total skipped: 10 Total failed: 0 Total passed: 214