博客首页
注册
建议与交流
排行榜
加入友情链接
宝宝相册的专门空间
推荐
投诉
搜索:
帮助
JordonWu's Blog
jordonwu.cublog.cn
管理博客
发表文章
留言
收藏夹
博客圈
音乐
相册
文章
· ARM ASM
· Embedded-Linux
· Fund
· GUI
· IDE
· Linux
}
· Kernel
· QT2410
· 建筑
首页
关于作者
姓名: 职业: 年龄: 位置: 个性介绍:大部分文章是本人 学习过程中收集于网络上各位 大侠高人的文章,如有侵权请 来信告知,我将会尽快删除。 谢谢!!
||
<<
>>
||
我的分类
最新文章
·
Debian使用rp-pppoe
·
blkCpy.s of ARM system-..
·
helloW.s of ARM system-..
·
ARM ASM 001 -- MOV_001
·
ubuntu上内核模块开发环境..
最新留言
·
aumbrella
你好!QT2410開發板上有4顆..
·
aumbrella
編譯好的madplay在QT2410上..
·
yq_qt2410
一不小心也加入了QT2410行..
·
jordonwu
aa
最新评论
·
你好,我想问一下这个问题..
·
您好!我執行#$chown -R n..
·
我没用AXD调试过2410,都是..
·
大侠,请问你买的QT2410的..
·
呵呵,我又遇到了一个高手,..
最新收藏
统计信息
·
总访问量:24513
·
文章个数:32
·
评论条数:10
·
留言条数:4
·
网友推荐:
Debian使用rp-pppoe
<p>I.ADSL拨号 </p> <p> ADSL一般使用的是 PPPoE协议,Debian使用的软件是rp-pppoe,使用: </p> <p> apt-get install pppoe pppoeconf </p> <p> 就安装了这个软件。 </p> <p> 然后运行 pppoeconf,自动检测连接ADSL的网卡,然后输入相应的参数,如用户名,密码等等,就能够使用 pon 进行连接Internet。 </p> <p> 生成的配置文档在: </p> <p> /etc/ppp/peers/dsl-provider </p> <p> II. 动态域名 </p> <p> 首先去http://www.3322.org/ 申请动态域名。申请之后,在http://www.3322.org/dyndnspage/client.html 下载他的客户端。然后解压缩,我是解压缩到 </p> <p> /usr/local/bin/ez-ipupdate的。 </p> <p> 在目录 /etc/ppp/ip-up.d 下面的shell,在ppp起来的时候,都会被自动执行,这样将动态域名的更新程式放在这里,就能够自动更新了。另外也能够在这个文档里面,放置防火墙规 则和NAT的规则,如我在这个目录下面生成一个 02nat (注意属性要 chmod 755 02nat 改成可执行的: </p> <p> #!/bin/bash<br> #</p> <p> IPTABLES=\"/sbin/iptables\"</p> <p> # 装载相应的模块<br> modprobe iptable_nat<br> # 清……
查看全文
发表于:2008-06-30 ┆
阅读(46)
┆
评论(0)
blkCpy.s of ARM system-on-chip architecture
;Copy string from table1 to table2<BR> AREA blkCpy,CODE,READONLY <BR>SWI_ANGEL EQU 0x123456 ;SWI number for Angel semihosting <BR><BR> MACRO <BR>$l Exit ;Angel SWI call to terminate execution <BR>$l MOV r0, #0x18 ;Angel SWIreason_ReportException(0x18) <BR> LDR r1, =0x20026 ;report ADP_Stopped_ApplicationExit <BR> SWI SWI_ANGEL ;ARM semihosting SWI <BR> MEND <BR><BR> MACRO <BR>$l WriteC ;Angel SWI call to output char in [r1] <BR>$l MOV r0, #0x3 ;select Angel SYS_WRITEC function <BR> SWI SWI_ANGEL <BR> MEND <BR><BR> ENTRY ;code entry point <BR> ADR r1, TABLE1 ;r1->TABLE1<BR> ADR r2, TABLE2 ;r2->TABLE2<BR> ADR r3, T1END ;r3->T1END<BR>LOOP1 LDR r4, [r1], #4 ;GET TABLE1 1st WORD<BR> STR r4, [r2], #4 ;COPY INTO TABLE2<BR> CMP r1, r3 ;FINISHED?<BR> BLT LOOP1 ;IF NOT, DO MO……
查看全文
发表于:2008-05-23 ┆
阅读(66)
┆
评论(0)
helloW.s of ARM system-on-chip architecture
ARM system-on-chip architecture一书中的汇编源码(在RVDS2.1中调试通过)之 Helloworld.s<BR><BR><BR>;====================================================================================<BR>;Angel code examples<BR>;The following ARM code is the Angel equivalent of the "Hello World" program on page 69 in the book. Note that, although the WriteC macro is defined, it isn't used in the code as it is more efficient to retain the conditional SWI. <BR><BR><BR><BR> AREA HelloW,CODE,READONLY <BR>SWI_ANGEL EQU 0x123456 ;SWI number for Angel semihosting <BR><BR> MACRO <BR>$l Exit ;Angel SWI call to terminate execution <BR>$l MOV r0, #0x18 ;Angel SWIreason_ReportException(0x18) <BR> LDR r1, =0x20026 ;report ADP_Stopped_ApplicationExit <BR> SWI SWI_ANGEL ;ARM semihosting SWI <BR> MEND <BR><BR>; MACRO <BR>;$l WriteC ;Angel SWI call to output char in [r1] <BR>;$l MOV r0, #0x3……
查看全文
发表于:2008-05-23 ┆
阅读(72)
┆
评论(0)
ARM ASM 001 -- MOV_001
开始学习ARM汇编,会把这学习过程详细记录下来供以后参考。高手请勿浏览以免浪费你的时间。该系列学习笔记用的编译器是IAR5.1<BR><BR>MOV指令:<BR>在ARM中MOV指令不可以直接在存储器地址单元和寄存器间进行传递<BR><BR>MOV_001.asm:<BR>第一个ARM 汇编程序没什么好说的,就是把R5中的值赋给R7<BR><BR><BR>;===============================================================================<BR>;MOV_001.asm<BR>;===============================================================================<BR>NAME main<BR> PUBLIC __iar_program_start<BR> SECTION .intvec : CODE (2)<BR> CODE32<BR> __iar_program_start<BR> B main<BR><BR> SECTION .text : CODE (2)<BR> CODE32<BR><BR>main MOV r5, #5 <BR> MOV r7, #8 <BR> MOV r7, r5;<BR> B main<BR><BR> END<BR>;===============================================================================<BR><BR><BR><BR><BR>
查看全文
发表于:2008-05-06 ┆
阅读(92)
┆
评论(0)
ubuntu上内核模块开发环境的架设
ubuntu上内核模块开发环境的架设<BR><BR><BR>工作是Linux驱动开发,工作环境定为ubuntu7.10,主要是考虑到软件安装更新比较方便。<BR> 考虑到网速方面的因素,首先需要更改sources.list文件(位于/etc/apt/sources.list),将里面的软件网站改为ubuntu的中国镜像网站。可将以下文本替换掉sources.list里的内容(注意ubuntu的版本区别,要修改什么最好根据自己的实际情况到网上搜下,再进行修改)。deb http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse<BR>deb http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse<BR>deb http://ubuntu.cn99.com/ubuntu/ gutsy-updates main restricted universe multiverse<BR>deb http://ubuntu.cn99.com/ubuntu/ gutsy-proposed main restricted universe multiverse<BR>deb http://ubuntu.cn99.com/ubuntu/ gutsy-backports main restricted universe multiverse<BR>deb-src http://ubuntu.cn99.com/ubuntu/ gutsy main restricted universe multiverse<BR>deb-src http://ubuntu.cn99.com/ubuntu/ gutsy-security main restricted universe multiverse<BR>deb-src http://ubun……
查看全文
发表于:2008-04-03 ┆
阅读(145)
┆
评论(0)
QT2410入门实践03 ---交叉编译工具(for ARM)及rootfs(for NFS)的制作
===================================================================================================<BR>Building buildroot-20071126.tar.bz2<BR>===================================================================================================<BR>1. Untar buildroot package<BR> $cd /opt<BR> $sudo tar -jxvf buildroot-20071126.tar.bz2 -C ./<BR> $cd /opt/buildroot<BR><BR>2. Modify configure files<BR> 1)inittab<BR> $cd /opt/buildroot/target/generic/target_skeleton/etc/ //this inittab using udev<BR> $modify initab and uncomment ttyS0 as following:<BR> # Put a getty on the serial port<BR> ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100<BR><BR> $cd /opt/buildroot/target/generic/target_skeleton/etc/init.d <BR> $Add "/bin/sh" to rcS script at the end of file as following:<BR> ......<BR> #add /bin/sh start<BR> echo "QT2410 shell"<BR> /bin/sh<BR> #add /bin/sh end<BR><BR> $cd /opt/buildroot/target/generic/target_busybox_skeleton/etc //this inittab using mdev buildin bu……
查看全文
发表于:2007-12-01 ┆
阅读(691)
┆
评论(2)
QT2410入门实践02 --- PC(宿主机)环境安装及配置
2007/10/21<BR>===================================================================================================<BR>Host OS install and environment build<BR>===================================================================================================<BR>1. Linux host OS: Ubuntu-7.10<BR><BR>2. On linux host, execute command after installed<BR> $sudo apt-get upgrade <BR> $sudo apt-get update<BR><BR>3. Install build-essential - this will install a complete devlopement environment for linux<BR> $sudo apt-get install build-essential libncurses5-dev bison flex texinfo zlib1g-dev gettext autoconf<BR><BR>4. Install nfs<BR> $sudo apt-get install nfs-kernel-server <BR> $edit /etc/exports, add /opt/nfs *(sync,rw) <BR> $sudo /etc/init.d/nfs-kernel-server restart<BR><BR>5. Install tftp<BR> 1) Install tftpd and related packages.<BR> $sudo apt-get install xinetd tftpd tftp<BR> 2) Create /etc/xinetd.d/tftp and put this entry:<BR> ……
查看全文
发表于:2007-12-01 ┆
阅读(297)
┆
评论(1)
QT2410入门实践01--- 学习计划
买的qt2410开发板(http://www.armzone.com/Product.asp?ProId=100)有一年多了,其间也移植了u-boot,linux kernel, busybox(rootfs),基本的东西也可以工作了,但是都是些零散的过程,也没什么记录。最近打算系统的来搞一下这个开发板的东西,计划包含以下内容:<BR>1。PC(宿主主机)开发环境的完整建立和配置<BR>2。ARM Cross toolchain 和 rootfs 的制作,选定buildroot来实现<BR>3。u-boot的移植,基于openmoko的patches<BR>4。linux-2.6.23 kernel的porting<BR>5。GUI(DirectFB和QT) 的移植和开发<BR><BR>目标是自己能写个播放器之类的东西在我的ARM板上运行。在这过程中我会尽量详细的记录移植过程中的细节,给自己日后有个参考。也希望能得到网络各位高人的指点,大家共同进步。<BR><BR>2007/11/29<BR>
查看全文
发表于:2007-11-29 ┆
阅读(357)
┆
评论(1)
linux 2.6.22.1内核在s3c2410平台的移植
linux 2.6.22.1内核在s3c2410平台的移植<BR>2007-07-24 11:46<BR>++++++++++++++++++++++++++++++++++++++++++++++<BR>----------------------------------------------<BR>bootloader编译环境:<BR>vivi版本:0.1.4<BR>交叉编译器(CROSS-COMPILE)版本:2.95.3<BR>(下载地址略:网上很多搜下。)<BR>操作系统:Fedora 7<BR>======================================<BR>linux内核编译环境:<BR>内核版本:linux2.6.22.1<BR>交叉编译器(CROSS-COMPILE)版本: 4.2.0<BR>(下载地址:<BR>http://www.codesourcery.com/gnu_toolchains/arm/download.html)<BR>注意:下载选项,要选 ARM EABI 的选项,和 IA32 GNU/linux<BR>操作系统: Fedora 7<BR>======================================<BR>文件系统编译环境:<BR>busybox1.5.1,或1.4.2<BR>交叉编译器(CROSS-COMPILE)版本: 3.3.2<BR>(下载地址:http://linux.omap.com/pub/toolchain/ )<BR>操作系统: Fedora 7<BR>----------------------------------------------<BR>硬件:<BR> 板子是北京恒颐高科技术有限公司的H2410EB<BR> 内存: 64MB SDRAM(2×16M×16位);<BR> CPU: S3C2410 ARM处理器,<……
查看全文
发表于:2007-11-15 ┆
阅读(500)
┆
评论(0)
linuxrc 详解
linuxrc 详解<BR>2007-07-24 19:57做嵌入式根文件系统时,有linuxrc如下:<BR>#!/bin/sh<BR>echo "mount /etc as ramfs"<BR>/bin/mount -n -t ramfs ramfs /etc <BR> 这里的ramfs是从哪儿来,做的根目录没有这个,挂这个的目的是干吗<BR>/bin/cp -a /mnt/etc/* /etc<BR><BR>echo "re-create the /etc/mtab entries"<BR># re-create the /etc/mtab entries<BR>/bin/mount -f -t cramfs -o remount,ro /dev/bon/2 /<BR>/bin/mount -f -t ramfs ramfs /etc<BR><BR>exec /sbin/init 这里是映象的还是根目录下的?<BR>-----------------------------------------------------------------------------------<BR>内核运行时是不是会自己生成一个根文件系统,通过linux command line找到*.cramfs,ram,romfs等<BR>映象文件,再挂到内核生成的根文件解构下?<BR><BR>总是挂不上去,只能发现ram映象及其filetype<BR><BR>首先你要看懂这个linuxrc,<BR>1. /bin/mount -n -t ramfs ramfs /etc <BR> <BR>这句话的作用加载一个ramfs作为/etc目录。这样/etc就是一个可写目录。<BR>看这个脚本,得出你的根文件系统是一个cramfs,是一个只读文件系统中,而/etc作为系统运行配置文件的存放地……
查看全文
发表于:2007-11-15 ┆
阅读(399)
┆
评论(0)
Linux-2.6内核移植过程中常见问题及解决方法
Linux-2.6内核移植过程中常见问题及解决方法<BR>2007-07-24 21:28Linux-2.6内核移植过程中常见问题及解决方法<BR><BR>1、内核启动后,出现如下提示后停住<BR><BR>Uncompressing Linux........................................................... done, booting the kernel<BR><BR>一般情况下,这个时候内核已经启动了,只不过在控制台console中没有打印信息而已。所以问题主要锁定在串口这一块。<BR><BR>首 先确定你的板子包括硬件都是没有问题的。可以分以下几种情况,最常见的原因是在内核启动命令行这块cmdline,一般情况下linux-2.4内核中, console=ttyS0,而linux-2.6内核则用console=ttySAC0。还有一个原因,不多见,我当时用的是S3C2410的板子, bootloader用的是u-boot-1.0.0,内核移植的是linux-2.6.16,结果出现这个问题,在网上查了很多资料,最后找出来问题。 u-boot把S3C2410的时钟设置为202Mhz,而内核启动时使用的是200Mhz,修改U-Boot中的MPLLCON:<BR><BR>clk_power->MPLLCON MPLLCON = 0x0005c040;//MPLL=200Mhz<BR><BR>2、内核编译成功后,启动后出现如下提示后就停住了。。。。。。 <BR>Freeing init memory: 72K <BR>Warning: unable to open an i……
查看全文
发表于:2007-11-15 ┆
阅读(412)
┆
评论(0)
busybox 配置错误的解决方法
busybox 配置错误的解决方法<BR>2007-07-26 11:04<BR>1. 如何編譯<BR>2. 常見問題<BR>- 如何將 busybox 編譯成 static linking<BR>- make menuconfig 出現下列錯誤<BR>In file included from scripts/kconfig/lxdialog/checklist.c:24:<BR><BR>環境<BR>glibc-2.4-7mdv2007.0<BR>gcc-4.1.1-3mdk<BR>make-3.81-1mdv2007.0<BR>binutils-2.16.91.0.7-3mdv2007.0<BR><BR><BR>Reference:<BR>http://linux.chinaunix.net/bbs/redirect.php?tid=893445&goto=lastpost<BR>http://my.opera.com/Returner/blog/show.dml/380818<BR><BR><BR>1. 如何編譯<BR><BR>- 先編一個 .config 之後備用<BR>$ make defconfig<BR><BR>- 用 make menuconfig 選單方式方便選取<BR>$ make menuconfig<BR><BR>一些參考選項<BR>Init Utilities 下:<BR> init<BR> 這個選上,用busybox來初始化系統。<BR> debugging aid<BR> 這個會在使用inittab初始化時顯示額外的信息,我沒選<BR><BR>Login/Password Management Utilities下:<BR> Use internal password and group functions rather than system functions<BR> 這個如果不選上,busybox會認不了lib下的libnss,然後解析不了uid...<BR……
查看全文
发表于:2007-11-15 ┆
阅读(219)
┆
评论(0)
CS8900 error log
<DIV>2007/09/10 log</DIV> <DIV>=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.09.10 00:07:48 =~=~=~=~=~=~=~=~=~=~=~=</DIV> <DIV><BR>## Booting image at 30008000 ...<BR>   Image Name:   Linux-2.6.21.1<BR>   Created:      2007-09-09  15:21:09 UTC<BR>   Image Type:   ARM Linux Kernel Image (uncompressed)<BR>   Data Size:    1375264 Bytes =  1.3 MB<BR>   Load Address: 30008000<BR>   Entry Point:  30008040<BR>   Verifying Checksum ... OK<BR>   XIP Kernel Image ... OK</DIV> <DIV>Starting kernel ...</DIV> <DIV>Uncompressing Linux......................................................................................... done, booting the kernel.<BR>Linux version 2.6.21.1 (<A href="mailto:root@armlinux">root@armlinux</A>) (gcc version 4.2.0) #23 Sun Sep 9 23:19:43 CST 2007<BR>CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177<BR>Machine: ……
查看全文
发表于:2007-09-10 ┆
阅读(740)
┆
评论(3)
根文件系统突然出了点问题(NFS),解决ok
<STRONG><FONT color=#295200 size=5>根文件系统突然出了点问题,解决ok</FONT></STRONG> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#a5bd6b cellSpacing=1 cellPadding=0 width="100%" border=1> <TBODY> <TR> <TD align=middle> <TABLE style="BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD align=middle> <TABLE style="BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD> <DIV id=art style="MARGIN: 15px"> <DIV>根文件系统突然出了点问题,解决ok<BR><BR> <DIV class=t_msgfont id=message22>一 , 原来屏幕根本不会打出来 ,<BR><BR> <DIV class=msgbody> <DIV class=msgheader>QUOTE:</DIV> <DIV class=msgborder><FONT color=red>process '/sbin/getty 38400 tty6' (pid 876) exited. Scheduling it for restart.</FONT></DIV></DIV><BR>这样讨厌的信息, 不知道改了busybox 选项改了哪里了, 就出现这个问题了。 <BR><BR>解决办法: 两个办法: 1 > ……
查看全文
发表于:2007-09-09 ┆
阅读(546)
┆
评论(0)
[培训新人系列之4.2] busybox 支持 mount nfs
<STRONG><FONT color=#295200 size=5>[培训新人系列之4.2] busybox 支持 mount nfs </FONT></STRONG> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#a5bd6b cellSpacing=1 cellPadding=0 width="100%" border=1> <TBODY> <TR> <TD align=middle> <TABLE style="BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD align=middle> <TABLE style="BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD> <DIV id=art style="MARGIN: 15px"> <DIV>要在 进入根文件系统之后, 使用 mount -t nfs .... 必须确保busybox 的mount支持了 nfs 项目:<BR><BR><BR>先选中 Busybox Settings -> General configuration --> RPC support ,<BR><BR>这项选中以后 ,mount 下的 nfs 才能出现。 </DIV> <DIV>select nfs 即可。 <BR><BR><BR>--<BR>util_linux/Config.in 配置文件能看出这一点:<BR><BR>config FEATURE_MOUNT_NFS<BR> bool "Support mou……
查看全文
发表于:2007-09-09 ┆
阅读(417)
┆
评论(0)
[培训新人系列之4.1] NFS 挂根文件系统
<STRONG><FONT color=#295200 size=5>[培训新人系列之4.1] NFS 挂根文件系统</FONT></STRONG> <TABLE style="BORDER-COLLAPSE: collapse" borderColor=#a5bd6b cellSpacing=1 cellPadding=0 width="100%" border=1> <TBODY> <TR> <TD align=middle> <TABLE style="BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD align=middle> <TABLE style="BORDER-COLLAPSE: collapse; WORD-WRAP: break-word" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD> <DIV id=art style="MARGIN: 15px"> <DIV><SPAN class=bold>也可以用nfs 挂载根文件系统</SPAN><BR><BR> <DIV class=t_msgfont id=message66>以后 ,调试的时候, 也可以用nfs 挂载根文件系统 , 这样 如果需要随时 往文件系统里面加入文件测试比较方便一些。 <BR><BR><BR><BR><BR>注意 要使kernel能支持 nfs root filesystem , 必须选中以下几项:<BR><BR>编译kernel :<BR><BR>Networking -> <LI>IP kernel autoconfiguration <BR>经过测试, 应该不要选下面的子项。 <BR><BR>File System -> Netwo……
查看全文
发表于:2007-09-09 ┆
阅读(448)
┆
评论(0)
CS8900网卡移植
CS8900网卡移植<BR><BR><BR> 文件: cd8900_driver.rar<BR>大小: 16KB<TABLE border="1" cellspacing="0" cellpadding="0" STYLE='border-collapse: collapse' bordercolor="#DDDDDD" width="360" align="center"><BR><TBODY><TR height="60"><TD width="60" align="center"><IMG src="/fileicon/rar.gif" border="0" alt=""></TD><TD><BR> <TABLE border="0" cellspacing="0" cellpadding="0" STYLE='border-collapse: collapse' width="100%"><BR> <TBODY><TR height="20"><TD width="40" align="center">文件:</TD><TD>070814CS8900网卡移植.rar</TD></TR><BR> <TR height="20"><TD width="40" align="center">大小:</TD><TD>16KB</TD></TR><BR> <TR height="20"><TD width="40" align="center">下载:</TD><TD><A href="http://blogimg.chinaunix.net/blog/upfile/070904131705.rar">下载</A></TD></TR><BR> </TABLE><BR></TD></TR><BR></TABLE><BR>下载: 下载<BR><BR><BR>转载:http://www.ezso.cn/yyjysky/article.asp?id=43<BR> nfs需要网络支持,内核中需要添加网卡的驱动NANO2410板上使用的是cs8900A网卡,所以需要移植驱动,否则在设置了 <BR>console=ttySAC0 <BR>ro……
查看全文
发表于:2007-09-04 ┆
阅读(824)
┆
评论(0)
CS8900 porting
cs8900 移植 Linux-2.6.19.2<BR>2007-02-06<BR><BR><BR>移植路上真是荆棘满路,时不时让你疯狂一两天,却无可奈何...<BR><BR> 网上已有很多相关的移植教程,第一步,当然是照着做。问题是我的Linux是2.6.19.2,与前些版本相比(据查,2.6.17版还在),在移植过程中,我发现有两个变化。一是 include/asm-arm/irq.h 里已删除一些irq操作的预定义,如:<BR><BR>extern void disable_irq(unsigned int);<BR>extern void enable_irq(unsigned int);<BR>int set_irq_type(unsigned int irq, unsigned int type);<BR><BR>而网上的那个cs8900.c驱动比较老,与Linux-2.6.19.2带的cs89x0相差很大(据说这个驱动也没有使用新的驱动模型,不知道,这里应该与dm9000比较一下)。导致出现很多错误,不能编译 cs8900.c ,一天就这样在郁闷中过去...<BR><BR> 旧的不去,新的不来,干脆就直接用cs89x0.c ^_^ google到一个 pathch-cs89x0 ,哪个开心啊...可惜这个patch是针对2.6.14,自动patch失败,手动补齐后再添一些头文件、修改一些小错误,终于编译通过。可是,狂跳几下后又得郁闷了,出现了内核编程常见错误oops:<BR><BR>cs89x0:cs89x0_probe(0x0)<BR>Unable to handle kern……
查看全文
发表于:2007-09-03 ┆
阅读(1039)
┆
评论(0)
AT91sam9263EK使用JFFS2根文件系统
AT91sam9263EK使用JFFS2根文件系统<BR>OneWind 发表于 2007-6-1 16:40:00 <BR><BR>AT91sam9263EK使用JFFS2根文件系统<BR><BR>张驿风<BR><BR>2007-6-1<BR><BR>cbuilder@peoplemail.com.cn<BR><BR>在AT91sam9263EK成功配置了NFS根文件系统后,后来又想把JFFS2也移植到AT91sam9263EK上吧,说干就干。<BR><BR>1. 呵呵,其实很简单我使用的linux-2.6.20内核里已经有jffs2 文件系统支持,选上jffs2即可<BR><BR>File systems ---><BR><BR>Miscellaneous filesystems ---><BR><BR> <*> Journalling Flash File System v2 (JFFS2) support <BR> <BR> (0) JFFS2 debugging verbosity (0 = quiet, 2 = noisy) <BR> <BR> [*] JFFS2 write-buffering support <BR> <BR> [*] JFFS2 summary support (EXPERIMENTAL) <BR> <BR> [*] ……
查看全文
发表于:2007-08-25 ┆
阅读(617)
┆
评论(0)
AT91sam9263EK使用NFS根文件系统
AT91sam9263EK使用NFS根文件系统<BR>OneWind 发表于 2007-5-29 15:36:00 <BR>AT91sam9263EK使用NFS根文件系统<BR>张驿风<BR>2007-5-28<BR>cbuilder@peoplemail.com.cn<BR>一. t91sam9263是atmel arm9系列芯片新的一员,使用ARM926EJ-S ARM内核,有DSP扩展指令。支持cmos摄像头的itu656输入接口,支持LCD接口最大分辨率支持到2048x2048。200MHz的时钟能够获取到220mips的运算能力。支持linux操作系统,支持wince操作系统,并且老外已经在linux下移植了ffmeg工程,能够流畅的播放视频文件(352x288),看demo后不仅热血沸腾,呵呵心想移植个街机模拟器如何? 要动手时发现AT91SAM9263EK使用的是cramfs根文件系统,移植或者开发应用很不方便的,需要用U盘拷来拷去的。工欲善其事,必先利其器,于是决定搞个NFS根文件系统的版本以方便后续的移植工作,算是迈出街机模拟器工作的第一步吧。<BR>二. 建根文件系统:<BR>a) 拷贝ATMEL的linux demo里的 rootfs_lnxdemo.cramfs文件到宿主机的:/home目录下。<BR>b) 在/home目录下创建tmp目录:<BR>mkdir tmp 。<BR>c) 在/home目录下挂载cramfs文件系统镜像:<BR> mount -t cramfs rootfs_lnxdemo.cramfs tmp/ -o loop<BR>d) 进入tmp文件目录查……
查看全文
发表于:2007-08-25 ┆
阅读(556)
┆
评论(0)