ts-7000
[Top] [All Lists]

[ts-7000] Re: Dual boot?

To:
Subject: [ts-7000] Re: Dual boot?
From: "bsmuck2000" <>
Date: Sat, 04 Nov 2006 23:01:26 -0000
I've been needing dual boot for a long time.  Redbook really lacks in
that regard.  That said, I've taken several approaches.

1) Jim's idea is a great one.  I've used expect scripts in to connect
to Redboot via the serial port using minicom to do conditional booting
for a long time.  No reason I can see that it wouldn't work using
telnet as well.

2) Another approach that I've used in the past, that does not require
a network connected computer is to save several Redboot configuration
images to files on the flash file system.  Set up a particular Redboot
configuration using fconfig.  Then using nanddump, create a file image
to be restored selectively later.  To restore a particular redboot
configuration, use nandwrite (I think it's called) from userspace. 
You also have to use mtd_debug to erase the whole 16K block, so make
sure the image file is the whole 16k block as well.
Following are the relevant lines from a writerbconfig script file I
used for some time.

mtd_debug erase /dev/mtd/2 3096576 16384
nandwrite -s 3096576 /dev/mtd/2 $1

(Please use with caution and verify addresses carefully.  This was
used with a ts7260.)

The one problem about using method 2 in a production environment is
that the MAC address is stored in the Redboot config, so a config
image from one unit should not be used in another ts72xx unit.  

3)  Another method would be change the default Redboot script to boot
to an initial ramdisk, which allows ultimate flexibility by setting up
some boot conditions in the linuxrc.  Take a look at the initrd for
the 7400 or for the fastboot 7300.  This can be used on a production
machine.  







 
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