Boot using U-Boot
You must first boot the board with U-Boot from the microSD card. After U-Boot launches, you can load the QNX IFS.
- For information about how to boot U-Boot and then load the QNX IFS using an microSD card, see the
Load the QNX IFS from the microSD section in this chapter.
Load the QNX IFS from the microSD card
The followings steps describe how to boot board using U-Boot and then load the QNX IFS from your microSD card. Before you can complete these steps, you must prepare the microSD card. For more information, see thePreparing the microSD to boot the boardsection in this chapter for more information.
- Connect your Jacinto 7 J722S EVM target board to your host system.
- On your host machine, start your favorite terminal program with these settings:
- Baud rate: 115200
- Data: 8 bit
- Parity: none
- Stop: 1 bit
- Flow control: none
- Serial Device: /dev/ttyUSB2
- Connect the Jacinto 7 J722S EVM board to the power supply. The board will turn on automatically. To reset the board, press the reset button SW5.
Figure 1Power Connector / Reset Button
- After the power is turned on, output from U-Boot appears terminal console. When you see the prompt
Hit any key to stop autoboot
, press any key on your keyboard to interrupt the boot process as follows:U-Boot SPL 2025.01-00410-g70667128cb5b (Apr 04 2025 - 18:20:14 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.0.9--v11.00.09+ (Fancy Rat)') SPL initial stack usage: 17048 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed Authentication passed Authentication passed Starting ATF on ARM64 core... NOTICE: BL31: v2.12.0(release):11.00.09-dirty NOTICE: BL31: Built : 12:35:58, Mar 24 2025 U-Boot SPL 2025.01-00410-g70667128cb5b (Apr 04 2025 - 18:20:14 +0000) SYSFW ABI: 4.0 (firmware rev 0x000b '11.0.9--v11.00.09+ (Fancy Rat)') Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2025.01-00410-g70667128cb5b (Apr 04 2025 - 18:20:14 +0000) SoC: J722S SR1.0 HS-FS Model: Texas Instruments J722S EVM DRAM: 2 GiB (total 8 GiB) Core: 103 devices, 29 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 =>
- On the U-Boot prompt, type the following U-Boot commands to load the QNX IFS from the microSD card:
- mmcinfo
- fatload mmc 1 88000000 psdk_linux_9.2_k3-j722s-evm.dtb
- fatload mmc 1 80080000 qnx-ifs
- go 80080000 88000000
=> mmcinfo MMC Device 0 not found no mmc device at slot 0 => fatload mmc 1 88000000 psdk_linux_9.2_k3-j722s-evm.dtb 68714 bytes read in 37 ms (1.8 MiB/s) => fatload mmc 1 80080000 qnx-ifs 12934620 bytes read in 1103 ms (11.2 MiB/s) => go 80080000 88000000 ## Starting application at 0x80080000 ... Hypervisor support disabled MMU: 16-bit ASID 40-bit PA TCR_EL1=00000012b5183519 ARM GIC-500 r1p1, arch v3.0 detected gic_v3_lpi_add_entry for vectors 8192 -> 8447, Ok gic_v3_lpi_add_entry for vectors 8448 -> 65535, Ok No SPI intrinfo. Add default entry for 32 -> 287 vectors, Ok LPI config table #1 @ 0000000081d60000, callout vaddr: ffffff8040291000 aarch64_cpuspeed: core speed 1400 cpu0: MPIDR=0000000080000000 cpu0: MIDR=410fd034 Cortex-A53 r0p4 cpu0: CWG=4 ERG=4 Dminline=4 Iminline=4 VIPT cpu0: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1 cpu0: L1 Icache 32K linesz=64 set/way=256/2 cpu0: L1 Dcache 32K linesz=64 set/way=128/4 cpu0: L2 Unified 512K linesz=64 set/way=512/16 Enabling ITS 0 ITS queue at 0000000082570000, num slots: 256 Issue MAPC/SYNC/INVALL commands for ICID 0 update CWRITER to 0x00000060 Waiting for all commands to be processed ... Done in 1 tries Enable LPIs in GICR_CTLR @ 0000000001880000 for CPU0 init_usb_host_dwc3: USB0 SYSFW ABI: 4.0 (firmware rev 11 '11.0.9--v11.00.09+ (Fancy Rat)' Loading IFS...decompressing...done aarch64_cpuspeed: core speed 1400 cpu1: MPIDR=0000000080000001 cpu1: MIDR=410fd034 Cortex-A53 r0p4 cpu1: CWG=4 ERG=4 Dminline=4 Iminline=4 VIPT cpu1: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1 cpu1: L1 Icache 32K linesz=64 set/way=256/2 cpu1: L1 Dcache 32K linesz=64 set/way=128/4 cpu1: L2 Unified 512K linesz=64 set/way=512/16 ITS 0 already Enabled ITS queue at 0000000082570000, num slots: 256 Issue MAPC/SYNC/INVALL commands for ICID 1 update CWRITER to 0x000000c0 Waiting for all commands to be processed ... Done in 1 tries Enable LPIs in GICR_CTLR @ 00000000018a0000 for CPU1 aarch64_cpuspeed: core speed 1400 cpu2: MPIDR=0000000080000002 cpu2: MIDR=410fd034 Cortex-A53 r0p4 cpu2: CWG=4 ERG=4 Dminline=4 Iminline=4 VIPT cpu2: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1 cpu2: L1 Icache 32K linesz=64 set/way=256/2 cpu2: L1 Dcache 32K linesz=64 set/way=128/4 cpu2: L2 Unified 512K linesz=64 set/way=512/16 ITS 0 already Enabled ITS queue at 0000000082570000, num slots: 256 Issue MAPC/SYNC/INVALL commands for ICID 2 update CWRITER to 0x00000120 Waiting for all commands to be processed ... Done in 1 tries Enable LPIs in GICR_CTLR @ 00000000018c0000 for CPU2 aarch64_cpuspeed: core speed 1400 cpu3: MPIDR=0000000080000003 cpu3: MIDR=410fd034 Cortex-A53 r0p4 cpu3: CWG=4 ERG=4 Dminline=4 Iminline=4 VIPT cpu3: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1 cpu3: L1 Icache 32K linesz=64 set/way=256/2 cpu3: L1 Dcache 32K linesz=64 set/way=128/4 cpu3: L2 Unified 512K linesz=64 set/way=512/16 ITS 0 already Enabled ITS queue at 0000000082570000, num slots: 256 Issue MAPC/SYNC/INVALL commands for ICID 3 update CWRITER to 0x00000180 Waiting for all commands to be processed ... Done in 1 tries Enable LPIs in GICR_CTLR @ 00000000018e0000 for CPU3 System page at phys:0000000082573000 user:ffffff80402b6000 kern:ffffff80402b2000 Starting next program at vffffff80600894b0 syspage::hypinfo::flags=0x00000000 Welcome to QNX 8.0.0 on TI_J722S_EVM_Board ! Starting I2C driver ... start serial driver Starting MMC/SD memory card driver... eMMC Starting MMC/SD memory card driver... SD Starting Flash driver... Starting XHCI driver on USB3SS0 and USB3SS1 Path=0 - am65x target=0 lun=0 Direct-Access(0) - SDMMC: G1M15L Rev: 1.0 Starting devf-ram filesystem ... Starting networking ... Starting DHCP client ... Starting SSH daemon ... Starting devc-pty manager ... Starting qconn daemon ... Starting shell ... #
You should now be able to test the OS by executing any shell command, or any command residing within the QNX IFS image. For example: ls
or uname -a
.
Note:
Addresses are interpreted as hexadecimal, therefore entering 0x80080000 and 80080000 are considered to be the same.
Note:
After you've completed the steps above, you can put the following command in the uenv.txt file and then copy it to the microSD card, which permits your system to automatically boot the QNX IFS.
'uenvcmd=mmcinfo; fatload mmc 1 88000000 psdk_linux_9.2_k3-j722s-evm.dtb; fatload mmc 1 80080000 qnx-ifs; go 80080000 88000000'
Page updated: