?Loading and debugging a linux kernel on a walnut board with a BDI2000

Wolfgang Denk wd at denx.de
Wed Jul 4 00:27:32 EST 2001


In message <3B41F1F8.C88E0460 at laposte.net> you wrote:
>
> but the boot sequence fails, the zImage is not extracted
> In arch/ppc/boot/tree/main.c, i put some debug printf, and i have
> "Memcopy Done " instead of "gunzip done"
> What means the condition "if (im[0] == 0x1f && im[1] == 0x8b) " ?

Seems it checks for the magic number which  gzip  inserts  into  it's
compressed files.


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
If you hear an onion ring, answer it.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list