this is getting really annoying … ive been tring to embed qnx on a
compact flash card for 2 weeks now with absolutly no sucess.
i suspect it can’t be done but just incase im missing somthing,
here’s what ive done…
fdisk /dev/hd1 add qnx all
fdisk /dev/hd1 boot qnx
fdisk /dev/hd1 loader
dinit -f /boot/fs/qnxbase.ifs -h /dev/hd1t77
cd /fs/qnx-hd1
mkdir boot
cd boot mkdir fs
cd fs
cp /boot/fs/qnxbase.qfs .
touch /fs/qnx-hd1/.diskboot
and then i reboot
when it is done post it seeks the floppy and locks up…
nothing i have tried had made any difference . it just dies every
time…
is qnx compatible with compact flash or am i trying to do somthing
that is impossable??
this is getting really annoying … ive been tring to embed qnx on a
compact flash card for 2 weeks now with absolutly no sucess.
i suspect it can’t be done but just incase im missing somthing,
here’s what ive done…
I had the same problem. We have a QNX support contract, so I contacted
my local tech support. He seemed to be already aware of the problem (in
the RTP boot loader, I think), and sent me a QNX4 boot disk I could use
fdisk and dinit from to make the flash drive bootable. He didn’t know when
this would be fixed in RTP.
I think it would be helpful if QNX acknowledged this problem.
this is getting really annoying … ive been tring to embed qnx on a
compact flash card for 2 weeks now with absolutly no sucess.
i suspect it can’t be done but just incase im missing somthing,
here’s what ive done…
I had the same problem. We have a QNX support contract, so I contacted
my local tech support. He seemed to be already aware of the problem (in
the RTP boot loader, I think), and sent me a QNX4 boot disk I could use
fdisk and dinit from to make the flash drive bootable. He didn’t know when
this would be fixed in RTP.
I think it would be helpful if QNX acknowledged this problem.
Cheers
Philip Brown
hmmm… an embedded o/s that you can’t embed… that’s useful… i
would call that a LARGE bug… i am so annoyed by this… Ive Spent 3
months developing my app and now that im down to the last two weeks of
my project and only one task left i cant embed the stuped thing…
arrgghhh…
this is getting really annoying … ive been tring to embed qnx on a
compact flash card for 2 weeks now with absolutly no sucess.
i suspect it can’t be done but just incase im missing somthing,
here’s what ive done…
fdisk /dev/hd1 add qnx all
fdisk /dev/hd1 boot qnx
fdisk /dev/hd1 loader
dinit -f /boot/fs/qnxbase.ifs -h /dev/hd1t77
cd /fs/qnx-hd1
mkdir boot
cd boot > mkdir fs
cd fs
cp /boot/fs/qnxbase.qfs .
touch /fs/qnx-hd1/.diskboot
and then i reboot
when it is done post it seeks the floppy and locks up…
nothing i have tried had made any difference . it just dies every
time…
is qnx compatible with compact flash or am i trying to do somthing
that is impossable??
no… its only /dev/hd1 when im setting it up after that i disable the
hard drive on the primary master ide controller so that it becomes
/dev/hd0 on the secondary master ide controller…
this is getting really annoying … ive been tring to embed qnx on a
compact flash card for 2 weeks now with absolutly no sucess.
i suspect it can’t be done but just incase im missing somthing,
here’s what ive done…
fdisk /dev/hd1 add qnx all
fdisk /dev/hd1 boot qnx
fdisk /dev/hd1 loader
dinit -f /boot/fs/qnxbase.ifs -h /dev/hd1t77
cd /fs/qnx-hd1
mkdir boot
cd boot > mkdir fs
cd fs
cp /boot/fs/qnxbase.qfs .
touch /fs/qnx-hd1/.diskboot
and then i reboot
when it is done post it seeks the floppy and locks up…
nothing i have tried had made any difference . it just dies every
time…
is qnx compatible with compact flash or am i trying to do somthing
that is impossable??
Here is the order that I used to use under QNX4 to make a disk-on-chip
bootable on an embedded system I used (taken from an auto-build script
so I hope I didn’t miss anything! )…
fdisk /dev/tffs0 add -f 4 QNX ALL
fdisk /dev/tffs0 loader
fdisk /dev/tffs0 boot QNX
fdisk /dev/tffs0 show
So, my guess is that you are missing the -b option to install the QNX
bootloader in your part above. I think that you can skip the mount
part since it should automount stuff on RtP - but I am not 100% sure what
the behaviour is. Let us know the results if you use these commands with
/dev/hd1 instead of /dev/tffs0.
chris
–
cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
i tried your method with the only variation being that i used /dev/hd1
rather than /dev/tffs0 because the compact flash is located on the ide
bus. now i get the <hit esc for alternate o/s> message and then my
floppy begins constantly seeking and a stream of ?'s are printed acros
the screen…
vince
On 24 Nov 2000 15:08:39 GMT, Chris McKillop <cdm@qnx.com> wrote:
Here is the order that I used to use under QNX4 to make a disk-on-chip
bootable on an embedded system I used (taken from an auto-build script
so I hope I didn’t miss anything! )…
fdisk /dev/tffs0 add -f 4 QNX ALL
fdisk /dev/tffs0 loader
fdisk /dev/tffs0 boot QNX
fdisk /dev/tffs0 show
So, my guess is that you are missing the -b option to install the QNX
bootloader in your part above. I think that you can skip the mount
part since it should automount stuff on RtP - but I am not 100% sure what
the behaviour is. Let us know the results if you use these commands with
/dev/hd1 instead of /dev/tffs0.
i tried your method with the only variation being that i used /dev/hd1
rather than /dev/tffs0 because the compact flash is located on the ide
bus. now i get the <hit esc for alternate o/s> message and then my
floppy begins constantly seeking and a stream of ?'s are printed acros
the screen…
Question marks indicate that the loader is getting errors trying
to load blocks from the boot device.
Some questions:
Do you have a floppy in the drive?
Have you ever booted this machine off the Compact Flash? (I mean
with some other OS?) The QNX loader just calls into the BIOS to
load blocks. Maybe your BIOS isn’t configured
Maybe the BIOS and the OS have different ideas as to the geometry
of your CF Drive? When you boot QRTP from disk, does the output
of fdisk match wrt Heads, Cylinders etc match what the BIOS thinks?
vince <> vgeisler@engineer.com> > wrote:
i tried your method with the only variation being that i used /dev/hd1
rather than /dev/tffs0 because the compact flash is located on the ide
bus. now i get the <hit esc for alternate o/s> message and then my
floppy begins constantly seeking and a stream of ?'s are printed acros
the screen…
Question marks indicate that the loader is getting errors trying
to load blocks from the boot device.
Some questions:
Do you have a floppy in the drive?
no but it makes no difference if i do or not
Have you ever booted this machine off the Compact Flash? (I mean
with some other OS?) The QNX loader just calls into the BIOS to
load blocks. Maybe your BIOS isn’t configured
i have tested dos, linux and bsd all work just fine
Maybe the BIOS and the OS have different ideas as to the geometry
of your CF Drive? When you boot QRTP from disk, does the output
of fdisk match wrt Heads, Cylinders etc match what the BIOS thinks?
perfect match.
If it is seeking floppy, you almost certainly have a problem with BIOS or
hardware. Unless of course, QNX loader is doing something very esoteric to
cause that effect, but I really doubt it. Which loader do you use, older one
or new one (8G) ? What kind of BIOS? What else do you have on IDE interface?
Can you boot QNX from another IDE device or floppy using the same image?
This sounds very odd and there is reasonable possibility that you’re doing
something wrong yourself. I have systems booting from CF without any
problems. If you want better support you should try harder to isolate the
problem and give them more hints. It would be very hard to guess what is
wrong just on information you’ve posted…
vince <> vgeisler@engineer.com> > wrote:
i tried your method with the only variation being that i used /dev/hd1
rather than /dev/tffs0 because the compact flash is located on the ide
bus. now i get the <hit esc for alternate o/s> message and then my
floppy begins constantly seeking and a stream of ?'s are printed acros
the screen…
Question marks indicate that the loader is getting errors trying
to load blocks from the boot device.
Some questions:
Do you have a floppy in the drive?
no but it makes no difference if i do or not
Have you ever booted this machine off the Compact Flash? (I mean
with some other OS?) The QNX loader just calls into the BIOS to
load blocks. Maybe your BIOS isn’t configured
i have tested dos, linux and bsd all work just fine
Maybe the BIOS and the OS have different ideas as to the geometry
of your CF Drive? When you boot QRTP from disk, does the output
of fdisk match wrt Heads, Cylinders etc match what the BIOS thinks?
perfect match.