Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by kael@Nov 29 2006, 04:34 AM 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.exe nios2-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[/b] 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. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=19676) --- Quote End --- [/b] --- Quote End --- Hi , kael I met same problem. You need recomplied DE2_NET project again. Regards Faye