This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am trying to follow the 'How to Linux Fast Boot on DRA821U' application note and hoping to substitute TinyFS with QNX.
I now have QNX booting, but when I try to set the static IP of the system, QNX seems to hang. The same QNX image is fine when booting from the SD card.
The commands I am using are:
echo "Setting up IP address." io-pkt-v6-hc mount -T io-pkt /sd/tilib/devnp-cpsw2g.so if_up -p am0 ifconfig am0 192.168.1.10 netmask 255.255.0.0
Does booting from xSPI cause the network device to not come online in the same manner?
Cheers for any help with this one!
Michael.
Hello,
Does booting from xSPI cause the network device to not come online in the same manner?
Ideally, the boot mode must not change the behavior of the ethernet driver. Can you tell us what if you are using SPL+Uboot or the SBL to boot up the QNX_IFS?
Also, Can you share the full boot log? Include logs after running "pidin ar" and "slog2info".
Thanks.
Hi Praveen,
I'm using SPL+Uboot, based on this thread. Ideally, we want to boot to QNX using some onboard storage, ideally quickly. I'm not experience with how to boot without UBoot.
As for the boot log, I have attached it below. I've had to adjust the boot sequence to run the commands requested as, typically, I would have setup the IP Address which would make the terminal unusable.
Boot log:
U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 22:36:02 +0000) Model: Texas Instruments K3 J7200 SoC Board: J7200X-PM2-SOM rev E8 SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') Trying to boot from SPI Starting ATF on ARM64 core... NOTICE: BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty NOTICE: BL31: Built : 22:35:07, Mar 3 2023 I/TC: I/TC: OP-TEE version: 3.20.0 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Fri Mar 3 22:35:14 UTC 2023 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: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') I/TC: HUK Initialized 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: Primary CPU switching to normal world boot U-Boot SPL 2021.01-g62a9e51344 (Mar 03 2023 - 22:35:31 +0000) Model: Texas Instruments K3 J7200 SoC Board: J7200X-PM2-SOM rev E8 SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') Detected: J7X-BASE-CPB rev A Detected: J7X-VSC8514-ETH rev E2 Trying to boot from SPI cadence_spi spi@47040000: Can't get reset: -2 jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet. U-Boot 2021.01-g62a9e51344 (Mar 03 2023 - 22:35:31 +0000) SoC: J7200 SR2.0 GP Model: Texas Instruments K3 J7200 SoC Board: J7200X-PM2-SOM rev E8 DRAM: 4 GiB Flash: 0 Bytes MMC: sdhci@4f80000: 0, sdhci@4fb0000: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@2800000 Out: serial@2800000 Err: serial@2800000 am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000 Detected: J7X-BASE-CPB rev A Detected: J7X-VSC8514-ETH rev E2 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 Failed to load 'boot.scr' 556 bytes read in 2 ms (271.5 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... gpio: pin gpio@22_17 (gpio 126) value is 1 gpio: pin gpio@22_16 (gpio 125) value is 0 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 Failed to load '/lib/firmware/j7200-main-r5f0_0-fw' Failed to load '/lib/firmware/j7200-main-r5f0_1-fw' 9848304 bytes read in 135 ms (69.6 MiB/s) ## Starting application at 0x80080000 ... MMU: 16-bit ASID 44-bit PA TCR_EL1=b5183519 cpu0: MPIDR=80000000 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 set_usb_clock:88 Not configuring SERDES clocks to avoid conflict with EthFW init_usb_host:155 Not configuring SERDES to avoid conflict with EthFW Loading IFS...decompressing...done I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot cpu1: MPIDR=80000001 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 System page at phys:0000000080011000 user:ffffff8040254000 kern:ffffff8040251000 Starting next program at vffffff8060087280 All ClockCycles offsets within tolerance Welcome to QNX Neutrino 7.1.0 on the TI J7200 EVM Board!! Starting random service ... Starting Serial driver ... Starting I2C driver ... Starting MMC/SD memory card driver... eMMC Starting MMC/SD memory card driver... SD Starting Flash driver... NOT Starting XHCI driver Setting environment variables... done.. Mounting the sd .. Path=0 - am65x target=0 lun=0 Direct-Access(0) - SDMMC: S0J56X Rev: 1.0 Looking for user script to run: /emmc/scripts/user.sh Running user script... user.sh called... Setting additional environment variables... Starting tisci-mgr.. Starting shmemallocator.. Starting tiipc-mgr.. Starting tiudma-mgr.. done...
Slog2Info:
Jan 01 00:00:00.020 random.5 low* 0 qcrypto: loading configuration file '/etc/qcrypto.conf' [qcrypto_common.c(190)] Jan 01 00:00:00.021 random.5..0 slog* 700 Random is using the Fortuna PRNG Jan 01 00:00:00.025 random.5 low 0 qcrypto: 'openssl' plugin loaded [qcrypto_plugins.c(354)] Jan 01 00:00:00.025 random.5..0 slog 700 Selecting timer as an entropy source Jan 01 00:00:00.026 random.5..0 slog 700 Registered path names Jan 01 00:00:00.026 random.5..0 slog 700 random: starting resmgr Jan 01 00:00:00.026 random.5..0 slog 700 random: Daemonizing the process Jan 01 00:00:00.040 devb_sdmmc_am65x.9 slog* 1800 devb-sdmmc-am65x 1.00A (May 11 2023 11:35:49) Jan 01 00:00:00.040 devb_sdmmc_am65x.9 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004 Jan 01 00:00:00.041 devb_sdmmc_am65x.9 slog 1800 sdio_cd: insertion path 0, cd state 0x1 Jan 01 00:00:00.042 devb_sdmmc_am65x.10 slog* 1800 devb-sdmmc-am65x 1.00A (May 11 2023 11:35:49) Jan 01 00:00:00.043 devb_sdmmc_am65x.10 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004 Jan 01 00:00:00.044 devb_sdmmc_am65x.10 slog 1800 sdio_cd: insertion path 0, cd state 0x1 Jan 01 00:00:00.054 qconn.13 slog* 0 Couldn't initialize listen service: tcp (Address family not supported by protocol family) Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 MMC CID: Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 MID 0x13, OID 0x4e, PNM S0J56X Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 PRV 0x10, PSN 0x3469d13d, MDT 7-2022 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 MMC CSD: Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 CSD_STRUCTURE 3, SPEC_VERS 4, CCC 0x8f5 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 TAAC 127, NSAC 1, TRAN_SPEED 50 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 C_SIZE 4095, C_SIZE_MULT 7 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 READ_BL_LEN 9, WRITE_BL_LEN 9 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 ERASE GRP_SIZE 31, GRP_MULT 31, SIZE 0 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 blksz 512, sectors 2097152, dtr 25000000 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 MMC EXT CSD: Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 DEVICE_TYPE 0x57, EXT_CSD_REV 8 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 SEC_COUNT 31080448, dtr 200000000 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 HC_ERASE_GRP_SIZE 1, HC_WP_GRP_SIZE 16 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 STROBE 0x0, BKOPS_EN 0x0 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 Driver type: 0x0 Jan 01 00:00:00.133 devb_sdmmc_am65x.9 slog 1800 CFG: Timing HS200, DTR 200000000, Bus Width 8 bit Jan 01 00:00:00.134 devb_sdmmc_am65x.9 slog 100 cam-disk.so (Sep 3 2021 11:57:42) Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 SD CID: Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 MID 0x3, OID 0x5344, PNM SC16G Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 PRV 0x4a, PSN 0x554aba89, MDT 5-2021 Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 SD CSD: Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 CSD_STRUCTURE 1, SPEC_VERS 0, CCC 0x5b5 Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 TAAC 14, NSAC 0, TRAN_SPEED 50 Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 C_SIZE 30386, C_SIZE_MULT 0 Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 READ_BL_LEN 9, WRITE_BL_LEN 9 Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 ERASE GRP_SIZE 0, GRP_MULT 0, SIZE 127 Jan 01 00:00:00.227 devb_sdmmc_am65x.10 slog 1800 blksz 512, sectors 31116288, dtr 25000000 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 SD SW CAPS: Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 bus mode 0x1f, cmd sys 0x1 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 drv type 0xf, curr limit 0xf Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 dtr 50000000 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 CFG: Timing SDR104, DTR 200000000, Bus Width 4 bit Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 100 cam-disk.so (Sep 3 2021 11:57:42) Jan 01 00:00:00.332 tisci_mgr.32784 slog* 55 SYSFW Firmware Version 8.6.3--v08.06.03 (Chill Capybar Jan 01 00:00:00.332 tisci_mgr.32784 slog 55 SYSFW Firmware revision 0x8 Jan 01 00:00:00.332 tisci_mgr.32784 slog 55 SYSFW ABI revision 3.1 Jan 01 00:00:00.340 shmemallocator.45073 slog* 0 SharedMemoryAllocator: BaseAddress: 0xbc000000 Size: 0x20000000 (536870912) Jan 01 00:00:00.340 shmemallocator.45073 slog 0 SharedMemoryAllocator: BaseAddress: 0x00000000 Size: 0x00000000 (0) Jan 01 00:00:00.350 tiipc_mgr.49170 slog* 55 tiipc-mgr: Starting TI IPC Resmgr Jan 01 00:00:00.350 tiipc_mgr.49170 slog 55 tiipc-mgr: Using VRING base address: 0xa4000000, size:0x800000 Jan 01 00:00:00.378 tiipc_mgr.49170 slog 0 [IPC] Jan 01 00:00:00.378 tiipc_mgr.49170 slog 0 Mailbox_plugInterrupt: interrupt Number 677, arg 0x3C074E18 Jan 01 00:00:00.404 tiipc_mgr.49170 slog 0 [IPC] Jan 01 00:00:00.404 tiipc_mgr.49170 slog 0 Mailbox_plugInterrupt: interrupt Number 678, arg 0x3C074FB8
Pidin:
# pidin ar pid Arguments 1 procnto-smp-instr -v 2 slogger2 3 pipe 4 dumper -d /tmp 5 random -t 6 devc-seromap -e -F 0x02800000,224 7 i2c-omap35xx -p0x2000000 -i232 -d 8 i2c-omap35xx -p0x2010000 -i233 -d 9 devb-sdmmc-am65x blk cache=1m sdio addr=0x4f80000,irq=35,timing=~hs400,emmc,bs=sscfg=0x8000 disk name=emmc 10 devb-sdmmc-am65x blk cache=1m sdio addr=0x04fb0000,irq=36,bs=sscfg=0x8000:ldo=0x600000^55:pwrdev=/dev/i2c0 cam pnp disk name=sd 11 devf-j7-ospi rclk=200000000,clk=25000000,rdelay=4 12 devc-pty 13 qconn 15 inetd 4110 ksh /proc/boot/.console_ti.sh 32784 tisci-mgr 45073 shmemallocator 49170 tiipc-mgr 53267 tiudma-mgr 57364 ksh ksh 69653 pidin ar
From here, the user.sh would typically setup the IP address with the commands listed above, but it will cause the OS to hang. I have tried the commands manually with no difference.
Hi Michael,
Thanks. From the logs, it seems that the board booted fine and there is no issue seen.
We suspect some issue in the commands you added to user.sh file. Suggest removing the lines you added to user.sh and try calling it from the debug prompt and share the logs. Type each one of the below command one by one and let us know what you experience:
slog2info -w &
io-pkt-v6-hc -d cpsw2g
ifconfig am0 192.168.1.10
ifconfig -v
Thanks.
Hi Praveen,
I ran those commands, it still seems to hang when setting an IP address.
The logs are below:
# slog2info -w & [1] 61461 Jan 01 00:00:00.012 console.2 0 -----ONLINE----- Jan 01 00:00:00.019 random.5 0 -----ONLINE----- Jan 01 00:00:00.020 random.5 low* 0 qcrypto: loading configuration file '/etc/qcrypto.conf' [qcrypto_common.c(190)] Jan 01 00:00:00.020 random.5..0 0 -----ONLINE----- Jan 01 00:00:00.020 random.5..0 slog* 700 Random is using the Fortuna PRNG Jan 01 00:00:00.025 random.5 low 0 qcrypto: 'openssl' plugin loaded [qcrypto_plugins.c(354)] Jan 01 00:00:00.025 random.5..0 slog 700 Selecting timer as an entropy source Jan 01 00:00:00.025 random.5..0 slog 700 Registered path names Jan 01 00:00:00.025 random.5..0 slog 700 random: starting resmgr Jan 01 00:00:00.025 random.5..0 slog 700 random: Daemonizing the process Jan 01 00:00:00.040 devb_sdmmc_am65x.9 0 -----ONLINE----- Jan 01 00:00:00.040 devb_sdmmc_am65x.9 slog* 1800 devb-sdmmc-am65x 1.00A (May 11 2023 11:35:49) Jan 01 00:00:00.040 devb_sdmmc_am65x.9 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004 Jan 01 00:00:00.041 devb_sdmmc_am65x.9 slog 1800 sdio_cd: insertion path 0, cd state 0x1 Jan 01 00:00:00.042 devb_sdmmc_am65x.10 0 -----ONLINE----- Jan 01 00:00:00.042 devb_sdmmc_am65x.10 slog* 1800 devb-sdmmc-am65x 1.00A (May 11 2023 11:35:49) Jan 01 00:00:00.043 devb_sdmmc_am65x.10 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004 Jan 01 00:00:00.044 devb_sdmmc_am65x.10 slog 1800 sdio_cd: insertion path 0, cd state 0x1 Jan 01 00:00:00.054 qconn.13 0 -----ONLINE----- Jan 01 00:00:00.054 qconn.13 slog* 0 Couldn't initialize listen service: tcp (Address family not supported by protocol family) Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 MMC CID: Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 MID 0x13, OID 0x4e, PNM S0J56X Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 PRV 0x10, PSN 0x3469d13d, MDT 7-2022 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 MMC CSD: Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 CSD_STRUCTURE 3, SPEC_VERS 4, CCC 0x8f5 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 TAAC 127, NSAC 1, TRAN_SPEED 50 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 C_SIZE 4095, C_SIZE_MULT 7 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 READ_BL_LEN 9, WRITE_BL_LEN 9 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 ERASE GRP_SIZE 31, GRP_MULT 31, SIZE 0 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 blksz 512, sectors 2097152, dtr 25000000 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 MMC EXT CSD: Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 DEVICE_TYPE 0x57, EXT_CSD_REV 8 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 SEC_COUNT 31080448, dtr 200000000 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 HC_ERASE_GRP_SIZE 1, HC_WP_GRP_SIZE 16 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 STROBE 0x0, BKOPS_EN 0x0 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 Driver type: 0x0 Jan 01 00:00:00.131 devb_sdmmc_am65x.9 slog 1800 CFG: Timing HS200, DTR 200000000, Bus Width 8 bit Jan 01 00:00:00.132 devb_sdmmc_am65x.9 slog 100 cam-disk.so (Sep 3 2021 11:57:42) Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 SD CID: Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 MID 0x3, OID 0x5344, PNM SC16G Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 PRV 0x4a, PSN 0x554aba89, MDT 5-2021 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 SD CSD: Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 CSD_STRUCTURE 1, SPEC_VERS 0, CCC 0x5b5 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 TAAC 14, NSAC 0, TRAN_SPEED 50 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 C_SIZE 30386, C_SIZE_MULT 0 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 READ_BL_LEN 9, WRITE_BL_LEN 9 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 ERASE GRP_SIZE 0, GRP_MULT 0, SIZE 127 Jan 01 00:00:00.228 devb_sdmmc_am65x.10 slog 1800 blksz 512, sectors 31116288, dtr 25000000 Jan 01 00:00:00.229 devb_sdmmc_am65x.10 slog 1800 SD SW CAPS: Jan 01 00:00:00.229 devb_sdmmc_am65x.10 slog 1800 bus mode 0x1f, cmd sys 0x1 Jan 01 00:00:00.229 devb_sdmmc_am65x.10 slog 1800 drv type 0xf, curr limit 0xf Jan 01 00:00:00.229 devb_sdmmc_am65x.10 slog 1800 dtr 50000000 Jan 01 00:00:00.229 devb_sdmmc_am65x.10 slog 1800 CFG: Timing SDR104, DTR 200000000, Bus Width 4 bit Jan 01 00:00:00.229 devb_sdmmc_am65x.10 slog 100 cam-disk.so (Sep 3 2021 11:57:42) Jan 01 00:00:00.331 tisci_mgr.32784 0 -----ONLINE----- Jan 01 00:00:00.331 tisci_mgr.32784 slog* 55 SYSFW Firmware Version 8.6.3--v08.06.03 (Chill Capybar Jan 01 00:00:00.331 tisci_mgr.32784 slog 55 SYSFW Firmware revision 0x8 Jan 01 00:00:00.331 tisci_mgr.32784 slog 55 SYSFW ABI revision 3.1 Jan 01 00:00:00.340 shmemallocator.45073 0 -----ONLINE----- Jan 01 00:00:00.340 shmemallocator.45073 slog* 0 SharedMemoryAllocator: BaseAddress: 0xbc000000 Size: 0x20000000 (536870912) Jan 01 00:00:00.340 shmemallocator.45073 slog 0 SharedMemoryAllocator: BaseAddress: 0x00000000 Size: 0x00000000 (0) Jan 01 00:00:00.351 tiipc_mgr.49170 0 -----ONLINE----- Jan 01 00:00:00.351 tiipc_mgr.49170 slog* 55 tiipc-mgr: Starting TI IPC Resmgr Jan 01 00:00:00.351 tiipc_mgr.49170 slog 55 tiipc-mgr: Using VRING base address: 0xa4000000, size:0x800000 Jan 01 00:00:00.377 tiipc_mgr.49170 slog 0 [IPC] Jan 01 00:00:00.378 tiipc_mgr.49170 slog 0 Mailbox_plugInterrupt: interrupt Number 677, arg 0x65DF9E18 Jan 01 00:00:00.404 tiipc_mgr.49170 slog 0 [IPC] Jan 01 00:00:00.404 tiipc_mgr.49170 slog 0 Mailbox_plugInterrupt: interrupt Number 678, arg 0x65DF9FB8 # io-pkt-v6-hc -d cpsw2g # Jan 01 00:00:46.719 iopkt.65558 0 -----ONLINE----- Jan 01 00:00:46.719 iopkt.65558 main_buffer* 0 tcpip starting Jan 01 00:00:46.719 iopkt.65558 main_buffer 0 smmu support is disabled Jan 01 00:00:46.720 iopkt.65558 main_buffer 0 initializing IPsec... Jan 01 00:00:46.720 iopkt.65558 main_buffer 0 done Jan 01 00:00:46.721 iopkt.65558 main_buffer 0 IPsec: Initialized Security Association Processing. Jan 01 00:00:46.722 iopkt.65558 main_buffer 0 devnp-cpsw2g.so (null) Jan 01 00:00:46.723 io_pkt_v6_hc.65558 0 -----ONLINE----- Jan 01 00:00:46.723 iopkt.65558 main_buffer 0 am0 Jan 01 00:00:46.723 io_pkt_v6_hc.65558 slog* 0 cpsw_entry:544 Entry --> Jan 01 00:00:46.723 io_pkt_v6_hc.65558 slog 0 cpsw_attach:716 Entry --> Jan 01 00:00:46.723 io_pkt_v6_hc.65558 slog 0 Success - write to MCU_ENET_CTRL - 0x12 Jan 01 00:00:46.723 io_pkt_v6_hc.65558 slog 0 Success - write to MCU_ENET_CLKSEL - 0xf00 # ifconfig am0 192.168.1.10 Jan 01 00:01:08.086 io_pkt_v6_hc.65558 slog 0 Assertion @ Line: 151 in src/core/enet_osal.c: cfg->delay != NULL : failed !!! Jan 01 00:01:08.086 io_pkt_v6_hc.65558 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:4 From 1 To 0 Jan 01 00:01:08.086 io_pkt_v6_hc.65558 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 1 To 0 Jan 01 00:01:08.086 io_pkt_v6_hc.65558 slog 0 ENET_CPSW_2G on MCU NAVSS Jan 01 00:01:08.089 tiudma_mgr.53267 0 -----ONLINE----- Jan 01 00:01:08.089 tiudma_mgr.53267 slog* 55 udma_io_devctl:400 UDMA---> vintr.vintrNum=19 Jan 01 00:01:08.089 tiudma_mgr.53267 slog 55 udma_io_devctl:413 UDMA---> rintr.preferredIrIntrNum=-65535 irintr.irIntrNum=11 Jan 01 00:01:08.096 io_pkt_v6_hc.65558 slog 0 EnetIf_registerIntr2: tx isr 75 thread priority set to 21 Jan 01 00:01:08.096 io_pkt_v6_hc.65558 slog 0 EnetIf_CreateISRThread: InterruptAttachEvent succeed irq/75 coid/1073741848 event/9 Jan 01 00:01:08.096 io_pkt_v6_hc.65558 slog 0 Enet_open: cpsw2g: features: 0x00000002 Jan 01 00:01:08.096 io_pkt_v6_hc.65558 slog 0 Enet_open: cpsw2g: errata : 0x00000000 Jan 01 00:01:08.097 io_pkt_v6_hc.65558 slog 0 cpsw_alloc:299: Alloc successfull; Virt: 0x3791017000, Phys: 0x8f7290000 Jan 01 00:01:08.097 io_pkt_v6_hc.65558 slog 0 EnetUdma_memMgrInit: addr=0x3791017000 is aligned Jan 01 00:01:08.097 tiudma_mgr.53267 slog 55 udma_io_devctl:281 UDMA---> rx.preferredChNum=-65535, rx.ChNum=18 Jan 01 00:01:08.097 tiudma_mgr.53267 slog 55 udma_io_devctl:374 UDMA---> freering.ringNum=120 Jan 01 00:01:08.098 tiudma_mgr.53267 slog 55 udma_io_devctl:374 UDMA---> freering.ringNum=121 Jan 01 00:01:08.098 tiudma_mgr.53267 slog 55 udma_io_devctl:374 UDMA---> freering.ringNum=122 Jan 01 00:01:08.099 io_pkt_v6_hc.65558 slog 0 EnetIf_registerIntr: cpsw stat isr thread priority set to 21 Jan 01 00:01:08.099 io_pkt_v6_hc.65558 slog 0 EnetIf_CreateISRThread: InterruptAttachEvent succeed irq/888 coid/1073741852 event/a Jan 01 00:01:08.099 io_pkt_v6_hc.65558 slog 0 EnetIf_registerIntr: cpsw cpts isr thread priority set to 22 Jan 01 00:01:08.099 io_pkt_v6_hc.65558 slog 0 EnetIf_CreateISRThread: InterruptAttachEvent succeed irq/890 coid/1073741854 event/b Jan 01 00:01:08.099 io_pkt_v6_hc.65558 slog 0 EnetPhy_setNextState: PHY 0: INIT -> FINDING (20 ticks) Jan 01 00:01:08.099 io_pkt_v6_hc.65558 slog 0 EnetPhy_setNextState: PHY 0: FINDING -> FOUND (0 ticks)
Thanks for the help,
Michael.
Thanks Michael,
Looks like there is a failure in the low level driver which is causing the issue you are seeing, See the log message:
Jan 01 00:01:08.086 io_pkt_v6_hc.65558 slog 0
Assertion @ Line: 151 in src/core/enet_osal.c: cfg->delay != NULL : failed !!!
We will try to investigate what is triggering this and let you know if there is any code update required or not.
Thanks.
Hello Michael,
We do not see this on the latest SDK release. Can you retest on the new release and let us know.
Thanks.