Altera_Forum
Honored Contributor
19 years agoUSB host problem on DE2 board
Hello,
I am trying to access the usb host on my DE2 board using ucLinux. I have followed the steps in the wiki at: http://nioswiki.jot.com/wikihome/operating...host?revision=4 (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/usbhost?revision=4) I can download the image file to the board, however, when I start the terminal to boot the kernel, it hangs while loading the usb driver. Here is the output I receive: [sopc builder]$ nios2-terminal.exenios2-terminal: connected to hardware target using jtag uart on cable
nios2-terminal: "usb-blaster [usb-0]", 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.17-uc1 (brian@loafy ) (gcc version 3.4.6)# 16 preempt sun nov 2
6 19:04:45 cst 2006
uclinux/nios ii
altera nios ii support © 2004 microtronix datacom ltd.
built 1 zonelists
kernel command line:
pid hash table entries: 64 (order: 6, 256 bytes)
dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
memory available: 5564k/8192k ram, 0k/0k rom (1518k kernel code, 1020k data)
mount-cache hash table entries: 512
net: registered protocol family 16
scsi subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
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.1 $
ttyj0 at mmio 0x81004000 (irq = 1) is a jtag_uart
dm9000 ethernet driver
eth%d: invalid ethernet mac address. please set using ifconfig
eth0: dm9000 at 80900090,80900094 irq 8 mac: 00:00:00:00:00:00
usbmon: debugfs is not available
driver isp1362-hcd, 2005-04-04
isp1362-hcd isp1362-hcd: isp1362 host controller
isp1362-hcd isp1362-hcd: new usb bus registered, assigned bus number 1
isp1362_hc_reset:
clock not ready after 20ms
isp1362-hcd isp1362-hcd: irq 4, io mem 0x80900080
isp1362_hc_start:
isp1362-hcd isp1362-hcd: isp1362 memory usage:
isp1362-hcd isp1362-hcd: istl: 2 * 256: 512 @ $0000:$0100
isp1362-hcd isp1362-hcd: intl: 16 * ( 64+8): 1152 @ $0200
isp1362-hcd isp1362-hcd: atl : 32 * ( 64+8): 2304 @ $0680
isp1362-hcd isp1362-hcd: used/free: 3968 128 At this point it stops indefinitely. When I compare this with the output from the wiki, I notice that the following lines appear in my output and not on the wiki: isp1362_hc_reset:
clock not ready after 20ms I'm thinking that I am missing some extra configuration for the FPGA. Currently, I download DE2_NET.sof to my DE2 board as specified in: http://nioswiki.jot.com/wikihome/operating...s/tryoutuclinux (http://nioswiki.jot.com/wikihome/operatingsystems/tryoutuclinux) Does anyone have any idea what could be causing this problem? Help is this matter would be greatly appreciated.