ssancel 发表于 2007-5-2 01:32:45

移植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 发表于 2007-5-2 12:37:49

可以尝试一下使用RAMDISK做为文件系统
页: [1]
查看完整版本: 移植PXA255的一些问题