Changing start address of kernel protected mode image
From: Alexander Simon (al.simon_at_t-online.de)
Date: 03/25/04
- Next message: somez72: "uniq key and primary key how they are diffrent?"
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: DMA controller"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 25 Mar 2004 09:34:27 +0100
I have bought an old Toshiba Laptop with broken RAM onboard.
First memory errors occur at about 2,3M.
When kernel starts, the system reboots after "Ok, now starting", so i
supposed the kernel is uncompressed in that area.
Thus I've been looking at the sources and found that the protected mode
image is uncompressed to 1M.
I changed the address 0x100000 in arch/i386/boot/compressed/misc.c:309,
arch/i386/boot/compressed/head.S:77, arch/i386/vmlinux.lds:9 to 0x200000
for testing.
Now the uncompress routine should uncompress a low loaded kernel to
0x200000 and jump to this address. But it even fails on working RAM. The
System reboots after "Ok, now starting".
I now that i maybe have to patch page tables later when I got the kernel
itself working.
I want to exclude the first 32M with the BadRAM patch cause it is really
*very* broken (even memtest86 crashes).
What did I forget?
Any hints?
Alex
- Next message: somez72: "uniq key and primary key how they are diffrent?"
- Previous message: Jens.Toerring_at_physik.fu-berlin.de: "Re: DMA controller"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|