Alex Mitchell
|
Booting QNX on x86 from CompactFlash
|
Alex Mitchell
06/03/2008 8:54 AM
post8672
|
Booting QNX on x86 from CompactFlash
I'm having trouble getting QNX to boot on my x86 board, from a CompactFlash card. I'm new to this whole area, so I may
be making an obvious mistake, but I can't work out what is wrong.
The board is an Advantech PCM 3370F PC104 with an x86 processor and bios. I developing on a Windows machine. Currently
I've got it booting over the network (it loads the etherboot bootloader from CD-ROM which downloads my QNX OS image via
TFTP). This works fine - my OS image is in ELF format, and it boots and works perfectly. What I am trying to do is boot
my image from a 1GB CompactFlash card connected via an IDE adapter.
When I try to boot from the flash disk, I get:
press F1-F4 to select drive or select partition 1? 1
Hit Esc for .altboot.............................
It prints dots for a while then freezes (no error message or character). My understanding is that this means the QNX
bootloader is running, but failing to load the OS image (but for some reason does not give any error message).
What I've tried so far:
From within QNX, I used fdisk to create a QNX4 partition on the disk (I've tried a small partition and one filling the
whole disk with the same results), and made that partition bootable. I've then used
dinit -f image.ifs -h /dev/hd1t77
to initialise the partition and write the image to disk. I've run dcheck and the disk is fine. The image I'm using for
this is the same one that boots successfully over the network, but changed from ELF format to bios format. The .boot
file at the root of the flash disk filesystem appears to be the correct image.
Is there something obvious that I'm doing wrong here? Should this be working? Any suggestions would be more than welcome
.
Cheers.
|
|
|