远程挂载:
1、修改IP为同一网段:ifconfig eth0 IP
2、mount -t nfs -o nolock,intr,rsize=1024,wsize=1024,proto=tcp (host ip):/nfs /mnt/
远程调试: 主机端:
1、arm-arago-linux-gnueabi-gdb -x gdb.s
2、 gdb.sh 内容,指定编译库和调试APP
set solib-search-path /home/ding/ti-sdk-am335x/filesystem/lib:/home/ding/ti-sdk-am335x/filesystem/usr/lib
set solib-absolute-prefix /home/ding/ti-sdk-am335x/filesystem/
file xx.ap
3、 source make.sh
make.sh 内容:
#!/bin/sh
shell make -s
file xx.app
shell cp xx.app /test/xx
echo "please config server..."
target remote 10.11.13.213:150
客户端:在test/xx挂载到机器端后,进入到该目录下执行 ./startdebug.sh
startdebug.sh内容
#! /bin/sh
gdbserver 10.11.13.19:150 xx.app
需要安装gdbserver应用进行远程调试。

8056

被折叠的 条评论
为什么被折叠?



