Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
714 Views

NIOS - Test DM9000

I can not run DM9000 module after many tries on my DE2-70 board and wolud like to test sample project file from http://www.alterawiki.com/wiki/tryoutuclinux.  

 

This is how looks like boot process: 

 

 

nios2-download -g ZImage_DE2_70_NIOS_HOST_MOUSE_VGA_v1.1  

Using cable "USB-Blaster [USB 1-1.1.1]", device 1, instance 0x00 

Pausing target processor: OK 

Initializing CPU cache (if present) 

OK 

Downloaded 1208KB in 6.4s (188.7KB/s) 

Verified OK  

Starting processor at address 0x04500000 

 

nios2-terminal 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "USB-Blaster [USB 1-1.1.1]", device 1, instance 0 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) 

 

Uncompressing Linux... Ok, booting the kernel. 

Linux version 2.6.19-uc1-g7e2efdd1-dirty (thomas@darkstar.wytron.com.tw) (gcc version 3.4.6)# 4 PREEMPT Wed Mar 12 10:16:04 CST 2008 

 

 

uClinux/Nios II 

Altera Nios II support (C) 2004 Microtronix Datacom Ltd. 

 

setup_arch: No persistant network settings signature at 08FF0000 

Built 1 zonelists. Total pages: 8128 

Kernel command line:  

PID hash table entries: 128 (order: 7, 512 bytes) 

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) 

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) 

Memory available: 30304k/32768k RAM, 0k/0k ROM (1473k kernel code, 694k data) 

Mount-cache hash table entries: 512 

NET: Registered protocol family 16 

NET: Registered protocol family 2 

IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 

TCP established hash table entries: 1024 (order: 0, 4096 bytes) 

TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 

TCP: Hash tables configured (established 1024 bind 1024) 

TCP reno registered 

io scheduler noop registered 

io scheduler deadline registered (default) 

Serial: JTAG UART driver $Revision: 1.3 $ 

ttyJ0 at MMIO 0x896091e8 (irq = 2) is a jtag_uart 

dm9000 Ethernet Driver 

dm9000: read wrong id 0xffffffff 

dm9000: read wrong id 0xffffffff 

dm9000: wrong id: 0xffffffff 

dm9000: not found (0). 

TCP cubic registered 

NET: Registered protocol family 1 

NET: Registered protocol family 17 

Freeing unused kernel memory: 576k freed (0x417e000 - 0x420d000) 

Shell invoked to run file: /etc/rc 

Command: hostname uClinux 

Command: mount -t proc proc /proc 

Command: mount -t sysfs sysfs /sys 

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: 

http://www.uclinux.org/ 

 

Execution Finished, Exiting 

 

Sash command shell (version 1.1.1) 

/>  

 

 

And I have here dm9000: not found (0).  

There is something wrong with my board are with this image?
0 Kudos
1 Reply
Highlighted
Honored Contributor I
12 Views

Finally I run the dm9000 on DE2-70. There is a difference beetwen DE2 and DE2-70 with dm9000. Have to change in dm9000 component timing setting and set good 25MHz clock.

0 Kudos