-----------------------------------------------------------------
[*] Initial CPU detection process of binary opkg with CPU configuration .
[*] Emulator used: qemu-mipsel-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract (1/2)
[*] Trying to emulate binary ./usr/bin/opkg with cpu config NONE
[-] Emulation process of binary opkg with CPU configuration failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 4Kc
[-] Emulation process of binary opkg with CPU configuration 4Kc failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 4Km
[-] Emulation process of binary opkg with CPU configuration 4Km failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 4KEcR1
[-] Emulation process of binary opkg with CPU configuration 4KEcR1 failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 4KEmR1
[-] Emulation process of binary opkg with CPU configuration 4KEmR1 failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 4KEc
[-] Emulation process of binary opkg with CPU configuration 4KEc failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 4KEm
[-] Emulation process of binary opkg with CPU configuration 4KEm failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 24Kc
[-] Emulation process of binary opkg with CPU configuration 24Kc failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 24KEc
[-] Emulation process of binary opkg with CPU configuration 24KEc failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 24Kf
[-] Emulation process of binary opkg with CPU configuration 24Kf failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 34Kf
[-] Emulation process of binary opkg with CPU configuration 34Kf failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config 74Kf
[-] Emulation process of binary opkg with CPU configuration 74Kf failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config M14K
[-] Emulation process of binary opkg with CPU configuration M14K failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config M14Kc
[-] Emulation process of binary opkg with CPU configuration M14Kc failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config P5600
[-] Emulation process of binary opkg with CPU configuration P5600 failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config mips32r6-generic
[-] Emulation process of binary opkg with CPU configuration mips32r6-generic failed
[*] Trying to emulate binary ./usr/bin/opkg with cpu config I7200
[-] Emulation process of binary opkg with CPU configuration I7200 failed
-----------------------------------------------------------------
-----------------------------------------------------------------
[*] Initial CPU detection process of binary opkg with CPU configuration 24KEc.
[*] Emulator used: qemu-mipsel-static
[*] Using root directory: /logs/s115_usermode_emulator/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr (2/2)
[*] Trying to emulate binary ./bin/opkg with cpu config 24KEc
1 brk(NULL) = 0x40015490
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f7c7000
1 uname(0x3ff1d720) = 0
1 access("/etc/ld.so.preload",R_OK) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/etc/ld.so.cache",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/tls/libopkg.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 stat64("/lib/tls",0x3ff1d370) = 0
1 openat(AT_FDCWD,"/lib/libopkg.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d4b4,512) = 512
1 prctl(46,1072813544,1072813236,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d370) = 0
1 mmap2(NULL,253152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f789000
1 mprotect(0x3f7b6000,61440,PROT_NONE) = 0
1 mmap2(0x3f7c5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x2c) = 0x3f7c5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libc.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d4a4,512) = 512
1 prctl(46,1072813656,1072813220,512,1065377792,0) = 0
1 _llseek(3,0,760,0x3ff1d278,SEEK_SET) = 0
1 read(3,0x3ff1d2a8,32) = 32
1 fstat64(3,0x3ff1d360) = 0
1 mmap2(NULL,1593152,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f604000
1 mprotect(0x3f771000,61440,PROT_NONE) = 0
1 mmap2(0x3f780000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x16c) = 0x3f780000
1 mmap2(0x3f787000,8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f787000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libarchive.so.13",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libarchive.so.13",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d3e4,512) = 512
1 prctl(46,1072813336,1072813028,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d2a0) = 0
1 mmap2(NULL,811184,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f53d000
1 mprotect(0x3f5f1000,61440,PROT_NONE) = 0
1 mmap2(0x3f600000,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xb3) = 0x3f600000
1 mmap2(0x3f603000,176,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f603000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/liblzo2.so.2",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/liblzo2.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d324,512) = 512
1 prctl(46,1072813112,1072812836,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1e0) = 0
1 mmap2(NULL,184560,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f50f000
1 mprotect(0x3f52c000,61440,PROT_NONE) = 0
1 mmap2(0x3f53b000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1c) = 0x3f53b000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/liblzma.so.5",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/liblzma.so.5",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d314,512) = 512
1 prctl(46,1072813096,1072812820,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1d0) = 0
1 mmap2(NULL,217776,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4d9000
1 mprotect(0x3f4fe000,61440,PROT_NONE) = 0
1 mmap2(0x3f50d000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x24) = 0x3f50d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libbz2.so.1",O_RDONLY|O_CLOEXEC) = -1 errno=2 (No such file or directory)
1 openat(AT_FDCWD,"/lib/libbz2.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d304,512) = 512
1 prctl(46,1072813080,1072812804,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1c0) = 0
1 mmap2(NULL,138528,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f4b7000
1 mprotect(0x3f4c8000,61440,PROT_NONE) = 0
1 mmap2(0x3f4d7000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x10) = 0x3f4d7000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libz.so.1",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2f4,512) = 512
1 prctl(46,1072813096,1072812788,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1b0) = 0
1 mmap2(NULL,155984,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f490000
1 mprotect(0x3f4a5000,65536,PROT_NONE) = 0
1 mmap2(0x3f4b5000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x15) = 0x3f4b5000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libxml2.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2e4,512) = 512
1 prctl(46,1072813080,1072812772,512,1065377792,0) = 0
1 fstat64(3,0x3ff1d1a0) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f48e000
1 mmap2(NULL,1619780,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f302000
1 mprotect(0x3f477000,65536,PROT_NONE) = 0
1 mmap2(0x3f487000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x175) = 0x3f487000
1 mmap2(0x3f48d000,1860,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f48d000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libpthread.so.0",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2d4,512) = 512
1 prctl(46,1072813160,1072812756,512,1065377792,0) = 0
1 _llseek(3,0,768,0x3ff1d0a0,SEEK_SET) = 0
1 read(3,0x3ff1d0d0,32) = 32
1 fstat64(3,0x3ff1d190) = 0
1 mmap2(NULL,181248,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2d5000
1 mprotect(0x3f2ef000,61440,PROT_NONE) = 0
1 mmap2(0x3f2fe000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x19) = 0x3f2fe000
1 mmap2(0x3f300000,5120,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_FIXED,-1,0) = 0x3f300000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libdl.so.2",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2c4,512) = 512
1 prctl(46,1072813048,1072812740,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d098,SEEK_SET) = 0
1 read(3,0x3ff1d0c8,32) = 32
1 fstat64(3,0x3ff1d180) = 0
1 mmap2(NULL,73968,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f2c2000
1 mprotect(0x3f2c4000,61440,PROT_NONE) = 0
1 mmap2(0x3f2d3000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0x1) = 0x3f2d3000
1 close(3) = 0
1 openat(AT_FDCWD,"/lib/tls/libm.so.6",O_RDONLY|O_CLOEXEC) = 3
1 read(3,0x3ff1d2b4,512) = 512
1 prctl(46,1072813032,1072812724,512,1065377792,0) = 0
1 _llseek(3,0,648,0x3ff1d088,SEEK_SET) = 0
1 read(3,0x3ff1d0b8,32) = 32
1 fstat64(3,0x3ff1d170) = 0
1 mmap2(NULL,1078320,PROT_EXEC|PROT_READ,MAP_PRIVATE|MAP_DENYWRITE,3,0) = 0x3f1ba000
1 mprotect(0x3f2b1000,61440,PROT_NONE) = 0
1 mmap2(0x3f2c0000,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_DENYWRITE|MAP_FIXED,3,0xf6) = 0x3f2c0000
1 close(3) = 0
1 mmap2(NULL,8192,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0) = 0x3f1b8000
1 set_thread_area(0x3f1bf6a0) = 0
1 mprotect(0x3f780000,16384,PROT_READ) = 0
1 mprotect(0x3f2c0000,4096,PROT_READ) = 0
1 mprotect(0x3f2d3000,4096,PROT_READ) = 0
1 mprotect(0x3f2fe000,4096,PROT_READ) = 0
1 mprotect(0x3f4b5000,4096,PROT_READ) = 0
1 mprotect(0x3f487000,16384,PROT_READ) = 0
1 mprotect(0x3f4d7000,4096,PROT_READ) = 0
1 mprotect(0x3f50d000,4096,PROT_READ) = 0
1 mprotect(0x3f53b000,4096,PROT_READ) = 0
1 mprotect(0x3f600000,8192,PROT_READ) = 0
1 mprotect(0x3f7c5000,4096,PROT_READ) = 0
1 mprotect(0x40014000,4096,PROT_READ) = 0
1 mprotect(0x3f7fd000,4096,PROT_READ) = 0
1 set_tid_address(0x3f1b8278) = 1
1 set_robust_list(0x3f1b8280,12) = -1 errno=89 (Function not implemented)
1 rt_sigaction(32,0x3ff1dd70,NULL) = 0
1 rt_sigaction(33,0x3ff1dd70,NULL) = 0
1 rt_sigprocmask(SIG_UNBLOCK,0x3ff1ddb8,NULL,16) = 0
1 getrlimit(3,0x3ff1de40) = 0
1 write(2,0x400039b4,40)opkg must have one sub-command argument
= 40
1 fstat64(1,0x3ff1dc58) = 0
1 brk(NULL) = 0x40015490
1 brk(0x40037490) = 0x40037490
1 brk(0x40038000) = 0x40038000
1 write(1,0x40015498,4096)usage: opkg [options...] sub-command [arguments...]
where sub-command is one of:
Package Manipulation:
update Update list of available packages
upgrade Upgrade installed packages
install <pkgs> Install package(s)
configure <pkgs> Configure unpacked package(s)
remove <pkgs|glob> Remove package(s)
clean Clean internal cache
flag <flag> <pkgs> Flag package(s)
<flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)
Informational Commands:
list List available packages
list-installed List installed packages
list-upgradable List installed and upgradable packages
list-changed-conffiles List user modified configuration files
files <pkg> List files belonging to <pkg>
search <file|glob> List package providing <file>
find <regexp> List packages with names or description matching <regexp>
info [pkg|glob] Display all info for <pkg>
status [pkg|glob] Display all status for <pkg>
download <pkg> Download <pkg> to current directory
compare-versions <v1> <op> <v2>
compare versions using <= < > >= = << >>
print-architecture List installable package architectures
depends [-A] [pkgname|glob]+
whatdepends [-A] [pkgname|glob]+
whatdependsrec [-A] [pkgname|glob]+
whatrecommends[-A] [pkgname|glob]+
whatsuggests[-A] [pkgname|glob]+
whatprovides [-A] [pkgname|glob]+
whatconflicts [-A] [pkgname|glob]+
whatreplaces [-A] [pkgname|glob]+
Options:
-A Query all packages not just those installed
-V[<level>] Set verbosity level to <level>.
--verbosity[=<level>] Verbosity levels:
0 errors only
1 normal messages (default)
2 informative messages
3 debug
4 debug level 2
-f <conf_file> Use <conf_file> as the opkg configuration file
--conf <conf_file>
--cache-dir <path> Specify cache directory.
-t, --tmp-dir <directory> Specify tmp-dir.
-l, --lists-dir <directory> Specify lists-dir.
-d <dest_name> Use <dest_name> as the the root directory for
--dest <dest_name> package installation, removal, upgrading.
<dest_name> should be a defined dest name from
the configuration file, (but can also be a
directory name in a pinch).
-o <dir> Use <dir> as the root directory for
--offline-root <dir> offline installation of packages.
--add-dest <name>:<path> Register destination with given path
--add-arch <arch>:<prio> Register architecture with given priority
--add-exclude <name> Register package to be excluded from install
--add-ignore-recommends <name> Register package to be ignored as a recomendee
--prefer-arch-to-version Use the architecture priority package rather
than the higher version one if more
than one candidate is found.
--combine Combine upgrade and install operations, this
may be needed to resolve dependency issues.
Only available for the internal solver backend.
--fields <field1>,<field2> Limit display information to the specified fields
plus the package name. Valid for info and status.
--short-description Display only the first line of the description.
--size Print package size when listing available packages
Force Options:
--force-depends Install/remove de = 4096
1 write(1,0x40015498,1397)spite failed dependencies
--force-maintainer Overwrite preexisting config files
--force-reinstall Reinstall package(s)
--force-overwrite Overwrite files from other package(s)
--force-downgrade Allow opkg to downgrade packages
--force-space Disable free space checks
--force-postinstall Run postinstall scripts even in offline mode
--force-remove Remove package even if prerm script fails
--force-checksum Don't fail on checksum mismatches
--noaction No action -- test only
--download-only No action -- download only
--nodeps Do not follow dependencies
--no-install-recommends Do not install any recommended packages
--force-removal-of-dependent-packages
Remove package and all dependencies
--autoremove Remove packages that were installed
automatically to satisfy dependencies
--host-cache-dir Don't place cache in offline root dir.
--volatile-cache Use volatile cache.
Volatile cache will be cleared on exit
glob could be something like 'pkgname*' '*file*' or similar
e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
= 1397
1 exit_group(1)
[+] CPU configuration used for opkg: 24KEc
CPU_CONFIG_det\KEc
-----------------------------------------------------------------