Wu.Country@侠缘

勤学似春起之苗,不见其增,日有所长; 辍学如磨刀之石,不见其损,日所有亏!

03 2009 档案

如何自己配置和编译一个完整的Linux嵌入式开发环境?
     摘要: 这里我不得不推荐一书:Linux+From+Scratch(CN).CHM可以从CSDN上下载!我的演练过程:1、配置好开发环境,最好的方法是VMWare(Redhat);2、参照LFS中的说明,一条一条的编译;遇到问题就Google!如果顺利,本周应该可以自己把整个开发工具链及环境全部过一遍!如果只是使用的话,网上也有很多已经编译好的工具包,直接下载使用,一般都是200M左右!  阅读全文

posted @ 2009-03-09 23:44 Wu.Country@侠缘 阅读(208) | 评论 (0)  编辑

我的学习开发环境,呵呵!
     摘要: 今天到电子市场去,花了近700块,弄了块ARM的学习单板,再也不用去搞什么虚拟机了! 简单的看了一下开发手册,还有点麻烦,可能得花点时间去把它搞清楚! 但这块单板的功能还是很强的,基本上可以满足常用的学习与测试了! 更重要的是随单板一起有很多的工具,可以自己慢慢的学习和使用了! 以后的学习笔记就以这个环境为主了!呵呵!  阅读全文

posted @ 2009-03-08 19:40 Wu.Country@侠缘 阅读(214) | 评论 (0)  编辑

Linux中进程结构描述符
     摘要: include/linux/sched.h384 struct task_struct {385 volatile long state;386 struct thread_info *thread_info;387 atomic_t usage;388 unsigned long flags; 389 unsigned long ptrace;390391 int lock_depth;3923...  阅读全文

posted @ 2009-03-08 00:22 Wu.Country@侠缘 阅读(204) | 评论 (0)  编辑

开始从代码入手学习内核
     摘要: 决定不再玩虚拟机了,直接弄个单板得了!想在虚拟机上运行ARM内核!试过了所有会的方法,没一次成功的!比较郁闷!决定明天去弄块单板,直接上板玩得了!另外,也不全部做翻译了,结合代码看书,翻译和笔记一起做!把2.6.21.1的内核代码添加到工程了,再加上glibc2.7,准备好好的看看代码了。一共2万千多个文件,慢慢看吧!  阅读全文

posted @ 2009-03-07 23:03 Wu.Country@侠缘 阅读(185) | 评论 (3)  编辑

Linux 2.6.19.x 内核编译配置选项简介
     摘要: http://lamp.linux.gov.cn/Linux/kernel_options.htmlLinux 2.6.19.x 内核编译配置选项简介作者:金步国版权声明本文作者是一位自由软件爱好者,所以本文虽然不是软件,但是本着 GPL 的精神发布。任何人都可以自由使用、转载、复制和再分发,但必须保留作者署名,亦不得对声明中的任何条款作任何形式的修改,也不得附加任何其它条件。您可以自由链接、下载...  阅读全文

posted @ 2009-03-06 21:36 Wu.Country@侠缘 阅读(204) | 评论 (0)  编辑

Building and Testing gcc/glibc cross toolchains
     摘要: http://www.kegel.com/crosstool/#downloadBuilding and Testing gcc/glibc cross toolchainsContentsTrouble in cross-compiler land Enhancing the community build script Results Downloads About the author No...  阅读全文

posted @ 2009-03-06 20:15 Wu.Country@侠缘 阅读(180) | 评论 (0)  编辑

Running Linux for ARM processors under QEMU
     摘要: QEMU is well-known as a free replacement for VMware, allowing users to run a PC within a PC. What isn't so well known about QEMU is that, in addition to emulating x86 architectures, it can emulate AMD...  阅读全文

posted @ 2009-03-06 20:08 Wu.Country@侠缘 阅读(346) | 评论 (0)  编辑

使用 QEMU 进行系统仿真
     摘要: http://www.cnblogs.com/WuCountry/admin/EditPosts.aspx?opt=1使用 QEMU 进行系统仿真机器中的机器文档选项打印本页 将此页作为电子邮件发送级别: 初级M. Tim Jones (mtj@mtjones.com), 咨询工程师, Emulex2007 年 10 月 22 日QEMU 是一个面向完整 PC 系统的开源仿真器。除了仿真处理器外,...  阅读全文

posted @ 2009-03-06 19:34 Wu.Country@侠缘 阅读(162) | 评论 (0)  编辑

[译]6.1. Data Structures Featured in This Chapter 本章涉及到的数据结构
     摘要: 目录:http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html[不提供插图,读者最好从网上下载源书]6.1. Data Structures Featured in This Chapter 本章涉及到的数据结构Here are a few key data structure types used by the PCI la...  阅读全文

posted @ 2009-03-02 22:49 Wu.Country@侠缘 阅读(144) | 评论 (1)  编辑

cifs和glibc编译
     摘要: 1、今天的glibc还是没有编译通过!不知道是我的虚拟机问题,还是因为版本不兼容问题;2、可以直接在Linux中访问Windows的目录:(1)、Windows共享一个目录;例如共享名为:shared可访问者为:vm_user密码为:test(2)、在编译Linux内核时,对网络支持cifs文件系统;(3)、加载cifs.ko模块;(4)、挂载文件系统:mount -t cifs //192.16...  阅读全文

posted @ 2009-03-01 22:41 Wu.Country@侠缘 阅读(202) | 评论 (1)  编辑

[译]Chapter 6. The PCI Layer and Network Interface Cards 第6章,PCI层和网络接口卡
     摘要: 目录:http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html[不提供插图,读者最好从网上下载源书] Chapter 6. The PCI Layer and Network Interface Cards 第6章,PCI层和网络接口卡Given the popularity of the PCI bus, on the x8...  阅读全文

posted @ 2009-03-01 15:06 Wu.Country@侠缘 阅读(102) | 评论 (0)  编辑

[译]5.11. Functions and Variables Featured in This Chapter 本章的函数,变量和特性
     摘要: 目录:http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html[不提供插图,读者最好从网上下载源书] 5.11. Functions and Variables Featured in This Chapter 本章的函数,变量和特性Table 5-1 summarizes the functions, macros, var...  阅读全文

posted @ 2009-03-01 14:49 Wu.Country@侠缘 阅读(68) | 评论 (0)  编辑

[译]5.10. Tuning via /procs Filesystem 通过/proc文件系统来调整内核模块
     摘要: 目录:http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html[不提供插图,读者最好从网上下载源书]5.10. Tuning via /procs Filesystem 通过/proc文件系统来调整内核模块Figure 5-5 shows the files that can be used either to tune or...  阅读全文

posted @ 2009-03-01 14:40 Wu.Country@侠缘 阅读(130) | 评论 (0)  编辑