-----------------------------------------------------------------

[*] Initial CPU detection process of binary nandwrite with CPU configuration NONE.

[*] Emulator used: qemu-arm-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract (1/1)

[*] Trying to emulate binary ./usr/sbin/nandwrite with cpu config NONE

1 readlinkat(AT_FDCWD,"/proc/self/exe",0x4071db58,4096) = 19
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe6000
1 open("/lib//libc.so.0",O_RDONLY) = 3
1 fstat(3,0x4071e20c) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ffe5000
1 read(3,0x3ffe5000,4096) = 4096
1 mmap2(NULL,651264,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff46000
1 mmap2(0x3ff46000,486668,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_FIXED,3,0) = 0x3ff46000
1 mmap2(0x3ffcd000,4852,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x77) = 0x3ffcd000
1 mmap2(0x3ffcf000,88104,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3ffcf000
1 close(3) = 0
1 munmap(0x3ffe5000,4096) = 0
1 stat("/lib/ld-uClibc.so.0",0x4071eaf0) = 0
1 mmap2(NULL,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3ff45000
1 mprotect(0x00026000,4096,PROT_READ) = 0
1 mprotect(0x3ffcd000,4096,PROT_READ) = 0
1 mprotect(0x3fffe000,4096,PROT_READ) = 0
1 set_tid_address(0x3ff45068) = 1
1 set_robust_list(0x3ff4506c,12) = -1 errno=38 (Function not implemented)
1 rt_sigaction(32,0x4071ead4,NULL) = 0
1 rt_sigaction(33,0x4071ead4,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x4071eb18,NULL,8) = 0
1 ugetrlimit(3,1081207556,4,1696,1073536072,16) = 0
1 ioctl(0,TCGETS,0x4071eac4) = -1 errno=25 (Inappropriate ioctl for device)
1 ioctl(1,TCGETS,0x4071eac4) = -1 errno=25 (Inappropriate ioctl for device)
1 write(2,0x155a1,1080)Usage: nandwrite [OPTION] MTD_DEVICE [INPUTFILE|-]
Writes to the specified MTD device.

  -a, --autoplace         Use auto OOB layout
  -k, --skip-all-ffs      Skip pages that contain only 0xff bytes
  -m, --markbad           Mark blocks bad if write fails
  -n, --noecc             Write without ecc
  -N, --noskipbad         Write without bad block skipping
  -o, --oob               Input contains oob data
  -O, --onlyoob           Input contains oob data and only write the oob part
  -s addr, --start=addr   Set output start address (default is 0)
  --skip-bad-blocks-to-start                          Skip bad blocks when seeking to the start address
  -p, --pad               Pad writes to page size
  -b, --blockalign=1|2|4  Set multiple of eraseblocks to align to
      --input-skip=length Skip |length| bytes of the input file
      --input-size=length Only read |length| bytes of the input file
  -q, --quiet             Don't display progress messages
  -h, --help              Display this help and exit
  -V, --version           Output version information and exit
 = 1080
1 exit_group(1)
[+] CPU configuration used for nandwrite: NONE
CPU_CONFIG_det\;NONE

-----------------------------------------------------------------