Forum Discussion
Altera_Forum
Honored Contributor
20 years agoIRQ mapping in SOPC builder
I fixed up the device address (na_usb - to the address assigned to ISP1362 in SOPC builder) and irq (na_usb_irq - IRQ 4 when viewed in SOPC builder) and corrected the chip id so linux recognizes the ...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@Mar 29 2006, 09:17 PM after some searching on web, i found this about isp1362 linux stack,
http://www.semiconductors.philips.com/acro...s/um10012_2.pdf (http://www.semiconductors.philips.com/acrobat/usermanuals/um10012_2.pdf)
there is isp1362_linux_sw_stack.tar.gz
http://www.semiconductors.philips.com/prod...ducts/download/ (http://www.semiconductors.philips.com/products/connectivity/usb/products/download/)
email authorization
software marked "email authorization required" needs prior approval from philips marketing for download.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13910)
--- quote end ---
--- Quote End --- Thanks hippo! while looking for guides about porting over drivers, i found this for the 2.6.x distribution http://blackfin.uclinux.org/plugins/scmcvs...root=uclinux533 (http://blackfin.uclinux.org/plugins/scmcvs/cvsweb.php/uclinux-dist/linux-2.6.x/drivers/usb/host/?cvsroot=uclinux533) not sure if any changes need to be made since the hardware is different from blackfin? (in the header files) i've tried plugging in a usb flash drive but nothing happens after trying: uClinux/Nios II Altera Nios II support © 2004 Microtronix Datacom Ltd. 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: 6528k/8192k RAM, 0k/0k ROM (1090k kernel code, 460k data) 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 Bluetooth: Core ver 2.7 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized devfs: 2004-01-31 Richard Gooch ([email protected]) devfs: boot_options: 0x1 Serial: JTAG UART driver $Revision: 1.4 $ ttyJ0 at MMIO 0x81004000 (irq = 0) is a jtag_uart io scheduler noop registered io scheduler deadline registered Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. Freeing unused kernel memory: 352k freed (0x120000 - 0x177000) init started: BusyBox v1.1.1-pre0 (2006.03.06-00:20+0000) multi-call binary BusyBox v1.1.1-pre0 (2006.03.06-00:20+0000) Built-in shell (msh) Enter 'help' for a list of built-in commands. # cd proc# more mounts rootfs / rootfs rw 0 0 /proc /proc proc rw,nodiratime 0 0 sysfs /sys sysfs rw 0 0 none /proc/bus/usb usbfs rw 0 0# mount -t vfat /dev/hda1 /mnt mount: Mounting /dev/hda1 on /mnt failed: No such device or address# mount -t vfat /dev/hda /mnt mount: Mounting /dev/hda on /mnt failed: No such device or address am i using the wrong mount command? <div class='quotetop'>QUOTE </div> --- Quote Start --- 1. in root fs, you need some scsi dev nodes, eg sda, sda1... to use mass storage dev you need usbfs, too. I have setup them in the post of buildroot guide, so they are ready. 2. in kernel menuconfig, turn on file system support, eg, vfat and native lang codepage 437 turn on scsi device, scsi disk turn on host-side usb, usb dev fs, your hcd, usb device eg mass storage.[/b] --- Quote End --- for 1. do i need to do anything else for sda and sda1? - usbfs seems to be registered for 2. i've enabled all of those options. sorry about the huge post but thx in advance!