I need to build and load a QNX OS image to a 2GB compact flash
(SimpelTech or SandDisk ) that will be used as the hard-drive to our
PC104 system. I tried first with the bios.build in
“/usr/qnx630/target/qnx6/x86/boot/build/”
The hardware of the system:
Mother board: EBX-Littleboard 800
PC104 Profibus card.
I am using a SanDisk USB2.0 CompactFlash card Reader/Writer to access
the Compact Flash. Here are what I did:
1, io-usb -dehci
2, devb-umass cam pnp&
3, fdisk /dev/hd1, I then fdisk the CF as QNX, 77, and I can see it as
/dev/hd1t77
4, cd /usr/qnx630/target/qnx6/x86/boot/build/
5, dinit -h -f bios.ifs /dev/hd1t77
after this dinit command, the terminal displays:" Using loader
/usr/qnx630/target/qnx6/x86/boot/sys/ipl-diskpc2-flop"
The .boot file is created in the compact flash. I then plug in the
compact flash to the CF slot in the PC104 system, but system stops
after “Pressing ESC for
altboot…”
I believe that the loader should be ipl-diskpc2 instead of
diskpc2-flop, as I tried the same procedure a while ago which worked
fine and I remeber the loader was ipl-diskpc2 at that time. But I
don’t know why I have diskpc2-flop this time. The only difference is
the USB compact flash adapter.
Could anybody give me some instructions on where I might be wrong? Any
other information you may need for diagnosis?
Thanks a lot,
Jeff
Try the following:
dloader /dev/hd1 pc1
dloader /dev/hd1t77 pc2
Regards,
Serge
Hello,
By the way, did you compare BIOS CHS settings with CHS values from devb-umass?
This values should be same for a bootable device. In certain situations (the
blank media, for example) devb-umass calculates a disk geometry based upon its
internal geometry assumptions…
Regards,
Igor.
potatonkey wrote:
I need to build and load a QNX OS image to a 2GB compact flash
(SimpelTech or SandDisk ) that will be used as the hard-drive to our
PC104 system. I tried first with the bios.build in
“/usr/qnx630/target/qnx6/x86/boot/build/”
The hardware of the system:
Mother board: EBX-Littleboard 800
PC104 Profibus card.
I am using a SanDisk USB2.0 CompactFlash card Reader/Writer to access
the Compact Flash. Here are what I did:
1, io-usb -dehci
2, devb-umass cam pnp&
3, fdisk /dev/hd1, I then fdisk the CF as QNX, 77, and I can see it as
/dev/hd1t77
4, cd /usr/qnx630/target/qnx6/x86/boot/build/
5, dinit -h -f bios.ifs /dev/hd1t77
after this dinit command, the terminal displays:" Using loader
/usr/qnx630/target/qnx6/x86/boot/sys/ipl-diskpc2-flop"
The .boot file is created in the compact flash. I then plug in the
compact flash to the CF slot in the PC104 system, but system stops
after “Pressing ESC for
altboot…”
I believe that the loader should be ipl-diskpc2 instead of
diskpc2-flop, as I tried the same procedure a while ago which worked
fine and I remeber the loader was ipl-diskpc2 at that time. But I
don’t know why I have diskpc2-flop this time. The only difference is
the USB compact flash adapter.
Could anybody give me some instructions on where I might be wrong? Any
other information you may need for diagnosis?
Thanks a lot,
Jeff