摘要: 交叉编译libupnp 1.从Makeconfig中拿到CFLAGS,LDFLAGS等编译参数,执行./configure 然后再make,make install。 2.拷贝编译出来的动态库和静态库到lib_release下对应的文件夹中,编译出来的库的路径在./configure –prefix=”路径”下。 3.在system/project/TV010XX/Makefi... 阅读全文
posted @ 2017-02-13 16:41 陈溜溜 阅读(1879) 评论(0) 推荐(0) 编辑
摘要: 1.配置nfs 在虚拟机/etc/exports中配置 2.设置板子的ip等 3.挂在虚拟机文件夹:mount -t nfs -o nolock,tcp 172.29.6.89:/home/ice /mnt/hda;cd mnt/hda/.. 4.运行gdbserver:gdbserver 172.29.6.89:2345 ./Play 5.虚拟机运行gdb:/hom... 阅读全文
posted @ 2017-02-13 16:41 陈溜溜 阅读(387) 评论(0) 推荐(0) 编辑
摘要: /etc/network/interfaces# This file describes the network interfaces available on your system# # and how to activate them. For more information, see interfaces(5).## # The loopback network interfaceaut... 阅读全文
posted @ 2017-02-13 16:40 陈溜溜 阅读(144) 评论(0) 推荐(0) 编辑
摘要: su 到管理员用户sudo fdisk -lmount /dev/sde1 /mnt/usb如果没有usb目录mkdirumount /mnt当然 并不建议这样做 并不安全null 阅读全文
posted @ 2017-02-13 16:39 陈溜溜 阅读(488) 评论(0) 推荐(0) 编辑
摘要: echo 8 > /proc/sys/kernel/printk 阅读全文
posted @ 2017-02-13 16:37 陈溜溜 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: ALOGD("dump callstack"); android::CallStack stack; stack.update( ); stack.log("CALLSTACK"); //callstack LOG_TAG要#include 看是誰call的用logcat | grep CALLSTACKnull 阅读全文
posted @ 2017-02-13 16:37 陈溜溜 阅读(3271) 评论(0) 推荐(0) 编辑
摘要: Linux 常用的命令(未完结) Linux 常用的命令(未完结)ducprmrsynctarnohupatvim 编辑后获得权限保存awk格式化输出:过滤:指定分隔符awk 使用系统命令awk未完待续readhistorycutgrepcrontab du du -h -s filename 查看使用空间类似的可以用来查看下载进度和copy进度 cp cp -rf 拷贝目录 rm... 阅读全文
posted @ 2017-02-13 16:35 陈溜溜 阅读(171) 评论(0) 推荐(0) 编辑
摘要: tar -zcvf xxx-$(date +%Y%m%d-%H%M).tar.gz xxx 解压 tar -zxvf xxxnull 阅读全文
posted @ 2017-02-13 16:34 陈溜溜 阅读(367) 评论(0) 推荐(0) 编辑
摘要: du -h --max-depth=10 /home/pms/* | awk '{ if($1 ~ /M/){split($1, arr, "M")}; if(($1 ~ /G/) || ($1 ~ /M/ && arr[1]>200)) {printf "%-10s %s\n", $1, $2} }' | sort -n -rnull 阅读全文
posted @ 2017-02-13 16:34 陈溜溜 阅读(700) 评论(0) 推荐(0) 编辑
摘要: find . -iname '*.conf' | xargs grep "search string" -sl 按文件名查找: -name: 查找时文件名大小写敏感。 -iname: 查找时文件名大小写不敏感 xargs命令: 该命令的主要功能是从输入中构建和执行shell命令 在使用find命令的-exec选项处理匹配到的文件时, find命令将所有匹配到的文件一起传递给... 阅读全文
posted @ 2017-02-13 16:33 陈溜溜 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Ubuntu系统默认状况下的终端样式如下:Ubuntu default terminal's style有个知名的神奇:Oh-My-Zsh 可以让终端及美观又实用:Oh-My-Zsh agnoster theme install powerline font今天就一步步的记录我安装Oh My Zsh 的过程安装Oh-My-Zsh安装Oh-My-Zsh之前必须安装zsh,否则会收到如下提示:Zsh ... 阅读全文
posted @ 2017-02-13 16:32 陈溜溜 阅读(10326) 评论(0) 推荐(1) 编辑
摘要: Linux下的ip命令标签: 网络linux2016-07-10 16:56 486人阅读 评论(0) 收藏 举报 分类:Linux/Unix(31) 目录(?)[+]原文地址:https://Linux.cn/article-3144-1.htmllinux的ip命令和ifconfig类似,但前者功能更强大,并旨在取代后者。使用ip命令,只需一个命令,你就能很轻松地执行一些网络管理任务。ifc... 阅读全文
posted @ 2017-02-13 16:32 陈溜溜 阅读(3090) 评论(0) 推荐(0) 编辑
摘要: echo -e -n "\033[41;37m iceiceice \033[0m \r";sleep 0.3;echo -e -n "\033[45;37m iceiceice \033[0m\r";sleep 0.3;echo -e -n "\033[41;37m iceiceice \033[0m \r";sleep 0.3;echo -e -n "\033[45;37m iceiceice... 阅读全文
posted @ 2017-02-13 16:31 陈溜溜 阅读(188) 评论(0) 推荐(0) 编辑
摘要: cat a.txt |awk '{cmd="touch "$0;system(cmd)}' 或者awk '{cmd="touch "$0;system(cmd)}' filenamenull 阅读全文
posted @ 2017-02-13 16:30 陈溜溜 阅读(1132) 评论(0) 推荐(0) 编辑