ts-7000
[Top] [All Lists]

[ts-7000] Re: some confusions

To:
Subject: [ts-7000] Re: some confusions
From: "Jesse Off" <>
Date: Wed, 18 Oct 2006 00:15:41 -0000
--- In  "chentom60" <> wrote:
>
> Hello, 
> 
> I have some stupid confusions on loading kernel from flash, please 
help 
> me to clarify:
> 
> 1. why 0x00218000 
> Why is this address selected to save kernel in Ram, is there any 
> special reason?

Legacy.  

Its the kernel start address and its hard coded into the kernel 
source.  It basically has to be big enough to not conflict with 
bootloader (RedBoot/eCos) which occupies the lower 2 megabytes of 
address space.

> 
> 2. The subsequent exec -c "console=ttyAM0,115200 
root=/dev/mtdblock1".
> It looks like before kernel is executed, file system is already 
> available, otherwise there should be no /dev/ files. Who made the 
file 
> system before Kernel is running?

This cmdline is passed to the Linux kernel as arguments (so 
called "ATAGs").  The kernel has special code that can parse certain 
names for root= argument before /dev is mounted.  
Actually, /dev/mtdblock1 is not even the real device name -- it 
becomes /dev/mtdblock/1 when the real /dev is mounted.

//Jesse Off




 
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