QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1798|回复: 7

s3c2410+kernel 2.6.12+cramfs

[复制链接]
发表于 2005-8-20 02:20:05 | 显示全部楼层 |阅读模式
请教一下
我将2.6.12版的kernel在smdk2410上执行
但是无法进入根文件系统(root file system)
我的根文件系统是沿用kernel 2.4.18版时所用的cramfs
请遇过此问题的高手帮我解答一下
感激不尽^^

以下是开机时的讯息
VIVI version 0.1.4 ([email protected]) (gcc version 2.95.3 20010315 (release)) #0.1.4 橾 6错 29 14:21:19 KST 2003
MMU table base address = 0x33DFC000
Succeed memory mapping.
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Found saved vivi parameters.
Press Return to start the LINUX now, any other key for vivi
Copy linux kernel from 0x00030000 to 0x30008000, size = 0x00100000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200"
MACH_TYPE = 193
NOW, Booting Linux......
Uncompressing Linux........................................ done, booting the kernel.
Linux version 2.6.12.5 (root@SSWANG) (gcc version 3.4.1) #17 Sat Aug 20 00:39:22 CST 2005
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
Built 1 zonelists
Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00000000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 63488KB available (964K code, 241K data, 56K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Linux NoNET1.0 for Linux 2.6
S3C2410: Initialising architecture
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
NFTL driver: nftlcore.c $Revision: 1.97 $, nftlmount.c $Revision: 1.40 $
S3C2410 NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4880000
s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 1762 at 0x01b88000
Bad eraseblock 1786 at 0x01be8000
Bad eraseblock 1790 at 0x01bf8000
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00020000 : "loader"
0x00020000-0x00030000 : "param"
0x00030000-0x00130000 : "kernel"
0x00130000-0x002b0000 : "root"
0x002b0000-0x04000000 : "user"
mice: PS/2 mouse device common for all mice
Reading data from NAND FLASH without ECC is not recommended
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing init memory: 56K  <-- stop here
发表于 2005-8-20 16:17:18 | 显示全部楼层
正在做相关的工作,研究linux文件系统,欢迎交流!

这儿的大侠水性都很好,轻易不会出来!
我也困扰好几天了!郁闷
回复

使用道具 举报

 楼主| 发表于 2005-8-22 15:24:10 | 显示全部楼层
感謝各位 已經找出問題所在了
目前已經可以順利進入root file system~~~
回复

使用道具 举报

发表于 2005-8-24 01:53:52 | 显示全部楼层
说下错误如何解决的是不是更好
回复

使用道具 举报

发表于 2005-9-1 11:27:07 | 显示全部楼层
NAND_ECC_NONE selected by board driver. This is not recommended !!

Reading data from NAND FLASH without ECC is not recommended

因为这个吧?

编译内核的时候加上这个?      楼主,是这个原因吗?
回复

使用道具 举报

发表于 2005-9-3 08:03:08 | 显示全部楼层
devfs
root=/dev/mtdblock/3
回复

使用道具 举报

发表于 2005-9-7 22:09:51 | 显示全部楼层
建议放弃cramfs
回复

使用道具 举报

发表于 2005-9-8 09:17:17 | 显示全部楼层
我也遇到过这种问题,在编译内核的时候,记得要在general setup中打开某个数学模拟器(或者称仿真器),应该叫nw(全称net winder吧),就可以了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 04:15 , Processed in 0.055827 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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