No filesystem could mount root, tried: ext3 ext2 romfs yaffs yaffs2
本帖最后由 huliqun138 于 2012-10-16 08:30 编辑linux内核是2.6.28用的arm-linux-gcc 3.4.1 编译
文件系统busybox 1.13.3用的arm-linux-gcc 4.3.2编译 ,我试过用一般的编译版本的编译器没用,
烧录后上电启动打印的信息,真心看不懂,求救啊,搞了几天了
网上找资料,有帖子说a,b 方法有效,但我都式了,根本没用
a. 重新配置内核,选上以下参数:
Kernel Features --->
[*] Use the ARM EABI to compile the kernel
[*] Allow old ABI binaries to run with this kernel (EXPERIMENTA)
b. 把编译器换成3.*。
我当然会选择第二种了,于是乎又把编译器换回3.4.1版本。再次重重新编译下载启动,从终端的启动信息可以看到。2.6.33.7内核+yaffs2文件系统顺利启
启动内核错误的信息:
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 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
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
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
ALSA device list:
No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2005-09-06 06:12:01 UTC (1125987121)
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
block 417 is bad
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
block 417 is bad
List of all partitions:
1f00 1024 mtdblock0 (driver?)
1f01 3840 mtdblock1 (driver?)
1f02 3072 mtdblock2 (driver?)
1f03 61440 mtdblock3 (driver?)
1f04 61440 mtdblock4 (driver?)
No filesystem could mount root, tried:ext3 ext2 cramfs vfat msdos iso9660 romfs yaffs yaffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
下面是运行商正确的内核和文件系统打印的信息:
mice: PS/2 mouse device common for all mice
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /class/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-sdi s3c2440-sdi: host detect has no irq available
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: running at 196kHz (requested: 195kHz).
s3c2440-sdi s3c2440-sdi: powered down.
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
mapped channel 10 to 2
mapped channel 9 to 1
UDA1341 audio driver initialized
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
block 417 is bad
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 136K
init started: BusyBox v1.6.0 (2008-01-09 17:10:28 CST) multi-call binary
starting pid 903, tty '': '/etc/init.d/rcS'
mount: mounting none on /dev/pts failed
mount: mounting tmpfs on /dev/shm failed
dm9000 dm9000.0: WARNING: no IRQ resource flags set.
eth0: link down
ifconfig: SIOCSIFADDR: No such device
Please press Enter to activate this console. [?33l[?25lCould not read calibration: /etc/pointercal
Warning: Need to run firstuse
Warning: language message - en_US
Warning: and its not null
Warning: loading /usr/i18n/en_US/qt.qm
Warning: loading /usr/i18n/en_US/qpe.qm
Warning: loading /usr/i18n/en_US/libqpe.qm
Warning: loading /usr/i18n/en_US/libqtopia.qm
Warning: loading /usr/i18n/en_US/language.qm
Warning: loading /usr/i18n/en_US/timezone.qm
Warning: loading /usr/i18n/en_US/systemtime.qm
自己移植的内核或运营商的内核 +自己移植的文件系统就会打印错误信息,
自己移植的内核或运营商的内核 +运营商的文件系统就能正常启动,
那应该是文件系统的问题吧,但我前后反复检查了10几次了,真心找不出是哪的问题
页:
[1]