Qemu Command : qemu-system-nios2 -M 10m50-ghrd -nographic -kernel kernel.img -initrd rootfs.img.xz -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] OF: fdt: Ignoring memory block 0x0 - 0x400
[    0.000000] earlycon: ns16550a0 at MMIO32 0x18001600 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] Linux version 6.5.10 (ramin@ramin-pc) (nios2-openadk-linux-uclibc-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 Wed Jun 10 15:32:07 CEST 2026
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000008000000-0x00000000ffffefff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000008000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000008000000-0x000000000fffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Kernel command line: debug earlycon console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 124072K/131072K available (3193K kernel code, 483K rwdata, 484K rodata, 144K init, 196K bss, 7000K 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] clocksource: nios2-clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 25483472618 ns
[    0.000000] Calibrating delay loop (skipped), value calculated using timer frequency.. 150.00 BogoMIPS (lpj=300000)
[    0.000000] pid_max: default: 4096 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: 16 (order: -5, 192 bytes, linear)
[    0.020000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.028000] SCSI subsystem initialized
[    0.036000] clocksource: Switched to clocksource nios2-clksrc
[    0.044000] NET: Registered PF_INET protocol family
[    0.044000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.044000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.044000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.044000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.044000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.044000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.044000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.044000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.044000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.048000] Unpacking initramfs...
[    0.052000] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.064000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.072000] printk: console [ttyS0] disabled
[    0.072000] 18001600.serial: ttyS0 at MMIO 0x18001600 (irq = 2, base_baud = 3125000) is a Altera 16550 FIFO32
[    0.072000] printk: console [ttyS0] enabled
[    0.072000] printk: console [ttyS0] enabled
[    0.072000] printk: bootconsole [ns16550a0] disabled
[    0.072000] printk: bootconsole [ns16550a0] disabled
[    0.076000] altera_tse 400.ethernet: resource pcs not defined
[    0.596000] Freeing initrd memory: 1316K
[    0.612000] altera_tse 400.ethernet (unnamed net_device) (uninitialized): MDIO bus altera_tse-0: created
[    0.612000] altera_tse 400.ethernet: Altera TSE MAC version 0.0 at 0x00000400 irq 3/4
[    0.612000] NET: Registered PF_PACKET protocol family
[    0.620000] clk: Disabling unused clocks
[    0.636000] Freeing unused kernel image (initmem) memory: 144K
[    0.636000] This architecture does not have kernel memory protection.
[    0.640000] Run /init as init process
[    0.640000]   with arguments:
[    0.640000]     /init
[    0.640000]   with environment:
[    0.640000]     HOME=/
[    0.640000]     TERM=linux
test console
test ttyS0
Disabled Tests :export NO_THREADS=1 NO_TLS=1 NO_NPTL=1 NO_DL=1 NO_MATH=1 NO_LOCALE=1 
-------------------- tests_start ------------------------
PASS assert
PASS arg_test
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 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 malloc-standard-alignment
PASS tst_wcslen
PASS tst_wcsncat
PASS malloc
PASS mallocbug
PASS tst_wcsncmp
PASS realloc-can-shrink
PASS tst_wcsncpy
PASS realloc0
PASS tst_wcspbrk
PASS tst_wcsrtombs
PASS testmalloc
PASS tst_wcsspn
PASS tst_wcsstr
PASS tst-calloc
PASS tst-malloc
PASS tst_wcstok
PASS tst-mallocfork
PASS tst_wcstombs
PASS tst-mcheck
PASS tst_wcswidth
PASS tst-valloc
PASS tst_wcsxfrm
PASS tst_wctob
PASS tst_wctomb
PASS tst_wctrans
PASS tst_wctype
PASS tst_wcwidth
PASS bug-glob2
PASS bug-readdir1
PASS dirent
PASS dirent64
PASS fdopen
PASS opendir-tst1
PASS popen
PASS seek
PASS sem
PASS stdarg
PASS tst-hasmntopt
PASS tst-inotify
PASS tst-mkostemps
SKIP tst-msgctl
	skip: 32-bit time_t cannot represent the post-2038 test date
PASS tst-nftw
PASS tst-preadvwritev
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 mmap
PASS mmap2
PASS mmap64
PASS tst-mmap-eofsync
PASS tst-mmap-fflushsync
PASS tst-mmap-offend
PASS tst-mmap-setvbuf
PASS getgroups
PASS grcat
PASS pwcat
PASS test_grp
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-time64
PASS stat
PASS 64bit
PASS fclose-loop
PASS qsort
PASS lseek_no_lfs
PASS test-canon
PASS scanf_m
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 termios
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 stratcliff
PASS test-ffs-O2
PASS test-ffs
PASS testcopy-O2
PASS testcopy
PASS tester-O2
PASS tester
PASS tst-bswap-O2
PASS tst-bswap
PASS tst-inlcall-O2
PASS tst-inlcall
PASS tst-memmove-O2
PASS tst-memmove
PASS tst-strlen-O2
PASS tst-strlen
PASS tst-strtok-O2
PASS tst-strtok
PASS tst-strxfrm-O2
PASS tst-strxfrm
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: 10
Total failed: 0
Total passed: 214