Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » 开发编译

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
[经验]编译roku wifi驱动 for pdaxrom
View previous topic :: View next topic  
Author Message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2007-Jun-28 Thu, pm12:08 Reply with quote
 Post subject: [经验]编译roku wifi驱动 for pdaxrom

在windows上建议个vmware的linux环境
http://mail.pdaxrom.org/1.1.0beta1/pdaX86/vmware/Linux-pdaXrom-1.1.0beta1.tar.bz2
是一个vmware的linux环境,可以直接在vmware里边运行。
后面的kernel编译和dirver编译都是基于这个环境的。

拷贝编译工具
在linux根目录上解压缩编译工具
arm-cacko-linux-gnu-2.95.3-2.2.5-hardfloat-19.50_21.09.05.tar
新产生的目录在/opt/cross/arm/2.95.3/bin
注意检查 /opt/cross/arm/2.95.3/bin 目录中的文件链接
实际使用的编译工具是arm-cacko-linux-gnu开头的文件

编译前,要设置路径
export PATH=/opt/cross/arm/2.95.3/bin:$PATH
不要使用2.95.3里边带的环境设置变量,可能会指向错误的include目录,而不是kernel source的include目录

解压缩kernel source 到 /home/root/c1000,新产生的目录为linux_n1
kernel source的文件为linux-c1000-20050228-rom1_01.tar.bz2
mkdir /usr/src
cd /usr/src
ln -s /home/root/c1000/linux_n1 linux

解压缩pdaxrom-build 到 /home/root/c1000,新产生的目录为pdaxXrom-builder
build的文件为pdaXrom-builder-20.49_27.12.05.tar.bz2

给kernel打generic补丁
kernel补丁的目录为
/home/root/c1000/pdaxXrom-builder/patched-local/linux-c1000-20050228-rom1_01/generic
有序号的补丁必须按序号的顺序使用
没序号的无顺序关系

将kernel config文件 拷贝到 kernel source目录
config文件的路径为
/home/root/c1000/pdaXrom-builder/config/kernel/kernel-2.4.20-akita-cacko
拷贝到
/usr/src/linux/.akita

尝试编译kernel
cd /usr/src/linux
make menuconfig
装载.akita配置
退出并保存
make dep
make zImage

编译驱动roku wifi卡的驱动
解压缩archos网站上下来的pcmcia-cs.tar.bz2,产生新目录pcmcia
恢复文件链接
tar zvfx symlink.tar,gz

cd /home/peoject/pcmcia
./Configure --help
./Configure --arch=arm --ucc=arm-linux-gcc --kcc=arm-linux-gcc --ld=arm-linux-ld

只编译pcmcia不编译驱动
make all
./Build
只编译wlags的驱动

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
han77



Joined: 04 Apr 2007
Posts: 5

小企鹅: 151

PostPosted: 2007-Jun-30 Sat, am11:13 Reply with quote
 Post subject:

cc老大,Linux-pdaXrom-1.1.0beta1.tar.bz2 能传上来吗?我下载不了啊 Sad
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2007-Jul-02 Mon, pm8:22 Reply with quote
 Post subject:

没法传,好几十M
_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
kevinmay



Joined: 08 Jul 2007
Posts: 56

小企鹅: 1499

PostPosted: 2007-Jul-16 Mon, am11:08 Reply with quote
 Post subject:

arm-cacko-linux-gnu-2.95.3-2.2.5-hardfloat-19.50_21.09.05.tar在哪里下载?
Back to top
View user's profile Send private message
kevinmay



Joined: 08 Jul 2007
Posts: 56

小企鹅: 1499

PostPosted: 2007-Jul-16 Mon, pm12:02 Reply with quote
 Post subject:

http://cacko.oesf.org/downloads/iwmmx/arm-cacko-linux-gnu-2.95.3-2.2.5-hardfloat-19.50_21.09.05.tar.bz2
下载不了,能不能传一个上来?
谢谢!
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » 开发编译 All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional