Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JohnDMcMaster/33091d39a9c3df4527ea63b7b852bd29 to your computer and use it in GitHub Desktop.
Save JohnDMcMaster/33091d39a9c3df4527ea63b7b852bd29 to your computer and use it in GitHub Desktop.
mcmaster@necropolis:~/buffer/wyze/dev/Main$ ln -s toolchain mips-gcc472-glibc216-64bit
mcmaster@necropolis:~/buffer/wyze/dev/Main$ ./compile-libraries.sh
mcmaster@necropolis:~/buffer/wyze/dev/Main$ ./compile_busybox.sh
mcmaster@necropolis:~/buffer/wyze/dev/Main$ patchelf --set-interpreter /tmp/ld.so.1 busybox/busybox
mcmaster@necropolis:~/buffer/wyze/dev/Main$ cam1-cp busybox/busybox
mcmaster@necropolis:~/buffer/wyze/dev/Main$ cam1-cp ./toolchain/mips-linux-gnu/libc/lib/{ld.so.1,libm.so.6,libresolv.so.2,libc.so.6}
[root@DAFANG:tmp]# chmod +x *
[root@DAFANG:tmp]# ./busybox --help
Illegal instruction
mcmaster@necropolis:~/buffer/wyze/dev/Main$ cam1-cp ./toolchain/mips-linux-gnu/libc/soft-float/lib/{ld.so.1,libm.so.6,libresolv.so.2,libc.so.6}
[root@DAFANG:tmp]# chmod +x *
[root@DAFANG:tmp]# ./busybox --help
Illegal instruction
@JohnDMcMaster
Copy link
Author

[root@DAFANG:tmp]# cat /proc/cpuinfo
system type : bull
machine : Unknown
processor : 0
cpu model : Ingenic Xburst V0.1 FPU V0.0
BogoMIPS : 858.52
wait instruction : yes
microsecond timers : no
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 1, address/irw mask: [0x0fff]
isa : mips32r1
ASEs implemented :
shadow register sets : 1
kscratch registers : 7
core : 0
VCED exceptions : not available
VCEI exceptions : not available

Hardware : isvp
Serial : 00000000 00000000 00000000 00000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment