[ELDK] Not able to mount USB stick on ELDK 4.2 compiled filesystem

Ratheendran R ratheendran.s at gmail.com
Wed Aug 11 14:58:22 CEST 2010


Thanks for your reply.


On Wed, Aug 11, 2010 at 5:56 PM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Ratheendran R,
>
> In message <AANLkTim+f+VfbQEaW-oEmQy1wiLS3YyXAgWJp2VikLfN at mail.gmail.com<AANLkTim%2Bf%2BVfbQEaW-oEmQy1wiLS3YyXAgWJp2VikLfN at mail.gmail.com>>
> you wrote:
> >
> > STEP1
> > I downloaded from the link below.
> > 1. Download arm-2008-11-24.iso from your site "
> > http://ftp.denx.de/pub/eldk/4.2/arm-linux-x86/iso/" site
>
> Did you also INSTALL the ELDK?  Without doing this first, you cannot
> really use it.
>
> Yes I have Installed the tool chain and successful compiled and run
application.



> > STEP2
> > I updated my file-system with tool-chain library and cross-compiled
> busybox.
> > 1.Building the Root file system
> > untar the root_qtopia.tar.gz which is available on CD.
>
> on CD? Which CD?  This is certainly not part of the ELDK distribution
> media.
>
> Sorry for not make this clear in my first mail.
root_qtopia.tar.gz is the file given by the Board manufacturer with
precompiled busybox and libraries.



> > cd root_qtopia
> > rm bin sbin lib usr -rf
>
> Be careful. It is good old tradition that command line options
> _preceed_ any file arguments. Some commands may accept this (the "rm"
> from the GNU coreutils package does), but others may not.
>
> > cp /opt/ELDK/arm/lib . rf
>
> I guess this raised an errro?
>
>
> > STEP3
> > 2. cross compiled BusyBox with this toolchain and copied the following
> > folders to rootfs_qtopia.
>
> Why did you not use the existing BusyBox binaries that come with the
> ELDK?
>
> I wanted a selected commands so tried cross-compiling from source.


> > cp <path to BusyBox Install>/{bin,sbin,usr}    root_qtopia/     -rf
>
> You might want to look into the root file system builder, rfsb. See
> here:  http://git.denx.de/?p=rfsb.git
>
> > ISSUE is here-->
> > Now when I try to mount the USB to file system,I get the below message.
> >      mount /dev/sda1 /media/
> >      mount: mounting /dev/sda1 on /media/ failed: No such file or
> directory.
> >
> >
> > Kindly let me know on how to fix this issue.
>
> Well, isn't the error message clear enough? Does the mount point
> /media/ exist in your file system?
>
> "/media" mount point exist in my system.




Thanks and Regards,
Ratheendran





>
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Man did not weave the web of life; he  is  merely  a  strand  in  it.
> Whatever he does to the web, he does to himself.     - Seattle [1854]
>


More information about the eldk mailing list