Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1040326
  • 博文数量: 239
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 3618
  • 用 户 组: 普通用户
  • 注册时间: 2012-11-12 13:17
文章分类

全部博文(239)

文章存档

2021年(1)

2016年(1)

2015年(30)

2014年(91)

2013年(116)

分类: LINUX

2013-06-10 18:42:41

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: 13604k/2492k RAM, 0k/0k ROM (1668k kernel code, 824k data)
Calibrating delay loop... 49.56 BogoMIPS (lpj=247808)
Mount-cache hash table entries: 512
net_namespace: 264 bytes
NET: Registered protocol family 16
init_BSP(): registering device resources
bio: create slab at 0
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)
ttyS0 at MMIO 0x202000 (irq = 2) is a Altera UART
console [ttyS0] enabled
dm9000 Ethernet Driver, V1.31
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000a at 80202090,80202094 IRQ 3 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: 596k freed (0x21da000 - 0x226e000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: mount -t proc proc /proc -o noexec,nosuid,nodev
执行到这里就运行不下去了,不知道是什么缘故

问题已经解决,是linux操作系统的问题,换成ubuntu9.04就可以了

又出现了新的问题

Uncompressing Linux... Ok, booting the kernel.
Linux version 2.6.30 () (gcc version 3.4.6) #2 PREEMPT Wed Dec 29 17:
30:39 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 at 0
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 = 1) is a Altera JTAG UART
console [ttyJ0] enabled
ttyS0 at MMIO 0x204000 (irq = 2) is a Altera UART
dm9000 Ethernet Driver, V1.31
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: read wrong id 0x00000000
dm9000 dm9000.0: wrong id: 0x00000000
dm9000 dm9000.0: not found (-19).
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)
/>

不知道网络又出什么故障了

问题已经解决,是我在SOPC中添加dm9000模块后,没有进行寻址空间自动分配引起的,还有一个问题

Uncompressing Linux... Ok, booting the kernel.
Linux version 2.6.30 () (gcc version 3.4.6) #4 PREEMPT Wed Dec 29 19:41:35 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: 13600k/2497k RAM, 0k/0k ROM (1669k kernel code, 828k 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 at 0
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
ttyS0 at MMIO 0x204000 (irq = 3) is a Altera UART
console [ttyS0] enabled
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: 600k freed (0x21da000 - 0x226f000)

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 down


/> /> 
ifconfig eth0 hw ether 00:00:11:22:33:44


/> /> 
ifconfig eth0 192.168.1.201 up


eth0: link up, 10Mbps, half-duplex, lpa 0x0E0D

不知道为什么是半双工的,前面的 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 at 0

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 at 0

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 at 0

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

阅读(1117) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~