Michael Schierl <[EMAIL PROTECTED]> writes:

> Eric W. Biederman schrieb:
>> Michael Schierl <[EMAIL PROTECTED]> writes:
>
>> It would be interesting to see what /proc/iomem says.
>
> 00000000-0009fbff : System RAM
> 0009fc00-0009ffff : reserved

Ok.  This explains why valid memory range failed.
It looks like the extended bios data area has reserved
that region.

Although I'm not quite certain why I tried to pick that
address when loading the bzImage.

> 000a0000-000bffff : Video RAM area
> 000c0000-000c7fff : Video ROM
> 000f0000-000fffff : System ROM
> 00100000-07feffff : System RAM
>   00100000-002620e7 : Kernel code
>   002620e8-00320bff : Kernel data
> 07ff0000-07ffefff : ACPI Tables
> 07fff000-07ffffff : ACPI Non-volatile Storage
> f8000000-fbffffff : 0000:00:08.0
> febff000-febfffff : 0000:00:0a.0
>   febff000-febfffff : tulip
> fffc0000-ffffffff : reserved
>
>> Please try my kexec_test binary, and tell me how far it gets.
>> It has a similar purpose to your hello world program.
>
> Does not even compile - if I found the correct one (inside kexec-tools) :(
>
> [EMAIL PROTECTED]:/home/michael/kexec-tools-1.101/kexec_test# make
> Makefile:14: /kexec_test/kexec_test16.d: No such file or directory
> Makefile:14: /kexec_test/kexec_test.d: No such file or directory
> make: *** No rule to make target `kexec_test/kexec_test.S', needed by
>       `/kexec_test/kexec_test.d'.  Stop.

Sorry a make in the top level directory should work.

> BTW: You do not know the purpose of my hello world program. It is to show me 
> how
> I have to modify my own code so that my non-hello-world program (which does 
> not
> do any output) has a chance of working. :)

kexec_test has a similar purpose.
It uses a serial console to track what has been going on.

Eric

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

Reply via email to