From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francisco Gonzalez Morell Date: Sun, 12 Sep 2010 13:55:54 +0200 Subject: [Buildroot] Access usb devices from buildroot In-Reply-To: References: Message-ID: <201009121355.55893.gzmorell@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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.