天嵌 ARM开发社区

 找回密码
 注册
查看: 3434|回复: 10

求助,找不到yaffs2文件系统

[复制链接]
zybzyb 发表于 2009-7-22 22:09:24 | 显示全部楼层 |阅读模式
本帖最后由 zybzyb 于 2009-7-22 22:30 编辑

系统运行到下面这里就不动了,我的系统只配置了yaffs2文件系统.
请问那位能找到问题吗.
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c2410_udc: debugfs dir creation failed -19
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Mount JFS Failure: -22
List of all partitions:
1f00        256 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02      63168 mtdblock2 (driver?)
No filesystem could mount root, tried:  cramfs msdos vfat iso9660 romfs fuseblk
jfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

看到有朋友也遇到过我这种情况说是在配置内核时找不到<>yaffs2 file system support这个选项 .我也一样找不到这个选项.我配置时的情况如下:
 楼主| zybzyb 发表于 2009-7-22 23:05:27 | 显示全部楼层
系统运行到下面这里就不动了,我的系统只配置了yaffs2文件系统.
请问那位能找到问题吗.
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c2410_udc: debugfs dir creation failed -19
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Mount JFS Failure: -22
List of all partitions:
1f00        256 mtdblock0 (driver?)
1f01       2048 mtdblock1 (driver?)
1f02      63168 mtdblock2 (driver?)
No filesystem could mount root, tried:  cramfs msdos vfat iso9660 romfs fuseblk
jfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)

看到有朋友也遇到过我这种情况说是在配置内核时找不到<>yaffs2 file system support这个选项 .我也一样找不到这个选项.我配置时在同一位置只找到一个<>jfs filesystem support的选项.
而在Device Drivers中 ->  < *>Memory Technnology DEVICE (MTD) support ->
   <*>Caching block device access to MTD devices 这个选项我也选上了但回到 File systems下还是没有那个选项啊.
后来我又验证了我在执行yaffs2脚本文件后改过的系统源码的一些文件夹,打开fs这个文件夹下面也有yaffs2这个文件夹,在fs文件夹下的Makefile下也对yaffs2文件夹也进行了配置,其中有一条这样的配置语句:  obj-$(CONFIG_JFFS2_FS)     +=jffs2/  我又打开同一文件夹下的Kconfig文件,从头找到尾都没有到这个语句bool "YAFFS2 filesystem support".    我在手册上说的那个网上下载 yaffs2文件系统补丁名是cvs-root.tar.gz. 而手册上说的是root.tar.gz.不知道是不是这个原因。
 楼主| zybzyb 发表于 2009-7-22 23:08:31 | 显示全部楼层
不好意思上面那个写的问题不完整,下面这个才是完整的。
亚瑟王 发表于 2009-7-23 10:32:25 | 显示全部楼层
恩,是的,不好意思,找不到那个源码了,我干脆更新手册吧,更新用最新的yaffs的制作方法。过几天就更新好。
 楼主| zybzyb 发表于 2009-7-23 22:45:48 | 显示全部楼层
今天我在手册上说的那个网站下了一个yaffs2文件补丁叫yaffs2.tar.gz,然后一步一步按手册上的操作方法进行结果发现有上面提到的那个<>yaffs2 file  systme  support ,make zImage也编译通过了,下载到开发板上,把以前可以用的yaffs2文件系统也下载到开发板上.一开机运行就是下面这种界面就不动了.大家能说说是什么原因吗.
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 112K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...  //*这里是什么意思啊,是错在那里呢,程序运行到这里是不是说我编译进内核对yaffs2系统文件的支持己经成功了。

Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
 楼主| zybzyb 发表于 2009-7-23 23:28:54 | 显示全部楼层
我用原来可以运行的linux-2.25.8的镜像下载到开发板上运行也出现下面这个问题是怎么回事啊,yaff2文件系统也下载到开发板上了。
fb0: s3c2410fb frame buffer device
TQ2440/SKY2440 LEDS, (c) 2008,2009 www.embedsky.net
EmbedSky-leds initialized
TQ2440/SKY2440 Beep, (c) 2008,2009 www.embedsky.net
EmbedSky-Beep initialized
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
dm9000 Ethernet Driver
eth%d: Invalid ethernet MAC address.  Please set using ifconfig
eth0: dm9000 at c480e000,c4810004 IRQ 51 MAC: 00:00:00:00:00:00
Linux video capture interface: v2.00
usbcore: registered new interface driver gspca
drivers/media/video/gspcavl/gspca_core.c: gspca driver 01.00.20 registered
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit
)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "TQ2440_uboot"
0x001f0000-0x003f0000 : "TQ2440_kernel"
0x003f0000-0x03ff8000 : "TQ2440_yaffs2"
usbmon: debugfs is not available
Initial EmbedSky TWO USB HOST Driver!
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c2410_udc: debugfs dir creation failed -19
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
mice: PS/2 mouse device common for all mice
EmbedSky TouchScreen successfully loaded
input: EmbedSky TouchScreen as /class/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: starting watchdog timer
s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq enabled
s3c2440-sdi s3c2410-sdi: unable to get DMA channel.
s3c2440-sdi s3c2410-sdi: powered down.
s3c2440-sdi s3c2410-sdi: initialisation done.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
s3c2440-sdi s3c2410-sdi: powered down.
UDA1341 audio driver initialized
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2165-11-01 12:02:00 UTC (188500
8824)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 188K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
godsonde 发表于 2009-7-24 12:27:48 | 显示全部楼层
这个问题我也遇到了,也没解决。
亚瑟王 发表于 2009-7-24 14:16:38 | 显示全部楼层
Failed to execute /linuxrc.  Attempting defaults...  //*这里是什么意思啊,是错在那里
你的Busybox用的是哪个版本的?文件系统是怎么制作的?
 楼主| zybzyb 发表于 2009-7-24 19:58:10 | 显示全部楼层
Busybox用的是busybox-1.13.0.tar.gz,是用这个mkyaffsimage.tar.bz2软件进行按手册上一步步制作的,找不到mkyaffsimage_2这个软件。
亚瑟王 发表于 2009-7-25 00:26:56 | 显示全部楼层
你到我们网站的服务-》下载中心可以下载到这个软件。
 楼主| zybzyb 发表于 2009-7-26 11:25:39 | 显示全部楼层
问题解决,在编辑器内己附带了这个软件。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-14 14:34 , Processed in 1.093757 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表