ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Can't boot 7250 to Debian on USB drive

To:
Subject: Re: [ts-7000] Re: Can't boot 7250 to Debian on USB drive
From: Jim Jackson <>
Date: Mon, 31 Oct 2011 11:27:35 +0000 (GMT)


On Sun, 30 Oct 2011, Mike Dodd wrote:

> Jim Jackson wrote:
> > 
> > If you are using a stock 2.4 kernel, you will have to load the USB
> > modules (please, not drivers :-). TS have a script to load the
> > relevant modules for usb use - loadUSBModules.sh [*] . So you load
> > the modules, then you plug in the USB, and see what dmesg says to
> > find out which dev entry has been associated with partition on the
> > USB mass storage device etc. Then you mount that partition (prob.
> > /dev/sda1) at a suitable mount point.
> > 
> > The stock kernel is not built with the USB drivers "built-in", hence
> > the need to load them.
> 
> I understand what you're saying, but I'm puzzled by the ARM Linux 72xx 
> manual that says the 7250 can boot directly to Debian USB by including 
> the 'root=/dev/hda1' parameter in fconfig

That sounds like TS used the TS7200 manual as a template and left it in.
On the TS7200, there a Compact flash interface that shows up as /dev/hda 
etc.

> If that statement is true, how do the modules get loaded? Also, that 
> manual says that the USB drive is not hot-pluggable, so I don't 
> understand how you can plug the USB drive after loading the modules. 

The modules are just parts of the kernel that can be loaded dynamically.
Once they are loaded you can plug in USB file systems unplug them replug 
them whatever.

> Actually, I ran loadUSBModules.sh after the USB was plugged, and was 
> then able to see (ls -l) and use (cp xxx /mnt/cf; cat xxx) the drive.

OK I didn't know that. They obviously check what is currently there when 
loading, to sort of catch up.

> SO clearly i can mount and use the drive, but I can't change to Debian 
> with '/usr/bin/loadUSB.sh'. Maybe the Sarge image I untarred to the USB 
> drive is corrupt; I'll download it again and see what happens. As I 
> wrote earlier, I know I '/usr/bin/loadUSB.sh' works on the TS-supplied 
> Debian with the Developer's Kit, and I'm hoping that the Sarge image on 
> their Web site is the same.
> -- 
> Mike
> 
> Mike Dodd
> Louisa County, VA USA
> 
> http://mdodd.com
> 


------------------------------------

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