mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 05:27:24 +00:00
add debug for uclibc
This commit is contained in:
parent
04392d29dd
commit
826f01d8c4
@ -13,3 +13,9 @@ if [[ $(cat /opt/wz_mini/run_mmc.sh | grep "RTSP_ENABLED\=") == "RTSP_ENABLED\=\
|
||||
insmod /opt/wz_mini/lib/modules/v4l2loopback.ko video_nr=1
|
||||
fi
|
||||
|
||||
##LIBRARY DEBUG
|
||||
#cp /opt/wz_mini/lib/uClibc.tar /tmp
|
||||
#tar -xf /tmp/uClibc.tar -C /tmp
|
||||
#mount --bind /tmp/lib /lib
|
||||
#cp /system/bin/iCamera /opt/wz_mini/tmp/.storage/
|
||||
#mount -o ro,bind /opt/wz_mini/usr/bin/iCamera-dbg /system/bin/iCamera
|
||||
|
BIN
SD_ROOT/wz_mini/lib/uClibc.tar
Executable file
BIN
SD_ROOT/wz_mini/lib/uClibc.tar
Executable file
Binary file not shown.
9
SD_ROOT/wz_mini/usr/bin/iCamera-dbg
Executable file
9
SD_ROOT/wz_mini/usr/bin/iCamera-dbg
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
echo "inject callback library and run"
|
||||
|
||||
export LD_LIBRARY_PATH='/thirdlib:/system/lib:/opt/wz_mini/lib'
|
||||
|
||||
LD_DEBUG_OUTPUT=/tmp/icam1.log LD_DEBUG=bindings /opt/wz_mini/tmp/.storage/iCamera
|
Loading…
Reference in New Issue
Block a user