ts-7000
[Top] [All Lists]

Re: [ts-7000] Basic Question - Please excuse me if sounds too easy

To:
Subject: Re: [ts-7000] Basic Question - Please excuse me if sounds too easy
From: Balaji Ravindran <>
Date: Wed, 12 May 2010 20:06:33 -0700


Hi,

Thanks guys, understood now.

Thanks

Balaji R

On Sun, May 9, 2010 at 12:53 PM, Jim Jackson <> wrote:
 



On Sun, 9 May 2010, Balaji Ravindran wrote:

> Hi,
>
> New to TS7200, and I wanted to play with it a bit.
>
> In my TS-7200, I disabled the default boot to ts-linux, and recreated the
> partitions in redboot, think i used fis init -f, something like that, and my
> partitions are all in default mode, and i dont have my ts-linux image in my
> flash, and my flash is clean and pristine.
>
> Now i wanted to load the ts-linux image (zimage-ts11) from my sdram (thereby
> skipping the step of writing the linux image to flash). Idea is to directly
> boot from RAM, thereby saving my flash write cycles.
>
> i did
>
> load -r -b 0x00218000 -h 192.168.0.5 zim1 [Comments: zim1 is my zImage
> name and ip is my tftp server]

There is no flash write penalty if you just load the kernel from the
onboard flash. The load command just copies the code from the flash into
RAM and executes it in RAM.

>
> then did
>
> exec -c ?console=ttyAM0,115200 root=/dev/mtdblock1?
^^^^^^^^^^^^^^^^^^^

This is the root file system in the onboard flash. So files
are on the flash. If you write to a file it writes to the flash.

The flash write problems are ALL to do with where your root filesystem is,
and how it is used. You could create a root file system that was readonly,
with a ramfs file system in RAM for bits you need to write to, or insert a
CFdisk and use that - which is what I do with my ts7200. The kernel image
is on the CFdiak and the root file system - the onboard flash is not
touched (I left it pretty much factory "fresh"). If the cfdisk fails, I
have several backups to create a new one.


>
> thereby booting to my root file system.
>
> Everything came up properly and i got log in prompt.
>
> BUT, i just wanted to confirm that i have not written to the flash address,
> and i'm indeed loading from SDRAM, because after issuing the load command, i
> got this message
>
> "
> load -r -b 0x00218000 -h 192.168.0.5 zim1
> Using default protocol (TFTP)
> Raw file loaded 0x00218000-0x002cc47b, assumed entry at 0x00218000
> "
>
> But my SDRAM address is D000_0000, so am i doing something wrong here.
>
> Is there any other way to boot linux image from SDRAM thereby skipping
> flash, or did i do it correctly?
>
> Thanks
>
> Balaji R
>




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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