Tool/software:
Hi,
I try to boot QNX+RTOS image but it seems boot fails.
The SDK version are shown as below:
QNX SDK(QNX SDP 8.0): ti-processor-sdk-qnx_800_j721e_10_01_00_04
RTOS SDK: ti-processor-sdk-rtos-j721e-evm-10_01_00_04
Unable to access /dev/sd0t12
U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
Trying to boot from MMC2
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Loading Environment from nowhere... OK
Starting ATF on ARM64 core...
NOTICE: BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
NOTICE: BL31: Built : 04:20:32, Nov 1 2024
I/TC:
I/TC: OP-TEE version: 4.4.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Oct 18 17:45:27 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: HUK Initialized
I/TC: Primary CPU switching to normal world boot
U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
error getting GPIO lookup name: -22
Trying to boot from MMC2
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
U-Boot 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
SoC: J721E SR1.1 GP
Model: Texas Instruments J721E SK
Board: J721EX-SK rev A
DRAM: 2 GiB (effective 4 GiB)
Core: 125 devices, 33 uclasses, devicetree: separate
Flash: 0 Bytes
MMC: mmc@4fb0000: 1
Loading Environment from nowhere... OK
In: serial@2800000
Out: serial@2800000
Err: serial@2800000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1
Net: eth0: ethernet@46000000port@1
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
1306 bytes read in 69 ms (17.6 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
GPIO: 'gpio@22_17' not found
Command 'gpio' failed: Error -22
GPIO: 'gpio@22_16' not found
Command 'gpio' failed: Error -22
k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
1654400 bytes read in 131 ms (12 MiB/s)
Load Remote Processor 2 with data@addr=0x82000000 1654400 bytes: Success!
326836 bytes read in 76 ms (4.1 MiB/s)
Load Remote Processor 3 with data@addr=0x82000000 326836 bytes: Success!
Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
1014576 bytes read in 104 ms (9.3 MiB/s)
Load Remote Processor 6 with data@addr=0x82000000 1014576 bytes: Success!
1014576 bytes read in 105 ms (9.2 MiB/s)
Load Remote Processor 7 with data@addr=0x82000000 1014576 bytes: Success!
12451928 bytes read in 245 ms (48.5 MiB/s)
Load Remote Processor 8 with data@addr=0x82000000 12451928 bytes: Success!
13907700 bytes read in 655 ms (20.2 MiB/s)
116714 bytes read in 67 ms (1.7 MiB/s)
## Starting application at 0x80080000 ...
Hypervisor support disabled
MMU: 16-bit ASID 44-bit PA TCR_EL1=00000014b5183519
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 -> 991 vectors, Ok
LPI config table #1 @ 0000000080013000, callout vaddr: ffffff8040251000
aarch64_cpuspeed: core speed 2000
cpu0: MPIDR=0000000080000000
cpu0: MIDR=411fd080 Cortex-A72 r1p0
cpu0: CWG=4 ERG=4 Dminline=4 Iminline=4 PIPT
cpu0: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1
cpu0: L1 Icache 48K linesz=64 set/way=256/3
cpu0: L1 Dcache 32K linesz=64 set/way=256/2
cpu0: L2 Unified 1024K linesz=64 set/way=1024/16
Enabling ITS 0
ITS queue at 0000000080030000, 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 @ 0000000001900000 for CPU0
Display set to R5
no MMCSD0 power: trying to turn it on
ti_sci_set_device_state: response NACK
init_cpsw9g: Set CPSW device (19) state failed!
Total Available L3 cache (MSMC SRAM): 0 bytes
Loading IFS...decompressing...done
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
aarch64_cpuspeed: core speed 2000
cpu1: MPIDR=0000000080000001
cpu1: MIDR=411fd080 Cortex-A72 r1p0
cpu1: CWG=4 ERG=4 Dminline=4 Iminline=4 PIPT
cpu1: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1
cpu1: L1 Icache 48K linesz=64 set/way=256/3
cpu1: L1 Dcache 32K linesz=64 set/way=256/2
cpu1: L2 Unified 1024K linesz=64 set/way=1024/16
ITS 0 already Enabled
ITS queue at 0000000080030000, 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 @ 0000000001920000 for CPU1
System page at phys:0000000080023000 user:ffffff8040276000 kern:ffffff8040272000
Starting next program at vffffff806008a180
syspage::hypinfo::flags=0x00000000
Welcome to QNX 8.0.0 on TI_J721E_EVM_Board !
Starting I2C driver ...
Setting OS clock from RTC ...
RTC: mcp7941x_i2c_read() failed
Start Serial driver
Starting MMC/SD memory card driver... eMMC
Starting MMC/SD memory card driver... SD
Starting XHCI driver on USB3SS0 and USB3SS1
xpt_configure: No sdmmc interfaces found
Starting devf-ram filesystem ...
Setting environment variables...
Mounting the sd ..
Unable to access /dev/sd0t12
Trying eMMC mount...
mount: Can't mount /boot (type dos)
mount: Possible reason: Invalid argument
mount: Can't mount /ti_fs (type dos)
mount: Possible reason: Invalid argument
Looking for user script to run: /ti_fs/scripts/user.sh
Unable to access /ti_fs/scripts/user.sh
Looking for user script to run: /ti_fs/scripts/user.sh
Unable to access /ti_fs/scripts/user.sh
done...
J721E-EVM@QNX:/#
J721E-EVM@QNX:/# slog2info
Jan 01 00:00:00.048 random.20486 qcrypto* 0 qcrypto: default tag: 'random'
Jan 01 00:00:00.048 random.20486 qcrypto 0 qcrypto: loading configuration file '/etc/qcrypto.conf'
Jan 01 00:00:00.053 random.20486 qcrypto 0 qcrypto: 'openssl-3' plugin loaded
Jan 01 00:00:00.089 devb_sdmmc_am65x.24589 slog* 1800 (devb-sdmmc-am65x) 1.00A (May 22 2025 12:20:36)
Jan 01 00:00:00.089 devb_sdmmc_am65x.24589 slog 0 (libcam.so) (Nov 20 2023 10:07:53) bver 7020015
Jan 01 00:00:00.090 devb_sdmmc_am65x.24589 slog 1800 am65x_init: Phy_type: HARD_PHY
Jan 01 00:00:00.090 devb_sdmmc_am65x.24589 slog 1800 sdio_cd: insertion path 0, cd state 0x1
Jan 01 00:00:00.094 devb_sdmmc_am65x.24590 slog* 1800 (devb-sdmmc-am65x) 1.00A (May 22 2025 12:20:36)
Jan 01 00:00:00.095 devb_sdmmc_am65x.24590 slog 0 (libcam.so) (Nov 20 2023 10:07:53) bver 7020015
Jan 01 00:00:00.095 devb_sdmmc_am65x.24590 slog 1800 am65x_init: Unknown Phy_type! Defaulting to HARD_PHY
Jan 01 00:00:00.095 devb_sdmmc_am65x.24590 slog 1800 sdio_cd: insertion path 0, cd state 0x1
Jan 01 00:00:00.098 i2c_tda4.20489 slog* 0 tda4_wait_complete: InterruptWait: Connection timed out(260)
Jan 01 00:00:00.100 i2c_tda4.20489 slog 0 Master send did not terminate for slave 0x22
Jan 01 00:00:00.100 i2c_tda4.20489 slog 0 Master send BUSY for slave 0x22
Jan 01 00:00:00.100 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:00.106 io_usb_otg.36879 slog* 0 main(457)[tid:1]: io-usb-otg (Nov 20 2023 10:12:24) args: -d cdns3-xhci ioport=0x6010000,irq=128,iosize=65536,ioport=0x6410000,irq=136,iosize=65536,nousb3
Jan 01 00:00:00.108 io_usb_otg.36879 slog 0 xhci_init: Initialiaing with sever version: 2
Jan 01 00:00:00.108 io_usb_otg.36879 slog 0 xhci_controller_init(2748): devu-hcd-cdns3-xhci.so (Jul 30 2024 17:11:37): args
Jan 01 00:00:00.108 io_usb_otg.36879 slog 0 cdns3_usb_port_info(398)[tid:1]: cdns3: chipset j721e xhci_irq=128 serdes_addr=0x5030000
Jan 01 00:00:00.111 io_usb_otg.36879 slog 8 usb_enum_port(94)[tid:1]: busno 0, parent -1, port 0, Super speed
Jan 01 00:00:00.111 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length 8)
Jan 01 00:00:00.111 io_usb_otg.36879 slog 12 usb_device_set_address(245)[tid:1]: b:0 devno 0
Jan 01 00:00:00.111 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length 18)
Jan 01 00:00:00.111 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 9)
Jan 01 00:00:00.111 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 31)
Jan 01 00:00:00.111 io_usb_otg.36879 slog 8 usb_enum_port(141)[tid:1]: vid 0x0000, did 0x0000 enumerated(busno 0, devno 0:0)
Jan 01 00:00:00.111 io_usb_otg.36879 slog 11 hub_state_inserted(569)[tid:1]: bdentry 0, dentry 0 0
Jan 01 00:00:00.111 io_usb_otg.36879 slog 13 hub_configuration_enable(263)[tid:1]: 1
Jan 01 00:00:00.152 devb_sdmmc_am65x.24589 slog 1800 sdio_cd: Unsupported card inserted
Jan 01 00:00:00.156 devb_sdmmc_am65x.24589 slog 0 xpt_configure: No sdmmc interfaces found
Jan 01 00:00:00.212 io_usb_otg.36879 slog 0 xhci_init: Initialiaing with sever version: 2
Jan 01 00:00:00.212 io_usb_otg.36879 slog 0 xhci_controller_init(2748): devu-hcd-cdns3-xhci.so (Jul 30 2024 17:11:37): args nousb3
Jan 01 00:00:00.212 io_usb_otg.36879 slog 0 cdns3_usb_port_info(398)[tid:1]: cdns3: chipset j721e xhci_irq=136 serdes_addr=0x5020000
Jan 01 00:00:00.212 io_usb_otg.36879 slog 8 usb_enum_port(94)[tid:1]: busno 1, parent -1, port 0, High speed
Jan 01 00:00:00.212 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length 8)
Jan 01 00:00:00.212 io_usb_otg.36879 slog 12 usb_device_set_address(245)[tid:1]: b:1 devno 0
Jan 01 00:00:00.212 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length 18)
Jan 01 00:00:00.212 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 9)
Jan 01 00:00:00.212 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 31)
Jan 01 00:00:00.212 io_usb_otg.36879 slog 8 usb_enum_port(141)[tid:1]: vid 0x0000, did 0x0000 enumerated(busno 1, devno 0:1)
Jan 01 00:00:00.212 io_usb_otg.36879 slog 11 hub_state_inserted(569)[tid:1]: bdentry 0, dentry 0 0
Jan 01 00:00:00.212 io_usb_otg.36879 slog 13 hub_configuration_enable(263)[tid:1]: 1
Jan 01 00:00:00.313 io_usb_otg.36879 slog 0 usbh_timeout_init(204)[tid:1]: Complete
Jan 01 00:00:00.373 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 0, pdevno 0, portno 1)
Jan 01 00:00:00.373 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.373 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 0, pdevno 0, portno 2)
Jan 01 00:00:00.373 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.379 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 1, pdevno 0, portno 1)
Jan 01 00:00:00.379 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.394 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 1, pdevno 0, portno 1)
Jan 01 00:00:00.394 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.652 io_usb_otg.36879 slog 0 xhci_get_root_device_speed: port 0 is HIGH speed, psts e03
Jan 01 00:00:00.652 io_usb_otg.36879 slog 8 usb_enum_port(94)[tid:9]: busno 1, parent 0, port 1, High speed
Jan 01 00:00:00.652 io_usb_otg.36879 slog 0 xring_create: ep->mbuf = 0x3f7d6e80
Jan 01 00:00:00.658 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:9]: (type 1, index 0, length 8)
Jan 01 00:00:00.658 io_usb_otg.36879 slog 12 usb_device_set_address(245)[tid:9]: b:1 devno 1
Jan 01 00:00:00.658 io_usb_otg.36879 slog 0 xHCI: Internal Device Addr 1
Jan 01 00:00:00.679 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:9]: (type 1, index 0, length 18)
Jan 01 00:00:00.679 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:9]: (type 2, index 0, length 9)
Jan 01 00:00:00.679 io_usb_otg.36879 slog 11 usb_client_descriptor_get(198)[tid:9]: (type 2, index 0, length 41)
Jan 01 00:00:00.679 io_usb_otg.36879 slog 8 usb_enum_port(141)[tid:9]: vid 0x0451, did 0x8142 enumerated(busno 1, devno 1:2)
Jan 01 00:00:00.679 io_usb_otg.36879 slog 11 hub_state_inserted(569)[tid:9]: bdentry 1, dentry 1 0
Jan 01 00:00:00.679 io_usb_otg.36879 slog 0 xring_create: ep->mbuf = 0x3f7f45a0
Jan 01 00:00:00.679 io_usb_otg.36879 slog 13 hub_configuration_enable(263)[tid:2]: 1
Jan 01 00:00:00.680 io_usb_otg.36879 slog 0 process_xfer_complete: No Outstanding Transfer, slotid = 1 devaddr = 0x1 epnum = 0x1 epdir = 0x80 xring->enq_idx = 0 xring->deq_idx = 0
Jan 01 00:00:00.680 io_usb_otg.36879 slog 0 process_xfer_complete: evt->w0 = 0x80061000 evt->w1 = 0x0 evt->w2 = 0x1b000000 evt->w3 = 0x1038001
Jan 01 00:00:00.680 io_usb_otg.36879 slog 16 hub_notification_disable(353)[tid:2]:
Jan 01 00:00:00.680 io_usb_otg.36879 slog 0 xring_create: ep->mbuf = 0x3f7f45a0
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 1, pdevno 1, portno 1)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 1, pdevno 1, portno 2)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 1, pdevno 1, portno 3)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(172)[tid:9]: (busno 1, pdevno 1, portno 4)
Jan 01 00:00:00.781 io_usb_otg.36879 slog 8 usb_enum_port_extract(192)[tid:9]: status (2)
Jan 01 00:00:01.116 devb_sdmmc_am65x.24590 slog 1800 sdio_wait_cmd: TIMEOUT 1000ms (errno 260) CMD 0, flgs 0x1, arg 0x0, blks 0, blksz 0
Jan 01 00:00:01.719 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:01.719 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:02.735 devb_sdmmc_am65x.24590 slog 1800 sdio_wait_cmd: TIMEOUT 1000ms (errno 260) CMD 0, flgs 0x1, arg 0x0, blks 0, blksz 0
Jan 01 00:00:03.338 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:03.338 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:04.354 devb_sdmmc_am65x.24590 slog 1800 sdio_wait_cmd: TIMEOUT 1000ms (errno 260) CMD 0, flgs 0x1, arg 0x0, blks 0, blksz 0
Jan 01 00:00:04.957 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:04.957 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:05.973 devb_sdmmc_am65x.24590 slog 1800 sdio_wait_cmd: TIMEOUT 1000ms (errno 260) CMD 0, flgs 0x1, arg 0x0, blks 0, blksz 0
Jan 01 00:00:06.576 i2c_tda4.20489 slog 0 Master send NACK for slave 0x22
Jan 01 00:00:06.576 devb_sdmmc_am65x.24590 slog 1800 sdio_cd: Unsupported card inserted
I research the some related posts but not working.
1. Remove `CONFIG_MMC_UHS_SUPPORT=y` on u-boot-ti-staging
2. Add timing=hs into `j721e-evm-ti.build`
devb-sdmmc-am65x blk cache=1m sdio addr=0x04fb0000,irq=36,timing=hs,bs=sscfg=0x8000:ldo=0x600000^117:pwrdev=/dev/i2c0 cam pnp disk name=sd
How do we figure out the problem? We're planning to deploy it to a customized board next.