板子上引导linux失败

板子放着有几天没碰了,原来的wince里面有东西,老师招呼过不要冲了。对板子操作又不熟悉,一直没敢动。今天又向那边打听了下引导双系统,又发来一份资料,就又折腾了下。烧写应该是成功了,但却引导不起来,总是说挂载不了根文件系统

具体过程如下,记录下来,再想办法解决

Please select function :
0 : USB download file
1 : Uart download file
2 : Write Nand flash with download file
3 : Load Pragram from Nand flash and run
4 : Erase Nand flash regions
5 : Write NOR flash with download file
6 : Set boot params
7 : Set AutoBoot parameter,1:linux 2:wince
1                                                           //选择1 从串口下载 选择好内核文件
Now download file from uart0...
Download File Size = 632566
Are you sure to run? [y/n]        //选择不运行 要烧写

Please select function :
0 : USB download file
1 : Uart download file
2 : Write Nand flash with download file
3 : Load Pragram from Nand flash and run
4 : Erase Nand flash regions
5 : Write NOR flash with download file
6 : Set boot params
7 : Set AutoBoot parameter,1:linux 2:wince
2Read chip id = ec76           //选择2 烧到Nand flash
Nand flash status = c0
Please select which region to write : Esc to abort
0 : offset 0x0       , size 0x40000    [boot]
1 : offset 0x40000   , size 0x1c0000   [kernel]
2 : offset 0x200000  , size 0x600000   [rootfs]
3 : offset 0x800000  , size 0x800000   [ext-fs1]
4 : offset 0x1000000 , size 0x1000000  [ext-fs2]
5 : offset 0x2000000 , size 0x2000000  [ext-fs3]
Now write nand flash page 0x200 from ram address 0x30400000, filesize = 632560
Are you sure? [y/n]               // 烧写kernel 选择1  并确定 y
.......................................Program nand flash partition success

Please select function :
0 : USB download file
1 : Uart download file
2 : Write Nand flash with download file
3 : Load Pragram from Nand flash and run
4 : Erase Nand flash regions
5 : Write NOR flash with download file
6 : Set boot params
7 : Set AutoBoot parameter,1:linux 2:wince
1        //同上 从串口下载   选择根文件系统
Now download file from uart0...
Download File Size = 1269766
Are you sure to run? [y/n]   //不运行 选n 跳到主菜单

Please select function :
0 : USB download file
1 : Uart download file
2 : Write Nand flash with download file
3 : Load Pragram from Nand flash and run
4 : Erase Nand flash regions
5 : Write NOR flash with download file
6 : Set boot params
7 : Set AutoBoot parameter,1:linux 2:wince
2Read chip id = ec76                 // 同上 进行烧写 

Nand flash status = c0
Please select which region to write : Esc to abort
0 : offset 0x0       , size 0x40000    [boot]
1 : offset 0x40000   , size 0x1c0000   [kernel]
2 : offset 0x200000  , size 0x600000   [rootfs]
3 : offset 0x800000  , size 0x800000   [ext-fs1]
4 : offset 0x1000000 , size 0x1000000  [ext-fs2]
5 : offset 0x2000000 , size 0x2000000  [ext-fs3]
Now write nand flash page 0x1000 from ram address 0x30400000, filesize = 1269760
Are you sure? [y/n]     // 选择烧写到 2 rootfs
..............................................................................Program nand flash partition success

Please select function :
0 : USB download file
1 : Uart download file
2 : Write Nand flash with download file
3 : Load Pragram from Nand flash and run
4 : Erase Nand flash regions
5 : Write NOR flash with download file
6 : Set boot params
7 : Set AutoBoot parameter,1:linux 2:wince
3Read chip id = ec76  // 然后一切就绪 选择3 运行 …… 然后等着出错
Nand flash status = c0
Set boot params = root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttyS0 mem=64M devfs=mount
Uncompressing Linux............................................... done, booting the kernel.

Linux version 2.4.18-rmk7-pxa1 ([email protected]) (gcc version 2.95.2 20000516 (release) [Rebel.com]) #2 四 9月 15 20:17:58 CST 2005

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: root=/dev/mtdblock2 load_ramdisk=0 init=/linuxrc console=ttyS0 mem=64M devfs=mount

DEBUG: timer count 15626

Console: colour dummy device 80x30

Calibrating delay loop... 99.94 BogoMIPS

Memory: 64MB = 64MB total

Memory: 62864KB available (1242K code, 296K data, 64K 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

ttyS00 at I/O 0x50000000 (irq = 52) is a S3C2410

ttySd1 at I/O 0x50004000 (irq = 55) is a S3C2410

ttyS02 at I/O 0x50008000 (irq = 58) is a S3C2410

test lcd start 0719

------------------1

------------------2

------------------3

--------------------6

testing the 640x480 lcd by softmcu

------------------4

--------------------6

testing the 640x480 lcd by softmcu

Console: switching to colour frame buffer device 80x60

------------------5

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 K(3.3 Volts) found at 0xd0000300

cs89x0 media RJ-45, IRQ 37

NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)

bon:cannot find partition table

Mtd Block 0.

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

VFS: Cannot open root device "mtdblock2" or 1f:02

Please append a correct "root=" boot option

Kernel panic: VFS: Unable to mount root fs on 1f:02

最后就是不能挂载根文件系统。 所有的操作都是照资料给的做的 wince是保存在 第 5  区的 所以wince还是正常的。 再去请教下吧 如果有朋友知道 还望指点下````

   

你可能感兴趣的:(Linux)