mociml
驱动牛犊
驱动牛犊
  • 注册日期2008-07-22
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望2点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2073回复:1

uboot1.2.0+linux2.6.18内核移植出现的问题

楼主#
更多 发布于:2008-07-23 10:42
串口信息如下,无法挂接根文件系统,请教大侠原因????


U-Boot 1.2.0 (Jun 17 2008 - 16:38:17)

U-Boot code: 33F80000 -> 33F989C4  BSS: -> 33F9D1C0
DRAM:  64 MB
NAND:    64 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

NAND read: device 0 offset 1048576, size 3145728 ...
 3145728 bytes read: OK

NAND read: device 0 offset 4194304, size 23068672 ...
 23068672 bytes read: OK
## Booting image at 30008000 ...
   Image Name:   Linux Kernel
   Created:      2008-07-15   7:09:16 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1519744 Bytes =  1.4 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

Starting kernel ...

Uncompressing

Linux...............................................................................................

.. done, booting the kernel.
Linux version 2.6.182410-s (root@localhost.localdomain) (gcc version 4.0.2) #15 Tue Jul 15 15:04:16

CST 2008
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: bochuang2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
USB Control, (c) 2006 sbc2410
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
Built 1 zonelists.  Total pages: 4096
Kernel command line: noinitrd root=/dev/mtdblock2 rootfstype=cramfs console=ttySAC0,115200
irq: clearing pending ext status 00000100
irq: clearing subpending status 00000002
PID hash table entries: 128 (order: 7, 512 bytes)
timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
Console: colour dummy device 80x30
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 13000KB available (2364K code, 720K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410: Initialising architecture
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 128 (order: -3, 512 bytes)
TCP established hash table entries: 512 (order: -1, 2048 bytes)
TCP bind hash table entries: 256 (order: -2, 1024 bytes)
TCP: Hash tables configured (established 512 bind 256)
TCP reno registered
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c1800000, irq 33
DMA channel 1 at c1800040, irq 34
DMA channel 2 at c1800080, irq 35
DMA channel 3 at c18000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
fuse init (API version 7.7)
yaffs Jul 15 2008 14:59:07 Installing.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 80x30
fb0: s3c2410fb frame buffer device
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
fpga    device initialized
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
uart2_init : uart2 init complete!
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0xf1300200: 08 0c 29 db 21 03
eth0: NE2000 found at 0xf1300200, using IRQ 18.
Linux video capture interface: v2.00
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand s3c2410-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
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
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00100000 : "U-BOOT-1.2.0 and Parameter"
0x00100000-0x00400000 : "S3C2410 flash partition 1 for kernel"
0x00400000-0x01400000 : "S3C2410 flash partition 2  for ramdisk "
0x01400000-0x04000000 : "S3C2410 flash partition 3  for yaffs"
s3c2410-spi s3c2410-spi.0: registering my_spi
spi core probe!ph_base:8000100,s3c2410_exio_base:c1812100
s3c2410-mcp2510 initialized
116x: driver isp116x-hcd, 03 Nov 2005
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
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
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc intf: sysfs
s3c2410-rtc s3c2410-rtc: rtc intf: proc
s3c2410-rtc s3c2410-rtc: rtc intf: dev (251:0)
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 99 KHz
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
host->irq_cd=51
mmci-s3c2410: probe: mapped sdi_base=c2200000 irq=37 irq_cd=51 dma=0.
mmci-s3c2410: initialisation done.
UDA1341 audio driver initialized
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
s3c2410-rtc s3c2410-rtc: setting the system clock to 2151-06-11 08:00:34 (1430789538)
No filesystem could mount root, tried:  cramfs
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
×××××××××××××××××××××××××××××××××××
我在uboot中烧写内核及文件系统命令如下,请看看特别是地址我有些错吗?
nand erase 0x100000 0x300000
nand erase 0x400000 0x1600000
tftp 0x30008000 uImage
nand write 0x30008000 0x100000 0x300000
tftp 0x40008000 root.cramfs
nand write 0x40008000 0x400000 0x1600000

焦急等待中!!!!!!!!!!!!!!!!!


aiqinhaii
驱动牛犊
驱动牛犊
  • 注册日期2003-09-13
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望11点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2008-07-27 11:22
lz搞定了没有?
你nand的nand分区是什么样的?启动参数呢?
把最后2行的40008000改为30008000试试
宇宙是浩瀚的,地球是渺小的; 知识是无穷的,求知是无尽的; 请多关照,谢谢!!
游客

返回顶部