- 积分
- 110
贡献49
飞刀7 FD
注册时间2012-3-13
在线时间56 小时
扫一扫,手机访问本帖
|
1.系统平台:Linux3.0.1,OK6410A,
2.我如下操作的,制作完yaffs2文件后写入核心板,引导后崩溃。
第一步:对Linux-3.0.1/filesystem/FileSystem-Yaffs2.tar.gz文件进行解压。使用tar zxvf FileSystem-Yaffs2.tar.gz。解压后生成FileSystem-Yaffs2文件夹,然后更名FileSystem-Yaffs2为rootfs.
第二步:使用当前目录下的工具mkyaffs2image-nand2g制作文件系统。使用命令./mkyaffs2image-nand2g rootfs rootfs.yaffs2。生成rootfs.yaffs2
第三步:通过一键烧写工具SD卡写入文件系统。
问题:引导过程中提示:
usbhid: USB HID core driver
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
s3c-rtc s3c64xx-rtc: setting system clock to 2000-01-01 03:22:07 UTC (946696927)
yaffs: dev is 32505858 name is "mtdblock2" rw
yaffs: passed flags ""
VFS: Mounted root (yaffs2 filesystem) on device 31:2.
devtmpfs: mounted
Freeing init memory: 468K
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
See Linux Documentation/init.txt for guidance.
[<c0083cf8>] (unwind_backtrace+0x0/0xf8) from [<c0081b44>] (dump_stack+0x18/0x1c
)
[<c0081b44>] (dump_stack+0x18/0x1c) from [<c009959c>] (panic+0x64/0x1c4)
[<c009959c>] (panic+0x64/0x1c4) from [<c007d5d8>] (init_post+0xa8/0xd0)
[<c007d5d8>] (init_post+0xa8/0xd0) from [<c0008814>] (kernel_init+0xf0/0x12c)
[<c0008814>] (kernel_init+0xf0/0x12c) from [<c007e9d4>] (kernel_thread_exit+0x0/
0x8)
非常纠结。不知道是不是思路错了。还是怎么回事。
|
|