* [Buildroot] Access usb devices from buildroot
@ 2010-09-12 6:37 Santi López
2010-09-12 11:55 ` Francisco Gonzalez Morell
0 siblings, 1 reply; 3+ messages in thread
From: Santi López @ 2010-09-12 6:37 UTC (permalink / raw)
To: buildroot
Hi!
I have a doubt about the usb devices under buildroot.
I?m working with the last release, the ?2010.08?. I successfully created an
image under the cramfs format.
I?m able to boot with this image using the same kernel that use my host
machine, a complete kernel from the distribution.
I?m using an usb stick. I can boot without any problem.
But I can?t mount this usb stick for see other partitions or another stick
in other usb port.
The /var/log/messages don?t reflect any change when I connect a new usb
stick.
At boot time, the original usb stick is detected as /dev/sda1, but, once in
the console, I can?t mount this unit.
I forget something in the buildroot configuration?
Thanks in advance,
Santi L?pez.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100912/5cb07364/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Access usb devices from buildroot
2010-09-12 6:37 [Buildroot] Access usb devices from buildroot Santi López
@ 2010-09-12 11:55 ` Francisco Gonzalez Morell
2010-09-15 4:22 ` Mitch Davis
0 siblings, 1 reply; 3+ messages in thread
From: Francisco Gonzalez Morell @ 2010-09-12 11:55 UTC (permalink / raw)
To: buildroot
On Domingo 12 Septiembre 2010 08:37:46 Santi L?pez escribi?:
> Hi!
>
>
>
> I have a doubt about the usb devices under buildroot.
>
>
>
> I?m working with the last release, the ?2010.08?. I successfully created an
> image under the cramfs format.
>
> I?m able to boot with this image using the same kernel that use my host
> machine, a complete kernel from the distribution.
>
>
>
> I?m using an usb stick. I can boot without any problem.
>
>
>
> But I can?t mount this usb stick for see other partitions or another stick
> in other usb port.
>
You must enable usb in the kernel. So reconfigure your kernel and check if it
is enabled. Also check that the filesystem you use in the usb is enabled (vfat
or other). Finally use mdev.
This link may be very useful:
http://free-electrons.com/doc/mdev-lab.pdf
Francisco
>
>
> The /var/log/messages don?t reflect any change when I connect a new usb
> stick.
>
>
>
> At boot time, the original usb stick is detected as /dev/sda1, but, once in
> the console, I can?t mount this unit.
>
>
>
> I forget something in the buildroot configuration?
>
>
>
> Thanks in advance,
>
> Santi L?pez.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Access usb devices from buildroot
2010-09-12 11:55 ` Francisco Gonzalez Morell
@ 2010-09-15 4:22 ` Mitch Davis
0 siblings, 0 replies; 3+ messages in thread
From: Mitch Davis @ 2010-09-15 4:22 UTC (permalink / raw)
To: buildroot
On Sun, Sep 12, 2010 at 9:55 PM, Francisco Gonzalez Morell
<gzmorell@gmail.com> wrote:
> On Domingo 12 Septiembre 2010 08:37:46 Santi L?pez escribi?:
>>
>> I have a doubt about the usb devices under buildroot.
>>
>> But I can?t mount this usb stick for see other partitions or another stick
>> in other usb port.
>>
> You must enable usb in the kernel. So reconfigure your kernel and check if it
> is enabled. Also check that the filesystem you use in the usb is enabled (vfat
> or other). Finally use mdev.
> This link may be very useful:
> http://free-electrons.com/doc/mdev-lab.pdf
Might also be useful to compile and run the "lsusb" program on your target.
Packages -> Hardware Handling -> usbutils
Mitch.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-15 4:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-12 6:37 [Buildroot] Access usb devices from buildroot Santi López
2010-09-12 11:55 ` Francisco Gonzalez Morell
2010-09-15 4:22 ` Mitch Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox