ts-7000
[Top] [All Lists]

[ts-7000] Re: some confusions

To:
Subject: [ts-7000] Re: some confusions
From: "chentom60" <>
Date: Wed, 18 Oct 2006 23:15:12 -0000
Thanks a lot! I understand a lot now. But one thing I want to
ask Jesse Off. In his reply:
"/dev/mtdblock1 is not even the real device name -- it
becomes /dev/mtdblock/1 when the real /dev is mounted.
"

Is it a special mapping for TS-Linux kernel only or all other 
embedded Linux distributions do the same translation? Has that board 
design company changed kernel so that it can know "/dev/mtdblock1" is 
actually "/dev/mtdblock/1" after mounted? If i want to boot from CP 
or USB or something external, which device under /dev/ directory 
should I use? 

Tom

--- In   wrote:
>
> Quoting chentom60 <>:
> 
> > 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?
> 
> The firmware has to know where the image is in RAM, since the
> exec command doesn't take an address parameter, it either has to
> be hard-coded or specified via a firmware variable.
> 
> >
> > 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?
> 
> Obviously the kernel can't reference /dev on a filesystem until
> the filesystem is mounted.  This implies the kernel has to have some
> built-in knowledge about certain /dev devices for root mount 
purposes.
> Hint:  look for /dev/mtdblock1 on the mounted root filesystem,
>         you won't find it
> Also, think about /dev/nfs for an NFS mounted root filesystem, again
> the kernel has to have built-in knowledge about certain device 
files.




 
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