Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Forcing UEFI or BIOS (CSM) boot on SDP 8.0 x86_64 generic image
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: diskimage configuration to boot via BIOS or UEFI in SDP 8.0 x86_64 generic BSP
  • SDP: 8.0.0
  • Target: x86_64
________________________________________________________________________

Issue
________________________________________________________________________

Our QNX system runs from a USB drive. After upgrading from QNX 704 to the QNX 802-BIOS version, we encountered an issue where a new device appears as Boot Option 1 in the BIOS, pushing our original system disk down in the boot priority list. As a result, the system fails to boot automatically and requires manual adjustment of the BIOS boot order each time. This is very inconvenient and impractical for products already deployed in the market.

________________________________________________________________________

Solution
________________________________________________________________________

In the SDP 8.0 x86_64 generic BSP, the default setup is to build a disk image which will allow you to boot via legacy BIOS (CSM) and UEFI.

# 0 - 1 raw partition (QNX IPL)
# 2 - 201 QNX partition (BIOS boot images)
# 202 - 401 DOS partition (UEFI boot images)
# 402 - 801 QNX partition (QNX6 data images)

Modify the disk.cfg file in the images directory to comment out the undesired partition image. i.e. if you want to boot with legacy BIOS only, then comment out the UEFI boot image partition:

[partition=1 type=177 boot=true] "part_bios_boot.img"
#[partition=2 type=12] "part_uefi_boot.img"
[partition=2 type=179] "part_qnx_data.img"

Make sure to update the partition number of the remaining partition images.
    ________________________________________________________________________
    NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
    ________________________________________________________________________


    Related Attachments
     None Found





    Please contact us with your questions or concerns.