免费注册 查看新帖 |

Chinaunix

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

[操作系统] 开发板挂载自己制作的YAFFS2文件系统问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-30 21:33 |只看该作者 |倒序浏览
Hit any key to stop autoboot: 0   
zImage magic = 0x016f2818   
NOW, Booting Linux......   
Setup linux parameters at 0x30000100   
linux command line is: "root=/dev/nfs nfsroot=192.168.253.1:/armsys2410/root ip"
Uncompressing Linux.............................................................
Linux version 2.6.15.1 (root@192.168.253.100) (gcc version 3.4.3 (release) (Cod7
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)   
Machine: SMDK2410   
ATAG_INITRD is deprecated; please update your bootloader.   
Memory policy: ECC disabled, Data cache writeback   
CPU S3C2410A (id 0x32410002)   
S3C2410: core 200.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz   
S3C2410 Clocks, (c) 2004 Simtec Electronics   
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on   
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   
Kernel command line: root=/dev/nfs nfsroot=192.168.253.1:/armsys2410/root ip=190
irq: clearing subpending status 00000002   
PID hash table entries: 512 (order: 9, 8192 bytes)   
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8   
Console: colour dummy device 80x30   
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)   
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)   
Memory: 64MB = 64MB total   
Memory: 62128KB available (1996K code, 567K data, 108K init)   
Mount-cache hash table entries: 512   
CPU: Testing write buffer coherency: ok   
NET: Registered protocol family 16   
Now you use L70T84(800x480) to display!   
S3C2410: Initialising architecture   
SCSI subsystem initialized   
usbcore: registered new driver usbfs   
usbcore: registered new driver hub   
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics   
DMA channel 0 at c4800000, irq 33   
DMA channel 1 at c4800040, irq 34   
DMA channel 2 at c4800080, irq 35   
DMA channel 3 at c48000c0, irq 36   
NetWinder Floating Point Emulator V0.97 (double precision)   
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)   
devfs: devfs_debug: 0x0   
devfs: boot_options: 0x1   
yaffs Apr 6 2007 09:54:09 Installing.   
io scheduler noop registered   
Console: switching to colour frame buffer device 100x30   
fb0: s3c2410fb frame buffer device   
S3C2410 RTC, (c) 2004 Simtec Electronics   
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling   
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics   
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   
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize   
loop: loaded (max 8 devices)   
eth0: cs8900 rev K found at 0xf1300300   
cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command le
cs89x0 media RJ-45, IRQ 53, programmed I/O, MAC 00:09:c0:ff:ec:48   
cs89x0: request_region(0xf1300300, 0x10) failed   
cs89x0: no cs8900 or cs8920 detected. Be sure to disable PnP with SETUP   
S3C2410 NAND Driver, (c) 2004 Simtec Electronics   
s3c2410-nand: mapped registers at c4a00000   
s3c2410-nand: timing: Tacls 10ns, Twrph0 30ns, Twrph1 10ns   
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bi)
NAND_ECC_NONE selected by board driver. This is not recommended !!   
Scanning device for bad blocks   
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":   
0x00000000-0x00030000 : "boot"   
0x00030000-0x00200000 : "kernel"   
0x00200000-0x04000000 : "rootfs"   
usbmon: debugfs is not available   
Set S3C2410 UPLLCON!   
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: Product: S3C24XX OHCI   
usb usb1: Manufacturer: Linux 2.6.15.1 ohci_hcd   
usb usb1: SerialNumber: s3c24xx   
hub 1-0:1.0: USB hub found   
hub 1-0:1.0: 2 ports detected   
Initializing USB Mass Storage driver...   
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   
ts: Compaq touchscreen protocol output   
Register touchscreen driver for ARMSYS2410.   
s3c2410 TouchScreen successfully loaded   
input: s3c2410 TouchScreen as /class/input/input0   
s3c2410-i2c s3c2410-i2c: slave address 0x10   
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz   
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter   
SD driver init for ARMSYS2410.   
mmci-s3c2410: probe: mapped sdi_base=c4e80000 irq=37 irq_cd=18 dma=0.   
mmci-s3c2410: initialisation done.   
UDA1341 audio driver initialized   
NET: Registered protocol family 2   
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)   
TCP established hash table entries: 4096 (order: 2, 16384 bytes)   
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)   
TCP: Hash tables configured (established 4096 bind 4096)   
TCP reno registered   
TCP bic registered   
NET: Registered protocol family 1   
eth0: using half-duplex 10Base-T (RJ-45)   
IP-Config: Complete:   
  device=eth0, addr=192.168.253.8, mask=255.255.255.0, gw=192.168.253.1,   
  host=armsys, domain=, nis-domain=hzlitai.com,   
  bootserver=192.168.253.1, rootserver=192.168.253.1, rootpath=   
Looking up port of RPC 100003/2 on 192.168.253.1   
Looking up port of RPC 100005/1 on 192.168.253.1   
VFS: Mounted root (nfs filesystem).   
Mounted devfs on /dev   
Freeing init memory: 108K   
打开开发板,运行到此处就不动了,也没有报错,各位大神,这是怎么回事?

论坛徽章:
0
2 [报告]
发表于 2012-07-31 15:10 |只看该作者
自己顶一下,求技术牛人的指点

论坛徽章:
1
拜羊年徽章
日期:2015-03-03 16:15:43
3 [报告]
发表于 2012-08-03 22:02 |只看该作者
本帖最后由 linuxfellow 于 2012-08-03 22:02 编辑

回复 2# ARM-Cheng
应该是你的根文件系统有问题。查一下, 应该把整个根文件系统解压,考到你host指定的目录下。

   

论坛徽章:
0
4 [报告]
发表于 2012-08-04 16:57 |只看该作者
回复 3# linuxfellow


    根文件系统已经是解压的了,不过我没有放在host目录下而是自己建了一个目录,还有就是生成的linuxrc文件我用vi打开里面是乱码,而开发板自带的linuxrc打开是"#!.bin/sh   exec  /sbin/init".请问这是怎么回事

论坛徽章:
1
拜羊年徽章
日期:2015-03-03 16:15:43
5 [报告]
发表于 2012-08-05 19:57 |只看该作者
本帖最后由 linuxfellow 于 2012-08-05 19:57 编辑

回复 3# linuxfellow
host是指与开发相连的主机. 你的根目录应该位于主机的/armsys2410/root 目录下。注意一下/armsys2410/root下文件系统,尤其是 dev下,下面的文件是否是你要放的文件。如果怀疑linuxrc, 你可以用开发版提供的linuxrc替换你自己的linuxrc试试。

   

论坛徽章:
0
6 [报告]
发表于 2012-08-07 15:54 |只看该作者
u-boot启动参数是否还有问题,怎么rootfs还是NFS的,而不是yaffs的
IP-Config: Complete:   
  device=eth0, addr=192.168.253.8, mask=255.255.255.0, gw=192.168.253.1,   
  host=armsys, domain=, nis-domain=hzlitai.com,   
  bootserver=192.168.253.1, rootserver=192.168.253.1, rootpath=   
Looking up port of RPC 100003/2 on 192.168.253.1   
Looking up port of RPC 100005/1 on 192.168.253.1   
VFS: Mounted root (nfs filesystem).   
Mounted devfs on /dev   
Freeing init memory: 108K   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP