ts-7000
[Top] [All Lists]

[ts-7000] TS-7260: boot to USB - can't mount flash

To:
Subject: [ts-7000] TS-7260: boot to USB - can't mount flash
From: "alexanchoragealaska" <>
Date: Tue, 12 Feb 2008 03:11:42 -0000
Hi,

I was using Cygwin and cross-tool to develop application for TS-7260.
 I got to the point were I need to use more Linux tools than are
available in Cygwin .  I was able to load Debian to the TS-7260 from
USB flash. 

What I am trying to figure out now is how to access the application
that I had on TS-7260 RAM?  I can see my application if I am logged in
from different PC through telnet, but I can't find the applcation
using Debian command prompt on TS-7260.  
Originally I though that I need to mount the "old" root directory, so
I tried to use "mount /dev/mtdblock/1 /mnt", but I am getting error
"mount ... already mounted or /mnt busy".  

So, my question is: how can I access TS-7260 old "root" directory
after I boot to TS-7260 from USB Flash?

- Alex

--- In  "Andy Mercier" <> wrote:
>
> --- In  "alexanchoragealaska" <alex@> wrote:
> >
> > OK, I tried several different things, and I got quite confused.  I
> > will appreciate help with any questions listed below.
> 
> It can be confusing because there are just enough transitions between
> levels of capability to make it hard to tell where you are. You're
> doing pretty good, working towards a better understanding, from what I
> can tell with "1)" below:
> > 1) As Andy suggested, I boot TS-7260 into Debian Linux following 
> > instructions from "Linux for Arm On TS-72xx" and USB flash that came
> > with TS-Arm Development kit .  In other words, I boot TS-7260 with
> > TS-Linux, and then ran scripts: /usr/bin/loadUSBModules.sh  and
> > /usr/bin/loadUSB.sh.  I assume that I am running Debian OS now.
> I agree that it ought to be running Debian - let's look around a bit
> to see if it is. What is the output of this command?: 
> cat /etc/debian_version
> 
> Mine says:
> 3.1 Sarge
> 
> If you type busybox on the command line is there a response from
busybox?
> 
> Pretty much the same test as the one, above, for Busybox.... what
> happens when you type /bin/bash? [Since you'll need /bin/bash for ldd
> to work.]
> 
> IIRC, Busybox is usually gone from the path if the "pivot_root" to
> Debian is successful (pivot_root is supposed to be executed by
> /usr/bin/loadUSB.sh).
> 
> > I tried to use ldd command, but I am still getting "-sh: ldd: not
> > found"
> > error.  (I also tried to configure network settings, but there is no
> > /etc/network/ directory available). Does it mean that I don't have
> > full version of Debian installed?
> Since you have no /etc/network directory it sure doesn't seem like the
> script has pivoted root.
> > (I am using COM1 for > > communication,
> >  when I type in uname -arv, I am getting response Linux ts-7200
> > 2.4.26-t11 ....) How can I install full Debian  Linux on TS-7260 to
> > be able to use native compilers and the rest of tools?
> You won't be doing an "install" as long as USB flash drive is properly
> loaded and will pivot_root. If it is not working you may need to get
> the USB flash drive reloaded and that's easiest from a Linux
> installation on an x86 Linux install since you'll need "dd".
> 
> ----
> Andy
>




 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU