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 TI experts,
Custom tda4vm-echo board & SDK (PROCESSOR-SDK-RTOS-J721S2 08_00_04_04 )
Issue: R5F DSI Display Not works. There is no output from dsi mipi-data pins.
my board is designed with dsi0-tx output -> MAX9283 --> MAX9278 --> PANEL(1080p is supported by the display pannel),
The patch is listed below:
vision_0801.patch
diff --git a/platform/j721s2/rtos/common/app_cfg_mcu2_0.h b/platform/j721s2/rtos/common/app_cfg_mcu2_0.h index 7e0e1d5..f5d48b8 100755 --- a/platform/j721s2/rtos/common/app_cfg_mcu2_0.h +++ b/platform/j721s2/rtos/common/app_cfg_mcu2_0.h @@ -77,7 +77,8 @@ #ifdef BUILD_MCU_BOARD_DEPENDENCIES #define ENABLE_CSI2RX - #define ENABLE_CSI2TX + // #define ENABLE_CSI2TX + #undef ENABLE_CSI2TX /* IMPORANT NOTE: * - Only one of ENABLE_DSS_SINGLE or ENABLE_DSS_DUAL should be defined @@ -89,13 +90,15 @@ /* define below to enable eDP display, make sure to undef ENABLE_DSS_HDMI & ENABLE_DSS_DSI as well */ - #define ENABLE_DSS_EDP + // #define ENABLE_DSS_EDP + #undef ENABLE_DSS_EDP /* define below to enable HDMI display, make sure to undef ENABLE_DSS_EDP & ENABLE_DSS_DSI as well */ #undef ENABLE_DSS_HDMI /* define below to enable DSI display, make sure to undef ENABLE_DSS_HDMI & ENABLE_DSS_EDP as well */ - #undef ENABLE_DSS_DSI + // #undef ENABLE_DSS_DSI + #define ENABLE_DSS_DSI #define ENABLE_I2C #define ENABLE_BOARD @@ -129,6 +132,8 @@ #if defined (ENABLE_DSS_DSI) && defined (ENABLE_CSI2TX) #error "CSI2TX and DSI cannot be active at the same time" #endif +/* max9283 init*/ +#define MAX9283_BOARD_INIT #undef ENABLE_PCIE_DEMO diff --git a/platform/j721s2/rtos/common/app_init.c b/platform/j721s2/rtos/common/app_init.c index d2f3476..20dd4c5 100755 --- a/platform/j721s2/rtos/common/app_init.c +++ b/platform/j721s2/rtos/common/app_init.c @@ -104,6 +104,20 @@ #include <ti/drv/uart/UART.h> #include <ti/drv/uart/UART_stdio.h> +/* PDK GPIO header files */ +#include <ti/drv/gpio/GPIO.h> +#include <ti/drv/gpio/soc/GPIO_soc.h> +#include <ti/drv/gpio/src/v0/GPIO_v0.h> + +#ifdef MAX9283_BOARD_INIT +#include <ti/board/src/devices/board_devices.h> +#include <ti/drv/i2c/I2C.h> +#include <ti/drv/i2c/soc/I2C_soc.h> +#include <ti/board/src/j721s2_evm/include/board_cfg.h> +#include <ti/board/src/j721s2_evm/include/board_internal.h> +#include <ti/board/src/devices/pmic/tps65941.h> +#endif + app_log_shared_mem_t g_app_log_shared_mem __attribute__ ((section(".bss:app_log_mem"))) __attribute__ ((aligned(4096))) @@ -171,6 +185,97 @@ void appLogDeviceWrite(char *string, uint32_t max_size) } #endif +#ifdef MAX9283_BOARD_INIT + +#define MAX9286_PWDN_GPIO (8) +#define GPIO_PIN_VAL_HIGH (1) +#define GPIO_PIN_VAL_LOW (0) +#define GPIO_MAIN_DOMAIN_0 (0) + +typedef enum +{ + ENUM_MAX9283_0_PWDN_ENABLE = 0, +} BOARD_DISPLAY_GPIO_CTL; + +GPIO_PinConfig gpioPinConfigs[] = +{ + GPIO_DEVICE_CONFIG(GPIO_MAIN_DOMAIN_0, MAX9286_PWDN_GPIO) | GPIO_CFG_OUTPUT, +}; + +GPIO_CallbackFxn gpioCallbackFunctions[] = +{ + NULL, +}; + +GPIO_v0_Config GPIO_v0_config = +{ + gpioPinConfigs, + gpioCallbackFunctions, + sizeof(gpioPinConfigs) / sizeof(GPIO_PinConfig), + sizeof(gpioCallbackFunctions) / sizeof(GPIO_CallbackFxn), + 0 +}; + +int32_t setupMax9283Pwdn(int val) +{ + Board_initCfg boardCfg; + boardCfg = BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UART_STDIO | BOARD_INIT_MODULE_CLOCK; + Board_init(boardCfg); + GPIO_init(); + GPIO_write((ENUM_MAX9283_0_PWDN_ENABLE), val); + // GPIO_write((ENUM_MAX9283_0_PWDN_ENABLE), GPIO_PIN_VAL_LOW); + return 0; +} + + +static int32_t setupMax9283Power() +{ + int ret = -1; + + I2C_Handle handle = NULL; + + /* I2C instance connected to PMIC - WKUP I2C0 */ + handle = Board_getI2CHandle(BOARD_SOC_DOMAIN_WKUP, BOARD_I2C_PMIC_INSTANCE); + if(handle == NULL) + { + appLogPrintf("BOARD_I2C_PMIC_INSTANCE I2C Open Failed !!!\n"); + return ret; + } + + ret = Board_tps65941SetVoltage(handle, \ + BOARD_I2C_LEO_PMIC_B_ADDR, \ + BOARD_TPS65941_BUCK2_RESOURCE, \ + 1000); + if(ret != BOARD_SOK) + { + appLogPrintf("Board_tps65941SetVoltage to 1V failed !!!\n"); + }else{ + appLogPrintf("Board_tps65941SetVoltage to 1V success !!!\n"); + } + + return ret; +} + +static int32_t Max9283BoardInit() +{ + int32_t ret = -1; + appLogPrintf("Max9283BoardInit ...\n"); + + setupMax9283Pwdn(GPIO_PIN_VAL_HIGH); + + ret = setupMax9283Power(); + if(ret != 0){ + appLogPrintf("setupMax9283Power failed !!!\n"); + }else{ + appLogPrintf("setupMax9283Power ready\n"); + } + + appLogPrintf("Max9283BoardInit Done !!!\n"); + return ret; +} + +#endif + int32_t appInit() { int32_t status = 0; @@ -383,7 +488,7 @@ int32_t appInit() pinmux_cfg.enable_i2c = TRUE; /* i2c is needed for on board HDMI mux config, eDP to HDMI adapter config */ #endif - appSetPinmux(&pinmux_cfg); + appSetPinmux(&pinmux_cfg); /*config i2c gpio for cap & display*/ } #endif @@ -509,6 +614,11 @@ int32_t appInit() appI2cInit(); #endif + #ifdef MAX9283_BOARD_INIT + status = Max9283BoardInit(); + // APP_ASSERT_SUCCESS(status); + #endif + #ifdef ENABLE_DSS_SINGLE { app_dss_default_prm_t prm; @@ -537,15 +647,46 @@ int32_t appInit() #ifdef ENABLE_DSS_DSI prm.display_type = APP_DSS_DEFAULT_DISPLAY_TYPE_DSI; + + prm.timings.width = 1920U; + prm.timings.height = 1080U; + prm.timings.hFrontPorch = 88U; + prm.timings.hBackPorch = 148U; + prm.timings.hSyncLen = 44U; + prm.timings.vFrontPorch = 4U; + prm.timings.vBackPorch = 36U; prm.timings.vSyncLen = 5U; - prm.timings.pixelClock = 74250000ULL; + prm.timings.pixelClock = 74250000ULL; //30Hz + #endif status = appDssDefaultInit(&prm); APP_ASSERT_SUCCESS(status); diff --git a/platform/j721s2/rtos/mcu2_0/concerto.mak b/platform/j721s2/rtos/mcu2_0/concerto.mak index 756b9b7..8ac4542 100755 --- a/platform/j721s2/rtos/mcu2_0/concerto.mak +++ b/platform/j721s2/rtos/mcu2_0/concerto.mak @@ -15,8 +15,12 @@ CSOURCES := main.c include $($(_MODULE)_SDIR)/concerto_mcu2_0_inc.mak IDIRS+=$(VISION_APPS_PATH)/platform/$(SOC)/rtos/common_linux +# gpio lib +LDIRS += $(PDK_PATH)/packages/ti/drv/gpio/lib/j721s2/r5f/$(TARGET_BUILD)/ STATIC_LIBS += app_rtos_linux +#gpio lib +ADDITIONAL_STATIC_LIBS += ti.drv.gpio.aer5f include $(FINALE) diff --git a/platform/j721s2/rtos/mcu2_0/concerto_mcu2_0_inc.mak b/platform/j721s2/rtos/mcu2_0/concerto_mcu2_0_inc.mak index e328d92..127f78e 100755 --- a/platform/j721s2/rtos/mcu2_0/concerto_mcu2_0_inc.mak +++ b/platform/j721s2/rtos/mcu2_0/concerto_mcu2_0_inc.mak @@ -47,5 +47,7 @@ ADDITIONAL_STATIC_LIBS += vhwa.aer5f ADDITIONAL_STATIC_LIBS += pm_lib.aer5f ADDITIONAL_STATIC_LIBS += sciclient.aer5f +# gpio +ADDITIONAL_STATIC_LIBS += ti.drv.gpio.aer5f DEFS += $(RTOS) diff --git a/utils/dss/src/app_dctrl.c b/utils/dss/src/app_dctrl.c index d589103..48e3a3e 100755 --- a/utils/dss/src/app_dctrl.c +++ b/utils/dss/src/app_dctrl.c @@ -541,7 +541,8 @@ static int32_t appDctrlSetDsiParamsCmd(Fvid2_Handle handle, if(0 == retVal) { - dsi_params.numOfLanes = prms->num_lanes; + dsi_params.numOfLanes = 4u;//prms->num_lanes; + dsi_params.laneSpeedInKbps = 267300;// (1920+88+148+44)x(1080+4+36+5)x30x24*1.2/4/2 = 267300,000 retVal = Fvid2_control(handle, IOCTL_DSS_DCTRL_SET_DSI_PARAMS, &dsi_params, NULL); diff --git a/utils/dss/src/app_dss_defaults.c b/utils/dss/src/app_dss_defaults.c index 087b928..974fa01 100755 --- a/utils/dss/src/app_dss_defaults.c +++ b/utils/dss/src/app_dss_defaults.c @@ -148,7 +148,13 @@ int32_t appDssDefaultInit(app_dss_default_prm_t *prm) if (prm->display_type == APP_DSS_DEFAULT_DISPLAY_TYPE_DSI) { + #if defined (SOC_J721E) appDssConfigureUB941AndUB925(prm); + #endif + + #if defined (SOC_J721S2) + appDssConfigureMax9283(prm); + #endif } appDssInitParamsInit(&dssParams); @@ -357,7 +363,7 @@ int32_t appDctrlDefaultInit(app_dss_default_obj_t *obj) if(obj->initPrm.display_type==APP_DSS_DEFAULT_DISPLAY_TYPE_DSI) { /* Only two lanes output supported for AOU LCD */ - dsiParams.num_lanes = 2u; + dsiParams.num_lanes = 4u;//2u; retVal+= appRemoteServiceRun(cpuId, APP_DCTRL_REMOTE_SERVICE_NAME, APP_DCTRL_CMD_SET_DSI_PARAMS, &dsiParams, sizeof(app_dctrl_dsi_params_t), 0U); } diff --git a/utils/dss/src/app_dss_defaults_priv.h b/utils/dss/src/app_dss_defaults_priv.h index 489ae74..8f3cf71 100755 --- a/utils/dss/src/app_dss_defaults_priv.h +++ b/utils/dss/src/app_dss_defaults_priv.h @@ -114,7 +114,7 @@ void appDssConfigureUB941AndUB925(app_dss_default_prm_t *prm); int32_t appDctrlDualDisplayDefaultInit(app_dss_dual_display_default_obj_t *obj); int32_t appDctrlDualDisplayDefaultDeInit(void); - +void appDssConfigureMax9283(app_dss_default_prm_t *prm); #endif /* APP_DSS_DEFAULT_PRIV_H */ diff --git a/utils/dss/src/app_dss_soc.c b/utils/dss/src/app_dss_soc.c index c9452e9..ac11c1a 100755 --- a/utils/dss/src/app_dss_soc.c +++ b/utils/dss/src/app_dss_soc.c @@ -140,7 +140,6 @@ uint8_t Ub941Ub925Config[][4] = { static int32_t appDssDsiSetBoardMux(); static int32_t appDssDsiInitI2c(); - /* ========================================================================== */ /* Function Defination */ /* ========================================================================== */ @@ -300,6 +299,113 @@ void appDssConfigureDP(void) #endif } +int Board_gmslMax9283_Detect(I2C_Handle gI2cHandle) +{ + int8_t status = -1; + uint8_t regData = 0; + + if(gI2cHandle == NULL) + { + appLogPrintf("DSS: Board_gmslMax9283_Detect gI2cHandle is invalid !!!\n"); + return BOARD_INVALID_PARAM; + } + + status = Board_i2c16BitRegRd( + gI2cHandle, MAX9283_SLAVE_ADDR, (uint16_t)MAX9283_REG_DEVID, + ®Data, 1U, BOARD_I2C_REG_ADDR_MSB_FIRST, BOARD_I2C_TRANSACTION_TIMEOUT); + + if (0 != status) + { + appLogPrintf("DSS: Read Failed for MAX9283 ClintAddr 0x%2x Regaddr 0x%4x !\n", + MAX9283_SLAVE_ADDR, MAX9283_REG_DEVID); + return BOARD_I2C_TRANSFER_FAIL; + } + appLogPrintf("DSS: Board_gmslMax9283_Detect Regaddr device 0x%2x register 0x%4x : 0x%2x !\n", + MAX9283_SLAVE_ADDR, MAX9283_REG_DEVID, regData); + + if (regData == MAX9283_DEVID) + { + appLogPrintf("DSS: Read MAX9283 ClintAddr 0x%2x Regaddr 0x%2x Regval 0x%4x. MAX9283 is avalible!\n", + MAX9283_SLAVE_ADDR, MAX9283_REG_DEVID, regData); + return BOARD_SOK; + } + + return BOARD_FAIL; +} + +int Board_gmslMax9283_Init(I2C_Handle gI2cHandle) +{ + + int8_t status = -1; + uint8_t regData = 0; + + if(gI2cHandle == NULL) + { + appLogPrintf("DSS: Board_gmslMax9283_Detect gI2cHandle is invalid !!!\n"); + return BOARD_INVALID_PARAM; + } + + status = Board_i2c16BitRegRd( + gI2cHandle, MAX9283_SLAVE_ADDR, (uint16_t)MAX9283_GMSL1_07, + ®Data, 1U, BOARD_I2C_REG_ADDR_MSB_FIRST, BOARD_I2C_TRANSACTION_TIMEOUT); + + if (0 != status){ + appLogPrintf("DSS: Read Failed for MAX9283 ClintAddr 0x%2x Regaddr 0x%4x !\n", + MAX9283_SLAVE_ADDR, MAX9283_GMSL1_07); + return BOARD_I2C_TRANSFER_FAIL; + } + + if (regData & 0x20){ + appLogPrintf("max9283 works in 32bit mode,should be 27bit mode\n"); + return BOARD_FAIL; + } + appLogPrintf("max9283 works in 27bit mode\n"); + return BOARD_SOK; +} + +void appDssConfigureMax9283(app_dss_default_prm_t *prm) +{ + int32_t status; + + if(prm->display_type==APP_DSS_DEFAULT_DISPLAY_TYPE_DSI) + { + + appLogPrintf("DSS: Configuring SERDES MAX9283... !!!\n"); + + // status = appDssDsiSetBoardMux(); + + // if (FVID2_SOK == status) + // { + status = appDssDsiInitI2c(); + // } + + if (FVID2_SOK == status) + { + status = Board_gmslMax9283_Detect(gI2cHandle); + if (0 != status){ + appLogPrintf("DSS: SERDES MAX9283 is dead !!!\n"); + }else{ + appLogPrintf("DSS: SERDES MAX9283 is detected !!!\n"); + + status = Board_gmslMax9283_Init(gI2cHandle); + if(0 == status){ + appLogPrintf("DSS: SERDES MAX9283 is ready !!!\n"); + }else{ + appLogPrintf("DSS: SERDES MAX9283 is misconfigured !!!\n"); + } + } + } + + I2C_close(gI2cHandle); + + if (BOARD_SOK == status){ + appLogPrintf("DSS: SERDES Configuration... Done !!!\n"); + }else{ + appLogPrintf("DSS: SERDES Configuration... Failed !!!\n"); + } + } +} + void appDssConfigureUB941AndUB925(app_dss_default_prm_t *prm) { int32_t status; @@ -383,6 +489,7 @@ static int32_t appDssDsiSetBoardMux() return (FVID2_SOK); } +#endif static int32_t appDssDsiInitI2c() { @@ -393,9 +500,14 @@ static int32_t appDssDsiInitI2c() /* Initializes the I2C Parameters */ I2C_Params_init(&i2cParams); i2cParams.bitRate = I2C_400kHz; /* 400KHz */ - +#if defined (SOC_J721E) Board_fpdUb941GetI2CAddr(&domain, &i2cInst, &slaveAddr); +#endif +#if defined (SOC_J721S2) + Board_gmslMax9283GetI2CAddr(&domain, &i2cInst, &slaveAddr); +#endif + appLogPrintf("DSS: domain = %d, i2cInst = %d, slaveAddr = 0x%2x\n", domain, i2cInst, slaveAddr); /* Configures the I2C instance with the passed parameters*/ gI2cHandle = I2C_open(i2cInst, &i2cParams); if(gI2cHandle == NULL) @@ -405,4 +517,3 @@ static int32_t appDssDsiInitI2c() } return (status); } -#endif diff --git a/utils/misc/src/app_pinmux_j721s2.c b/utils/misc/src/app_pinmux_j721s2.c index 0811178..d94b045 100755 --- a/utils/misc/src/app_pinmux_j721s2.c +++ b/utils/misc/src/app_pinmux_j721s2.c @@ -88,6 +88,20 @@ /* ========================================================================== */ /* Global Variables */ /* ========================================================================== */ +static pinmuxPerCfg_t gI2c1PinCfg[] = +{ + /* MyI2C1 -> I2C1_SCL -> AB26 */ + { + PIN_ECAP0_IN_APWM_OUT, PIN_MODE(13) | \ + ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION)) + }, + /* MyI2C1 -> I2C1_SDA -> AD28 */ + { + PIN_EXT_REFCLK1, PIN_MODE(13) | \ + ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION)) + }, + {PINMUX_END} +}; static pinmuxPerCfg_t gI2c4PinCfg[] = { @@ -104,12 +118,6 @@ static pinmuxPerCfg_t gI2c4PinCfg[] = {PINMUX_END} }; -static pinmuxModuleCfg_t gDispPinCfg[] = -{ - {0, TRUE, gI2c4PinCfg}, - {PINMUX_END} -}; - static pinmuxPerCfg_t gI2c5PinCfg[] = { /* MyI2C5 -> I2C5_SCL -> Y24 */ @@ -125,12 +133,18 @@ static pinmuxPerCfg_t gI2c5PinCfg[] = {PINMUX_END} }; -static pinmuxModuleCfg_t gCaptPinCfg[] = +static pinmuxModuleCfg_t gDispPinCfg[] = { {0, TRUE, gI2c5PinCfg}, {PINMUX_END} }; +static pinmuxModuleCfg_t gCaptPinCfg[] = +{ + {0, TRUE, gI2c1PinCfg}, + {PINMUX_END} +}; + static pinmuxBoardCfg_t gBasicDemoPinmuxDataInfo[] = { {0, gDispPinCfg}, @@ -163,12 +177,12 @@ void appSetPinmux(app_pinmux_cfg_t *cfg) { if (TRUE == cfg->enable_i2c) { - /* Enable Pinmux for I2C0 */ + /* Enable Pinmux for I2C5 */ gDispPinCfg[0].doPinConfig = TRUE; } else { - /* Enable Pinmux for I2C0 */ + /* Enable Pinmux for I2C5 */ gDispPinCfg[0].doPinConfig = FALSE; } #if 0 //TODO: Enable this
pdk_0801.patch
diff --git a/packages/ti/board/src/devices/board_devices.h b/packages/ti/board/src/devices/board_devices.h index f73a8320..ea19be68 100755 --- a/packages/ti/board/src/devices/board_devices.h +++ b/packages/ti/board/src/devices/board_devices.h @@ -145,6 +145,8 @@ #include <ti/board/src/devices/fpd/ds90ub953.h> #include <ti/board/src/devices/fpd/ds90ub960.h> #include <ti/board/src/devices/fpd/ds90ub9702.h> +#include <ti/board/src/devices/gmsl/max9283.h> +#include <ti/board/src/devices/pmic/tps65941.h> #endif #if defined(am65xx_evm) || defined(am65xx_idk) diff --git a/packages/ti/board/src/devices/pmic/tps65941.c b/packages/ti/board/src/devices/pmic/tps65941.c index 8784a1d5..925f5ea5 100755 --- a/packages/ti/board/src/devices/pmic/tps65941.c +++ b/packages/ti/board/src/devices/pmic/tps65941.c @@ -3144,3 +3144,24 @@ Board_STATUS Board_tps65941GetEsmCount(void *handle, return boardStatus; } + +/** + * \brief Get max9283 i2c address. + * + * This function is used to get the I2C address and + * channel details of max9283 module. + * + * \param domain [IN] I2C instance domain + * \param chNum [IN] buffer to hold i2c channel number + * \param i2cAddr [IN] buffer to hold i2c address + * + * \return BOARD_SOK in case of success or appropriate error code. + */ +void +Board_tps65941GetI2CAddr(uint8_t * domain, uint8_t *chNum, uint8_t *i2cAddr) +{ + *domain = BOARD_SOC_DOMAIN_WKUP; + *chNum = BOARD_I2C_PMIC_INSTANCE; // wkup_i2c0 + *i2cAddr = 0x4c; +} + diff --git a/packages/ti/board/src/devices/src_files_devices.mk b/packages/ti/board/src/devices/src_files_devices.mk index 4f42f628..ed52e249 100755 --- a/packages/ti/board/src/devices/src_files_devices.mk +++ b/packages/ti/board/src/devices/src_files_devices.mk @@ -1,4 +1,4 @@ -ifeq ($(BOARD),$(filter $(BOARD), j721e_evm)) +ifeq ($(BOARD),$(filter $(BOARD), j721s2_evm)) SRCDIR += src/devices/audio src/devices/combos src/devices/common src/devices/fpd src/devices/sensors src/devices/pmic INCDIR += src/devices/audio src/devices/combos src/devices/common src/devices/fpd src/devices/sensors src/devices/pmic @@ -12,9 +12,9 @@ SRCS_COMMON += common.c pcm3168A.c ds90ub925.c ds90ub926.c ds90ub92x_afe8310.c endif ifeq ($(BOARD),$(filter $(BOARD), j721s2_evm)) -SRCDIR += src/devices/audio src/devices/common src/devices/fpd src/devices/sensors -INCDIR += src/devices/audio src/devices/common src/devices/fpd src/devices/sensors -SRCS_COMMON += common.c pcm3168A.c ds90ub953.c ds90ub960.c imx390.c ds90ub9702.c +SRCDIR += src/devices/audio src/devices/common src/devices/fpd src/devices/sensors src/devices/gmsl +INCDIR += src/devices/audio src/devices/common src/devices/fpd src/devices/sensors src/devices/gmsl +SRCS_COMMON += common.c pcm3168A.c ds90ub953.c ds90ub960.c imx390.c ds90ub9702.c max9283.c endif ifeq ($(BOARD),$(filter $(BOARD), am65xx_evm am65xx_idk)) diff --git a/packages/ti/board/src/j721s2_evm/J721S2_pinmux_data.c b/packages/ti/board/src/j721s2_evm/J721S2_pinmux_data.c index 05bb8064..0fb010bd 100644 --- a/packages/ti/board/src/j721s2_evm/J721S2_pinmux_data.c +++ b/packages/ti/board/src/j721s2_evm/J721S2_pinmux_data.c @@ -112,7 +112,7 @@ static pinmuxPerCfg_t gGpio0PinCfg[] = /* MyGPIO0 -> GPIO0_8 -> AA23 */ { PIN_MCAN15_RX, PIN_MODE(7) | \ - ((PIN_PULL_DISABLE | PIN_INPUT_ENABLE) & (~PIN_PULL_DIRECTION)) + ((PIN_PULL_DISABLE) & (~PIN_PULL_DIRECTION & ~PIN_INPUT_ENABLE)) }, /* MyGPIO0 -> GPIO0_11 -> V23 */ { diff --git a/packages/ti/board/src/j721s2_evm/j721s2_evm_baseboard_pinmux.syscfg b/packages/ti/board/src/j721s2_evm/j721s2_evm_baseboard_pinmux.syscfg index 4d546b48..10a3c01e 100644 --- a/packages/ti/board/src/j721s2_evm/j721s2_evm_baseboard_pinmux.syscfg +++ b/packages/ti/board/src/j721s2_evm/j721s2_evm_baseboard_pinmux.syscfg @@ -1,8 +1,8 @@ /** * These arguments were used when this file was generated. They will be automatically applied on subsequent loads * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments. - * @cliArgs --device "J721S2_beta" --package "ALZ" --part "Default" - * @versions {"data":"20211013","tool":"1.9.0+2015","templates":"20210927"} + * @cliArgs --device "J721S2_TDA4VE_TDA4AL_TDA4VL" --package "ALZ" --part "Default" + * @versions {"tool":"1.13.0+2553"} */ /** @@ -246,6 +246,7 @@ iGPIO1["4"].$used = false; iGPIO1["5"].$used = false; iGPIO1["6"].$used = false; iGPIO1["7"].$used = false; +iGPIO1["8"].rx = false; iGPIO1["8"].$assign = "ball.AA23"; iGPIO1["9"].$used = false; iGPIO1["10"].$used = false; diff --git a/packages/ti/drv/dss/include/dss_dctrl.h b/packages/ti/drv/dss/include/dss_dctrl.h index 9e550091..f8033bd9 100755 --- a/packages/ti/drv/dss/include/dss_dctrl.h +++ b/packages/ti/drv/dss/include/dss_dctrl.h @@ -610,6 +610,12 @@ typedef struct /**< DSI Instance ID, currently note used */ uint32_t numOfLanes; /**< Number of outputs lanes for DSI output, max 4 */ + uint32_t laneSpeedInKbps; + /**< Exact DPHY lane speed from the selected speed band in Megabits per sec. + * This parameter is set to default value during init time. + * If updated in the application after init, newly set value will be used + * for DPHY clock configurations. + */ } Dss_DctrlDsiParams; /* ========================================================================== */ diff --git a/packages/ti/drv/dss/src/drv/dctrl/dss_dctrlDsi.c b/packages/ti/drv/dss/src/drv/dctrl/dss_dctrlDsi.c index 162ee942..db3cae41 100755 --- a/packages/ti/drv/dss/src/drv/dctrl/dss_dctrlDsi.c +++ b/packages/ti/drv/dss/src/drv/dctrl/dss_dctrlDsi.c @@ -70,6 +70,7 @@ /* Base Address of DSI Wrapper */ #define DSITX2_WRAP_REGS_BASE (CSL_DSS_DSI0_DSI_WRAP_MMR_VBUSP_CFG_DSI_WRAP_BASE) +#define DSITX_DPHY_REF_CLK_KHZ_DEF (19200U) /* ========================================================================== */ /* Structure Declarations */ @@ -100,7 +101,22 @@ typedef struct } Dss_DctrlDSIDrvObj; - +/** + * struct Dsitx_DphyRangeData + * + * \brief This structure holds information about DSI Tx Range. Typically used + * for DPHY programming. + * + */ +typedef struct +{ + uint32_t rangeMin; + /**< Lower boundary of the range */ + uint32_t rangeMax; + /**< Hogher boundary of the range */ + uint32_t progVal; + /**< Value to be programmed for given range */ +} Dsitx_DphyRangeData; /* ========================================================================== */ /* Function Declarations */ @@ -128,6 +144,184 @@ extern "C" { static Dss_DctrlDSIDrvObj gDssDctrlDsiDrvObj; +/* This contains information of the PLL input divider value for DPHY + rangeMin and rangeMax is in KHz */ + +static Dsitx_DphyRangeData gDsiTxIpDivInfo[] = +{ + { + .rangeMin = 9600U, + .rangeMax = 19200U, + .progVal = 1U, + }, + { + .rangeMin = 19200U, + .rangeMax = 38400U, + .progVal = 2U, + }, + { + .rangeMin = 38400U, + .rangeMax = 76800U, + .progVal = 4U, + }, + { + .rangeMin = 76800U, + .rangeMax = 150000U, + .progVal = 8U, + }, +}; + +/* This contains information of the PLL output divider value for DPHY + rangeMin and rangeMax is in Mbps */ +static Dsitx_DphyRangeData gDsiTxOpDivInfo[] = +{ + { + .rangeMin = 1250U, + .rangeMax = 2500U, + .progVal = 1U, + }, + { + .rangeMin = 630U, + .rangeMax = 1240U, + .progVal = 2U, + }, + { + .rangeMin = 320U, + .rangeMax = 620U, + .progVal = 4U, + }, + { + .rangeMin = 160U, + .rangeMax = 310U, + .progVal = 8U, + }, + { + .rangeMin = 80U, + .rangeMax = 150U, + .progVal = 16U, + }, +}; + +/* This contains information of the PLL output divider value for DPHY + rangeMin and rangeMax is in Mbps */ +static Dsitx_DphyRangeData gDsiTxLaneSpeedBandInfo[] = +{ + { + .rangeMin = 80U, + .rangeMax = 100U, + .progVal = 0x0, + }, + { + .rangeMin = 100U, + .rangeMax = 120U, + .progVal = 0x1, + }, + { + .rangeMin = 120U, + .rangeMax = 160U, + .progVal = 0x2, + }, + { + .rangeMin = 160U, + .rangeMax = 200U, + .progVal = 0x3, + }, + { + .rangeMin = 200U, + .rangeMax = 240U, + .progVal = 0x4, + }, + { + .rangeMin = 240U, + .rangeMax = 320U, + .progVal = 0x5, + }, + { + .rangeMin = 320U, + .rangeMax = 390U, + .progVal = 0x6, + }, + { + .rangeMin = 390U, + .rangeMax = 450U, + .progVal = 0x7, + }, + { + .rangeMin = 450U, + .rangeMax = 510U, + .progVal = 0x8, + }, + { + .rangeMin = 510U, + .rangeMax = 560U, + .progVal = 0x9, + }, + { + .rangeMin = 560U, + .rangeMax = 640U, + .progVal = 0xA, + }, + { + .rangeMin = 640U, + .rangeMax = 690U, + .progVal = 0xB, + }, + { + .rangeMin = 690U, + .rangeMax = 770U, + .progVal = 0xC, + }, + { + .rangeMin = 770U, + .rangeMax = 870U, + .progVal = 0xD, + }, + { + .rangeMin = 870U, + .rangeMax = 950U, + .progVal = 0xE, + }, + { + .rangeMin = 950U, + .rangeMax = 1000U, + .progVal = 0xF, + }, + { + .rangeMin = 1000U, + .rangeMax = 1200U, + .progVal = 0x10, + }, + { + .rangeMin = 1200U, + .rangeMax = 1400U, + .progVal = 0x11, + }, + { + .rangeMin = 1400U, + .rangeMax = 1600U, + .progVal = 0x12, + }, + { + .rangeMin = 1600U, + .rangeMax = 1800U, + .progVal = 0x13, + }, + { + .rangeMin = 1800U, + .rangeMax = 2000U, + .progVal = 0x14, + }, + { + .rangeMin = 2000U, + .rangeMax = 2200U, + .progVal = 0x15, + }, + { + .rangeMin = 2200U, + .rangeMax = 2500U, + .progVal = 0x16, + }, +}; /* ========================================================================== */ /* Internal/Private Function Declarations */ @@ -155,7 +349,7 @@ static int32_t dssDctrlEnableDsiLinkAndPath(Dss_DctrlDSIDrvObj *dsiObj); static int32_t dssDctrlEnableDsiLink(Dss_DctrlDSIDrvObj *dsiObj); static int32_t dssDctrlEnableDsiDatapath(Dss_DctrlDSIDrvObj *dsiObj); static int32_t dssDctrlWaitForLaneReady(Dss_DctrlDSIDrvObj *dsiObj); - +static int32_t dssdctrlCalcDsiParams(Dss_DctrlDSIDrvObj *dsiObj, const Dss_DctrlDsiParams *dsiPrms); /* ========================================================================== */ /* Function Definitions */ @@ -198,6 +392,8 @@ int32_t Dss_dctrlDrvSetDSIParams(Dss_DctrlDrvInfo *drvInfo, dsiObj->cfgDsiTx.numOfLanes = dsiPrms->numOfLanes; dsiObj->privDsiTx.numOfLanes = dsiPrms->numOfLanes; + status = dssdctrlCalcDsiParams(dsiObj, dsiPrms); + /* Checks to see if the configuration (num of lanes) is valid */ status = DSITX_Probe(&dsiObj->cfgDsiTx, &dsiObj->sysReqDsiTx); if (CDN_EOK == status) @@ -294,6 +490,105 @@ int32_t Dss_dctrlDrvEnableVideoDSI(Dss_DctrlDrvInfo *drvInfo, /* Internal/Private Function Definitions */ /* ========================================================================== */ +static int32_t dssdctrlCalcDsiParams(Dss_DctrlDSIDrvObj *dsiObj, const Dss_DctrlDsiParams *dsiPrms) +{ + int32_t retVal = FVID2_SOK; + uint32_t min, max; + uint32_t idx = 0U; + uint64_t tempResult, refClkKHz; + + /* Get speed band for given lane speed */ + for (idx = 0U ; + idx < (sizeof(gDsiTxLaneSpeedBandInfo) / sizeof(Dsitx_DphyRangeData)); + idx++) + { + min = gDsiTxLaneSpeedBandInfo[idx].rangeMin * 1000; + max = gDsiTxLaneSpeedBandInfo[idx].rangeMax * 1000; + if ((dsiPrms->laneSpeedInKbps >= min) && + (dsiPrms->laneSpeedInKbps <= max)) + { + break; + } + + } + if (idx < (sizeof(gDsiTxLaneSpeedBandInfo) / sizeof(Dsitx_DphyRangeData))) + { + dsiObj->dphyTxRate = (gDsiTxLaneSpeedBandInfo[idx].progVal) | + (gDsiTxLaneSpeedBandInfo[idx].progVal << 5); + } + else + { + retVal = FVID2_EFAIL; + } + + if (retVal == FVID2_SOK) + { + /* TODO: Read the clock runtime through sciclient APIs */ + refClkKHz = DSITX_DPHY_REF_CLK_KHZ_DEF; + /* Calculate DPHY ipdiv - PLL input divider */ + if (retVal == FVID2_SOK) + { + for (idx = 0U ; + idx < (sizeof(gDsiTxIpDivInfo) / sizeof(Dsitx_DphyRangeData)); + idx++) + { + if ((refClkKHz >= gDsiTxIpDivInfo[idx].rangeMin) && + (refClkKHz < gDsiTxIpDivInfo[idx].rangeMax)) + { + break; + } + } + if (idx < (sizeof(gDsiTxIpDivInfo) / sizeof(Dsitx_DphyRangeData))) + { + dsiObj->dphyTxIpDiv = gDsiTxIpDivInfo[idx].progVal; + } + else + { + retVal = FVID2_EFAIL; + } + } + + /* Calculate DPHY opdiv - PLL output divider */ + if (retVal == FVID2_SOK) + { + for (idx = 0U ; + idx < (sizeof(gDsiTxOpDivInfo) / sizeof(Dsitx_DphyRangeData)); + idx++) + { + min = gDsiTxOpDivInfo[idx].rangeMin * 1000; + max = gDsiTxOpDivInfo[idx].rangeMax * 1000; + if ((dsiPrms->laneSpeedInKbps >= min) && + (dsiPrms->laneSpeedInKbps <= max)) + { + break; + } + } + if (idx < (sizeof(gDsiTxOpDivInfo) / sizeof(Dsitx_DphyRangeData))) + { + dsiObj->dphyTxOpDiv = gDsiTxOpDivInfo[idx].progVal; + } + else + { + retVal = FVID2_EFAIL; + } + } + + /* Calculate DPHY fbdiv - PLL feedback divider */ + if (retVal == FVID2_SOK) + { + tempResult = (((uint64_t)dsiPrms->laneSpeedInKbps) * + ((uint64_t)2U) * + ((uint64_t)dsiObj->dphyTxIpDiv) * + ((uint64_t)dsiObj->dphyTxOpDiv)); + tempResult /= (uint64_t)refClkKHz; + + dsiObj->dphyTxFbDiv = (uint32_t)tempResult; + } + } + + return retVal; +} + static void dssDctrlSetDSIInCtrlMod() { /* diff --git a/packages/ti/drv/dss/src/drv/disp/dss_dispApi.c b/packages/ti/drv/dss/src/drv/disp/dss_dispApi.c index 44ebb807..78f9d78d 100755 --- a/packages/ti/drv/dss/src/drv/disp/dss_dispApi.c +++ b/packages/ti/drv/dss/src/drv/disp/dss_dispApi.c @@ -1851,9 +1851,17 @@ static int32_t Dss_dispDrvValidateDssParams(const Dss_DispDrvInstObj *instObj, ((dispParams->pipeCfg.outHeight + dispParams->layerPos.startY) > instObj->dispHeight)) { + + GT_6trace(DssTrace, + GT_ERR, + "outWidth=%d, startX=%d, dispWidth=%d, outHeight=%d, startY=%d, dispHeight=%d\r\n", + dispParams->pipeCfg.outWidth, dispParams->layerPos.startX, + instObj->dispWidth, dispParams->pipeCfg.outHeight, + dispParams->layerPos.startY, instObj->dispHeight); GT_0trace(DssTrace, GT_ERR, "Input width+startX/height+startY > display width/height\r\n"); + retVal = FVID2_EINVALID_PARAMS; }
system bring up uart log & testing demo run_app_dof.sh works fine, from the oscillograph, mipi dsi data pins is high, and clk pins output is ok.
现象: 有帧率显示,但显示屏无图像。需要说明的是,该显示屏可以支持1080p,已在其他平台上验证过。 ▒ U-Boot SPL 2021.01 (Jul 26 2022 - 19:53:29 +0800) SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') SPL initial stack usage: 13440 bytes Trying to boot from MMC2 Starting ATF on ARM64 core... NOTICE: BL31: v2.5(release):e7382dd-dirty NOTICE: BL31: Built : 13:24:11, Jul 21 2022 U-Boot SPL 2021.01 (Jul 26 2022 - 19:53:26 +0800) SYSFW ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') Trying to boot from MMC2 U-Boot 2021.01 (Jul 26 2022 - 19:53:26 +0800) SoC: J721S2 SR1.0 Model: Texas Instruments J721S2 EVM Reading on-board EEPROM at 0x50 failed 1 Board: J721S2X-PM1-SOM rev E1 DRAM: 4 GiB Flash: 0 Bytes MMC: mmc@4f80000: 0, mmc@4fb0000: 1 Loading Environment from MMC... OK In: serial@2810000 Out: serial@2810000 Err: serial@2810000 am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000 Reading on-board EEPROM at 0x50 failed 1 Net: Could not get PHY for ethernet@46000000port@1: addr 0 am65_cpsw_nuss_port ethernet@46000000port@1: phy_connect() failed No ethernet found. 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' 484 bytes read in 7 ms (67.4 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... Running uenvcmd ... 1 bytes read in 7 ms (0 Bytes/s) Already setup. ## Error: "main_cpsw0_qsgmii_phyinit" not defined 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 912520 bytes read in 48 ms (18.1 MiB/s) Load Remote Processor 2 with data@addr=0x82000000 912520 bytes: Success! 297932 bytes read in 23 ms (12.4 MiB/s) Load Remote Processor 3 with data@addr=0x82000000 297932 bytes: Success! Failed to load '/lib/firmware/j721s2-main-r5f1_0-fw' Failed to load '/lib/firmware/j721s2-main-r5f1_1-fw' 14159992 bytes read in 260 ms (51.9 MiB/s) Load Remote Processor 6 with data@addr=0x82000000 14159992 bytes: Success! 9965440 bytes read in 89 ms (106.8 MiB/s) Load Remote Processor 7 with data@addr=0x82000000 9965440 bytes: Success! 19276288 bytes read in 781 ms (23.5 MiB/s) 65740 bytes read in 10 ms (6.3 MiB/s) 9652 bytes read in 8 ms (1.2 MiB/s) ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 000000008feec000, end 000000008fffffff ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080] [ 0.000000] Linux version 5.10.100-g7a7a3af903 (yongfengliu@yongfengliu-ThinkPad-L14-Gen-1) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Mon Jul 25 16:23:18 CST 2022 [ 0.000000] Machine model: Texas Instruments J721S2 EVM [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002810000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a6000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a6100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a7000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@a8000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 31 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@a8100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 111 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@aa100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000b4000000, size 96 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b4000000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000da000000, size 544 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@da000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000008fffeffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000009e7fffff] [ 0.000000] node 0: [mem 0x000000009e800000-0x00000000b0ffffff] [ 0.000000] node 0: [mem 0x00000000b1000000-0x00000000b1ffffff] [ 0.000000] node 0: [mem 0x00000000b2000000-0x00000000fbffffff] [ 0.000000] node 0: [mem 0x00000000fc000000-0x00000000fffeffff] [ 0.000000] node 0: [mem 0x0000000880000000-0x000000088fffffff] [ 0.000000] node 0: [mem 0x0000000890000000-0x00000008fffeffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008fffeffff] [ 0.000000] On node 0, zone Normal: 1 pages in unavailable ranges [ 0.000000] cma: Failed to reserve 512 MiB [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 2 pages/cpu s49880 r8192 d73000 u131072 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: EL2 vector hardening [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65470 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02810000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs) root=PARTUUID=db2f2852-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x000000009a800000-0x000000009e800000] (64MB) [ 0.000000] Memory: 2319296K/4194176K available (10880K kernel code, 1288K rwdata, 4352K rodata, 1856K init, 751K bss, 1874880K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8a0800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x00000008a00b0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008a00c0000 [ 0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4c4 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008349] Console: colour dummy device 80x25 [ 0.012916] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023587] pid_max: default: 32768 minimum: 301 [ 0.028340] LSM: Security Framework initializing [ 0.033090] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear) [ 0.040658] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear) [ 0.049794] rcu: Hierarchical SRCU implementation. [ 0.054891] Platform MSI: msi-controller@1820000 domain created [ 0.061081] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.070373] EFI services will not be available. [ 0.075139] smp: Bringing up secondary CPUs ... [ 0.080275] Detected PIPT I-cache on CPU1 [ 0.080303] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000 [ 0.080316] GICv3: CPU1: using allocated LPI pending table @0x00000008a00d0000 [ 0.080357] CPU1: Booted secondary processor 0x0000000001 [0x411fd080] [ 0.080423] smp: Brought up 1 node, 2 CPUs [ 0.109779] SMP: Total of 2 processors activated. [ 0.114585] CPU features: detected: 32-bit EL0 Support [ 0.119841] CPU features: detected: CRC32 instructions [ 0.134512] CPU: All CPU(s) started at EL2 [ 0.138719] alternatives: patching kernel code [ 0.143836] devtmpfs: initialized [ 0.150883] KASLR disabled due to lack of seed [ 0.155574] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.165545] futex hash table entries: 512 (order: -1, 32768 bytes, linear) [ 0.172697] pinctrl core: initialized pinctrl subsystem [ 0.178305] DMI not present or invalid. [ 0.182555] NET: Registered protocol family 16 [ 0.187382] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.194717] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.202688] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.211005] thermal_sys: Registered thermal governor 'step_wise' [ 0.211009] thermal_sys: Registered thermal governor 'power_allocator' [ 0.217385] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.231033] ASID allocator initialised with 65536 entries [ 0.249103] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages [ 0.255963] HugeTLB registered 512 MiB page size, pre-allocated 0 pages [ 0.262725] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.270591] cryptd: max_cpu_qlen set to 1000 [ 0.276814] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected [ 0.285716] vsys_3v3: supplied by evm_12v0 [ 0.290124] vsys_5v0: supplied by evm_12v0 [ 0.294795] iommu: Default domain type: Translated [ 0.299957] SCSI subsystem initialized [ 0.304038] mc: Linux media interface: v0.10 [ 0.308468] videodev: Linux video capture interface: v2.00 [ 0.314102] pps_core: LinuxPPS API ver. 1 registered [ 0.319176] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.328514] PTP clock support registered [ 0.332535] EDAC MC: Ver: 3.0.0 [ 0.336369] FPGA manager framework [ 0.339887] Advanced Linux Sound Architecture Driver Initialized. [ 0.346570] clocksource: Switched to clocksource arch_sys_counter [ 0.353023] VFS: Disk quotas dquot_6.6.0 [ 0.357087] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes) [ 0.366990] Carveout Heap: Exported 512 MiB at 0x00000000ba000000 [ 0.373296] NET: Registered protocol family 2 [ 0.377889] IP idents hash table entries: 65536 (order: 3, 524288 bytes, linear) [ 0.386600] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear) [ 0.395393] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear) [ 0.403597] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear) [ 0.411319] TCP: Hash tables configured (established 32768 bind 32768) [ 0.418100] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear) [ 0.424997] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear) [ 0.432403] NET: Registered protocol family 1 [ 0.437183] RPC: Registered named UNIX socket transport module. [ 0.443243] RPC: Registered udp transport module. [ 0.448048] RPC: Registered tcp transport module. [ 0.452853] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.459439] PCI: CLS 0 bytes, default 64 [ 0.463862] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.474393] Initialise system trusted keyrings [ 0.479068] workingset: timestamp_bits=46 max_order=16 bucket_order=0 [ 0.487442] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.493697] NFS: Registering the id_resolver key type [ 0.498926] Key type id_resolver registered [ 0.503198] Key type id_legacy registered [ 0.507323] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.514171] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.521823] 9p: Installing v9fs 9p2000 file system support [ 0.547263] Key type asymmetric registered [ 0.551451] Asymmetric key parser 'x509' registered [ 0.556455] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.564014] io scheduler mq-deadline registered [ 0.568640] io scheduler kyber registered [ 0.573871] pinctrl-single 4301c000.pinctrl: 94 pins, size 376 [ 0.580001] pinctrl-single 11c000.pinctrl: 72 pins, size 288 [ 0.588087] k3-ringacc 2b800000.ringacc: Failed to get MSI domain [ 0.594360] k3-ringacc 3c000000.ringacc: Failed to get MSI domain [ 0.602197] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.614497] brd: module loaded [ 0.620923] loop: module loaded [ 0.624532] sysfs: cannot create duplicate filename '/devices/platform/dma_buf_phys' [ 0.632475] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.100-g7a7a3af903 #1 [ 0.639765] Hardware name: Texas Instruments J721S2 EVM (DT) [ 0.645544] Call trace: [ 0.648048] dump_backtrace+0x0/0x1a0 [ 0.651785] show_stack+0x18/0x68 [ 0.655167] dump_stack+0xd0/0x12c [ 0.658638] sysfs_warn_dup+0x60/0x80 [ 0.662374] sysfs_create_dir_ns+0xe0/0xf8 [ 0.666556] kobject_add_internal+0x98/0x288 [ 0.670913] kobject_add+0x94/0x100 [ 0.674474] device_add+0xe0/0x740 [ 0.677945] platform_device_add+0x100/0x238 [ 0.682302] platform_device_register_full+0xcc/0x150 [ 0.687462] dma_buf_phys_init+0x6c/0x9c [ 0.691464] do_one_initcall+0x54/0x1b8 [ 0.695378] kernel_init_freeable+0x220/0x2a0 [ 0.699825] kernel_init+0x14/0x114 [ 0.703382] ret_from_fork+0x10/0x34 [ 0.707044] kobject_add_internal failed for dma_buf_phys with -EEXIST, don't try to register things with the same name in the same directory. [ 0.720242] megasas: 07.714.04.00-rc1 [ 0.725670] tun: Universal TUN/TAP device driver, 1.6 [ 0.731106] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.737514] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.743589] sky2: driver version 1.30 [ 0.747842] VFIO - User Level meta-driver version: 0.3 [ 0.753538] i2c /dev entries driver [ 0.757616] sdhci: Secure Digital Host Controller Interface driver [ 0.763964] sdhci: Copyright(c) Pierre Ossman [ 0.768573] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.774818] ledtrig-cpu: registered to indicate activity on CPUs [ 0.781161] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.788333] optee: probing for conduit method. [ 0.792903] optee: revision 3.12 (3d47a131) [ 0.793200] optee: initialized driver [ 0.802462] NET: Registered protocol family 17 [ 0.807090] 9pnet: Installing 9P2000 support [ 0.811488] Key type dns_resolver registered [ 0.815946] Loading compiled-in X.509 certificates [ 0.824013] k3-ringacc 2b800000.ringacc: Failed to get MSI domain [ 0.830359] k3-ringacc 3c000000.ringacc: Failed to get MSI domain [ 0.838255] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0016 '22.1.1--v2022.01 (Terrific Llam') [ 0.863875] random: fast init done [ 0.872145] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz [ 0.878318] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz [ 0.884730] pca953x 2-0021: supply vcc not found, using dummy regulator [ 0.891562] pca953x 2-0021: using no AI [ 0.918610] pca953x 2-0021: failed writing register [ 0.923659] pca953x: probe of 2-0021 failed with error -121 [ 0.929620] pca953x 2-0020: supply vcc not found, using dummy regulator [ 0.936427] pca953x 2-0020: using no AI [ 0.940422] pca953x 2-0020: failed writing register [ 0.945456] pca953x: probe of 2-0020 failed with error -121 [ 0.951380] pca953x 2-0022: supply vcc not found, using dummy regulator [ 0.958179] pca953x 2-0022: using AI [ 0.961884] pca953x 2-0022: failed writing register [ 0.966908] pca953x: probe of 2-0022 failed with error -121 [ 0.972646] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz [ 0.978794] omap_i2c 2050000.i2c: bus 3 rev0.12 at 100 kHz [ 0.985190] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created [ 0.993759] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created [ 1.003098] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created [ 1.011692] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created [ 1.020292] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 1.027964] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 1.036241] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 1.044521] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 1.053807] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272 [ 1.063697] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled [ 1.070456] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64 [ 1.079445] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[423,150] sci-dev-id:259 [ 1.089599] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled [ 1.096358] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64 [ 1.104073] omap8250 40a00000.serial: failed to get alias [ 1.110188] printk: console [ttyS2] disabled [ 1.114589] 2810000.serial: ttyS2 at MMIO 0x2810000 (irq = 24, base_baud = 3000000) is a 8250 [ 1.123336] printk: console [ttyS2] enabled [ 1.123336] printk: console [ttyS2] enabled [ 1.131773] printk: bootconsole [ns16550a0] disabled [ 1.131773] printk: bootconsole [ns16550a0] disabled [ 1.186578] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.194453] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing. [ 1.201188] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 1.215039] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0 [ 1.223967] mmc0: CQHCI version 5.10 [ 1.223969] mmc1: CQHCI version 5.10 [ 1.234174] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100 [ 1.241083] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100 [ 1.247918] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100 [ 1.254730] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100 [ 1.261554] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 1.269043] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 1.272115] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit [ 1.277145] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 1.284608] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit [ 1.292739] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 1.309552] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8) [ 1.319507] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 16) [ 1.332762] spi-nor spi0.0: is25wp128 (16384 Kbytes) [ 1.337753] mtd: 47040000.spi.0: partitioning exceeds flash size, truncating [ 1.344800] mtd: 47040000.spi.0: partitioning exceeds flash size, truncating [ 1.351839] mtd: 47040000.spi.0: skipping zero sized partition [ 1.357666] 6 cmdlinepart partitions found on MTD device 47040000.spi.0 [ 1.364274] Creating 6 MTD partitions on "47040000.spi.0": [ 1.369760] 0x000000000000-0x000000080000 : "ospi.tiboot3" [ 1.375847] 0x000000080000-0x000000280000 : "ospi.tispl" [ 1.381698] 0x000000280000-0x000000680000 : "ospi.u-boot" [ 1.387570] 0x000000680000-0x0000006c0000 : "ospi.env" [ 1.393246] 0x0000006c0000-0x000000700000 : "ospi.env.backup" [ 1.399504] 0x000000800000-0x000001000000 : "ospi.rootfs" [ 1.407230] spi-nor spi1.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00 [ 1.414166] spi-nor: probe of spi1.0 failed with error -2 [ 1.419611] mmc1: new high speed SDHC card at address aaaa [ 1.425531] mmcblk1: mmc1:aaaa SC32G 29.7 GiB [ 1.433251] mmc0: Command Queue Engine enabled [ 1.437719] mmcblk1: p1 p2 [ 1.440587] mmc0: new DDR MMC card at address 0001 [ 1.446018] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB [ 1.450670] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB [ 1.456668] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB [ 1.458602] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.466624] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0) [ 1.470458] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing. [ 1.484326] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 1.497654] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48 [ 1.504539] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4 [ 1.511756] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64 [ 1.518139] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0 [ 1.528872] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 1.536374] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 1.544456] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 1.552540] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 1.562376] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 1.569867] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 1.577948] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 1.586028] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 1.595376] debugfs: Directory 'pd:276' with parent 'pm_genpd' already present! [ 1.607970] ALSA device list: [ 1.610941] No soundcards found. [ 2.142912] EXT4-fs (mmcblk1p2): recovery complete [ 2.148651] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.156779] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 2.166573] devtmpfs: mounted [ 2.169852] Freeing unused kernel memory: 1856K [ 2.174431] Run /sbin/init as init process [ 2.444100] systemd[1]: System time before build time, advancing clock. [ 2.541449] NET: Registered protocol family 10 [ 2.546544] Segment Routing with IPv6 [ 2.571909] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 2.593700] systemd[1]: Detected architecture arm64. Welcome to Arago 2021.09! [ 2.635223] systemd[1]: Set hostname to <j721s2-evm>. [ 2.890549] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly. [ 2.982109] random: systemd: uninitialized urandom read (16 bytes read) [ 2.988892] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 3.001223] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 3.011481] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 3.034675] random: systemd: uninitialized urandom read (16 bytes read) [ 3.042073] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 3.062655] random: systemd: uninitialized urandom read (16 bytes read) [ 3.069984] systemd[1]: Created slice system-syslog\x2dng.slice. [ OK ] Created slice system-syslog\x2dng.slice. [ 3.091363] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 3.114813] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 3.138715] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 3.162710] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 3.178635] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 3.198624] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 3.214631] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 3.243757] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ 3.266683] systemd[1]: Reached target RPC Port Mapper. [ OK ] Reached target RPC Port Mapper. [ 3.291093] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 3.314797] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 3.355434] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 3.363870] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 3.386936] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 3.402965] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 3.426865] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 3.446763] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 3.469306] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 3.489501] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 3.513540] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 3.536955] systemd[1]: Mounting Temporary Directory (/tmp)... Mounting Temporary Directory (/tmp)... [ 3.558299] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 3.589133] systemd[1]: Starting RPC Bind... Starting RPC Bind... [ 3.602789] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 3.615818] systemd[1]: Starting Journal Service... Starting Journal Service... [ 3.649119] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 3.670203] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 3.683507] cryptodev: loading out-of-tree module taints kernel. [ 3.693936] cryptodev: driver 1.10 loaded. [ 3.701494] systemd[1]: Starting udev Coldplug all Devices... [ 3.705194] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) Starting udev Coldplug all Devices... [ 3.726387] systemd[1]: Started RPC Bind. [ OK ] Started RPC Bind. [ 3.747140] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Create list of sta… nodes for the current kernel. [ OK ] Started Load Kernel Modules. [ OK ] Started Remount Root and Kernel File Systems. Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Apply Kernel Variables...[ 3.934669] systemd-journald[155]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted Kernel Configuration File System. [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Apply Kernel Variables. [ OK ] Started udev Coldplug all Devices. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /media/ram... Mounting /var/volatile... Starting udev Wait for Complete Device Initialization... Starting udev Kernel Device Manager... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Started Create Volatile Files and Directories. [ OK ] Started udev Kernel Device Manager. [FAILED] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. Starting Update UTMP about System Boot/Shutdown... [ OK ] Stopped Network Time Synchronization. [FAILED] Failed to start Network Time Synchronization. See 'systemctl status systemd-timesyncd.service' for details. [ OK ] Stopped Network Time Synchronization. [ 4.453443] CAN device driver interface [FAILED] Failed to start Network Time Sync[ 4.468953] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: hronization. [ 4.478762] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 See 'systemctl status systemd-timesyncd.service' for details.[ 4.490715] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 4.501952] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@aa000000 [ OK ] Started Update UTMP about System Bo[ 4.513480] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 ot/Shutdown. [ 4.530779] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode [ OK ] Stopped Network Time Synchronization. [ 4.556508] wave5: module is from the staging directory, the quality is unknown, you have been warned. [FAILED] Failed to start Network Time Sync[ 4.571166] remoteproc remoteproc0: 64800000.dsp is available hronization. See 'systemctl status systemd-timesyncd.service' for details. [ 4.599217] remoteproc remoteproc0: attaching to 64800000.dsp [ OK ] Stopped Network Time Synchronizatio[ 4.609966] remoteproc remoteproc0: unsupported resource 65538 n. [ 4.621222] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode [ 4.628026] remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@aa000000 [FAILED] Failed to start Network Time Sync[ 4.643909] vdec 4210000.video-codec: enum product_id : 00000000 hronization. See 'systemctl status systemd-timesyncd.service' for details.[ 4.662957] vdec 4210000.video-codec: fw_version : 00000000(r240897) [ 4.678410] virtio_rpmsg_bus virtio0: rpmsg host is online [ 4.684035] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd [ OK ] Stopped Network Time Synchronization. [ 4.697983] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [FAILED] Failed to start Network Time Synchronization. [ 4.717342] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: See 'systemctl status systemd-timesyncd.service' for details.[ 4.729397] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 4.739416] remoteproc0#vdev0buffer: registered virtio0 (type 7) [ 4.745614] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 4.754010] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 4.770001] remoteproc remoteproc0: remote processor 64800000.dsp is now attached [ 4.790695] k3-dsp-rproc 65800000.dsp: assigned reserved memory node vision-apps-c71_1-dma-memory@a8000000 [ 4.800700] m_can_platform 40528000.can: m_can device registered (irq=18, version=32) [ 4.813563] m_can_platform 40568000.can: m_can device registered (irq=20, version=32) [ 4.826865] m_can_platform 26a1000.can: m_can device registered (irq=36, version=32) [ 4.836432] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 4.848276] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode [ 4.855004] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 4.862648] remoteproc remoteproc1: 65800000.dsp is available [ 4.868696] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 4.876292] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 4.884449] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 4.890735] remoteproc remoteproc1: attaching to 65800000.dsp [ 4.892583] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 4.909328] platform 41000000.r5f: configured R5F for IPC-only mode [ 4.918333] platform 41000000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000 [ 4.929926] remoteproc remoteproc2: 41000000.r5f is available [ 4.938077] remoteproc remoteproc2: attaching to 41000000.r5f [ 4.945125] platform 41000000.r5f: R5F core initialized in IPC-only mode [ 4.954155] remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000 [ 4.967255] virtio_rpmsg_bus virtio1: rpmsg host is online [ 4.974423] remoteproc2#vdev0buffer: registered virtio1 (type 7) [ 4.980697] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 4.987850] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd [ 4.994939] remoteproc remoteproc2: remote processor 41000000.r5f is now attached [ 4.997513] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 5.010560] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe [ 5.017897] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 5.026148] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 5.030235] remoteproc remoteproc1: unsupported resource 65538 [ 5.034370] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 5.053346] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 5.060684] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 5.069455] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 5.077704] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 5.088732] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 5.098308] platform 5c00000.r5f: configured R5F for IPC-only mode [ 5.099079] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode [ 5.111315] remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-c71_1-dma-memory@a8000000 [ 5.124980] virtio_rpmsg_bus virtio2: rpmsg host is online [ 5.130627] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd [ 5.136805] remoteproc1#vdev0buffer: registered virtio2 (type 7) [ 5.137988] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000 [ 5.143811] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 5.152905] remoteproc remoteproc3: 5c00000.r5f is available [ 5.164340] remoteproc remoteproc3: attaching to 5c00000.r5f [ 5.170215] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 5.172971] platform 5c00000.r5f: R5F core initialized in IPC-only mode [ 5.179427] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 5.184386] remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000 [ 5.206651] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 5.207025] virtio_rpmsg_bus virtio3: rpmsg host is online [ 5.220290] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xd [ 5.222631] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 5.237532] remoteproc3#vdev0buffer: registered virtio3 (type 7) [ 5.247523] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 5.261759] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 5.278626] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 5.294618] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 5.308201] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 5.334686] remoteproc remoteproc1: remote processor 65800000.dsp is now attached [ 5.360894] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 5.369523] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 5.380231] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 5.388514] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 5.396714] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 5.409474] remoteproc remoteproc3: remote processor 5c00000.r5f is now attached [ 5.533621] platform 5d00000.r5f: configured R5F for IPC-only mode [ 5.629404] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000 [ 5.750495] remoteproc remoteproc4: 5d00000.r5f is available [ 5.845349] remoteproc remoteproc4: attaching to 5d00000.r5f [ 5.896581] platform 5d00000.r5f: R5F core initialized in IPC-only mode [ 5.943580] remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000 [ 5.992217] virtio_rpmsg_bus virtio4: rpmsg host is online [ 6.001362] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd [ 6.010498] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15 [ 6.022671] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xe [ 6.030241] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15 [ 6.042644] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe [ 6.050178] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15 [ 6.062734] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe [ 6.065284] remoteproc4#vdev0buffer: registered virtio4 (type 7) [ 6.070348] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15 [ 6.084252] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 6.087985] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xe [ 6.097689] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 6.106428] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 6.121741] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 6.132833] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 6.298152] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached [ 6.353987] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 6.364831] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 6.374009] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 6.383342] platform 5e00000.r5f: configured R5F for remoteproc mode [ 6.386288] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 6.403804] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 6.481787] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000 [ 6.594624] random: crng init done [ 6.598029] random: 7 urandom warning(s) missed due to ratelimiting [ 6.609100] remoteproc remoteproc5: 5e00000.r5f is available [ 6.616075] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2 [ 6.626117] remoteproc remoteproc5: powering up 5e00000.r5f [ OK ] Started Load/Save Random Seed.[ 6.637464] platform 5f00000.r5f: configured R5F for remoteproc mode [ 6.637934] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2 [ 6.656920] remoteproc remoteproc5: request_firmware failed: -2 [ 6.742823] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000 [ 6.776466] remoteproc remoteproc6: 5f00000.r5f is available [ 6.782289] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2 [ 6.794609] remoteproc remoteproc6: powering up 5f00000.r5f [ 6.800259] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2 [ 6.809770] remoteproc remoteproc6: request_firmware failed: -2 [ 6.855557] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 6.866811] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 6.874389] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 6.895489] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 6.909556] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 7.168059] usbcore: registered new interface driver usbfs [ 7.201933] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 7.211880] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 7.221564] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 7.233323] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 7.235956] usbcore: registered new interface driver hub [ 7.242094] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 7.262348] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 7.270959] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 7.279940] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 7.289367] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 7.297950] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 7.311458] usbcore: registered new device driver usb [ OK ] Created slice system-systemd\x2dfsck.slice. [ 7.397225] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 7.405807] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 7.416501] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 7.426634] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 7.435856] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 7.536043] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 7.542487] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 7.553106] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010 [ 7.562640] xhci-hcd xhci-hcd.0.auto: irq 463, io mem 0x06010000 [ OK ] Found device /dev/mmcblk1p1.[ 7.568891] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 7.582366] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 7.589656] usb usb1: Product: xHCI Host Controller [ 7.594536] usb usb1: Manufacturer: Linux 5.10.100-g7a7a3af903 xhci-hcd [ 7.601140] usb usb1: SerialNumber: xhci-hcd.0.auto Starting File System Check on /dev/mmcblk1p1 7.606664] hub 1-0:1.0: USB hub found 0m... [ 7.615589] hub 1-0:1.0: 1 port detected [ 7.622085] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 7.622925] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 7.634666] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 7.634734] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 7.642391] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 7.650048] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 7.657817] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 7.667144] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 7.673287] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 7.680783] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 7.689483] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 7.704570] usb usb2: Product: xHCI Host Controller [ 7.709560] usb usb2: Manufacturer: Linux 5.10.100-g7a7a3af903 xhci-hcd [ 7.716243] usb usb2: SerialNumber: xhci-hcd.0.auto [ 7.721513] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 7.721835] hub 2-0:1.0: USB hub found [ 7.731185] hub 2-0:1.0: 1 port detected [ 7.736483] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 7.744685] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 7.752861] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 7.765827] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ 7.778113] cdns-mhdp8546 a000000.dp-bridge: no PHY configured [ 7.785296] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges: [ 7.792923] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000 [ 7.801063] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000 [ 7.809167] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000 [ OK ] Started udev Wait for Complete Device Initialization. [ OK ] Started Hardware RNG Entropy Gatherer Daemon. [ OK ] Reached target System Initialization. [ OK ] Started Daily rotation of log files. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API. [ OK ] Listening on dropbear.socket. Starting Reboot and dump vmcore via kexec... [ OK ] Listening on Docker Socket for the API. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started Job spooling tools. [ OK ] Started Periodic Command Scheduler. [ OK ] Started D-Bus System Message Bus. Starting Ethernet Bridge Filtering Tables... Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... [ OK ] Started irqbalance daemon. Starting Telephony service... Starting System Logger Daemon "default" instance... [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. [ OK ] Started TEE Supplicant. Starting telnetd.service... [ OK ] Started File System Check on /dev/mmcblk1p1. [ OK ] Started Reboot and dump vmcore via kexec. [ OK ] Started Ethernet Bridge Filtering Tables. Mounting /run/media/mmcblk1p1... [ OK ] Stopped Login Service. [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. [ OK ] Stopped Login Service. [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. [ OK ] Stopped Login Service. [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. [ OK ] Stopped Login Service. [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. [ OK ] Started telnetd.service. Starting syslog.service... [ OK ] Stopped Login Service. [FAILED] Failed to start Login Service. See 'systemctl status systemd-logind.service' for details. [ OK ] Started IPv6 Packet Filtering Framework. [ OK ] Started IPv4 Packet Filtering Framework. [ OK ] Reached target Network (Pre). Starting Network Service... [ OK ] Started Telephony service. [ OK ] Mounted /run/media/mmcblk1p1. [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 8.623507] Bluetooth: Core ver 2.22 [ 8.629964] NET: Registered protocol family 31 [ 8.637572] Bluetooth: HCI device and connection manager initialized [ 8.643982] Bluetooth: HCI socket layer initialized [ OK ] Started Network Service. Starting Wait for Network to be Configured 8.654171] Bluetooth: L2CAP socket layer initialized 0m... [FAILED] Failed to start Network Name Reso[ 8.666625] Bluetooth: SCO socket layer initialized lution. See 'systemctl status systemd-resolved.service' for details. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting Enable and configure wl18xx bluetooth stack... [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Simple Network Ma…ent Protocol (SNMP) Daemon.... Starting Permit User Sessions... [ OK ] Started Vsftpd ftp daemon. [ OK ] Stopped Network Name Resolution. [FAILED] Failed to start Network Name Resolut[ 8.738343] am65-cpsw-nuss 46000000.ethernet: phy /bus@100000/bus@28380000/ethernet@46000000/mdio@f00/ethernet-phy@0 not found on slave 1 ion. See 'systemctl status systemd-resolved.service' for details. [ OK ] Stopped Network Name Resolution. [FAILED] Failed to start Network Name Resolution. See 'systemctl status systemd-resolved.service' for details. [ OK ] Stopped Network Name Resolution. [FAILED] Failed to start Network Name Resolution. See 'systemctl status systemd-resolved.service' for details. [ OK ] Stopped Network Name Resolution. [FAILED] Failed to start Network Name Resolution. See 'systemctl status systemd-resolved.service' for details. [ OK ] Started Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Stopped Network Name Resolution. [FAILED] Failed to start Network Name Resolution. See 'systemctl status systemd-resolved.service' for details. [ OK ] Started Enable and configure wl18xx bluetooth stack. [FAILED] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started System Logger Daemon "default" instance. [ OK ] Started syslog.service. [ OK ] Started Simple Network Man…ement Protocol (SNMP) Daemon.. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPLv3 packages: autoconf bash-dev bash bc binutils cifs-utils coreutils-stdbuf coreutils cpio cpp-symlinks cpp dosfstools elfutils g++-symlinks g++ gawk gcc-symlinks gcc gdb gdbserver gettext gstreamer1.0-libav-dev gstreamer1.0-libav gzip less libasm1 libbfd libdw1 libelf1 libgdbm-compat4 libgdbm-dev libgdbm6 libgettextlib libgettextsrc libgmp-dev libgmp10 libgmpxx4 libidn2-0 libidn2-dev libmpc3 libmpfr6 libreadline-dev libreadline8 libunistring-dev libunistring2 m4-dev m4 make nettle-dev nettle parted python3-rfc3987 python3-strict-rfc3339 tar which zeromq If you do not wish to distribute GPLv3 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started Print notice about GPLv3 packages. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project http://arago-project.org j721s2-evm ttyS2 Arago 2021.09 j721s2-evm ttyS2 j721s2-evm login: j721s2-evm login: root root@j721s2-evm:~# cd /opt/vision_apps/ root@j721s2-evm:/opt/vision_apps# source ./vision_apps_init.sh root@j721s2-evm:/opt/vision_apps# [MCU2_0] 4.025723 s: CIO: Init ... Done !!! [MCU2_0] 4.025778 s: ### CPU Frequency = 1000000000 Hz [MCU2_0] 4.025810 s: APP: Init ... !!! [MCU2_0] 4.025829 s: SCICLIENT: Init ... !!! [MCU2_0] 4.025957 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam] [MCU2_0] 4.025991 s: SCICLIENT: DMSC FW revision 0x16 [MCU2_0] 4.026019 s: SCICLIENT: DMSC FW ABI revision 3.1 [MCU2_0] 4.026049 s: SCICLIENT: Init ... Done !!! [MCU2_0] 4.026072 s: UDMA: Init ... !!! [MCU2_0] 4.027125 s: UDMA: Init ... Done !!! [MCU2_0] 4.027161 s: UDMA: Init ... !!! [MCU2_0] 4.027691 s: UDMA: Init for CSITX/CSIRX ... Done !!! [MCU2_0] 4.027726 s: MEM: Init ... !!! [MCU2_0] 4.027759 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ db000000 of size 16777216 bytes !!! [MCU2_0] 4.027816 s: MEM: Init ... Done !!! [MCU2_0] 4.027838 s: IPC: Init ... !!! [MCU2_0] 4.027885 s: IPC: 5 CPUs participating in IPC !!! [MCU2_0] 4.027923 s: IPC: Waiting for HLOS to be ready ... !!! [MCU2_0] 11.474380 s: IPC: HLOS is ready !!! [MCU2_0] 11.483942 s: IPC: Init ... Done !!! [MCU2_0] 11.483983 s: APP: Syncing with 4 CPUs ... !!! [MCU2_0] 12.269244 s: APP: Syncing with 4 CPUs ... Done !!! [MCU2_0] 12.269276 s: REMOTE_SERVICE: Init ... !!! [MCU2_0] 12.270569 s: REMOTE_SERVICE: Init ... Done !!! [MCU2_0] 12.270655 s: FVID2: Init ... !!! [MCU2_0] 12.270744 s: FVID2: Init ... Done !!! [MCU2_0] 12.270771 s: SCICLIENT: Sciclient_pmSetModuleState module=219 state=2 [MCU2_0] 12.270886 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.270927 s: Max9283BoardInit ... [MCU2_0] 12.283767 s: Board_tps65941SetVoltage to 1V success !!! [MCU2_0] 12.283808 s: setupMax9283Power ready [MCU2_0] 12.283830 s: Max9283BoardInit Done !!! [MCU2_0] 12.283854 s: DSS: Init ... !!! [MCU2_0] 12.283875 s: DSS: Display type is DSI !!! [MCU2_0] 12.283898 s: DSS: M2M Path is enabled !!! [MCU2_0] 12.283921 s: DSS: SoC init ... !!! [MCU2_0] 12.283941 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0 [MCU2_0] 12.284060 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.284087 s: SCICLIENT: Sciclient_pmSetModuleState module=154 state=2 [MCU2_0] 12.284155 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.284181 s: SCICLIENT: Sciclient_pmSetModuleState module=363 state=2 [MCU2_0] 12.284259 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.284285 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=0 [MCU2_0] 12.284352 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.284379 s: SCICLIENT: Sciclient_pmSetModuleClkParent module=158 clk=26 parent=28 [MCU2_0] 12.284457 s: SCICLIENT: Sciclient_pmSetModuleClkParent success [MCU2_0] 12.284486 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=158 clk=28 freq=74250000 [MCU2_0] 12.285247 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success [MCU2_0] 12.285276 s: SCICLIENT: Sciclient_pmModuleClkRequest module=158 clk=28 state=2 flag=2 [MCU2_0] 12.285400 s: SCICLIENT: Sciclient_pmModuleClkRequest success [MCU2_0] 12.285427 s: SCICLIENT: Sciclient_pmSetModuleState module=158 state=2 [MCU2_0] 12.285568 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.285593 s: DSS: SoC init ... Done !!! [MCU2_0] 12.285616 s: DSS: Configuring SERDES MAX9283... !!! [MCU2_0] 12.285642 s: DSS: domain = 0, i2cInst = 5, slaveAddr = 0x40 [MCU2_0] 12.285852 s: DSS: Board_gmslMax9283_Detect Regaddr device 0x40 register 0x d : 0x99 ! [MCU2_0] 12.285900 s: DSS: Read MAX9283 ClintAddr 0x40 Regaddr 0x d Regval 0x 99. MAX9283 is avalible! [MCU2_0] 12.285946 s: DSS: SERDES MAX9283 is detected !!! [MCU2_0] 12.286120 s: max9283 works in 27bit mode [MCU2_0] 12.286142 s: DSS: SERDES MAX9283 is ready !!! [MCU2_0] 12.286171 s: DSS: SERDES Configuration... Done !!! [MCU2_0] 12.289170 s: DSS: Init ... Done !!! [MCU2_0] 12.289215 s: VHWA: VPAC Init ... !!! [MCU2_0] 12.289239 s: SCICLIENT: Sciclient_pmSetModuleState module=361 state=2 [MCU2_0] 12.289388 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.289419 s: VHWA: LDC Init ... !!! [MCU2_0] 12.291089 s: VHWA: LDC Init ... Done !!! [MCU2_0] 12.291128 s: VHWA: MSC Init ... !!! [MCU2_0] 12.296936 s: VHWA: MSC Init ... Done !!! [MCU2_0] 12.296973 s: VHWA: NF Init ... !!! [MCU2_0] 12.297763 s: VHWA: NF Init ... Done !!! [MCU2_0] 12.297797 s: VHWA: VISS Init ... !!! [MCU2_0] 12.302298 s: VHWA: VISS Init ... Done !!! [MCU2_0] 12.302333 s: VHWA: VPAC Init ... Done !!! [MCU2_0] 12.302367 s: VX_ZONE_INIT:Enabled [MCU2_0] 12.302392 s: VX_ZONE_ERROR:Enabled [MCU2_0] 12.302414 s: VX_ZONE_WARNING:Enabled [MCU2_0] 12.303114 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target IPU1-0 [MCU2_0] 12.303298 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_NF [MCU2_0] 12.303474 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_LDC1 [MCU2_0] 12.303647 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC1 [MCU2_0] 12.303827 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_MSC2 [MCU2_0] 12.304078 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target VPAC_VISS1 [MCU2_0] 12.304268 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE1 [MCU2_0] 12.304460 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE2 [MCU2_0] 12.304641 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY1 [MCU2_0] 12.304819 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DISPLAY2 [MCU2_0] 12.305006 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CSITX [MCU2_0] 12.305214 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE3 [MCU2_0] 12.305407 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE4 [MCU2_0] 12.305592 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE5 [MCU2_0] 12.305779 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE6 [MCU2_0] 12.305977 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE7 [MCU2_0] 12.306178 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target CAPTURE8 [MCU2_0] 12.306373 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M1 [MCU2_0] 12.306554 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M2 [MCU2_0] 12.306730 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M3 [MCU2_0] 12.306914 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DSS_M2M4 [MCU2_0] 12.306956 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! [MCU2_0] 12.306986 s: APP: OpenVX Target kernel init ... !!! [MCU2_0] 12.329555 s: APP: OpenVX Target kernel init ... Done !!! [MCU2_0] 12.329592 s: CSI2RX: Init ... !!! [MCU2_0] 12.329612 s: SCICLIENT: Sciclient_pmSetModuleState module=136 state=2 [MCU2_0] 12.329706 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.329736 s: SCICLIENT: Sciclient_pmSetModuleState module=38 state=2 [MCU2_0] 12.329803 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.329830 s: SCICLIENT: Sciclient_pmSetModuleState module=39 state=2 [MCU2_0] 12.329890 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.329916 s: SCICLIENT: Sciclient_pmSetModuleState module=152 state=2 [MCU2_0] 12.329997 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.330022 s: SCICLIENT: Sciclient_pmSetModuleState module=153 state=2 [MCU2_0] 12.330089 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_0] 12.330669 s: CSI2RX: Init ... Done !!! [MCU2_0] 12.330704 s: ISS: Init ... !!! [MCU2_0] 12.330736 s: IssSensor_Init ... Done !!! [MCU2_0] 12.330803 s: vissRemoteServer_Init ... Done !!! [MCU2_0] 12.330857 s: IttRemoteServer_Init ... Done !!! [MCU2_0] 12.330883 s: UDMA Copy: Init ... !!! [MCU2_0] 12.331836 s: UDMA Copy: Init ... Done !!! [MCU2_0] 12.331901 s: APP: Init ... Done !!! [MCU2_0] 12.331925 s: APP: Run ... !!! [MCU2_0] 12.331946 s: IPC: Starting echo test ... [MCU2_0] 12.334026 s: APP: Run ... Done !!! [MCU2_0] 12.334782 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C7X_1[P] C7X_2[.] [MCU2_0] 12.334857 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[.] C7X_1[P] C7X_2[P] [MCU2_0] 12.334923 s: IPC: Echo status: mpu1_0[x] mcu2_0[s] mcu2_1[P] C7X_1[P] C7X_2[P] [MCU2_1] 4.029270 s: CIO: Init ... Done !!! [MCU2_1] 4.029322 s: ### CPU Frequency = 1000000000 Hz [MCU2_1] 4.029356 s: APP: Init ... !!! [MCU2_1] 4.029377 s: SCICLIENT: Init ... !!! [MCU2_1] 4.029503 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam] [MCU2_1] 4.029536 s: SCICLIENT: DMSC FW revision 0x16 [MCU2_1] 4.029563 s: SCICLIENT: DMSC FW ABI revision 3.1 [MCU2_1] 4.029594 s: SCICLIENT: Init ... Done !!! [MCU2_1] 4.029616 s: UDMA: Init ... !!! [MCU2_1] 4.030665 s: UDMA: Init ... Done !!! [MCU2_1] 4.030700 s: MEM: Init ... !!! [MCU2_1] 4.030734 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ dc000000 of size 16777216 bytes !!! [MCU2_1] 4.030790 s: MEM: Init ... Done !!! [MCU2_1] 4.030812 s: IPC: Init ... !!! [MCU2_1] 4.030859 s: IPC: 5 CPUs participating in IPC !!! [MCU2_1] 4.030902 s: IPC: Waiting for HLOS to be ready ... !!! [MCU2_1] 12.259573 s: IPC: HLOS is ready !!! [MCU2_1] 12.269165 s: IPC: Init ... Done !!! [MCU2_1] 12.269208 s: APP: Syncing with 4 CPUs ... !!! [MCU2_1] 12.269242 s: APP: Syncing with 4 CPUs ... Done !!! [MCU2_1] 12.269272 s: REMOTE_SERVICE: Init ... !!! [MCU2_1] 12.270657 s: REMOTE_SERVICE: Init ... Done !!! [MCU2_1] 12.270697 s: FVID2: Init ... !!! [MCU2_1] 12.270795 s: FVID2: Init ... Done !!! [MCU2_1] 12.270820 s: VHWA: DMPAC: Init ... !!! [MCU2_1] 12.270841 s: SCICLIENT: Sciclient_pmSetModuleState module=58 state=2 [MCU2_1] 12.270972 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_1] 12.271001 s: SCICLIENT: Sciclient_pmSetModuleState module=62 state=2 [MCU2_1] 12.271102 s: SCICLIENT: Sciclient_pmSetModuleState success [MCU2_1] 12.271128 s: VHWA: DOF Init ... !!! [MCU2_1] 12.274456 s: VHWA: DOF Init ... Done !!! [MCU2_1] 12.274492 s: VHWA: SDE Init ... !!! [MCU2_1] 12.276009 s: VHWA: SDE Init ... Done !!! [MCU2_1] 12.276041 s: VHWA: DMPAC: Init ... Done !!! [MCU2_1] 12.276078 s: VX_ZONE_INIT:Enabled [MCU2_1] 12.276101 s: VX_ZONE_ERROR:Enabled [MCU2_1] 12.276125 s: VX_ZONE_WARNING:Enabled [MCU2_1] 12.276855 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DMPAC_SDE [MCU2_1] 12.277051 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target DMPAC_DOF [MCU2_1] 12.277234 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:54] Added target IPU1-1 [MCU2_1] 12.277275 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! [MCU2_1] 12.277305 s: APP: OpenVX Target kernel init ... !!! [MCU2_1] 12.277536 s: APP: OpenVX Target kernel init ... Done !!! [MCU2_1] 12.277564 s: UDMA Copy: Init ... !!! [MCU2_1] 12.278726 s: UDMA Copy: Init ... Done !!! [MCU2_1] 12.278768 s: APP: Init ... Done !!! [MCU2_1] 12.278793 s: APP: Run ... !!! [MCU2_1] 12.278813 s: IPC: Starting echo test ... [MCU2_1] 12.280891 s: APP: Run ... Done !!! [MCU2_1] 12.281526 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[.] [MCU2_1] 12.281601 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[s] C7X_1[P] C7X_2[P] [MCU2_1] 12.334697 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[s] C7X_1[P] C7X_2[P] [C7x_1 ] 4.306243 s: CIO: Init ... Done !!! [C7x_1 ] 4.306261 s: ### CPU Frequency = 1000000000 Hz [C7x_1 ] 4.306274 s: APP: Init ... !!! [C7x_1 ] 4.306281 s: SCICLIENT: Init ... !!! [C7x_1 ] 4.306389 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam] [C7x_1 ] 4.306403 s: SCICLIENT: DMSC FW revision 0x16 [C7x_1 ] 4.306414 s: SCICLIENT: DMSC FW ABI revision 3.1 [C7x_1 ] 4.306425 s: SCICLIENT: Init ... Done !!! [C7x_1 ] 4.306435 s: UDMA: Init ... !!! [C7x_1 ] 4.307362 s: UDMA: Init ... Done !!! [C7x_1 ] 4.307375 s: MEM: Init ... !!! [C7x_1 ] 4.307389 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ 100000000 of size 268435456 bytes !!! [C7x_1 ] 4.307409 s: MEM: Created heap (L3_MEM, id=1, flags=0x00000001) @ 70020000 of size 3964928 bytes !!! [C7x_1 ] 4.307428 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 64800000 of size 458752 bytes !!! [C7x_1 ] 4.307445 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 64e00000 of size 16384 bytes !!! [C7x_1 ] 4.307463 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ e3000000 of size 419430400 bytes !!! [C7x_1 ] 4.307481 s: MEM: Init ... Done !!! [C7x_1 ] 4.307490 s: IPC: Init ... !!! [C7x_1 ] 4.307505 s: IPC: 5 CPUs participating in IPC !!! [C7x_1 ] 4.307520 s: IPC: Waiting for HLOS to be ready ... !!! [C7x_1 ] 10.945761 s: IPC: HLOS is ready !!! [C7x_1 ] 10.947784 s: IPC: Init ... Done !!! [C7x_1 ] 10.947802 s: APP: Syncing with 4 CPUs ... !!! [C7x_1 ] 12.269245 s: APP: Syncing with 4 CPUs ... Done !!! [C7x_1 ] 12.269263 s: REMOTE_SERVICE: Init ... !!! [C7x_1 ] 12.269415 s: REMOTE_SERVICE: Init ... Done !!! [C7x_1 ] 12.269441 s: VX_ZONE_INIT:Enabled [C7x_1 ] 12.269452 s: VX_ZONE_ERROR:Enabled [C7x_1 ] 12.269490 s: VX_ZONE_WARNING:Enabled [C7x_1 ] 12.269747 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1 [C7x_1 ] 12.269813 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_2 [C7x_1 ] 12.269874 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_3 [C7x_1 ] 12.269938 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_4 [C7x_1 ] 12.270006 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_5 [C7x_1 ] 12.270071 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_6 [C7x_1 ] 12.270145 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_7 [C7x_1 ] 12.270214 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP_C7-1_PRI_8 [C7x_1 ] 12.270239 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! [C7x_1 ] 12.270252 s: APP: OpenVX Target kernel init ... !!! [C7x_1 ] 12.270331 s: APP: OpenVX Target kernel init ... Done !!! [C7x_1 ] 12.270344 s: APP: Init ... Done !!! [C7x_1 ] 12.270353 s: APP: Run ... !!! [C7x_1 ] 12.270362 s: IPC: Starting echo test ... [C7x_1 ] 12.270500 s: APP: Run ... Done !!! [C7x_1 ] 12.270869 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[s] C7X_2[P] [C7x_1 ] 12.281393 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[s] C7X_2[P] [C7x_1 ] 12.334633 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[s] C7X_2[P] [C7x_2 ] 4.399503 s: CIO: Init ... Done !!! [C7x_2 ] 4.399521 s: ### CPU Frequency = 1000000000 Hz [C7x_2 ] 4.399534 s: APP: Init ... !!! [C7x_2 ] 4.399542 s: SCICLIENT: Init ... !!! [C7x_2 ] 4.399655 s: SCICLIENT: DMSC FW version [22.1.1--v2022.01 (Terrific Llam] [C7x_2 ] 4.399670 s: SCICLIENT: DMSC FW revision 0x16 [C7x_2 ] 4.399680 s: SCICLIENT: DMSC FW ABI revision 3.1 [C7x_2 ] 4.399692 s: SCICLIENT: Init ... Done !!! [C7x_2 ] 4.399701 s: UDMA: Init ... !!! [C7x_2 ] 4.400650 s: UDMA: Init ... Done !!! [C7x_2 ] 4.400664 s: MEM: Init ... !!! [C7x_2 ] 4.400676 s: MEM: Created heap (DDR_SHARED_MEM, id=0, flags=0x00000004) @ de000000 of size 16777216 bytes !!! [C7x_2 ] 4.400698 s: MEM: Created heap (L2_MEM, id=2, flags=0x00000001) @ 65800000 of size 458752 bytes !!! [C7x_2 ] 4.400717 s: MEM: Created heap (L1_MEM, id=3, flags=0x00000001) @ 65e00000 of size 16384 bytes !!! [C7x_2 ] 4.400735 s: MEM: Created heap (DDR_SCRATCH_MEM, id=4, flags=0x00000001) @ df000000 of size 67108864 bytes !!! [C7x_2 ] 4.400753 s: MEM: Init ... Done !!! [C7x_2 ] 4.400762 s: IPC: Init ... !!! [C7x_2 ] 4.400778 s: IPC: 5 CPUs participating in IPC !!! [C7x_2 ] 4.400793 s: IPC: Waiting for HLOS to be ready ... !!! [C7x_2 ] 11.392326 s: IPC: HLOS is ready !!! [C7x_2 ] 11.394207 s: IPC: Init ... Done !!! [C7x_2 ] 11.394224 s: APP: Syncing with 4 CPUs ... !!! [C7x_2 ] 12.269244 s: APP: Syncing with 4 CPUs ... Done !!! [C7x_2 ] 12.269263 s: REMOTE_SERVICE: Init ... !!! [C7x_2 ] 12.269431 s: REMOTE_SERVICE: Init ... Done !!! [C7x_2 ] 12.269456 s: VX_ZONE_INIT:Enabled [C7x_2 ] 12.269467 s: VX_ZONE_ERROR:Enabled [C7x_2 ] 12.269508 s: VX_ZONE_WARNING:Enabled [C7x_2 ] 12.270020 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:59] Added target DSP-1 [C7x_2 ] 12.270043 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! [C7x_2 ] 12.270057 s: APP: OpenVX Target kernel init ... !!! [C7x_2 ] 12.270360 s: APP: OpenVX Target kernel init ... Done !!! [C7x_2 ] 12.270378 s: APP: Init ... Done !!! [C7x_2 ] 12.270398 s: APP: Run ... !!! [C7x_2 ] 12.270407 s: IPC: Starting echo test ... [C7x_2 ] 12.270556 s: APP: Run ... Done !!! [C7x_2 ] 12.270865 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[x] C7X_1[P] C7X_2[s] [C7x_2 ] 12.281459 s: IPC: Echo status: mpu1_0[x] mcu2_0[x] mcu2_1[P] C7X_1[P] C7X_2[s] [C7x_2 ] 12.334662 s: IPC: Echo status: mpu1_0[x] mcu2_0[P] mcu2_1[P] C7X_1[P] C7X_2[s] [ 31.802597] tlv71033: disabling root@j721s2-evm:/opt/vision_apps# root@j721s2-evm:/opt/vision_apps# root@j721s2-evm:/opt/vision_apps# root@j721s2-evm:/opt/vision_apps# cd /opt/vision_apps/ root@j721s2-evm:/opt/vision_apps# ls app_avp.cfg app_seg_16bit.cfg run_app_c7x.sh run_app_tidl_cam.sh uEnv_j721s2_vision_apps.txt vx_app_multi_cam.out vx_app_tidl_avp4.out app_avp2.cfg app_seg_cam.cfg run_app_dof.sh run_app_tidl_od.sh vision_apps_init.sh vx_app_sde.out vx_app_tidl_cam.out app_avp3.cfg app_sfm.cfg run_app_load_test.sh run_app_tidl_od_cam.sh vx_app_arm_fd_exchange_consumer.out vx_app_sde_obstacle_detection.out vx_app_tidl_od.out app_avp4.cfg app_single_cam.cfg run_app_multi_cam.sh run_app_tidl_seg.sh vx_app_arm_fd_exchange_producer.out vx_app_sfm.out vx_app_tidl_od_cam.out app_c7x.cfg app_srv.cfg run_app_sfm.sh run_app_tidl_seg_16bit.sh vx_app_arm_ipc.out vx_app_single_cam.out vx_app_tidl_seg.out app_dof.cfg app_srv_avp_cfg run_app_single_cam.sh run_app_tidl_seg_cam.sh vx_app_arm_mem.out vx_app_srv_calibration.out vx_app_tidl_seg_cam.out app_encode.cfg app_stereo.cfg run_app_srv.sh run_app_tidl_vl.sh vx_app_arm_opengl_mosaic.out vx_app_srv_camera.out vx_app_tidl_vl.out app_multi_cam.cfg app_tidl_cam.cfg run_app_srv_avp.sh run_app_viss.sh vx_app_arm_remote_log.out vx_app_srv_fileio.out vx_app_tutorial.out app_oc.cfg app_vl.cfg run_app_stereo.sh run_ptk_demo.sh vx_app_c7x_kernel.out vx_app_stereo_depth.out vx_app_valet_parking.out app_oc_16bit.cfg autorun.sh run_app_tidl.sh script.exp vx_app_conformance.out vx_app_surround_radar_ogmap.out vx_app_viss.out app_od.cfg basic_demos_app_dense_optical_flow.md run_app_tidl_16bit.sh test_data vx_app_dense_optical_flow.out vx_app_test_framework.out app_od_cam.cfg dof_out run_app_tidl_avp.sh test_list.txt vx_app_dof_sfm_fisheye.out vx_app_tidl.out app_pcie_video_sink.cfg limits.conf run_app_tidl_avp2.sh uEnv_j721e_edgeai_apps.txt vx_app_heap_stats.out vx_app_tidl_avp.out app_pcie_video_source.cfg ptk_app_cfg run_app_tidl_avp3.sh uEnv_j721e_vision_apps.txt vx_app_lidar_ogmap.out vx_app_tidl_avp2.out app_seg.cfg run_app_arm_fd_exchange.sh run_app_tidl_avp4.sh uEnv_j721s2_edgeai_apps.txt vx_app_load_test.out vx_app_tidl_avp3.out root@j721s2-evm:/opt/vision_apps# ./run_app_dof.sh APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=4) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 67.907595 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 67.907740 s: VX_ZONE_INIT:Enabled 67.907749 s: VX_ZONE_ERROR:Enabled 67.907755 s: VX_ZONE_WARNING:Enabled 67.913679 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! 67.913860 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!! ================================= Demo : Dense Optical Flow Example 1 ================================= p: Print performance statistics e: Export performance statistics x: Exit Enter Choice: PERF: TOTAL: 19.21 FPS PERF: TOTAL: 30. 1 FPS PERF: TOTAL: 29.92 FPS PERF: TOTAL: 30. 0 FPS [ 129.947352] Initializing XFRM netlink socket [ 134.893294] process 'docker/tmp/qemu-check986521088/check' started with executable stack PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS PERF: TOTAL: 30. 0 FPS