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.
>
> Tom
>
>
>
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/
|