Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUSB device!
I have a usb flash disk, I want to using it on my board, I choose USB Mass storage and SCSI disk and ISA116X driver support in menuconfig. Start uClinux on NIOS II SDK shell, using dmesg, I got these message:
# dmesg Linux version 2.6.11-uc0 ([email protected]) (gcc version 3.4.6)# 11 Sa t Apr 15 17:52:30 CST 2006 uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. setup_arch: No persistant network settings signature at 008F0000 On node 0 totalpages: 2048 DMA zone: 2048 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: PID hash table entries: 64 (order: 6, 1024 bytes) Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 6188k/8192k RAM, 0k/0k ROM (1334k kernel code, 551k data) Calibrating delay loop... 24.72 BogoMIPS (lpj=123648) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x81004000 (irq = 1) is a jtag_uart io scheduler noop registered io scheduler deadline registered dmfe_probe:eth0, 50000 Khz Nios <DM9000> eth0 I/O: 80900090, VID: 90000a46 ADDR: 00:07:ed:00:00:00 dmfe_probe:eth1, 50000 Khz Nios Linux video capture interface: v1.00 116x: driver isp116x-hcd, 08 Apr 2005 116x: ISP116x Host Controller, irq 4 isp116x-hcd isp116x-hcd: new USB bus registered, assigned bus number 1 116x: Invalid chip ID 3630 isp116x-hcd isp116x-hcd: USB bus 1 deregistered 116x: init error, -19 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes 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) NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 436k freed (0x15e000 - 0x1ca000)# I plug my usb flash disk in my board usb host port, there is no message appear! How could I to find the usb disk?43 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by goral@Apr 28 2006, 07:33 AM i'm glad to hear your success, maybe you could try your thought, i didn't do that, i want to using the usb host port for my camera, if you interesting, we can help each other!are u want to try?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14818)
--- quote end ---
--- Quote End --- hi groal OK,we can discuss usb port for camera and help each other. what kind of purposes do you want to implement on DE2 board ? my lab have two 1.3Mega Pixel Digital Camera modules for DE2 ,and can implement real-time movement detecting . my classmate want to use usb camera that implement the same purpose. so, do you have interests in real-time movement detecting with using usb camera ?
- Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- hi groal OK,we can discuss usb port for camera and help each other. what kind of purposes do you want to implement on DE2 board ? my lab have two 1.3Mega Pixel Digital Camera modules for DE2 ,and can implement real-time movement detecting . my classmate want to use usb camera that implement the same purpose. so, do you have interests in real-time movement detecting with using usb camera ?[/b] --- Quote End --- Hi : jay_1025 Thanks for your enjoy, I didn't so high Pixel Digital Camera modules, today I buy a 0.3Mega Pixel Digitial Camera which using ov511 IC on a onilne shop, Maybe 2-days later I will do my lab continue, I read some program for capture video data such as V4L now, I want to capture some video and compress them by some mpga4 algorithm and storage them in USB flash disk, and then I want to see the realtime video on my tuochscreens or transform on the internet. Maybe like a video phone http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif ,Like as I done on ARM9 platform before! We can help each other! Regards! - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by goral@Apr 30 2006, 07:48 AM <div class='quotetop'>quote--- quote end ---
--- quote start ---
hi groal
ok,we can discuss usb port for camera and help each other.
what kind of purposes do you want to implement on de2 board ?
my lab have two 1.3mega pixel digital camera modules for de2 ,and can implement real-time movement detecting . my classmate want to use usb camera that implement the same purpose.
so, do you have interests in real-time movement detecting with using usb camera ? --- Quote End --- Hi : jay_1025 Thanks for your enjoy, I didn't so high Pixel Digital Camera modules, today I buy a 0.3Mega Pixel Digitial Camera which using ov511 IC on a onilne shop, Maybe 2-days later I will do my lab continue, I read some program for capture video data such as V4L now, I want to capture some video and compress them by some mpga4 algorithm and storage them in USB flash disk, and then I want to see the realtime video on my tuochscreens or transform on the internet. Maybe like a video phone http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif ,Like as I done on ARM9 platform before! We can help each other! Regards! <div align='right'><{post_snapback}> (index.php?act=findpost&pid=14864)</div> [/b] --- Quote End --- Just one question : if you have already done this work on an ARM9 platform, why do you want to port this to the NIOS platform ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif
- Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- Just one question : if you have already done this work on an ARM9 platform, why do you want to port this to the NIOS platform ? rolleyes.gif[/b] --- Quote End --- Hi bigboss25: Its a very fun question, my answer is very simple, I'm a student in a college, I want to master more knowledge only! I want to contrast the different platform, now I prefer like nios, Its full of Challenge when I solve some problem, In furture, I think NIOS will have a good chance in many areas, if we can intergate two or more CPU on our FPGA ,lsuch as DSP or other . We'll get the most effective than other singel CPU platform. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by goral@Apr 30 2006, 09:21 AM <div class='quotetop'>quote--- quote end ---
--- quote start ---
just one question : if you have already done this work on an arm9 platform, why do you want to port this to the nios platform ? rolleyes.gif --- Quote End --- Hi bigboss25: Its a very fun question, my answer is very simple, I'm a student in a college, I want to master more knowledge only! I want to contrast the different platform, now I prefer like nios, Its full of Challenge when I solve some problem, In furture, I think NIOS will have a good chance in many areas, if we can intergate two or more CPU on our FPGA ,lsuch as DSP or other . We'll get the most effective than other singel CPU platform. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif <div align='right'><{post_snapback}> (index.php?act=findpost&pid=14866)</div> [/b] --- Quote End --- Hi Goral, you seems to be already a wise man, and I totally agree with you http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif . I've the same point of view but do you think NIOS can compete with ARM9 ? Can you explain your preference for NIOS ? Regards.
- Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- Hi Goral, you seems to be already a wise man, and I totally agree with you biggrin.gif . I've the same point of view but do you think NIOS can compete with ARM9 ? Can you explain your preference for NIOS ? Regards.[/b] --- Quote End --- Hi bigboss25 Thanks for your Praise, http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif Of course I think NIOS must be compete with ARM, but NIOS must be advantage itself in furture. I'm a new man about NIOS and uCliunx, so I want to using NIOS&uClinux to achieve a video phone or other usful thing. If you are interestig NIOS & uCLinux, We can help each other! Could I search help for you when I occur some problem? Regards! - Altera_Forum
Honored Contributor
hi qoral
i have TRDB_DC2 hareware module support the DE2 board, but i don't add TRDB_DC2 hardware to Nios2 cpu in SOPC Builder yet. i don't seems easy to add it with nios2 cpu in SOPC builder. Do you know how to add it with nios2 cpu in SOPC builder ? if you want to try it and i will send hardware project(without nios2 cpu) to you. Reference design website for DE2 trdb_dc2 - 1.3mega pixel digital camera module for de2/trex c1 (http://www.terasic.com.tw/cgi-bin/page/archive.pl?language=english&categoryno=39&no=50) jay - Altera_Forum
Honored Contributor
hi
i tried out the new isp1362-hcd.c changes and uclinux boots up nicely - thx goral and jay_1025! i can see the files on my usb stick now, thx guys! shindou - Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- hi qoral i have TRDB_DC2 hareware module support the DE2 board, but i don't add TRDB_DC2 hardware to Nios2 cpu in SOPC Builder yet. i don't seems easy to add it with nios2 cpu in SOPC builder. Do you know how to add it with nios2 cpu in SOPC builder ? if you want to try it and i will send hardware project(without nios2 cpu) to you. Reference design website for DE2 TRDB_DC2 - 1.3Mega Pixel Digital Camera Module for DE2/TREX C1 jay[/b] --- Quote End --- Hi jay_1025 I'm I dodn't have TRDB_DC2 - 1.3Mega Pixel Digital Camera Module, and I haven't any resource about it. So I couldn't do it now http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif - Altera_Forum
Honored Contributor
I backported the isp1362-hcd.c to Microtronix 2.6.11 kernel from the
isp1362.diff The whole procedure is described on my homepage http://www.8ung.at/nacide_manfred/linuxtutorial.html (http://www.8ung.at/nacide_manfred/linuxtutorial.html)