Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Startup--booting QNX6.2.3: (2 Items)
   
Startup--booting QNX6.2.3  
Hello everyone,

My project is simply stated. I want to create a usb-drive or floppy bootable program using the qnx system that can 
format a compact flash drive and then install qnx 4.25.

Has anyone found the portions of the source that pertain to boot up?

The problems with this procedure are that qnx 4.25 is not natively bootable and other OS's will tend to interpret the 
geometry of a compact flash in a different manner than QNX.

Thanks for any discussion.

RE: Startup--booting QNX6.2.3  
 

> -----Original Message-----
> From: Michael Snook [mailto:mike.snook@gmail.com] 
> Sent: September 17, 2007 3:27 PM
> To: ostech-core_os
> Subject: Startup--booting QNX6.2.3
> 
> Hello everyone,
> 
> My project is simply stated. I want to create a usb-drive or 
> floppy bootable program using the qnx system that can format 
> a compact flash drive and then install qnx 4.25.
> 
> Has anyone found the portions of the source that pertain to boot up?
> 
> The problems with this procedure are that qnx 4.25 is not 
> natively bootable and other OS's will tend to interpret the 
> geometry of a compact flash in a different manner than QNX.
> 
> Thanks for any discussion.

You are looking in the wrong spot .. sort of.  The boot-up sequence
is going to be in the ipl (initial program load) and startup libraries.
It isn't in the kernel itself ... which is just the beneficiary of all
of the hard work that the IPL/startup pieces perform.

Also, this is QNX 6.3.2, not QNX 4.25, so the source is going to be
quite different.  I don't know if you were looking at one as a reference 
to the other, but you won't find that here.

If all you wanted to do was to make a Neutrino OS image that could boot
from USB then run an appropriate configuration tool to format a compact
flash drive to a QNX 4 filesystem and install the QNX 4.25 image (assumed
to be pre-built), then that is not hard at all assuming you have a system
that can boot from USB mass storage devices.

You don't need the source for this, you just need to create a custom image
and slap it on the USB key as a boot image.  In fact you should be able
to even use a FAT32 filesystem with a custom MBR put in by the QNX dinit
or fdisk utility.

Hope this helps,
 Thomas