Re: Conserving memory for an embedded application

Ralf Baechle (ralf@linux-mips.org)
Wed, 25 Sep 2002 02:52:38 +0200


On Wed, Sep 25, 2002 at 12:53:16AM -0400, Michael D. Crawford wrote:

> on. An important concern is to minimize the amount of ROM and flash ram that
> the device has, both to save manufacturing cost and to minimize power consumption.
>
> One question I have is whether it is possible to burn an uncompressed image of
> the kernel into flash, and then boot the kernel in-place, so that it is not
> copied to RAM when it runs. Of course the kernel would need RAM for its data
> structures and user programs, but it would seem to me I should be able to run
> the kernel without making a RAM copy.

Flash is much slower than normal memory so if you want any performance
beyond the level of Eniac I suggest to copy it to RAM ...

> don't think the user program would be very large.
>
> Also, what is the minimum amount of physical ram that you think I can get any
> version of the kernel later than 2.0 or so to run in? I heard somewhere that
> someone can boot an x86 system with as little as 2MB of RAM. Is that the case?

That's rather old kernels and also heavily hacked.

Ralf
-
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/