o.k. , here is the full description:

the platform is compaq-ipaq (pda)
it has 32M flash and 64M ram

it comes with windows ce installed on it,
windows ce does not write to flash but keeps everything on a ramdisk
which is not erased by reset. the ram has allways power by battary.

i have installed linux on it, i want linux also to be able to have a
ramdisk which will not be erased by boot.

if i use a regular ramdisk, i will not be able to do so as the kernel
will not give the same pages all the time ...

so what i wanted to do, is to make the kernel ignore some of the memory
( so it will not be initialized nor used by the system) and have a
ramdisk which will give access to that memory.

currently i'm testing it on a pc with 512M ram.

one can not access physical memory, only virtual memory.

the linux kernel, by default, maps all physical memory to virtual one.
the problem is that if i tell it to use less memory, via mem=... i get
the rest of the physical memory not mapped to virtual adresses.

one solution is to let the ramdisk map the physical to virtual, but i do
not know how to do that ...

any other ideas ?




On Mon, 2002-01-21 at 15:05, Nadav Har'El wrote:
> On Mon, Jan 21, 2002, Erez Doron wrote about "Re: kernel mem use":
> > i do not have any permanant medium, i only have a small flash area, and a lot of 
>ram, i
> > also do not want to write to the flash !
> 
> Then by what kind of magic do you expect the memory contents to be preserved
> across boot? Are you sure memory isn't cleared by the boot process (either by
> power being stopped, or by the bios memory check, or who knows what)?
> 
> Not to mention that after a hard reboot (power off and then back on) you'll
> certainly lose the content of the memory.
> 
> -- 
> Nadav Har'El                        |       Monday, Jan 21 2002, 8 Shevat 5762
> [EMAIL PROTECTED]             |-----------------------------------------
> Phone: +972-53-245868, ICQ 13349191 |From the Linux getopt(3) manpage: "BUGS:
> http://nadav.harel.org.il           |This manpage is confusing."


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to