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 - 00117500 [ 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: 58652K/65536K available (3606K kernel code, 220K rwdata, 1008K rodata, 128K init, 117K bss, 6880K 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.004000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.004000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.028000] devtmpfs: initialized [ 0.032000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.032000] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.036000] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.044000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.048000] PCI: Starting initialization. [ 0.052000] SCSI subsystem initialized [ 0.056000] pps_core: LinuxPPS API ver. 1 registered [ 0.056000] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.056000] PTP clock support registered [ 0.056000] sh_tmu sh-tmu.0: kept as earlytimer [ 0.056000] sh_tmu sh-tmu.1: kept as earlytimer [ 0.064000] PCI host bridge to bus 0000:00 [ 0.064000] pci_bus 0000:00: root bus resource [io 0x1000-0x3fffff] [ 0.064000] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfdffffff] [ 0.064000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.064000] pci 0000:00:00.0: [1054:350e] type 00 class 0x060000 [ 0.068000] pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size) [ 0.068000] pci 0000:00:00.0: [Firmware Bug]: reg 0x14: invalid BAR (can't size) [ 0.068000] pci 0000:00:00.0: [Firmware Bug]: reg 0x18: invalid BAR (can't size) [ 0.068000] pci 0000:00:02.0: [10ec:8139] type 00 class 0x020000 [ 0.068000] pci 0000:00:02.0: reg 0x10: [io 0x0000-0x00ff] [ 0.068000] pci 0000:00:02.0: reg 0x14: [mem 0x00000000-0x000000ff] [ 0.068000] pci 0000:00:02.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] [ 0.068000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00 [ 0.072000] pci 0000:00:02.0: BAR 6: assigned [mem 0xfd000000-0xfd03ffff pref] [ 0.072000] pci 0000:00:02.0: BAR 0: assigned [io 0x1000-0x10ff] [ 0.072000] pci 0000:00:02.0: BAR 1: assigned [mem 0xfd040000-0xfd0400ff] [ 0.072000] vgaarb: loaded [ 0.076000] clocksource: Switched to clocksource sh-tmu.0 [ 0.088000] NET: Registered PF_INET protocol family [ 0.092000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.092000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.092000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.092000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.092000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.092000] TCP: Hash tables configured (established 1024 bind 1024) [ 0.096000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.096000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.096000] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.096000] PCI: CLS 0 bytes, default 32 [ 0.104000] Trying to unpack rootfs image as initramfs... [ 0.116000] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.116000] io scheduler mq-deadline registered [ 0.116000] io scheduler kyber registered [ 0.248000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.256000] SuperH (H)SCI(F) driver initialized [ 0.256000] sh-sci.1: ttySC1 at MMIO 0xffe80000 (irq = 56, base_baud = 0) is a scif [ 0.260000] printk: console [ttySC1] enabled [ 0.348000] brd: module loaded [ 0.348000] sm501 sm501: SM501 At (ptrval): Version 050100a0, 8 Mb, IRQ 116 [ 0.384000] serial8250.9: ttyS0 at MMIO 0x13e30000 (irq = 116, base_baud = 9600) is a 16550A [ 0.400000] scsi host0: pata_platform [ 0.400000] ata1: PATA max PIO0 mmio cmd 0xb4001000 ctl 0xb400080c irq 123 [ 0.400000] physmap-flash physmap-flash: physmap platform flash device: [mem 0x00000000-0x02000000] [ 0.404000] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002000 [ 0.404000] Amd/Fujitsu Extended Query Table at 0x0040 [ 0.404000] Amd/Fujitsu Extended Query version 1.0. [ 0.404000] number of CFI chips: 1 [ 1.328000] Freeing initrd memory: 1116K [ 1.392000] Creating 4 MTD partitions on "physmap-flash": [ 1.396000] 0x000000000000-0x000000040000 : "U-Boot" [ 1.408000] 0x000000040000-0x000000080000 : "Environment" [ 1.412000] 0x000000080000-0x000000240000 : "Kernel" [ 1.416000] 0x000000240000-0x000001000000 : "Flash_FS" [ 1.428000] rtc-r9701 spi0.0: cannot read RTC register [ 1.436000] NET: Registered PF_PACKET protocol family [ 1.436000] heartbeat: version 0.1.2 loaded [ 1.484000] Freeing unused kernel image (initmem) memory: 128K [ 1.484000] This architecture does not have kernel memory protection. [ 1.484000] Run /init as init process test console Disabled Tests :export NO_THREADS=1 NO_LOCALE=1 NO_MATH=1 NO_NPTL=1 NO_TLS=1 -------------------- tests_start ------------------------ PASS argp-ex1 PASS argp-ex2 PASS argp-ex3 PASS argp-ex4 PASS argp-test PASS bug-argp1 PASS tst-argp1 PASS tst-argp2 PASS arg_test PASS assert PASS crypt PASS md5c-test PASS sha256c-test PASS sha512c-test PASS ctype SKIP tst-iconv1 SKIP tst-iconv2 SKIP tst-iconv3 SKIP tst-iconv4 SKIP tst-iconv5 SKIP tst-iconv6 PASS bug-if1 PASS gethost PASS gethost_r-align PASS gethostid 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 tst_iswspace PASS tst_iswupper PASS tst_iswxdigit PASS tst_mblen PASS tst_mbrlen PASS tst_mbrtowc PASS tst_mbsrtowcs PASS tst_mbstowcs PASS tst_mbtowc PASS tst_strcoll PASS tst_strxfrm PASS tst_towctrans 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 malloc-standard-alignment PASS malloc PASS tst_wcspbrk PASS mallocbug PASS realloc-can-shrink PASS tst_wcsrtombs PASS realloc0 PASS tst_wcsspn PASS testmalloc PASS tst_wcsstr PASS tst-calloc PASS tst-malloc PASS tst_wcstok PASS tst-mallocfork PASS tst-mcheck PASS tst_wcstombs PASS tst-valloc PASS tst_wcswidth PASS tst_wcsxfrm PASS bug-glob2 PASS bug-readdir1 PASS tst_wctob PASS dirent PASS tst_wctomb PASS dirent64 PASS tst_wctrans PASS fdopen PASS opendir-tst1 PASS tst_wctype PASS tst_wcwidth PASS popen PASS seek PASS sem PASS stdarg PASS tst-hasmntopt PASS tst-inotify PASS tst-mkostemps PASS tst-nftw PASS tst-preadvwritev PASS mmap PASS tst-rlimit PASS mmap2 PASS tst-rlimit64 PASS mmap64 PASS tst-scandir PASS tst-mmap-eofsync PASS tst-seekdir PASS tst-statfs PASS tst-mmap-fflushsync PASS tst-statvfs PASS tst-mmap-offend PASS tst-syscall0 PASS tst-mmap-setvbuf PASS getgroups PASS tst-syscall1 PASS grcat PASS tst-syscall6 PASS pwcat PASS tst-utmp PASS test_grp PASS tst-utmpx PASS test_pwd 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 tst-raise PASS tst-signal PASS tst-signalfd PASS tst-sigset PASS hello PASS tiny PASS memcmp-stat PASS stat-loop256 PASS stat PASS 64bit PASS fclose-loop PASS qsort PASS lseek_no_lfs PASS scanf_m 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 PASS bug-strncat1 PASS bug-strpbrk1 PASS bug-strspn1 PASS stratcliff PASS test-ffs PASS testcopy PASS tester PASS tst-bswap PASS tst-inlcall PASS tst-memmove PASS tst-strlen PASS tst-strtok PASS tst-strxfrm PASS termios PASS clocktest PASS test_time PASS tst-ctime PASS tst-futimens1 PASS tst-mktime PASS tst-mktime3 PASS tst-strptime2 PASS tst-timerfd PASS clone PASS errno PASS exec-null PASS fork PASS getcwd PASS getopt 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: 7 Total failed: 0 Total passed: 199