Skip navigation.
Home
The QNX Community Portal

View topic - boot image progblem

boot image progblem

Discussion about the QNX6 OS.

boot image progblem

Postby ossor » Wed Feb 15, 2012 2:58 am

hello!
a problem for boot image:
I have downloaded a x86-bios(BSP) from www.qnx.com.
I found a x86_apic.ifs in /image directory.
I formated a usb flash disk, like this:
1. fdisk /dev/hd10 delete -a
2. fdisk /dev/hd10 add -b -t 179
3. mount - e /dev/hd10
4. mkqnx6fs /dev/hd10t179

then I copy the x86_apic.ifs to the usb flash disk(under /.boot directory).
I boot up a x86PC by the usb flash disk, but the PC always displays "boot from usb device QNX 1.2b boot loader" and stops!
please help me ,thank you very much! :(
ossor
New Member
 
Posts: 2
Joined: Wed Feb 15, 2012 2:30 am

Re: boot image progblem

Postby Tim » Thu Feb 16, 2012 10:40 pm

Ossor,

That would suggest that the ifs file that is there by default is not right for your hardware.

There should also be a /build directory. In there are build scripts that specify what is in the ifs file. Something in there is missing for your hardware or more likely incorrect (wrong driver) for your hardware.

It's a trial and error thing. But if you add a few more display messages between each line in the script you can figure out exactly where it stops. You use the command 'mkifs' to turn the script into a new .ifs image.

Tim
Tim
Senior Member
 
Posts: 1388
Joined: Wed Mar 10, 2004 12:28 am

Re: boot image progblem

Postby jreiner3 » Thu Feb 23, 2012 4:37 pm

I don't believe its normally recommended to run the QNX6 filesystem on a USB device. See the "Required properties of the device" section http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/f/fs-qnx6.so.html of the fs-qnx6.so driver page. Not sure that would cause your booting issue but its something to be aware of.

It might be interesting to see if you can boot your hardware using the qnx 4 filesystem (79) and the dinit utility.

Is there a reason you need to use the power safe functionality of the qnx6 filesystem? If so you might want to consider the Embedded Transactional File System (ETFS) that QNX created for use in embedded systems.
jreiner3
New Member
 
Posts: 4
Joined: Fri Sep 10, 2010 3:48 pm


Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 3 guests