Chinaunix首页 | 论坛 | 博客
  • 博客访问: 568723
  • 博文数量: 185
  • 博客积分: 4031
  • 博客等级: 上校
  • 技术积分: 1591
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-27 19:45
文章分类

全部博文(185)

文章存档

2011年(14)

2010年(63)

2009年(108)

我的朋友

分类:

2009-06-22 11:45:32

pxa310 kernel:
nanderase -z 0x100000 0x300000
nandwrite -z 0x80800000 0x100000

pxa310 rootfs:
tftp system.img
nanderase -z 0x400000 0x4000000
nandwrite -y 0x80800000 0x400000  

userdata
tftp userdata.img
nanderase -z 0x4400000 0x3000000
nandwrite -y 0x80800000 0x4400000

AR6002:
mount -o nolock -t nfs 192.168.1.100:/home/ray/nfs_share /mnt/nfs
cd /mnt/nfs/ar6002_pxa
./loadAR6000_jz.sh

make ATH_MAKE_INCLUDE_OVERRIDE=localmake.linux.inc.jz

NFS:
mount -o nolock -t nfs 192.168.1.100:/home/ray/nfs_share /mnt/nfs
cd /mnt/nfs/sd8686
insmod sd8xxx.ko

insmod sd8xxx.ko helper_name=./helper_sd.bin fw_name=./sd8688.bin

/home/ray/work/pxa310/pxalinux/../v0812/src/scripts/bin/mkfs.jffs2 -r /home/ray/work/pxa310/pxalinux/../v0812/rel/target/rootfs -o rootfs.jffs2 \

wifi模块编译:
make CROSS_COMPILE=arm-linux- KERNELDIR=/home/ray/work/pxa310/v0902/0902/src/preview-kit/linux


mount -o nolock -t nfs 172.16.2.39:/home/ray/nfs_share /mnt/nfs
cd /mnt/nfs/sd8686
insmod ./sd8xxx.ko


eager 16:17:26:
boot root=/dev/nfs nfsroot=172.16.2.200:/srv/nfs/qemuarm,tcp ip=172.16.2.211:172.16.2.200:172.16.1.3:255.255.255.0::eth0:off console=ttyS2,115200 mem=64M
eager 16:16:29:
boot root=/dev/nfs nfsroot=192.168.1.1:/srv/nfs/qemuarm,tcp ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0::usb0:off console=ttyS2,115200 mem=64M


me::
boot root=/dev/nfs nfsroot=172.16.2.39:/home/ray/nfs_share/rootfs,tcp ip=172.16.2.194:172.16.2.39:172.16.1.3:255.255.255.0::eth0:off console=ttyS2,115200 mem=64M

boot root=/dev/nfs nfsroot=192.168.1.1:/home/ray/nfs_share/rootfs,tcp ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0::eth0:off console=ttyS2,115200 mem=64M

boot root=/dev/nfs nfsroot=192.168.1.1:/srv/nfs/qemuarm,tcp ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0::usb0:off console=ttyS2,115200 mem=64M

boot root=/dev/nfs nfsroot=192.168.0.1:/home/ray/nfs_share/rootfs,tcp ip=192.168.0.2:192.168.0.1:192.168.0.1:255.255.255.0::usb0:off console=ttyS2,115200 mem=64M

LITTLETON:
boot root=/dev/nfs nfsroot=172.16.2.39:/home/ray/nfs_share/rootfs_2621,tcp ip=172.16.2.194:172.16.2.39:172.16.1.3:255.255.255.0::eth0:off console=ttyS2,115200 mem=64M

SD 镜像
./mksdimage.sh kernel.bin temp mbr.img system.bin uImage rootfs.bin 1024 16376


new mid
/system/bin/bash
rmmod g_ether.ko
insmod /system/lib/modules/g_ether.ko
/data/busybox/ifconfig usb0 192.168.0.2
/data/busybox/mkdir /nfs_share
/data/busybox/mount -t nfs -o nolock 192.168.0.1:/home/ray/nfs_share /nfs_share

cd /nfs_share/ar6002_pxa_bin
insmod sdio_lib.ko debuglevel=10
insmod sdio_busdriver.ko debuglevel=10
insmod sdio_pxa270hcd.ko debuglevel=10


cp ./sdiostack/src/lib/sdio_lib.ko ~/nfs_share/ar6002_pxa310
cp ./sdiostack/src/busdriver/sdio_busdriver.ko ~/nfs_share/ar6002_pxa310
cp ./sdiostack/src/hcd/pxa270/sdio_pxa270hcd.ko ~/nfs_share/ar6002_pxa310
cp ./sdiostack/src/hcd/jz_pavo/sdio_jzpavo_hcd.ko ~/nfs_share/ar6002_pxa310
cp ../target/AR6002/hw2.0/bin/data.patch.hw2_0.bin ./ar6002_pxa_bin
cp ../target/AR6002/hw2.0/bin/athwlan.bin.z77 ./ar6002_pxa_bin

cp ./support/loadAR6000_pxa.sh ./ar6002_pxa_bin
chmod a+x ./ar6002_pxa_bin/loadAR6000_pxa.sh

/system/bin/bash
echo 000 >/sys/power/wake_lock
/etc/profile
cd /system/lib/modules/ar6002_pxa_bin/
/data/busybox/chmod a+wrx *


mount MID的android server:
 ssh ray@172.16.2.5
 sudo mount -t smbfs //172.16.2.5/ray /home/ray/work/pxa310/android -o mode=0777 -o username=ray


新的MID编译
增加输入法
vi vendor/marvell/yymid/midcore.mk
修改了PRODUCT_POLICY := android.policy_phone
增加4核编译
vi yymid_make
修改了 yymid_make 里make PRODUCT-yymid-user -j4
make clean
./yymid_make


阅读(1399) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~