Michael Schierl <[EMAIL PROTECTED]> writes:

> Eric W. Biederman schrieb:
>
>> Well reading through the relevant code would probably help, it
>> lists fairly clearly which subset of the kernel format I support.
>
> Now it complains about an
>
> Invalid memory segment 0x9f000 - 0x9ffff
>
> This seems to be created by valid_memory_range returning zero, but to be 
> honest
> I have no idea what is stored in that memory_range array and why kexec thinks 
> I
> want to do anything in this range which is obviously above the 1M barrier. 
> And i
> have no idea who called add_segment and why.

It would be interesting to see what /proc/iomem says.

> If there is any format which can be used more straightforward than bzImage, 
> tell
> me please.

An ELF format image is probably easier, it is at least a general
purpose image with many fewer strange an baroque rules.

The pain is that you need to do your own switch to real mode,
as there is no machine identifier for a 16bit machine.  But that
isn't much code.

Please try my kexec_test binary, and tell me how far it gets.
It has a similar purpose to your hello world program.

Eric
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to