Re: Kernel executation from ROM

Jaswinder Singh (jaswinder.singh@3disystems.com)
Sun, 18 Feb 2001 20:12:10 -0800


Dear Sirs,

Thanks for your help,

I see . The biggest negative point of running kernel from ROM is that ROM
speed is slow :(

Any how , thanks for your help,

Best Regards,

Jaswinder.

--
These are my opinions not 3Di.

----- Original Message ----- From: "Peter Waltenberg" <peterw@dascom.com.au> To: "Jaswinder Singh" <jaswinder.singh@3disystems.com> Sent: Sunday, February 18, 2001 6:49 PM Subject: RE: Kernel executation from ROM

> > You can laod the kernel from ROM, but it'll need RAM to execute. If you get to > be very good with the linker and loader, you can probably make a large part of > the kernel ROM resident, but it will still need significant amounts of RAM to > be usable. > It's probably easier not to bother and do what everyone else does and copy from > ROM->RAM at startup. > > Peter > > On 19-Feb-2001 Jaswinder Singh wrote: > > Dear Kernel mailing list , > > > > what changes i have to made in kernel so that i can > > run kernel from ROM, means i keep my kernel in ROM > > and i execute my kernel from ROM . > > > > Thanks , > > > > Happy Hacking, > > > > Jaswinder. > > -- > > These are my opinions not 3Di. > ---------------------

----- Original Message ----- From: "Albert D. Cahalan" <acahalan@cs.uml.edu> To: "Jaswinder Singh" <jaswinder.singh@3disystems.com> Sent: Sunday, February 18, 2001 6:57 PM Subject: Re: Kernel executation from ROM

> > what changes i have to made in kernel so that i can > > run kernel from ROM, means i keep my kernel in ROM > > and i execute my kernel from ROM . > > 1. write boot code to copy initialized variables into RAM > 2. adjust the linker script to know about the above > 3. adjust the linker script for other sections too > > For better performance, assuming ROM is slow and costly: > > 1. compress the "__init" code and data; use it in RAM > 2. profile your kernel; put the critical parts in RAM > > If you want the details, take Red Hat's embedded systems > development class. If you have a dozen people, get the class > done at your location and have it modified to fit your needs. > I just took the class; it was pretty good. It is "RHD248". >

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/