当前位置: 技术问答>linux和unix
s3c2410ARM学习板NFS挂载失败,主机不能发现目标板,求助!!
来源: 互联网 发布时间:2016-06-22
本文导语: 本人使用开发板是三星的s3c2410实验开发箱(应该很通用的吧!),主机系统linux ubuntu9.04,bootloader使用vivi,内核选用linux-2.6.14, 文件系统是 busybox1.5.1,在装入cs8900(目标板网卡)驱动后使用NFS进行挂载。 ...
本人使用开发板是三星的s3c2410实验开发箱(应该很通用的吧!),主机系统linux ubuntu9.04,bootloader使用vivi,内核选用linux-2.6.14, 文件系统是 busybox1.5.1,在装入cs8900(目标板网卡)驱动后使用NFS进行挂载。
挂载目录是:/arm2410/root(成功挂载到本机任何一个目录)。本主机IP192.168.1.124,目标板IP192.168.1.20。一下是内核启动变量:root=/dev/nfs nfsroot=192.168.1.124:/arm2410/root ip=192.168.1.20:192.168.1.1:192.168.1.1:255.255.255.0:matrix4.arm9.net:eth0:off init=linuxrc console=ttySAC0,115200
但最后仍不能辨认出目标板,请大家给点宝贵意见 ,
下面是部分信息:
Uncompressing Linux.............................................................
Linux version 2.6.14 (root@will-desktop) (gcc version 3.4.1) #10 Tue Jun 23 17:9
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.1.124:/arm2410/root ip=192.10
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00000000, 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: 61952KB available (2154K code, 553K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
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: boot_options: 0x1
NTFS driver 2.1.24 [Flags: R/W].
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
usbcore: registered new driver ub
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev E at 0xe0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
usbmon: debugfs is not available
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
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 usbkbd
drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
mice: PS/2 mouse device common for all mice
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
IP-Config: Complete:
device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=192.168.1.1,
host=matrix4, domain=, nis-domain=arm9.net,
bootserver=192.168.1.1, rootserver=192.168.1.124, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.124
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
挂载目录是:/arm2410/root(成功挂载到本机任何一个目录)。本主机IP192.168.1.124,目标板IP192.168.1.20。一下是内核启动变量:root=/dev/nfs nfsroot=192.168.1.124:/arm2410/root ip=192.168.1.20:192.168.1.1:192.168.1.1:255.255.255.0:matrix4.arm9.net:eth0:off init=linuxrc console=ttySAC0,115200
但最后仍不能辨认出目标板,请大家给点宝贵意见 ,
下面是部分信息:
Uncompressing Linux.............................................................
Linux version 2.6.14 (root@will-desktop) (gcc version 3.4.1) #10 Tue Jun 23 17:9
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.1.124:/arm2410/root ip=192.10
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00000000, 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: 61952KB available (2154K code, 553K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
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: boot_options: 0x1
NTFS driver 2.1.24 [Flags: R/W].
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
usbcore: registered new driver ub
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev E at 0xe0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
usbmon: debugfs is not available
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
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 usbkbd
drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
mice: PS/2 mouse device common for all mice
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
IP-Config: Complete:
device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=192.168.1.1,
host=matrix4, domain=, nis-domain=arm9.net,
bootserver=192.168.1.1, rootserver=192.168.1.124, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.124
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
|
楼主貌似我们做实验也是需要用nfs作为板子的linux的file system,貌似因为板子没有硬盘的缘故,我想问一下你到底是在哪一步出了问题?
我们做实验的步骤:
1.在windows下面将bootloader 烧入板子的flash,这一步是使用jtag调试和串口作为数据传输
2.切入linux下(我们是fedora)首先配置nfs文件,主要是主机和板子的ip(具体忘记了,不过我有实验书,可以发给你),然后启动cutecom---类似于windows下面的超级终端,作为数据传输,或者说加载linux的映像,当目标板的linux启动(有小企鹅),确保你的linux网络处于激活状态,因为cutecom中向板子发送命令行命令(如ls,cd等)靠的是网络接口。
貌似我们也是使用你用的那款箱子,希望以上对楼主有帮助。
如果想要一些关于这方面的资料,我可以提供一些(主要是实验指导手册)
email:Tristan_xiao@qq.com
我们做实验的步骤:
1.在windows下面将bootloader 烧入板子的flash,这一步是使用jtag调试和串口作为数据传输
2.切入linux下(我们是fedora)首先配置nfs文件,主要是主机和板子的ip(具体忘记了,不过我有实验书,可以发给你),然后启动cutecom---类似于windows下面的超级终端,作为数据传输,或者说加载linux的映像,当目标板的linux启动(有小企鹅),确保你的linux网络处于激活状态,因为cutecom中向板子发送命令行命令(如ls,cd等)靠的是网络接口。
貌似我们也是使用你用的那款箱子,希望以上对楼主有帮助。
如果想要一些关于这方面的资料,我可以提供一些(主要是实验指导手册)
email:Tristan_xiao@qq.com