Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHello,
This is problem is solved, because I have a small sdram(8 M),and I download it with file system, it's quite big for the small sdram, so I tried to just run the fake kernel, then I can see the kernel complain that can not mount a valid root file system, I'm sure it's because the lack of sdram, so I upgrade my board's sdram to 16M(I just can replace to this size), then it works well! see the result:
Linux version 3.1.0-rc9-01179-ge9ea972 (liunx@gentoo) (gcc version 4.1.2)# 211 Sun Nov 13 06:55:01 CST 2011
bootconsole enabled
early_console initialized at 0xe0800000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat d033b2bc, node_mem_map d0350980
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: 0
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: root=/dev/mtdblock0 rw rootfstype=jffs2
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 12812k/3385k RAM (1254k kernel code, 2130k data)
NR_IRQS:32
Calibrating delay loop... 24.32 BogoMIPS (lpj=121600)
pid_max: default: 4096 minimum: 301
Mount-cache hash table entries: 512
bio: create slab <bio-0> at 0
Switching to clocksource timer
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 25
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
ttyJ0 at MMIO 0x800000 (irq = 2) is a Altera JTAG UART
console enabled, bootconsole disabled
console enabled, bootconsole disabled
0.flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
Intel/Sharp Extended Query Table at 0x0031
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Mem: 8272K used, 6388K free, 0K shrd, 0K buff, 5168K cached
CPU: 0.0% usr 1.7% sys 0.0% nic 98.2% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 0.15 0.09 0.04 1/16 38
PID PPID USER STAT VSZ %MEM CPU %CPU COMMAND
38 33 root R 1980 13.4 0 1.5 top
33 1 root S 1980 13.4 0 0.0 -/bin/sh
1 0 root S 1884 12.7 0 0.0 /init
6 2 root SW 0 0.0 0 0.0
2 0 root SW 0 0.0 0 0.0
13 2 root SW 0 0.0 0 0.0
14 2 root SW 0 0.0 0 0.0
3 2 root SW 0 0.0 0 0.0
4 2 root SW 0 0.0 0 0.0
5 2 root SW 0 0.0 0 0.0
7 2 root SW< 0 0.0 0 0.0
8 2 root SW 0 0.0 0 0.0
9 2 root SW 0 0.0 0 0.0
10 2 root SW< 0 0.0 0 0.0
11 2 root SW 0 0.0 0 0.0
12 2 root SWN 0 0.0 0 0.0
root:/>
regards:D