Question about PPC code

We have downloaded QNX-RTP, and are expecting to produce code to run on an
MPC823. We ordered licenses, but got QNX-4 tools. How do we go about using
modern Neutrino on the PPC? It’s shown to be supported, but I’m at a loss
for where to get cross-compiler tools and IPL code from.

Thanks!

PPC code for Neutrino can be generated from either Windows, QNX4 or
Solaris. You need to buy one of those cross-development environments.
Solaris is in beta, others are released but Windows version currently
ships with obsolete Neutrino runtime some you want to enroll in beta
anyway.

Last time I heard, next major release of RTP will contain
cross-development system for all available Neutrino targets (x86, PPC,
MIPS, SH4, ARM).

  • Igor

Kees Cook wrote:

We have downloaded QNX-RTP, and are expecting to produce code to run on an
MPC823. We ordered licenses, but got QNX-4 tools. How do we go about using
modern Neutrino on the PPC? It’s shown to be supported, but I’m at a loss
for where to get cross-compiler tools and IPL code from.

Thanks!

Okay, now I’m confused. My understanding was that QNX4 doesn’t have full
threads, resource manager, etc. How do I build an app that uses the RTP
threads libraries using QNX4?

And also, what about Photon libraries?

“Igor Kovalenko” <Igor.Kovalenko@motorola.com> wrote in message
news:3AC371A8.8E4D53A8@motorola.com

PPC code for Neutrino can be generated from either Windows, QNX4 or
Solaris. You need to buy one of those cross-development environments.
Solaris is in beta, others are released but Windows version currently
ships with obsolete Neutrino runtime some you want to enroll in beta
anyway.

Last time I heard, next major release of RTP will contain
cross-development system for all available Neutrino targets (x86, PPC,
MIPS, SH4, ARM).

  • Igor

Kees Cook wrote:

We have downloaded QNX-RTP, and are expecting to produce code to run on
an
MPC823. We ordered licenses, but got QNX-4 tools. How do we go about
using
modern Neutrino on the PPC? It’s shown to be supported, but I’m at a
loss
for where to get cross-compiler tools and IPL code from.

Thanks!

Kees Cook wrote:

Okay, now I’m confused. My understanding was that QNX4 doesn’t have full
threads, resource manager, etc. How do I build an app that uses the RTP
threads libraries using QNX4?

You sure sound like you never used cross-environment before. You use
QNX4/Windows/Solaris to compile and link executable intended to run on
Neutrino. You don’t need threads or anything very fancy to compile and
link. All you need is compiler and linker supporting target architecture
plus set of headers and libraries for target architecture. Resulting
executables will NOT even run on QNX4/Windows/Solaris, they are for
Neutrino. You somehow move it onto your target and run it there.

All those cross-systems also contain ‘target runtime’ which is
collection of executable, libraries and other essential parts also
intended to run on target. There’s also set of tools which allows you
to manipulate them (build bootable images, IPL, startups, etc).
Typically you export most of ‘runtime’ files through NFS or CIFS and
build bootable image which contains just enough stuff to boot up the
target (using BOOTP or TFTP) and mount those exported goodies through
network. For production systems you then switch to booting from flash
and put all required stuff there.

Of course all cross-systems also have remote debugging capabilities.
That is, debugger running on host plus a ‘remote debug agent’ running on
target.

  • igor

And also, what about Photon libraries?

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3AC371A8.8E4D53A8@motorola.com> …
PPC code for Neutrino can be generated from either Windows, QNX4 or
Solaris. You need to buy one of those cross-development environments.
Solaris is in beta, others are released but Windows version currently
ships with obsolete Neutrino runtime some you want to enroll in beta
anyway.

Last time I heard, next major release of RTP will contain
cross-development system for all available Neutrino targets (x86, PPC,
MIPS, SH4, ARM).

  • Igor

Kees Cook wrote:

We have downloaded QNX-RTP, and are expecting to produce code to run on
an
MPC823. We ordered licenses, but got QNX-4 tools. How do we go about
using
modern Neutrino on the PPC? It’s shown to be supported, but I’m at a
loss
for where to get cross-compiler tools and IPL code from.

Thanks!

“Igor Kovalenko” <Igor.Kovalenko@motorola.com> wrote in message
news:3AC376AD.38CF3938@motorola.com

You sure sound like you never used cross-environment before. You use
QNX4/Windows/Solaris to compile and link executable intended to run on
Neutrino. You don’t need threads or anything very fancy to compile and
link. All you need is compiler and linker supporting target architecture
plus set of headers and libraries for target architecture. Resulting
executables will NOT even run on QNX4/Windows/Solaris, they are for
Neutrino. You somehow move it onto your target and run it there.

Only cross-compiling I’ve done before was for a Palm Pilot. :slight_smile: I’m
familiar with device-level programming, but only on x86.

My misunderstanding here, I think, is not understanding the differences
between
Neutrino, QNX4, and QNX-RTP. QNX4 doesn’t use Neutrino itself, but the CDs
I have contain Neutrino ppc libraries/headers. Is that correct?

Thanks for your help!

Kees Cook wrote:

“Igor Kovalenko” <> Igor.Kovalenko@motorola.com> > wrote in message
news:> 3AC376AD.38CF3938@motorola.com> …
You sure sound like you never used cross-environment before. You use
QNX4/Windows/Solaris to compile and link executable intended to run on
Neutrino. You don’t need threads or anything very fancy to compile and
link. All you need is compiler and linker supporting target architecture
plus set of headers and libraries for target architecture. Resulting
executables will NOT even run on QNX4/Windows/Solaris, they are for
Neutrino. You somehow move it onto your target and run it there.

Only cross-compiling I’ve done before was for a Palm Pilot. > :slight_smile: > I’m
familiar with device-level programming, but only on x86.

My misunderstanding here, I think, is not understanding the differences
between
Neutrino, QNX4, and QNX-RTP. QNX4 doesn’t use Neutrino itself, but the CDs
I have contain Neutrino ppc libraries/headers. Is that correct?

Yes, because they are needed by cross-development system.

Neutrino = RTP - self-hosted-development-tools +
non-x86-runtime-components - Photon2.0
RTP = Neutrino - non-x86-runtime-components +
self-hosted-development-tools + Photon2.0

The plan is, x86 version (RTP) as most popular will eventually serve as
cross-environment for all other versions. But RTP itself so far is too
young so it serves only itself, meanwhile cross-environments are
supplied for more mature systems which many potential customers already
have.

QNX4 is totally different OS. The CD they ship always contains all
products they offer but what you can install depends on what licenses
you got. So, the CD contains cross-development system for Neutrino.

  • Igor