免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1137 | 回复: 1
打印 上一主题 下一主题

[嵌入式] 我的 linux2.6.13+ramdisk 为什么不能完全启动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-12 11:01 |只看该作者 |倒序浏览
如题

   s3c2410+linux2.6.13+ramdisk.gz

   这个ramdisk在2.4.18上已经正常启动

  启动信息如下:

  Starting kernel ...


Uncompressing Linux........................................................................... done, booting the kernel.
[21474536.480000] ************test**************

[21474536.480000] Linux version 2.6.13 (Admin@WinXP-SP2) (gcc version 3.3.2) #543 Thu Oct 12 09:30:08 2006

[21474536.480000] CPU: ARM920T [41129200] revision 0 (ARMv4T)

[21474536.480000] Machine: SMDK2410

[21474536.480000] Warning: bad configuration page, trying to continue

[21474536.480000] Memory policy: ECC disabled, Data cache buffered

[21474536.480000] CPU S3C2410A (id 0x32410002)

[21474536.480000] S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz

[21474536.480000] S3C2410 Clocks, (c) 2004 Simtec Electronics

[21474536.480000] CPU0: D VIVT write-back cache

[21474536.480000] CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

[21474536.480000] CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets

[21474536.480000] setup_arch called.Built 1 zonelists

[21474536.480000] Kernel command line: initrd=0x30800000,0x440000 mem=64M root=/dev/ram init=/linuxrc console=ttySAC0,115200

[21474536.480000] irq: clearing subpending status 00000002

[21474536.480000] PID hash table entries: 512 (order: 9, 8192 bytes)

[21474536.480000] timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8

[21474536.480000] Console: colour dummy device 80x30

[21474536.485000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

[21474536.525000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

[21474536.670000] Memory: 64MB = 64MB total

[21474536.675000] Memory: 58112KB available (1773K code, 525K data, 96K init)

[21474536.780000] Mount-cache hash table entries: 512

[21474536.800000] CPU: Testing write buffer coherency: ok

[21474536.830000] checking if image is initramfs...  //在这里要等待一分多钟

[21474618.020000]

[21474618.020000] **populate_rootfs has been called**

[21474618.020000]

[21474618.030000] it isn't (no cpio magic); looks like an initrd

[21474618.040000]

[21474618.040000]

[21474618.040000]

[21474618.040000] *******0*******

[21474618.040000]

[21474618.040000]

[21474618.050000]

[21474618.050000]

[21474618.050000] ******is image-initrd******

[21474618.050000]

[21474618.675000] Freeing initrd memory: 4352K

[21474618.695000] Linux NoNET1.0 for Linux 2.6

[21474618.705000] set_s3c2410fb_mach_info called.S3C2410: Initialising architecture

[21474618.805000] SCSI subsystem initialized

[21474618.815000] usbcore: registered new driver usbfs

[21474618.825000] usbcore: registered new driver hub

[21474618.875000] S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics

[21474618.885000] DMA channel 0 at c4800000, irq 33

[21474618.895000] DMA channel 1 at c4800040, irq 34

[21474618.900000] DMA channel 2 at c4800080, irq 35

[21474618.910000] DMA channel 3 at c48000c0, irq 36

[21474618.915000] NetWinder Floating Point Emulator V0.97 (double precision)

[21474619.010000] devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)

[21474619.015000] devfs: boot_options: 0x1

[21474619.020000] JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.

[21474619.050000]

[21474619.050000]

[21474619.050000] s3c2410fb_probe has been called

[21474619.050000]

[21474619.125000] fb0: s3c2410fb frame buffer device

[21474622.395000] S3C2410 RTC, (c) 2004 Simtec Electronics

[21474622.415000] s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410

[21474622.425000] s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410

[21474622.440000] s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410

[21474622.455000] io scheduler noop registered

[21474622.460000] io scheduler anticipatory registered

[21474622.530000] RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize

[21474622.575000] loop: loaded (max 8 devices)

[21474622.580000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

[21474622.585000] ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

[21474622.640000] Probing YL-9200 Application Flash at physical address 0x10000000 (16-bit buswidth)

[21474622.685000] S3C24XX NAND Driver, (c) 2004 Simtec Electronics

[21474622.700000] s3c2410-nand: mapped registers at c4880000

[21474622.705000] s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns

[21474622.715000] NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)

[21474622.720000] NAND_ECC_NONE selected by board driver. This is not recommended !!

[21474622.730000] Scanning device for bad blocks

[21474624.125000] Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":

[21474624.130000] 0x00000000-0x00040000 : "bootloader"

[21474624.150000] 0x00040000-0x000c0000 : "kernel"

[21474624.170000] 0x00200000-0x00600000 : "root"

[21474624.185000] 0x02200000-0x04000000 : "User"

[21474624.205000] usbmon: debugfs is not available

[21474624.215000] s3c2410-ohci s3c2410-ohci: S3C24XX OHCI

[21474624.230000] s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1

[21474624.235000] s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000

[21474624.315000] hub 1-0:1.0: USB hub found

[21474624.320000] hub 1-0:1.0: 2 ports detected

[21474624.335000] Initializing USB Mass Storage driver...

[21474624.345000] usbcore: registered new driver usb-storage

[21474624.350000] USB Mass Storage support registered.

[21474624.360000] usbcore: registered new driver usbhid

[21474624.365000] drivers/usb/input/hid-core.c: v2.01:USB HID core driver

[21474624.385000] dummy_hcd dummy_hcd: USB Host+Gadget Emulator, driver 02 May 2005

[21474624.390000] dummy_hcd dummy_hcd: Dummy host controller

[21474624.405000] dummy_hcd dummy_hcd: new USB bus registered, assigned bus number 2

[21474624.425000] hub 2-0:1.0: USB hub found

[21474624.430000] hub 2-0:1.0: 1 port detected

[21474624.445000] ts: Compaq touchscreen protocol output

[21474624.455000] s3c2410 TouchScreen successfully loaded

[21474624.470000] i2c /dev entries driver

[21474624.490000]

[21474624.490000]

[21474624.490000] ***********prepare_namespace has been called***************

[21474624.490000]

[21474624.540000]

[21474624.540000]

[21474624.540000] *******initrd_load has been called********

[21474624.540000]

[21474624.625000]

[21474624.625000]

[21474624.625000] *****rd_load_image has been called******

[21474624.625000]

[21474624.635000]

[21474624.635000]

[21474624.635000] ^^^^^<1> nblocks = -1071369640^^^^^

[21474624.635000]

[21474624.645000]

[21474624.645000]

[21474624.645000] ****rd_image_start = 0*****

[21474624.645000]

[21474624.650000] RAMDISK: Compressed image found at block 0

[21474624.655000]

[21474624.655000]

[21474624.655000] ^^^^^<2> nblocks = 0^^^^^  在这里要等待30秒左右

[21474624.655000]

[21474715.945000] VFS: Mounted root (ext2 filesystem) readonly.

[21474715.965000] Mounted devfs on /dev

[21474715.970000] Freeing init memory: 96K

Initializing random number generator... done.//在这里就不动了

很着急请问这是怎么回事呢

论坛徽章:
0
2 [报告]
发表于 2006-10-13 14:30 |只看该作者
经过我重新制作ramdisk 现在启动信息最后显示

[21474651.805000] VFS: Mounted root (ext2 filesystem) readonly.

[21474651.825000] Mounted devfs on /dev

[21474651.830000] Freeing init memory: 96K

[21474652.015000] Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

我认为ramdisk已经加载成功,知识文件系统不正确,应该是init入口的错误,可是我的启动参数有加init=/linuxrc,而且linuxrc中有echo "mount /etc as ramfs"这样的打印信息也没有打印出来,请问这是为什么呢,/linuxrc没找到吗?那应该怎么找呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP