minimal nto/photon install

is it possable to get qnx installed such that it would boot nto and execute a photon app in under 72meg? i dont need any system tools or background/shelf componants other than photon and pwm.

if the answer is yes … what is the best way to go about creating an image that could be installed on flashdisk?

would i have to go experimentaly rm’ing files from a standard install until i came up with the smallest possable? or is there a better way of going about this?

thanks…

vince

whare can i find out what the minimal files needed to get photon up and running are? obviously i need Photon and pwm but what other bin and libs are needed?

vince…

Previously, rick@astra.mb.ca wrote in qdn.public.qnxrtp.photon:

vince <> lab-101@usa.net> > wrote:
: is it possable to get qnx installed such that it would boot nto and
: execute a photon app in under 72meg? i dont need any system tools or
: background/shelf componants other than photon and pwm.

The challenge would be getting it done in 2 meg, not 72 (unless the 72 was
a typo). Using the 4.25 demo disk as a model, you can get a lot into 1.4
meg. The problem is photon 2.0 is bigger and not yet optimized as much.

: if the answer is yes … what is the best way to go about creating an
: image that could be installed on flashdisk?

Create a boot image which contains as much as you can get into it - there
are limits based on the hardware and bios you have. Include both a ram
disk and gzip as part of the image and make the rest of your files go into
a compressed archive which you unzip into the ramdisk as part of your boot
image.

: would i have to go experimentaly rm’ing files from a standard install
: until i came up with the smallest possable? or is there a better way
: of going about this?

I would go the other way… Use a floppy and start building only what you
need until the floppy is full. That should make you close to the what you
want. Then you go from there with the flash disk, adding files to the
image until everything is on.

Rick…

Rick Duff Internet: > rick@astra.mb.ca
Astra Network QUICS: rgduff
QNX Consulting and Custom Programming URL: > http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

vince <lab-101@usa.net> wrote:
: is it possable to get qnx installed such that it would boot nto and
: execute a photon app in under 72meg? i dont need any system tools or
: background/shelf componants other than photon and pwm.

The challenge would be getting it done in 2 meg, not 72 (unless the 72 was
a typo). Using the 4.25 demo disk as a model, you can get a lot into 1.4
meg. The problem is photon 2.0 is bigger and not yet optimized as much.

: if the answer is yes … what is the best way to go about creating an
: image that could be installed on flashdisk?

Create a boot image which contains as much as you can get into it - there
are limits based on the hardware and bios you have. Include both a ram
disk and gzip as part of the image and make the rest of your files go into
a compressed archive which you unzip into the ramdisk as part of your boot
image.

: would i have to go experimentaly rm’ing files from a standard install
: until i came up with the smallest possable? or is there a better way
: of going about this?

I would go the other way… Use a floppy and start building only what you
need until the floppy is full. That should make you close to the what you
want. Then you go from there with the flash disk, adding files to the
image until everything is on.

Rick…

Rick Duff Internet: rick@astra.mb.ca
Astra Network QUICS: rgduff
QNX Consulting and Custom Programming URL: http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

vince <lab-101@usa.net> wrote:
: whare can i find out what the minimal files needed to get photon up
: and running are? obviously i need Photon and pwm but what other bin
: and libs are needed?

Run it on your desktop and take a look at what is running using pidin.
Also run pidin with the memory option ‘pidin mem’ and it will show you
what shared objects are in use. This should give you an idea of the
starting set of programs and shared objects.

After that, if you are not sure, don’t include it and if it fails, add it
back. Experiment. That is why I suggested using a floppy as a starting
point. It is easy to make changes and test it out.

Rick…


Rick Duff Internet: rick@astra.mb.ca
Astra Network QUICS: rgduff
QNX Consulting and Custom Programming URL: http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

Previously, vince wrote in qdn.public.qnxrtp.photon:
{ is it possable to get qnx installed such that it would boot nto and execute a {photon app in under 72meg?

hell yes, that is alot of space

{i dont need any system tools or background/shelf componants other {than photon and pwm.
{
{ if the answer is yes … what is the best way to go about creating an image that {could be installed on flashdisk?
{
{ would i have to go experimentaly rm’ing files from a standard install until i came {up with the smallest possable? or is there a better way of going about this?

yeap make a different partition on your harddrive and make you .altboot mount that a root ( / )

see
http://staff.qnx.com/~pford/yumalist.html

that is for QNX 4.25 but the basic idea is the same


{
{ thanks…
{
{ vince
{


Pat Ford email: pford@qnx.com
QNX Software Systems, Ltd. WWW: http://www.qnx.com
(613) 591-0931 (voice) mail: 175 Terence Matthews
(613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8