Boot the QNX system
This section describes the steps to boot the QNX system on SCB100 board.
Setup the hardware connection
- Connect the 20V power supply to JDC1.
- Connect the USB disk to an USB port.
- Connect the serial cable on COM1 upper port.
- Connect the Ethernet cable to the Ethernet port.
- Install the RAM card on DIMM1/DIMM2.
Opening a Serial Connection Console
To open a serial connection console, take the following steps.- The serial device on the Linux host machine should show up as /dev/ttyUSBx,
where x is a number, for example /dev/ttyUSB0.
Open a minicom terminal on the Linux host machine using the following command:
$ sudo minicom –D /dev/ttyUSB0
- Set the serial port in minicom as below:
- Baud rate: 115200
- Data: 8 bit
- Parity: none
- Stop: 1 bit
- Flow control: none
Configuring the SBL Boot Options
To configure the SBL boot options, follow the steps below:- Power ON the target system.
- Press any key within 1 second to enter the SBL command shell.
- If the boot options do not match those shown below, configure them with the boot command as shown.
Shell> boot Boot options (in HEX): Idx|ImgType|DevType|DevNum|Flags|HwPart|FsType|SwPart|File/Lbaoffset!IPFW/POSC 0| 0| USB | 0 | 4 | 0 | FAT | 0 | /boot/sbl_os [!IPFW/POSC] *Current 1| 0| USB | 0 | 0 | 0 | FAT | 0 | /boot/sbl_os 2| 0| SATA | 0 | 4 | 1 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 3| 0| NVME | 0 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 4| 0| UFS | 0 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 5| 0| UFS | 1 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] SubCommand: q -- quit boot option change s -- swap boot order by index c -- set the boot index idx -- modify the boot option specified by idx (0 to 5) 0 Enter DevType (SATA 0x0, SD 0x1, eMMC 0x2, UFS 0x3, SPI 0x4, USB 0x5, NVMe 0x6) (default 0x5) 5 Enter DevInstance (uint) (default 0x0) 0 Enter BootFlags (MISC 0x1, CRASH_OS 0x2, PREOS 0x4, EXTRA 0x8, MENDER 0x10) (default 0x4) 4 Enter HwPart (uint) (default 0x0) 0 Enter FsType (FAT (0x0), EXT2/3/4 (0x1), Auto (0x2), RAW (0x3)) (default 0x0) 0 Enter SwPart (uint) (default 0x0) 0 Enter file path string (max length of 15) (default '/boot/sbl_os') /boot/sbl_os Enter Pre-OS file path string (max length of 15) (default '!IPFW/POSC') !IPFW/POSC Updated the Boot Option List Boot options (in HEX): Idx|ImgType|DevType|DevNum|Flags|HwPart|FsType|SwPart|File/Lbaoffset 0| 0| USB | 0 | 4 | 0 | FAT | 0 | /boot/sbl_os [!IPFW/POSC] *Current 1| 0| USB | 0 | 0 | 0 | FAT | 0 | /boot/sbl_os 2| 0| SATA | 0 | 4 | 1 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 3| 0| NVME | 0 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 4| 0| UFS | 0 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 5| 0| UFS | 1 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] Shell>
Note:If all the settings are correct, the SBL may boot the board without intervention from the SBL shell. - Type exit in the SBL shell to boot the sbl_os from the USB as below:
Shell> exit Boot options (in HEX): Idx|ImgType|DevType|DevNum|Flags|HwPart|FsType|SwPart|File/Lbaoffset 0| 0| USB | 0 | 4 | 0 | FAT | 0 | /boot/sbl_os [!IPFW/POSC] *Current 1| 0| USB | 0 | 0 | 0 | FAT | 0 | /boot/sbl_os 2| 0| SATA | 0 | 4 | 1 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 3| 0| NVME | 0 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 4| 0| UFS | 0 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] 5| 0| UFS | 1 | 4 | 0 | EXT2 | 1 | /boot/sbl_os [!IPFW/POSC] ======== Try Booting with Boot Option 0 ======== BootMediumPciBase(0x1400) Getting boot image from USB Init USB XHCI - Success Enumerate Bus - Success Found 1 USB devices on bus Found 1 mass storage devices 0: Generic Mass Storage Device Try HwPart 0 Try to find boot partition for HW part 0 Partition type: MBR (1 logical partitions) Find partition success Init File system ... ... ... ... Welcome to QNX 8.0.0 on x86pc ! Starting PCI server ... Starting RTC ... Starting serial driver ... Starting AHCI block driver ... Starting USB host driver ... Starting devb-umass ... Starting devf-ram filesystem ... Starting networking ... Starting DHCP client ... Starting SSH daemon ... Starting devc-pty manager ... Starting qconn daemon ... Starting shell ... #
Page updated: