Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

help about usb(isp1362)....

I add ISP1362 into the kerne follow this website:

(//something i did different with the website :

1. I did it with de2 board,frist I sclect the "Altera Cyclone Development board support",but I got the same result with "Microtronix Cyclone Development board support",so i think it's no effect.

2. I can't use "de2 "board selected,which only did the "U30(epcs) and U20(cfi flah) and with "The folder contains a system directory and a netlist directory which are empty". so I selectde the "cyclone_2c35".)

I don't know these tow is cause my wrong result.

but in other project without USB ,which I did like this ,I didn't got wrong result, so i think is is not the reason of the wrong result.

)

http://www.8ung.at/nacide_manfred/linuxtut...sp1362usbdriver (http://www.8ung.at/nacide_manfred/linuxtutorial.html#isp1362usbdriver)

compile successfully,but though the terminal,I got this messgae :

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

setup_arch: No persistant network settings signature at 003F0000

Built 1 zonelists

Kernel command line: root=/dev/mtdblock0 ro

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: 6148k/8192k RAM, 0k/0k ROM (1606k kernel code, 318k 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

NIOS serial driver version 0.0

ttyS0 (irq = 2) is a builtin NIOS UART

Serial: JTAG UART driver $Revision: 1.4 $

ttyJ0 at MMIO 0x806810e0 (irq = 0) is a jtag_uart

io scheduler noop registered

io scheduler anticipatory registered

io scheduler deadline registered

io scheduler cfq registered

RAMDISK driver initialized: 8 RAM disks of 4096K size 1024 blocksize

dmfe_probe:eth0, 50000 Khz Nios

<DM9000A> eth0 I/O: 806810f0, VID: 90000a46

ADDR: 00:07:ed:00:00:00

dmfe_probe:eth1, 50000 Khz Nios

scsi_debug_init: out of memory, 1

Microtronix map: Found 1 x16 devices at 0x0 in 8-bit bank

Amd/Fujitsu Extended Query Table at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

cmdlinepart partition parsing not available

RedBoot partition parsing not available

Using Microtronix development partition definition

Creating 2 MTD partitions on "Microtronix map":

0x00200000-0x00400000 : "romfs"

0x00000000-0x00200000 : "loader/kernel"

driver isp1362-hcd, 2006-04-28

datastart=806810d0,dataend=806810d3,adrstart=806810d4,adrend=806810d7,irq=6

ISP1362 Host Controller, irq 6

isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1

chipID=3630

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

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 0 ports detected // this is different with the "right"which is "hub 1-0:1.0:2 ports detdcted.

//then boot stopped like dead, it different with the "right":

..........

driver isp1362-hcd, 2006-04-28

datastart=80900080,dataend=80900083,adrstart=80900084,adrend=80900087,irq=4

ISP1362 Host Controller, irq 4

isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1

chipID=3630

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

usb usb1: Product: ISP1362 Host Controller

usb usb1: Manufacturer: uClinux 2.6.11-uc0 isp1362-hcd

usb usb1: SerialNumber: isp1362-hcd

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected //here is different with the result i goted

Initializing USB Mass Storage driver...

usbcore: registered new driver usb-storage

USB Mass Storage support registered.

usbcore: registered new driver hiddev

usbcore: registered new driver usbhid

/cygdrive/d/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.

kernel_1.4.0/linux-2.6.x/drivers/usb/input/hid-core.c: v2.0:USB HID core driver

...

// i don&#39;t know what&#39;s wrong with it ,who could help me solve this problem.thanks!!

thanks!!!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by lameck@Aug 19 2006, 09:50 AM

    i add isp1362 into the kerne follow this website:

    (//something I did different with the website :[/b]

    1. I did it with de2 board,frist I sclect the "Altera Cyclone Development board support",but I got the same result with "Microtronix Cyclone Development board support",so i think it&#39;s no effect.

    2. I can&#39;t use "de2 "board selected,which only did the "U30(epcs) and U20(cfi flah) and with "The folder contains a system directory and a netlist directory which are empty". so I selectde the "cyclone_2c35".)

    I don&#39;t know these tow is cause my wrong result.

    but in other project without USB ,which I did like this ,I didn&#39;t got wrong result, so i think is is not the reason of the wrong result.

    )

    http://www.8ung.at/nacide_manfred/linuxtut...sp1362usbdriver (http://www.8ung.at/nacide_manfred/linuxtutorial.html#isp1362usbdriver)

    compile successfully,but though the terminal,I got this messgae :

    uClinux/Nios II

    Altera Nios II support © 2004 Microtronix Datacom Ltd.

    setup_arch: No persistant network settings signature at 003F0000

    Built 1 zonelists

    Kernel command line: root=/dev/mtdblock0 ro

    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: 6148k/8192k RAM, 0k/0k ROM (1606k kernel code, 318k 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

    NIOS serial driver version 0.0

    ttyS0 (irq = 2) is a builtin NIOS UART

    Serial: JTAG UART driver $Revision: 1.4 $

    ttyJ0 at MMIO 0x806810e0 (irq = 0) is a jtag_uart

    io scheduler noop registered

    io scheduler anticipatory registered

    io scheduler deadline registered

    io scheduler cfq registered

    RAMDISK driver initialized: 8 RAM disks of 4096K size 1024 blocksize

    dmfe_probe:eth0, 50000 Khz Nios

    <DM9000A> eth0 I/O: 806810f0, VID: 90000a46

    ADDR: 00:07:ed:00:00:00

    dmfe_probe:eth1, 50000 Khz Nios

    scsi_debug_init: out of memory, 1

    Microtronix map: Found 1 x16 devices at 0x0 in 8-bit bank

    Amd/Fujitsu Extended Query Table at 0x0040

    number of CFI chips: 1

    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

    cmdlinepart partition parsing not available

    RedBoot partition parsing not available

    Using Microtronix development partition definition

    Creating 2 MTD partitions on "Microtronix map":

    0x00200000-0x00400000 : "romfs"

    0x00000000-0x00200000 : "loader/kernel"

    driver isp1362-hcd, 2006-04-28

    datastart=806810d0,dataend=806810d3,adrstart=806810d4,adrend=806810d7,irq=6

    ISP1362 Host Controller, irq 6

    isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1

    chipID=3630

    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

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 0 ports detected // this is different with the "right"which is "hub 1-0:1.0:2 ports detdcted.

    //then boot stopped like dead, it different with the "right":

    ..........

    driver isp1362-hcd, 2006-04-28

    datastart=80900080,dataend=80900083,adrstart=80900084,adrend=80900087,irq=4

    ISP1362 Host Controller, irq 4

    isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1

    chipID=3630

    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

    usb usb1: Product: ISP1362 Host Controller

    usb usb1: Manufacturer: uClinux 2.6.11-uc0 isp1362-hcd

    usb usb1: SerialNumber: isp1362-hcd

    hub 1-0:1.0: USB hub found

    hub 1-0:1.0: 2 ports detected //here is different with the result i goted

    Initializing USB Mass Storage driver...

    usbcore: registered new driver usb-storage

    USB Mass Storage support registered.

    usbcore: registered new driver hiddev

    usbcore: registered new driver usbhid

    /cygdrive/d/altera/kits/nios2_51/bin/eclipse/plugins/com.microtronix.nios2linux.

    kernel_1.4.0/linux-2.6.x/drivers/usb/input/hid-core.c: v2.0:USB HID core driver

    ...

    // i don&#39;t know what&#39;s wrong with it ,who could help me solve this problem.thanks!!

    thanks!!!

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=17714)

    --- Quote End ---

    [/b]

    --- Quote End ---