摘要: 1.solarized for securecrtPosted onFebruary 19, 2013Here’s a set ofsolarizeddark colors forSecureCRT.With SecureCRT closed, edit your Global.ini which lives by default in %appdata%\VanDyke\Config\Global.ini, find the three lines the start withB:”ANSI Color RGB”and replace it and the two lines of hex 阅读全文
posted @ 2013-10-17 12:12 Melvin.Yang 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: 1. 使用托管在 google code 上的 smart hosts;2. 命令行更新sudo wget https://smarthosts.googlecode.com/svn/trunk/hosts -o /etc/hosts 阅读全文
posted @ 2013-09-21 22:59 Melvin.Yang 阅读(26) 评论(0) 推荐(0) 编辑
摘要: If you get a permission denied error when trying to redirect the output of a sudo command then the reason for this is normally because the superuser permissions only apply to the first part of the statement, e.g. the echo command. They do not carry through to the bash redirection.paul@backups:~$ sud 阅读全文
posted @ 2013-08-19 15:07 Melvin.Yang 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1. 网上大多数用命令 sudo apt-get install linux-source,下载安装后,发现下载下来的源码版本与当前正使用的版本不一致;2. 参考https://wiki.ubuntu.com/Kernel/SourceCode The literal source code which generated a specific binary package may be obtained using theapt-getsourcecommand. For example to obtain the source for the currently running kern. 阅读全文
posted @ 2013-08-15 16:51 Melvin.Yang 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 1. 模块编译后生成system.img A. 编译相关模块,执行命令mm 或 mmm(可查看build/envsetup.sh中的详细信息) B. 生成system.img,执行命令mkyaffs2image (out/host/linux-x86/bin/mkyaffs2image) 阅读全文
posted @ 2013-08-14 12:03 Melvin.Yang 阅读(138) 评论(0) 推荐(0) 编辑
摘要: . build/envsetup.shlunchsdk-engmakesdk关于SDK,分为几种:1. 自己下载的SDK2. 我们用make sdk编译出来的SDK3. 我们用make编译出来的out目录也有相关工具 阅读全文
posted @ 2013-08-14 11:31 Melvin.Yang 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Android 内核编译需配置三件事1. 配置环境变量PATH 主要是使当前路径包含交叉编译器所在路径(如prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin)2. 配置Makefile 改写目标平台(变量ARCH)及指明交叉编译器(变量CROSS_COMPILE,)前缀(如arm-eabi) 为什么使指明前缀,而不是全路径?注意上一步,已经包含了交叉编译器路径,编译时,系统会根据前缀(如arm-eabi)去寻找前述路径下对应的编译工具如gcc,gdb(arm-eabi-gcc)3.配置内核 可自己一项一项配置,也可以采取默认配置文件(如arm平台的... 阅读全文
posted @ 2013-08-13 16:33 Melvin.Yang 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1. 代码下载不全; 可运行 repo status 查看代码状态,行首带-D标志的代表文件缺失2. 直接运行repo sync没用;3. 删除缺失文件的相关目录后,运行repo sync 阅读全文
posted @ 2013-08-13 16:04 Melvin.Yang 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 1. 使用 smbmount 命令 安装软件包 smbfs:apt-get install smbfs 示例:smbmount //192.168.0.133/ /mnt -o user=XXX,pass=XXX,iocharset=utf82. 卸载 共享文件夹 可使用 umount 命令 阅读全文
posted @ 2013-08-12 17:53 Melvin.Yang 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 1. 缺少ia32-libs库 sudo apt-get install ia32-libs 阅读全文
posted @ 2013-08-12 10:21 Melvin.Yang 阅读(1925) 评论(0) 推荐(0) 编辑