Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 Jul 2005 08:12 PM by  liuyoulin@mindray.com.cn
MCF547XEVB (Fire Engine) with USB support.
 8 Replies
Sort:
You are not authorized to post a reply.
Author Messages
narayan_ak
New Member
New Member
Posts:


--
07 Jun 2005 11:09 AM
    Hi folks,
    Has anybody brought up linux BSP of Metrowerks on a Logic Products MCF547X EVB with USB host support.

    I manually turned on the USB HOST (OHCI and EHCI) flags in the config file "defconfig/linux mcf547xevb" file as I could not get "xconfig" to set this up properly.

    When I loaded the image files using colilo, the console freezes after the following
    ....
    host/usb-ohci.c: USB OHCI at membase 0xd0000000, IRQ 69
    host/usb-ohci.c: usb-00:01.0, Philips Semiconductors USB 1.1 Host Controller

    The above was without the EHCI option. It seems that the startup code is failing trying to do something with the Philips USB host chip in the eval board.
    ANy ideas?
    Thanks
    -Narayan
    Anonymous
    Posts:


    --
    13 Jun 2005 02:39 PM
    Hello Narayan,

    Have you contacted Freescale regarding this yet? If not it might be a good idea to ping their support department and see if there are any known issues with the silicon that you're using.

    https://www.freescale.com/webapp/ruhp.login.framework

    Thanks,
    mackila@mackila.com
    New Member
    New Member
    Posts:


    --
    29 Jun 2005 06:33 AM
    Some problem here.

    Maybe you forced usbcore + other usb kernel modules to load.
    But they can't.

    They can not load because they need __ioremap and iounmap kernel symbols.

    Looking into LinuxBSP\linux-2.6.10\arch\m68k\kernel\m68k_ksyms.c gives :

    #if [...] && !defined(CONFIG_COLDFIRE)
    //[...]
    EXPORT_SYMBOL(__ioremap);
    EXPORT_SYMBOL(iounmap);
    //[...]
    #endif /* [...] && !CONFIG_COLDFIRE */


    Why this #if ?

    __ioremap and iounmap are defined in \LinuxBSP\linux-2.6.10\arch\m68k\mm\kmap.c, I don't understand why they are not exported by the kernel...

    I tried moving the two EXPORT_SYMBOL out of #if bloc, but I then had the same problem : freeze after "host/usb-ohci.c: usb-00:01.0, Philips Semiconductors USB 1.1 Host Controller"
    liuyoulin@mindray.com.cn
    New Member
    New Member
    Posts:


    --
    29 Jun 2005 07:27 PM
    I have two boards with different version: REV 203 and REV B
    The USB system I tried is Metrowerks's LinuxBSP with kernel version 2.4.26
    The result is it works well on REV 203 but shows the same problem above on REV B.
    When testing the display controller(SM712GE) driver, the almost same result.
    mackila@mackila.com
    New Member
    New Member
    Posts:


    --
    30 Jun 2005 06:27 AM
    @leo

    Could you explain how you got USB Host Controller working on linux 2.4.26 ? My 2.4.26 linux from Metrowerks does not build when I select USB modules...

    I'm using a REV 203 board.
    narayan_ak
    New Member
    New Member
    Posts:


    --
    30 Jun 2005 06:32 AM
    This is the copy of the e-mail I received from Ron Liechty of Metrowerks
    "
    Hi,

    I suspect that what you are seeing here is that USB is not supported at all in the currently released bsps. We are working on that, but don't have any date.

    We do not support the Non-PCS bsps. That is the equivalent of downloading a kernel from kernel.org.
    You either need to go to http://www.wildrice.com/ColdFire/ for open source help or you may also be able to get some help from LogicPD.

    http://www.logicpd.com/

    Hope this helps,

    Ron

    --
    Ron Liechty (MW Ron)
    Ombudsman, Manager FOCUS team
    ron.liechty@freescale.com
    "
    narayan_ak
    New Member
    New Member
    Posts:


    --
    30 Jun 2005 07:52 AM
    Is Rev203 later than REv B ?
    liuyoulin@mindray.com.cn
    New Member
    New Member
    Posts:


    --
    04 Jul 2005 08:06 PM
    changes to kernel configuration:
    CONFIG_USB=y
    CONFIG_USB_OHCI=y

    kernel startup messages on REV 203:

    ......
    Coldfire DSPI driver is loaded
    Loaded prism54 driver, version 1.2
    usb.c: registered new driver hub
    host/usb-ohci.c: USB OHCI at membase 0xd0000000, IRQ 69
    host/usb-ohci.c: usb-00:01.0, Philips Semiconductors USB 1.1 Host Controller
    usb.c: new USB bus registered, assigned bus number 1
    hub.c: USB hub found
    hub.c: 2 ports detected
    host/usb-ohci.c: USB OHCI at membase 0xd0002000, IRQ 69
    host/usb-ohci.c: usb-00:01.1, Philips Semiconductors USB 1.1 Host Controller (#)
    usb.c: new USB bus registered, assigned bus number 2
    hub.c: USB hub found
    hub.c: 2 ports detected
    hub.c: new USB device 00:01.0-2, assigned address 2
    usb.c: USB device 2 (vend/prod 0xa81/0x101) is not claimed by any active driver.
    usb.c: registered new driver hiddev
    usb.c: registered new driver hid
    input: USB HID v10.01 Keyboard [CHESEN USB Keyboard] on usb1:2.0
    input: USB HID v10.01 Device [CHESEN USB Keyboard] on usb1:2.1
    hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
    hid-core.c: USB HID support drivers
    mice: PS/2 mouse device common for all mice
    ......
    liuyoulin@mindray.com.cn
    New Member
    New Member
    Posts:


    --
    04 Jul 2005 08:12 PM
    Rev 203 is earlier than Rev B
    The difference is the mother board used in the two boards: Rev 203 has a FFE while Rev B has a CFE.
    You are not authorized to post a reply.