On Wed, 21 Oct 2009, eric.robishaw wrote:
> Please forgive the boneheaded question...
>
> I have copied the eraseall utility for the 7800 (and all the other mtd files,
> like mtderase, mtdinfo, etc...) from the TS 7800 site to the lbin directory
> of the fastboot partition.
>
> When I boot, the files are there, but when I attempt to execute I get "not
> found", as if the file doesn't exist.
>
> I'm looking at the silly thing, I'm in the directory it is located in, but
> supposedly it doesn't exist.
> Note, if I copy it w/o setting execute permissions, I get the permission not
> granted error, so the system does indeed see the file.
>
> After setting execute permissions, all I get:
> /bin/sh: eraseall: not found
is the directory they are in, in any of the directories in the PATH
environment variable?
>
>
> N.B.
> If I boot from the TS SD Card instead of my own, I can execute the eraseall
> utility.
>
> Also, this behavior is not limited to eraseall... anything I copy, such as
> 'peek32' has the same effect: not found.
>
> Yes, I've also tried: ./eraseall
> ... still, not found.
>
>
> /lbin # ls -l
> -rwxr-xr-x 1 0 0 961 Aug 26 2008 check-usb-update
> -rwxr-xr-x 1 0 0 684 Aug 26 2008 createmtdboot
> -rwxr-xr-x 1 0 0 1052 Aug 26 2008 createmtdroot
> -rwxr-xr-x 1 0 0 5192 Oct 21 11:52 eraseall
> -rwxr-xr-x 1 0 0 512 Jul 17 2008 flash-mbr.dd
> -rwxr-xr-x 1 0 0 7856 Oct 21 11:55 mtdbad
> -rwxr-xr-x 1 0 0 18744 Oct 21 11:55 mtdcopy
> lrwxrwxrwx 1 0 0 7 Oct 10 2008 mtdcp -> busybox
> -rwxr-xr-x 1 0 0 7992 Oct 21 11:54 mtderase
> -rwxr-xr-x 1 0 0 9428 Oct 21 11:55 mtdinfo
> -rwxr-xr-x 1 0 0 8136 Oct 21 11:55 mtdoob
> -rwxr-xr-x 1 0 0 838 Aug 26 2008 save
> -rwxr-xr-x 1 0 0 718 Oct 15 05:05 save-flash
> -rwxr-xr-x 1 0 0 658 Oct 15 05:05 save-sd
> -rwxr-xr-x 1 0 0 512 Jun 11 2008 sd-mbr.dd
> -rwxr-xr-x 1 1000 100 2381 Oct 21 11:43 tsinitsd
> /lbin # eraseall /dev/mtd3
> /bin/sh: eraseall: not found
> /lbin #
>
>
>
>
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|