主题 : 自己编译的Qtopia 更新制作文件系统出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 1456
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-08-30
最后登录: 2009-04-07
楼主  发表于: 2008-11-27 14:31

 自己编译的Qtopia 更新制作文件系统出错

管理提醒: 本帖被 arm9home 从 Linux技术交流专区 移动到本区(2009-09-10)
编译的Qtopia 更新制作文件系统时,把生成的my_qtopia.img通过USB下载到开发板,重新启动后报错“unable to open an initial console: ERR -2” ,我烧的是带鼠标的qtopia,不知是什么原因?------烧写光盘自带的“root_qtopia_mouse.img"能正常工作。

部分信息如下:

Copy linux kernel from
Initializing USB Mass Storage driver...000 ... donefamily 17sting write buffer
usbcore: registered new driver usb-storagee is
zImage magic = 0x016f2818ocol family
USB Mass Storage support registered. at 0x300001002, "mtdblock2" Simtec
usbcore: registered                   
usbcore: registered new driver gspca                                   
drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registeredernel.rver
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
SBC2440 SOUND driver register
SBC2440 SOUND driver probe!
SBC2440 UDA1341 audio driver initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem).
mount_devfs_fs(): unable to mount devfs, err: -2
Freeing init memory: 144K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
[ 此贴被psf_gn在2008-11-27 17:20重新编辑 ]
级别: 新手上路
UID: 1456
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-08-30
最后登录: 2009-04-07
1楼  发表于: 2008-11-27 14:41
自己先顶一下
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2008-11-27 15:13
ERR: -2通常是"No such file"的意思。把完整的串口输出信息贴出来
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1456
精华: 0
发帖: 4
金钱: 40 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2008-08-30
最后登录: 2009-04-07
3楼  发表于: 2008-11-27 17:25
问题解决了,呵呵
#cd /opt/FriendlyARM/QQ2440/root_qtopia_mouse
#tar xvzf ../arm-qtopia/target_qtopia.tgz (更新Qtopia 系统)
#tar xvzf ../arm-qtopia/target_konq.tgz (更新嵌入式浏览器)
#mkyaffsimage root_qtopia_mouse my_qtopia.img

root_qtopia_mouse是我新建的文件夹,里边没有根文件系统,先把root_default.tgz解压到该文件夹中就OK了。
[ 此贴被psf_gn在2008-11-27 17:43重新编辑 ]