|
我自己做了一个S3C2410的板子,包括64MB Flash,64MB SDRAM,UDA1341,CS8900A,LCD等。当时我从网上当到了一个别人做好的vivi,内核以及文件系统,是在mizi的基础上改的。我试了一下,可以正常运行,就放下了(当时主要是为了验证板子做的正确性)。
最近又想在上面做点东西了,我就按照mizi的文档自己做,vivi编译,用jtag下去,正常运行。我又按照文档编译内核,基本是按照mizi下的一个默认编译文件s3c2410-tk做的,编译Image,做root的cramfs。然后下载,但是内核却起不来,不知道是什么问题?这里我有个疑问不知道自己做的对不对。在mizi文档里是让在vivi下运行bon来分区,不过我在vivi下也用part来分区了,这两个分的区我设定的是一样的,但是不知道这两个有什么区别?是一样的吗?我曾经让它们分的区不一样,结果part底下是一种分区,bon part info底下是另一种分区,哪个是真正的分区?而且像load flash root x这样的指令应该是针对part命令分的区吧?可是mizi文档上用bon分完区后,下载也是用load flash kernel x之类的指令,这到底是用的什么分区?启动后的信息如下所示:
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: noinitrd root=/dev/mtdblock/3 init=/linuxrc console=ttyS0
mac=00:0e:3a:aa:bb:cc
DEBUG: timer count 15626
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62880KB available (1229K code, 296K data, 60K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 200.000 Mhz, HCLK = 100.000 Mhz, PCLK = 50.000 Mhz
Starting kswapd
devfs: v1.10 (20020120) Richard Gooch ([email protected])
devfs: boot_options: 0x1
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
ttyS%d2 at I/O 0x50008000 (irq = 5 is a S3C2410
Console: switching to colour frame buffer device 30x40
Installed S3C2410 frame buffer
pty: 256 Unix98 ptys configured
s3c2410-ts initialized
S3C2410 Real Time Clock Driver v0.1
block: 128 slots per queue, batch=32
eth0: cs8900 rev J(3.3 Volts) found at 0xd0000300
cs89x0 media RJ-45, IRQ 37
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
bon0: 00000000-00020000 (00020000) 00000000
bon1: 00020000-00030000 (00010000) 00000000
bon2: 00030000-00230000 (00200000) 00000000
bon3: 00230000-03f30000 (03d00000) 00000000
bon4: 03f30000-03ffc000 (000cc000) 00000000
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
cramfs: wrong magic
FAT: bogus logical sector size 42986
Kernel panic: VFS: Unable to mount root fs on 1f:00
最后是说我的VFS出了问题?? |
|