Skip navigation.
Home
The QNX Community Portal

View topic - I can't boot to compact flash without hitting ESC.

I can't boot to compact flash without hitting ESC.

Read-only archive of qnx.newuser (Installation, configuration and administration of the QNX Neutrino or QNX Momentics environments) at inn.qnx.com

I can't boot to compact flash without hitting ESC.

Postby Brian » Thu Aug 26, 2004 4:22 pm

I am booting onto a CF drive, everything works fine if I press ESC to boot
altboot, so I copied /.altboot to /.boot but nothing changed. If I
don't press ESC I get .altboot..........................................S

I verified that .altboot and .boot are the same image.
# cksum /.*boot
3168122644 727052 /.altboot
3168122644 727052 /.boot

Any help would be appreciated.
Thanks,
Brian
Brian
 

Re: I can't boot to compact flash without hitting ESC.

Postby Brian » Thu Aug 26, 2004 4:24 pm

I forgot to mention this is on QNX 6.2.0


Brian wrote:

I am booting onto a CF drive, everything works fine if I press ESC to boot
altboot, so I copied /.altboot to /.boot but nothing changed. If I
don't press ESC I get .altboot..........................................S

I verified that .altboot and .boot are the same image.
# cksum /.*boot
3168122644 727052 /.altboot
3168122644 727052 /.boot

Any help would be appreciated.
Thanks,
Brian
Brian
 

Re: I can't boot to compact flash without hitting ESC.

Postby Evan Hillas » Sat Aug 28, 2004 1:15 pm

Brian wrote:
I am booting onto a CF drive, everything works fine if I press ESC to boot
altboot, so I copied /.altboot to /.boot but nothing changed. If I
don't press ESC I get .altboot..........................................S


You could try replacing the bootblock with another one, eg: grub
Evan Hillas
 

Re: I can't boot to compact flash without hitting ESC.

Postby Evan Hillas » Fri Sep 10, 2004 10:35 am

Brian wrote:
I am booting onto a CF drive, everything works fine if I press ESC to boot
altboot, so I copied /.altboot to /.boot but nothing changed. If I
don't press ESC I get .altboot..........................................S

I verified that .altboot and .boot are the same image.
# cksum /.*boot
3168122644 727052 /.altboot
3168122644 727052 /.boot


As I recently discovered, another possibility is the geometry is getting
confused. It seems that, by default, devb-eide attempts to work out the
CHS values rather than being happy with the much simpler LBA. To
rectify this you need to specify a translation when starting the driver.
Eg: devb-eide disk translation=1:1

The neat thing about this setting is the total cylinders value becomes
the same as the LBA total blocks value. This means the 1:1 setting will
work for any device with any partition layout. It's like a magic "Lets
hide the ugly CHS settings." :)

Note: This is only tested on a CF card so don't blame me if it don't
work with HDDs.
Evan Hillas
 

Postby krivard » Thu Jun 28, 2007 8:15 pm

Sorry to dig up old threads, but I'm having almost an identical problem and the solution above didn't work for me.

.boot and .altboot are identical according to cksum, but .boot works fine and .altboot gives me
.....................S

The boot media is IDE flash, QNX version is 6.3.2, and I'm starting the driver like so:
devb-eide blk automount=hd0t77:/ &

I have also tried the above recommended solution:
devb-eide blk automount=hd0t77:/ disk translation 1:1 &
which works from .boot but not from .altboot.

For kicks, I also tried disabling DMA using:
devb-eide blk automount=hd0t77:/ eide nobmstr &
which, also, works from .boot but not from .altboot.

Ideas?

Katie
krivard
New Member
 
Posts: 1
Joined: Thu Jun 28, 2007 6:35 pm

Re: I can't boot to compact flash without hitting ESC.

Postby evanh » Sat Jun 30, 2007 11:54 am

krivard wrote:
I have also tried the above recommended solution:
[b:0d5a02225e]devb-eide blk automount=hd0t77:/ disk translation 1:1

Yeah, sorry, I never actually booted that. My laptop doesn't boot from CF. I thought I had it sorted at the time but found later I didn't have a clue really. I gave up in the end.

The PC's boot system is so broken. :(


Evan
evanh
QNX Master
 
Posts: 737
Joined: Sat Feb 01, 2003 8:04 am


Return to qnx.newuser

Who is online

Users browsing this forum: No registered users and 1 guest