How to run uClinux directly from ROM instead of loading it into RAM?

How to run uClinux directly from ROM instead of loading it into RAM?

Post by cuan » Wed, 27 Mar 2002 10:19:05



My system is composed of 68332+2M EPROM+2M RAM. As far as I know, the
most common way of booting linux is to decompress it into RAM and
start to run it from RAM. I wonder if I can compile and link an image
without compression which I could burn it into EPROM and run it
directly from ROM.
 
 
 

How to run uClinux directly from ROM instead of loading it into RAM?

Post by Jonathan Sturge » Thu, 28 Mar 2002 03:18:26



> My system is composed of 68332+2M EPROM+2M RAM. As far as I know, the
> most common way of booting linux is to decompress it into RAM and
> start to run it from RAM. I wonder if I can compile and link an image
> without compression which I could burn it into EPROM and run it
> directly from ROM.

What you're talking about is XIP (execute-in-place), something that I
know little about but maybe others on the list have experience with.  My
understanding is that XIP is usually used for applications, but I guess
it could be used for a kernel, depending on other factors.

One thing to consider is, DRAM should be cheaper than flash or EEPROM,
for example.  So how badly do you need it to run out of permanent
memory?  It might be cheaper (and easier) to increase the DRAM in your
system to accomodate the kernel, rather than solve how to make the
kernel XIP from ROM.

good luck,
Jonathan
jonathan at NOSPAM dot sprintmail dot com

 
 
 

1. How to start directly at the homepage instead of giving the index?

: How can I make the configuration so that when I
: use http://www.example.com/myhome
: so that it gives http://www.example.com/myhome/start.html
: instead of the index of this directory?

: Could someone help me on this subject? Any help would be welcome..

: Onno de Graaff

Simple!

        Just link a file called index.html to start.html.

        $ ln -s start.html index.html

Later,
--

I can't understand why a person will take a year or two to write a novel
  when he can easily buy one for a few dollars.

2. AIX SP2 admin wanted

3. Starting applications directly (instead of getty/login)

4. Dlink DGE-500SX

5. receiving error / bounce msges directly to "from" address instead of relay server.

6. NFS Server problem with NT

7. Load and Run Linux from CD-ROM?

8. Make an Install-CD, Java 1.2 (java 2)

9. Error trying to run uClinux on Motorola M5249C3 eval board

10. Memory required to run uClinux

11. Error in porting a running Http Application to uClinux-2.0.38

12. Loading directly to X

13. Error 0x80 directly after loading..