
That snippet of code I sent was from an older (PPCBoot-1.2.0) tree. It was simply meant to illustrate the mechanics of the process and how to parse the image. It's been a while since I looked at it! I wasn't aware that native support was already there! Good stuff!!! 8-)
-Chris
-----Original Message----- From: jds [mailto:jds-ppc@opqua.com] Sent: Monday, May 19, 2003 8:27 PM To: clh@net1plus.com Cc: u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] QNX
chris,
last spring i had DENX/wolfgang work directly with the QNX folks-- the result was native ppcboot/u-boot support for QNX ELF images...
=> tftp 800000 sandpoint-simple.elf <...tftp messages snipped...> => bootelf 800000 Loading @ 0x001f0100 (1120028 bytes) ## Starting application at 0x001f1d28 ...
Loading QNX6....
Header size=0x0000009c, Total Size=0x000005c0, #Cpu=1, Type=1 <...loader and kernel messages snipped...>
Welcome to Neutrino on the Sandpoint #
jim
-- Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. - Antoine de Saint-Exupery
This is a hack on top of a hack, which is why I never
checked it in, but
it works. See do_bootqnx() for details.
E-mail me directly with any questions. Maybe we can clean it up enough to include it in the official source tree! :)