12 2012 档案

摘要:编译gdbserver~/gdb-6.5/gdb/gdbserver$ ./configure --target=arm-linux --host=arm-linuxmake CC=/usr/local/arm/4.3.2/bin/arm-linux-gcc开发板上运行IP:开发板IP 程序是本地程序./gdbserver 192.168.1.20:1234 gdbtest主机:arm-linux-gdb ./ gdbtesttarget remote 192.168.1.20:1234 阅读全文
posted @ 2012-12-29 23:39 ahuo 阅读(226) 评论(0) 推荐(0) 编辑
摘要:arch/arm/mach-s3c64xx/mach-smdk6410.c/* * Configuring Nandflash on SMDK6410 */struct mtd_partition ok6410_nand_part[] = { { .name = "Bootloader", .offset = 0, .size = (1 * SZ_1M), .mask_flags = MTD_CAP_NANDFLASH, }, { .name = "Kernel", .offset = (1 * SZ_1M), .size = (5*SZ_1M) , . 阅读全文
posted @ 2012-12-23 19:01 ahuo 阅读(226) 评论(0) 推荐(0) 编辑
摘要:U-boot的环境变量值得注意的有两个: bootcmd 和bootargs。u-bootcmd 前面有说过bootcmd是自动启动时默认执行的一些命令,因此你可以在当前环境中定义各种不同配置,不同环境的参数设置,然后设置bootcmd为你经常使用的那种参数。u-bootargs bootargs是环境变量中的重中之重,甚至可以说整个环境变量都是围绕着bootargs来设置的。bootargs的种类非常非常的多,我们平常只是使用了几种而已,感兴趣的可以看看这篇文章说的很全:http://blog.chinaunix.net/u2/79570/showart_1675071.html。boo.. 阅读全文
posted @ 2012-12-23 00:12 ahuo 阅读(265) 评论(0) 推荐(0) 编辑
摘要:显示这个提示:CS8900 Ethernet chip not found ,表示不支持网络,对应驱动没有被移植替换dm9000x和smdk6410 重新编译u-boot既可http://files.cnblogs.com/ahuo/u-boot-Net.rar 阅读全文
posted @ 2012-12-22 23:07 ahuo 阅读(220) 评论(0) 推荐(0) 编辑
摘要:查找:在当前目录下的.jsp文件中查找“alert”字符串grep "alert" *.jsp在当前目录及其多个子目录中查找文件portal.jspfind . -name "portal.jsp" -print在当前目录及其多个子目录下的.jsp文件中查找字符串"alert"find . -name "*.jsp" -print | xargs grep "alert"替换:在当前目录下的.jsp文件中把字符串"password"替换成"pwd"perl 阅读全文
posted @ 2012-12-22 00:31 ahuo 阅读(625) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"#include "windows.h"class CLock{private: CRITICAL_SECTION m_section;public: CLock(void) { InitializeCriticalSection(&m_section); } ~CLock(void) { DeleteCriticalSection(&m_section); } void lock() { EnterCriticalSection(&m_section); } void unLock() { 阅读全文
posted @ 2012-12-17 21:41 ahuo 阅读(1115) 评论(0) 推荐(0) 编辑
摘要:extern int __argc;extern TCHAR** __argv;修改为:调试,静态库 MFC 应用程序的"调试 Multithreaded"。发行版中,静态库的 MFC 应用程序的"Multithreaded"。 阅读全文
posted @ 2012-12-16 20:15 ahuo 阅读(482) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示