ts-7000
[Top] [All Lists]

[ts-7000] TS-7300 Linux fast boot: 1.69 seconds!

To:
Subject: [ts-7000] TS-7300 Linux fast boot: 1.69 seconds!
From: "Jesse Off" <>
Date: Fri, 07 Jul 2006 00:48:35 -0000
Okay, we have now gotten the TS-7300 to bootup to a Linux prompt 
1.69 seconds(!) after power-up.  The new SD image is available on 
our FTP site:

ftp://ftp.embeddedARM.com/fastboot-7300-sdcard-7-6-2006.dd.bz2

This should be bunzip2'ed and dd'ed to the "disc" device of the 
SDcard.  It requires at least a 256MB SDcard.  The above includes 
kernel tweaks, initrd tweaks and a few tweaks inside the Debian 
filesystem itself. (part3)  This will completely overwrite the SD 
image on the card so make sure you do the appropriate backups before 
updating.  To use the image on a larger card, just dd to the larger 
card, use fdisk to increase the size of part3 to remaining space 
(taking care to keep the same start sector), and then use 
the "ext2resize" command on that partition.

The new SD image is only part of the fast boot optimizations, as we 
have tweaked the TS-SDBOOT bootup firmware as well.  To update to 
the new TS-SDBOOT, download and run (as root) the following binary 
executable on your TS-7300 board:

ftp://ftp.embeddedARM.com/sdboot-update-7-6-2006

The new SD image will look at the state of jumper 6.  If JP6 is on, 
the full Debian bootup will be bypassed and the system will instead 
drop straight to a shell prompt.  1.69 seconds after power-on the 
serial console prompt is active and 2.41 seconds after power-on the 
video console is displayed.  Video takes a bit longer to start up 
due to the fact that the FPGA must be initialized, a splash screen 
is displayed, and USB keyboard kernel modules must be loaded. To 
initiate a full Debian startup, simply type "exit" at either the 
shell prompt on the serial port or the shell prompt on the VGA 
monitor (using the USB keyboard)

The time it takes for bootup is also displayed right before the SH 
prompt is printed.  On new Rev C CPLD TS-7300's, the CPLD has a 32-
bit counter that starts at 0 at poweron and is used to measure the 
bootup time extremely accurately.  On other boards, the EP9302 
983Khz debug4 timer is used since it starts out as 0 also, but is 
slightly less accurate than the 32-bit 14.7Mhz counter implemented 
in the new CPLD rev.

If you want something other than a shell prompt running as soon as 
possible on bootup, it is possible by editing the /linuxrc2 shell 
script on the initrd.  When you do the fast boot, you are actually 
booting to an initrd with the Debian parts of filesystem mounted 
read-only.  After modifying the /linuxrc2 shell script on the 
initrd, run the "save" command to save the initrd back to the SD 
card, otherwise your changes won't "stick".

//Jesse Off












------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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