当前时区 GMT+8, 现在时间是 2008-9-7 18:02 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 移植PXA255的一些问题
ssancel
注册会员
Rank: 2


UID 204246
精华 0
积分 129
帖子 50
阅读权限 20
注册 2005-11-1
状态 离线
发表于 2007-5-2 01:32  资料  短消息  加为好友  添加 ssancel 为MSN好友 通过MSN和 ssancel 交谈 ICQ 状态
移植PXA255的一些问题

在skyeye上移植linux-2.6.9(开发板配的,有改动过的)
文件系统使用jffs2.
出错如下:
Hit any key to stop autoboot:  0
$ cp 00040000 a0200000 00200000
$ go a0200000
## Starting application at 0xA0200000 ...
Uncompressing Linux......................................................................................
done, booting the kernel.

Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0xaa
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x154
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0xaa
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x154
Flash in current config does not support byte write at 0x0
Flash in current config does not support byte write at 0x0

skyeye.conf如下:
cpu: xscale
mach: pxa_lubbock

mem_bank: map=F, type=RW, addr=0x00000000, size=0x00040000, file=./u-boot.bin, boot=yes
mem_bank: map=F, type=RW, addr=0x00040000, size=0x00200000, file=./zImage
mem_bank: map=F, type=RW, addr=0x00240000, size=0x01dc0000, file=./lubbock_rootfs.jffs2

#mem_bank: map=F, type=RW, addr=0x04000000, size=0x02000000

mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000

mem_bank: map=M, type=RW, addr=0xa0000000, size=0x04000000

jffs2制作命令:./mkfs.jffs2 -r lubbock_rootfs/ -o lubbock_rootfs.jffs2 -e 0x40000 --pad=0x01dc0000

请问这个错误是什么原因产生的?是skyeye.conf 没写好吗?还是文件系统跟内核没有匹配呢?怎么改正呢?

近来想做LINUX移植,目标板是PXA255的LUBBOCK板上,所以先到网上下skyeye-binary-testutils-1.2.0这套工具下来。lubbock_with_flash这个目录下的东西跟我的目标板比较接近。按作者的README文件 的作法一点问题也没有,但把内核换成板子自带的就出现了上术的问题。





活到今天的我,如果不是面目全非,那就是脱胎换骨.
顶部
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1476
帖子 794
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2007-5-2 12:37  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
可以尝试一下使用RAMDISK做为文件系统

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP