Ronald G Minnich wrote:
There's no current standard way to communicate memory size info from linuxbios boot code to the kernel. My kernel was dying because of a hard-coded size in arch/i386/kernel/setup.c:
ALT_MEM_K = 254*1024;
The quick fix for now:
ALT_MEM_K = 62*1024;
I was about to test this when my flash ram stopped programming, I am now waiting on an order for more.
Try it on your version.
We need a standard way to get PARAM to the kernel, now that the BIOS is no longer there to do it. The 0x90000 PARAM won't work, since that set of locations is managed in code we don't even run (from arch/i386/boot). Ideas welcome.
Can you steal code from LILO to patch the in-core kernel image with values it needs?
Right now the Linux kernel depends on a memory map read from BIOS. One solution -- which I think should belong in the official kernel -- might be to create our own memory map, and then pass the physical address of that map into the kernel image.
Jeff