[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] USB & Hotplug



Hi Raul,

Raúl Rodríguez Canales wrote:
[snip]

The OS founds two USB ports, but I don't know if they are the USB peripherals or if one of them is the USB host. Do I need to select the option of Host USB in kernel configuration? In this case I have to add a PCI controller to the MicroBlaze, isn't true?

The Cy7600 driver in uClinux supports host mode only. On the ML40x boards, the device is hardwaired to one host port only, and this is what has been detected by the driver.

It is not necessary to enable PCI - we setup the driver configuration so that is not required.

These ports are added to the hotplug, but I can't find hotplug in /sbin. Where is it?

hotplug is a userspace applciation, that is not included with the petalinux-dist.

To enable it, you will need to add it either as a standalone program in ${PETALINUX}/software/user-apps, or inside software/petalinux-dist/user/hotplug

I expect hotplug is probably a GNU ./configure application - there are several examples of how to integrate such apps into the build process. e.g. petalinux-dist/user/ethtool is one.

You will also need to enable hotplug in the kernel, if you have not already done so.

In /dev doesn't appear /sda1 and I'd like to do mount -t vfat /dev/sda1 for my USB mass storage. How can I include the /dev/sda1 for manual mounting?

In general, see here:
http://developer.petalogix.com/wiki/UserGuide/AdvancedTopics/NewDevices

However in PetaLinux the /dev/sd* nodes should be already created during the "make romfs" phase.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/