From: Stuart M. <stu...@st...> - 2002-07-02 12:40:02
|
On Tue, 2 Jul 2002 09:22:52 +0100 mks...@ya... wrote: > Dear all, > > I have downloaded the SH IPL+g and the kernel to the > Flash ROM of my Hitachi SH3 7727F processor based > board having 2MB SDRAM and 4MB Flash ROM > I am getting responses in my Tera Term Pro serial port > emulator.But i dont know how to pass control from sh > ipl+g to the compressed kernel. > > I have read the LinuxSH FAQ.But i have some specific > doubts. > 1) How to pass the control from SH IPL+g to the > compressed kernel? > I know that in sh ipl+g "1" and "2" commands can be > used to jump > to predefined locations (CONFIG_BOOT_LOADER1, > CONFIG_BOOT_LOADER2) . > Is it okay that i put the compressed kernel in any of > the above location? Yes. That's what its designed for. > 2) whether SH IPL+g will decompress the kernel and > transfer to RAM? No. The compressed kernel has its own decompression loader at the beginning, which decompresses the code from ROM into RAM. So when you tell sh-ipl to jump to the 'compressed kernel', you are actually jumping to the decompression code (which is obviously not compressed!). > 3) Where comes the role of file system? Do we need a > file system for porting linux to a development board? Yes. You need a root file system for the kernel to load the application code from. This can be on any media though, NFS, hard drive, or Flash. > Could any please share some ideas in the matter,i will > be very thankful No problem > Regards, > Manoj K.S Stuart |