分类: LINUX
2013-06-10 18:42:41
uClinux/Nios II 问题已经解决,是linux操作系统的问题,换成ubuntu9.04就可以了 又出现了新的问题
Uncompressing Linux... Ok, booting the kernel.
For further information check: Execution Finished, Exiting
Sash command shell (version 1.1.1) 不知道网络又出什么故障了 问题已经解决,是我在SOPC中添加dm9000模块后,没有进行寻址空间自动分配引起的,还有一个问题
Uncompressing Linux... Ok, booting the kernel.
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Shell invoked to run file: /etc/rc Command: mount -t sysfs sysfs /sys -o noexec,nosuid,nodev Command: mount -t devpts devpts /dev/pts -o noexec,nosuid Command: mount -t usbfs none /proc/bus/usb
mount: mounting none on /proc/bus/usb failed: No such file or directory Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: cat /etc/motd
For further information check: Execution Finished, Exiting
不知道为什么是半双工的,前面的 eth0 (dm9000): not using net_device_ops yet 什么意思。 无dm9000IP核模块时的情况 Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.30 (root@ubuntu) (gcc version 3.4.6) #2 PREEMPT Wed Dec 29 19:00 PST 2010
uClinux/Nios II Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 Kernel command line: NR_IRQS:32 PID hash table entries: 64 (order: 6, 256 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 13608k/2490k RAM, 0k/0k ROM (1669k kernel code, 820k data) Calibrating delay loop... 49.45 BogoMIPS (lpj=247296) Mount-cache hash table entries: 512 net_namespace: 264 bytes NET: Registered protocol family 16 init_BSP(): registering device resources
bio: create slab NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered NET: Registered protocol family 1 io scheduler noop registered io scheduler deadline registered (default) ttyJ0 at MMIO 0x202088 (irq = 1) is a Altera JTAG UART console [ttyJ0] enabled ttyS0 at MMIO 0x202000 (irq = 2) is a Altera UART dm9000 Ethernet Driver, V1.31 TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. Freeing unused kernel memory: 592k freed (0x21da000 - 0x226d000) Shell invoked to run file: /etc/rc Command: hostname uClinux Command: mount -t proc proc /proc -o noexec,nosuid,nodev Command: mount -t sysfs sysfs /sys -o noexec,nosuid,nodev Command: mount -t devpts devpts /dev/pts -o noexec,nosuid Command: mount -t usbfs none /proc/bus/usb mount: mounting none on /proc/bus/usb failed: No such file or directory Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo Command: cat /etc/motd Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ \ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_|
For further information check:
Execution Finished, Exiting
Sash command shell (version 1.1.1) /> ifconfig
Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.30 (root@ubuntu) (gcc version 3.4.6) #2 PREEMPT Wed Dec 29 19: 34:00 PST 2010
uClinux/Nios II Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 Kernel command line: NR_IRQS:32 PID hash table entries: 64 (order: 6, 256 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 13608k/2490k RAM, 0k/0k ROM (1669k kernel code, 820k data) Calibrating delay loop... 49.45 BogoMIPS (lpj=247296) Mount-cache hash table entries: 512 net_namespace: 264 bytes NET: Registered protocol family 16 init_BSP(): registering device resources
bio: create slab NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered NET: Registered protocol family 1 io scheduler noop registered io scheduler deadline registered (default) ttyJ0 at MMIO 0x204088 (irq = 2) is a Altera JTAG UART console [ttyJ0] enabled ttyS0 at MMIO 0x204000 (irq = 3) is a Altera UART dm9000 Ethernet Driver, V1.31 eth0 (dm9000): not using net_device_ops yet eth0: dm9000a at 80204090,80204094 IRQ 5 MAC: 10:11:12:13:14:15 (chip) TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. Freeing unused kernel memory: 592k freed (0x21da000 - 0x226d000) Shell invoked to run file: /etc/rc Command: hostname uClinux Command: mount -t proc proc /proc -o noexec,nosuid,nodev Command: mount -t sysfs sysfs /sys -o noexec,nosuid,nodev Command: mount -t devpts devpts /dev/pts -o noexec,nosuid Command: mount -t usbfs none /proc/bus/usb mount: mounting none on /proc/bus/usb failed: No such file or directory Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo Command: cat /etc/motd Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ \ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_|
For further information check:
Execution Finished, Exiting
Sash command shell (version 1.1.1) /> 成功了,悲剧,居然是核设置的时候没有auto assign address 问题解决了,是IP核设置的问题,原先使用的是DE2版上的IP核后来在网上下了一个就可以用了,高兴死我了,花了两天时间,伤心透了,也高兴坏了,终于可以用了。 秀一下: Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.30 (root@ubuntu) (gcc version 3.4.6) #2 PREEMPT Wed Dec 29 23: 33:31 PST 2010
uClinux/Nios II Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064 Kernel command line: NR_IRQS:32 PID hash table entries: 64 (order: 6, 256 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 13608k/2490k RAM, 0k/0k ROM (1669k kernel code, 820k data) Calibrating delay loop... 49.45 BogoMIPS (lpj=247296) Mount-cache hash table entries: 512 net_namespace: 264 bytes NET: Registered protocol family 16 init_BSP(): registering device resources
bio: create slab NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 512 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 512 bind 512) TCP reno registered NET: Registered protocol family 1 io scheduler noop registered io scheduler deadline registered (default) ttyJ0 at MMIO 0x204088 (irq = 2) is a Altera JTAG UART console [ttyJ0] enabled ttyS0 at MMIO 0x204000 (irq = 3) is a Altera UART dm9000 Ethernet Driver, V1.31 eth0 (dm9000): not using net_device_ops yet eth0: dm9000a at 80204090,80204094 IRQ 5 MAC: 10:11:12:13:14:15 (chip) TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. Freeing unused kernel memory: 592k freed (0x21da000 - 0x226d000) Shell invoked to run file: /etc/rc Command: hostname uClinux Command: mount -t proc proc /proc -o noexec,nosuid,nodev Command: mount -t sysfs sysfs /sys -o noexec,nosuid,nodev Command: mount -t devpts devpts /dev/pts -o noexec,nosuid Command: mount -t usbfs none /proc/bus/usb mount: mounting none on /proc/bus/usb failed: No such file or directory Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo Command: cat /etc/motd Welcome to ____ _ _ / __| ||_| _ _| | | | _ ____ _ _ _ _ | | | | | | || | _ \| | | |\ \/ / | |_| | |__| || | | | | |_| |/ \ | ___\____|_||_|_| |_|\____|\_/\_/ | | |_|
For further information check:
Execution Finished, Exiting
Sash command shell (version 1.1.1) /> ifconfig eth0 192.168.1.203 eth0: link down /> eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 eth0: link down eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 eth0: link down eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 |