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.

TDA4VM: Why does Linux Kernel gets stuck when booting an application running Sysbios functions(BIOS_Start & Task_Sleep and other functions) ?

Part Number: TDA4VM
Other Parts Discussed in Thread: SYSBIOS

Hi,

While my own application build successfully with some changes in linker but when I tried to run it, the application stuck along with the Linux Kernel.

Linux log where it got stuck -->

/*******************************************

U-Boot SPL 2020.01-dirty (May 15 2022 - 12:47:56 +0530)
SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
Reading on-board EEPROM at 0x50 failed -1
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default envt

Starting ATF on ARM64 core...

NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
NOTICE:  BL31: Built : 00:15:40, Apr 10 2021

********************************************/

In a scenario where we aren't using Linux SPL-Boot the application boots and works fine but while with SPL-Boot the BIOS_Start() function doesn't let the application run its course.

Function related to sysbios lead to kernel stuck situation.

Here, without using sysbios function would interrupt the concurrency, since there won't be task formation, we want among the tasks.

Can you specify how this should be resolved ??

Does removing Sysbios functions make the it a non-RTOS application running along Linux ??


Regards,

Tanvi

  • Hi Tanvi,

    Issue in running an RTOS application on R5F along with Linux on A72 can happen due to various reasons.

    Please look at the below FAQ to understand more on this.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/931992/faq-tda4vm-application-in-the-psdkra-runs-standalone-from-sbl-but-doesn-t-run-alongside-linux 

    In a scenario where we aren't using Linux SPL-Boot the application boots and works fine but while with SPL-Boot the BIOS_Start() function doesn't let the application run its course.

    The FAQ talks about this issue.

    Function related to sysbios lead to kernel stuck situation.

    Here, without using sysbios function would interrupt the concurrency, since there won't be task formation, we want among the tasks.

    Can you specify how this should be resolved ??

    Does removing Sysbios functions make the it a non-RTOS application running along Linux ??

    The BIOS_Start() will start the scheduler, not doing this will not start your intended application and will only execute the startup code.

    Reason for seeing an issue after BIOS_Start() would not be BIOS_Start() itself but the functionality which gets triggered as a part of one or more of the threads which get scheduled.

    Can you also confirm that you are using SDK7.3?

    Regards

    Karan

  • Hi Tanvi,

    We saw some response on this thread which is not there anymore. Has it been deleted by mistake?

    Also, if it is possible, please share the patch for the changes that you have done to boot your application alongside Linux and please confirm the SDK version you are using.

    Regards,
    Parth

  • Hi Karan,

    I am using PDK 7.3.

    *) As per the link you shared I tried the following things -->

    I tried to include the function -->

        local_moduleClockEnable(TISCI_DEV_MCU_MCAN0);
        local_moduleClockEnable(TISCI_DEV_MCU_MCAN1);

    and tried to include the MCAN0 & MCAN1 modules. But it didn't help me.

    *) Another thing I tried was look if the Linux and the Application were sharing the same memory or not, but if that were the case than the application shouldn't have booted up but it was working although only Linux Kernel got stuck.

    *) I tried to debug the BIOS_start() function but doing so I faced a problem

    where I couldn't find --> BIOS_module->startFunc();

    Can you describe what else should i try ?

    I am also sharing the executable output.

    4403.note.txt
    readelf -l adas_parking_fun_app_mcu1_0_release_strip.xer5f 
    
    Elf file type is EXEC (Executable file)
    Entry point 0x41010000
    There are 15 program headers, starting at offset 758496
    
    Program Headers:
      Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
      LOAD           0x000038 0x41010000 0x41010000 0x00040 0x00040 R   0x8
      LOAD           0x000080 0x41010100 0x41010100 0x00548 0x00548 R E 0x10
      LOAD           0x000600 0xa0400000 0xa0400000 0x00000 0x32042e RW  0x80
      LOAD           0x000600 0xa0720430 0xa0720430 0x49c38 0x49c38 R   0x8
      LOAD           0x04a238 0xa076a068 0xa076a068 0x00000 0x00004 RW  0x4
      LOAD           0x04a240 0xa076a070 0xa076a070 0x413e0 0x413e0 R E 0x10
      LOAD           0x08b620 0xa07ab450 0xa07ab450 0x04dc0 0x04dc0 RW  0x4
      LOAD           0x0903e0 0xa07b0210 0xa07b0210 0x05b40 0x05b40 R E 0x4
      LOAD           0x095f20 0xa07b5d50 0xa07b5d50 0x00000 0x02000 RW  0x8
      LOAD           0x095f20 0xa07b7d50 0xa07b7d50 0x0000a 0x0000a R   0x4
      LOAD           0x095f80 0xa07b7d80 0xa07b7d80 0x01700 0x01700 R   0x80
      LOAD           0x097680 0xa07b9480 0xa07b9480 0x00000 0x02798 RW  0x4
      LOAD           0x097680 0xa07bbc18 0xa07bbc18 0x00770 0x00770 R   0x4
      LOAD           0x097df0 0xa07bc388 0xa07bc388 0x00000 0x003ec RW  0x4
      LOAD           0x097df0 0xa07bc778 0xa07bc778 0x20fe0 0x20fe0 R   0x8
    
     Section to Segment mapping:
      Segment Sections...
       00     .vecs .vecs 
       01     .init_text .text:xdc_runtime_Startup_reset__I .utilsCopyVecsToAtcm 
       02     .bss .data __llvm_prf_cnts 
       03     .const 
       04     .bss.devgroup.DMSC_INTERNAL 
       05     .text 
       06     McalNoInitSection 
       07     .const.devgroup.MAIN McalTextSection 
       08     .stack 
       09     .const.devgroup.DMSC_INTERNAL 
       10     .boardcfg_data 
       11     .bss.devgroup.MAIN McalConstSection UtilityNoInitSection 
       12     .const.devgroup.MCU_WAKEUP 
       13     .bss.devgroup.MCU_WAKEUP McalInitSection
    

    This is the linker file that I am using for my app -->

    7587.linker_r5f_mcu1_0_btcm_sysbios.txt
    /*----------------------------------------------------------------------------*/
    /* File: linker_r5f_mcu1_0_btcm_sysbios.lds                                        */
    /* Description:			  					      */
    /*    Link command file for J7ES MCU1_0 view				      */
    /*	  TI ARM Compiler version 15.12.3 LTS or later			      */
    /*                                                                            */
    /* (c) Texas Instruments 2018, All rights reserved.                           */
    /*----------------------------------------------------------------------------*/
    /*  History:								      */
    /*    Aug 26th, 2016 Original version .......................... Loc Truong   */
    /*    Aug 01th, 2017 new TCM mem map  .......................... Loc Truong   */
    /*    Nov 07th, 2017 Changes for R5F Init Code.................. Vivek Dhande */
    /*    Sep 17th, 2018 Added DDR sections for IPC................. J. Bergsagel */
    /*    Sep 26th, 2018 Extra mem sections for IPC resource table.. J. Bergsagel */
    /*    Nov 06th, 2018 Correction to TCM addresses for MCU1_0..... J. Bergsagel */
    /*    Nov 07th, 2018 Split up OCMRAM_MCU for split-mode R5Fs.... J. Bergsagel */
    /*    Feb 20th, 2019 Use R5F BTCM memory for boot vectors........J. Bergsagel */
    /*    Apr 23th, 2019 Changes for R5F startup Code............... Vivek Dhande */
    /*----------------------------------------------------------------------------*/
    /* Linker Settings                                                            */
    /* Standard linker options						      */
    --retain="*(.bootCode)"
    --retain="*(.startupCode)"
    --retain="*(.startupData)"
    --fill_value=0
    --stack_size=0x2000
    --heap_size=0x1000
    
    -stack  0x2000                              /* SOFTWARE STACK SIZE           */
    -heap   0x2000                              /* HEAP AREA SIZE                */
    
    --define FILL_PATTERN=0xFEAA55EF
    --define FILL_LENGTH=0x100
    
    #define DDR0_ALLOCATED_START 0xA0000000
    
    #define MCU1_0_EXT_DATA_BASE     (DDR0_ALLOCATED_START + 0x00100000)
    #define MCU1_0_R5F_MEM_TEXT_BASE (DDR0_ALLOCATED_START + 0x00200000)
    #define MCU1_0_R5F_MEM_DATA_BASE (DDR0_ALLOCATED_START + 0x00300000)
    #define MCU1_0_DDR_SPACE_BASE    (DDR0_ALLOCATED_START + 0x00400000)
    
    #define MCU1_1_ALLOCATED_START   DDR0_ALLOCATED_START + 0x01000000
    #define MCU1_1_EXT_DATA_BASE     (MCU1_1_ALLOCATED_START + 0x00100000)
    #define MCU1_1_R5F_MEM_TEXT_BASE (MCU1_1_ALLOCATED_START + 0x00200000)
    #define MCU1_1_R5F_MEM_DATA_BASE (MCU1_1_ALLOCATED_START + 0x00300000)
    #define MCU1_1_DDR_SPACE_BASE    (MCU1_1_ALLOCATED_START + 0x00400000)
    
    #define MCU2_0_ALLOCATED_START   DDR0_ALLOCATED_START + 0x02000000
    #define MCU2_0_EXT_DATA_BASE     (MCU2_0_ALLOCATED_START + 0x00100000)
    #define MCU2_0_R5F_MEM_TEXT_BASE (MCU2_0_ALLOCATED_START + 0x00200000)
    #define MCU2_0_R5F_MEM_DATA_BASE (MCU2_0_ALLOCATED_START + 0x00300000)
    #define MCU2_0_DDR_SPACE_BASE    (MCU2_0_ALLOCATED_START + 0x00400000)
    
    #define MCU2_1_ALLOCATED_START   DDR0_ALLOCATED_START + 0x03000000
    #define MCU2_1_EXT_DATA_BASE     (MCU2_1_ALLOCATED_START + 0x00100000)
    #define MCU2_1_R5F_MEM_TEXT_BASE (MCU2_1_ALLOCATED_START + 0x00200000)
    #define MCU2_1_R5F_MEM_DATA_BASE (MCU2_1_ALLOCATED_START + 0x00300000)
    #define MCU2_1_DDR_SPACE_BASE    (MCU2_1_ALLOCATED_START + 0x00400000)
    
    #define ATCM_START 0x00000000
    #define BTCM_START 0x41010000
    
    -e __VECS_ENTRY_POINT
    --retain="*(.intvecs)"
    --retain="*(.intc_text)"
    --retain="*(.rstvectors)"
    --retain="*(.utilsCopyVecsToAtcm)"
    
    /*----------------------------------------------------------------------------*/
    /* Memory Map                                                                 */
    MEMORY
    {
        /* MCU1_R5F_0 local view  */
        MCU_ATCM (RWX)		: origin=ATCM_START	length=0x8000
        /* MCU1_R5F0_TCMB0 (RWIX)	: origin=BTCM_START	length=0x8000 (documented only, to void conflict below) */
    
        /* MCU1_R5F_0 SoC view  */
        MCU1_R5F0_ATCM (RWIX)  	: origin=0x41000000 length=0x8000
        MCU1_R5F0_BTCM_VECS (RWIX)  : origin=0x41010000 length=0x0100
        MCU1_R5F0_BTCM (RWIX) 	: origin=0x41010100 length=0x7F00
    
        DDR0_RESERVED    (RWIX)  	: origin=0x80000000 length=0x20000000	  	/* 512MB */
        MCU1_0_IPC_DATA (RWIX)	: origin=DDR0_ALLOCATED_START     length=0x00100000	/*   1MB */
        MCU1_0_EXT_DATA  (RWIX)	: origin=MCU1_0_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU1_0_R5F_MEM_TEXT (RWIX)	: origin=MCU1_0_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU1_0_R5F_MEM_DATA (RWIX)	: origin=MCU1_0_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU1_0_DDR_SPACE (RWIX)	: origin=MCU1_0_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
        MCU1_1_IPC_DATA (RWIX)	: origin=MCU1_1_ALLOCATED_START   length=0x00100000	/*   1MB */
        MCU1_1_EXT_DATA  (RWIX)	: origin=MCU1_1_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU1_1_R5F_MEM_TEXT (RWIX)	: origin=MCU1_1_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU1_1_R5F_MEM_DATA (RWIX)	: origin=MCU1_1_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU1_1_DDR_SPACE (RWIX)	: origin=MCU1_1_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
        MCU2_0_IPC_DATA (RWIX)	: origin=MCU2_0_ALLOCATED_START   length=0x00100000	/*   1MB */
        MCU2_0_EXT_DATA  (RWIX)	: origin=MCU2_0_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU2_0_R5F_MEM_TEXT (RWIX)	: origin=MCU2_0_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU2_0_R5F_MEM_DATA (RWIX)	: origin=MCU2_0_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU2_0_DDR_SPACE (RWIX)	: origin=MCU2_0_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
        MCU2_1_IPC_DATA (RWIX)	: origin=MCU2_1_ALLOCATED_START   length=0x00100000	/*   1MB */
        MCU2_1_EXT_DATA  (RWIX)	: origin=MCU2_1_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU2_1_R5F_MEM_TEXT (RWIX)	: origin=MCU2_1_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU2_1_R5F_MEM_DATA (RWIX)	: origin=MCU2_1_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU2_1_DDR_SPACE (RWIX)	: origin=MCU2_1_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
    
        SHARED_DDR_SPACE (RWIX)	: origin=0xAA000000 length=0x01C00000           /*  28MB */
    
    }  /* end of MEMORY */
    
    /*----------------------------------------------------------------------------*/
    /* Section Configuration                                                      */
    
    SECTIONS
    {
        .vecs : {
             *(.vecs)
        } palign(8) > BTCM_START
        .vecs       : {
            __VECS_ENTRY_POINT = .;
        } > MCU1_R5F0_BTCM_VECS
        xdc.meta (COPY): { *(xdc.meta) } > MCU1_R5F0_BTCM
        .init_text  : {
                         boot.*(.text)
                         *(.text:ti_sysbios_family_arm_MPU_*)
                         *(.text:ti_sysbios_family_arm_v7r_Cache_*)
                      }  palign(8) > MCU1_R5F0_BTCM
        .text:xdc_runtime_Startup_reset__I     : {} palign(8) > MCU1_R5F0_BTCM
        .bootCode    	: {} palign(8) 		> MCU1_R5F0_BTCM
        .startupCode 	: {} palign(8) 		> MCU1_R5F0_BTCM
        .startupData 	: {} palign(8) 		> MCU1_R5F0_BTCM, type = NOINIT
        .utilsCopyVecsToAtcm                   : {} palign(8) > MCU1_R5F0_BTCM
        .text	: {} palign(8)		> MCU1_0_DDR_SPACE
        .const   	: {} palign(8) 		> MCU1_0_DDR_SPACE
        .cinit   	: {} palign(8) 		> MCU1_0_DDR_SPACE
        .pinit   	: {} palign(8) 		> MCU1_0_DDR_SPACE
        .bss     	: {} align(4)  		> MCU1_0_DDR_SPACE
        .data    	: {} palign(128) 	> MCU1_0_DDR_SPACE
        .data_buffer: {} palign(128) 	> MCU1_0_DDR_SPACE
        .sysmem  	: {} 			> MCU1_0_DDR_SPACE
        .stack	: {} align(4)		> MCU1_0_DDR_SPACE
    
        .resource_table : {
            __RESOURCE_TABLE = .;
        } > MCU1_0_EXT_DATA
    
        .tracebuf   : {}			> MCU1_0_EXT_DATA
    
        .const.devgroup.MCU_WAKEUP    : {} align(4)      > MCU1_0_DDR_SPACE
        .const.devgroup.MAIN          : {} align(4)      > MCU1_0_DDR_SPACE
        .const.devgroup.DMSC_INTERNAL : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup.MAIN            : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup.MCU_WAKEUP      : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup.DMSC_INTERNAL   : {} align(4)      > MCU1_0_DDR_SPACE
        .boardcfg_data                : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup*                : {} align(4)      > MCU1_0_DDR_SPACE
        .const.devgroup*              : {} align(4)      > MCU1_0_DDR_SPACE
    
    /*----------------------------------------------------------------------------*/
    /* Misc linker settings                                                       */
    
       /* Additional sections settings     */
        McalTextSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE
        {
            .=align(4);
            __linker_can_text_start = .;
            . += FILL_LENGTH;
            *(CAN_TEXT_SECTION)
            *(CAN_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_text_end = .;
    
            .=align(4);
            __linker_dio_text_start = .;
            . += FILL_LENGTH;
            *(DIO_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_dio_text_end = .;
        }
        McalConstSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE
        {
            .=align(4);
            __linker_can_const_start = .;
            . += FILL_LENGTH;
            *(CAN_CONST_8_SECTION)
            *(CAN_CONST_32_SECTION)
            *(CAN_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_const_end = .;
    
            .=align(4);
            __linker_dio_const_start = .;
            . += FILL_LENGTH;
            *(DIO_CONST_32_SECTION)
            *(DIO_CONST_UNSPECIFIED_SECTION)
            *(DIO_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_dio_const_end = .;
        }
    
        McalInitSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE
        {
            .=align(4);
            __linker_can_init_start = .;
            . += FILL_LENGTH;
            *(CAN_DATA_INIT_8_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_init_end = .;
        }
        McalNoInitSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(4);
            __linker_can_no_init_start = .;
            . += FILL_LENGTH;
            *(CAN_DATA_NO_INIT_UNSPECIFIED_SECTION)
            *(CAN_DATA_NO_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_no_init_end = .;
        }
        /* Example Utility specifics */
        UtilityNoInitSection : align=4, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(4);
            __linker_utility_no_init_start = .;
            . += FILL_LENGTH;
            *(EG_TEST_RESULT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_utility_no_init_end = .;
        }
    }  /* end of SECTIONS */
    /*-------------------------------- END ---------------------------------------*/
    

    Regards,

    Tanvi

  • Hi Parth,

    We saw some response on this thread which is not there anymore. Has it been deleted by mistake?

    Yes, I deleted it. Wanted to confirm some other scenarios also which I didn't try.

    please confirm the SDK version you are using.

    I am using PDK 7.3.

    Regards,

    Tanvi

  • Hi Tanvi, 

    I looked at the readelf output, your memory mapping looks fine.

    but if that were the case than the application shouldn't have booted up but it was working although only Linux Kernel got stuck.

    How are you telling that your application is booted up? From the logs you shared I don't see Linux loading the application.

    Also, how are you loading your application from Linux? Can you please share the procedure you are using?

    Regards,
    Parth

  • Hi Parth,

    How are you telling that your application is booted up? From the logs you shared I don't see Linux loading the application.

    From my application I am able to see the logs of initialization of MCAN module and the debug Logs that I have put.

    I am trying to boot mcu1_0 using --> <app_name>_release_strip.xer5f

    than updating the UBOOT_DM variable with the image path.

    than make u_boot-clean

    than make u_boot

    and than copying created tispl.bin & u_boot.img from a72 folder to BOOT

    and than copying tiboot3.bin from r5 folder to BOOT

    and than inserting than from the memory card my application boots up by giving log of initialization of modules but there Linux Kernel hangs although the application is running.

    In my application I tried to debug and found that when I called BIOS_start() the application didn't move forward.

    When I commented it than it got stuck at Task_sleep().

    U-Boot SPL 2020.01-dirty (May 15 2022 - 12:47:56 +0530)

    Here you can see that I am using SPL that is trying to boot linux along with my application.

    I looked at the readelf output, your memory mapping looks fine.

    Thanks for verifying the memory map. From this I am now sure that memory sections of linux and my application aren't overlapping.

    Please specify what should I do next.

    Regards,

    Tanvi

  • Hi Karan & Parth,

    The application that I am trying to build for mcu1_0 is based on mcu1_0 for CAN_BOOT_APP.

    Will updating the UBOOT_DM with mcu1_0 firmware image would cause Linux Boot interrupt ?

    Regards,

    Tanvi

  • Hi Tanvi,

    There might be some resource conflict. If your application is using any resource that is owned by Linux, then both your application and Linux will crash. Can you please share the patch of your application, so we can review it?

    Regards,
    Parth

  • Hi Parth,

    I am sharing the files I modified for the application.

    8203.linker_r5f_mcu1_0_btcm_sysbios.txt
    /*----------------------------------------------------------------------------*/
    /* File: linker_r5f_mcu1_0_btcm_sysbios.lds                                        */
    /* Description:			  					      */
    /*    Link command file for J7ES MCU1_0 view				      */
    /*	  TI ARM Compiler version 15.12.3 LTS or later			      */
    /*                                                                            */
    /* (c) Texas Instruments 2018, All rights reserved.                           */
    /*----------------------------------------------------------------------------*/
    /*  History:								      */
    /*    Aug 26th, 2016 Original version .......................... Loc Truong   */
    /*    Aug 01th, 2017 new TCM mem map  .......................... Loc Truong   */
    /*    Nov 07th, 2017 Changes for R5F Init Code.................. Vivek Dhande */
    /*    Sep 17th, 2018 Added DDR sections for IPC................. J. Bergsagel */
    /*    Sep 26th, 2018 Extra mem sections for IPC resource table.. J. Bergsagel */
    /*    Nov 06th, 2018 Correction to TCM addresses for MCU1_0..... J. Bergsagel */
    /*    Nov 07th, 2018 Split up OCMRAM_MCU for split-mode R5Fs.... J. Bergsagel */
    /*    Feb 20th, 2019 Use R5F BTCM memory for boot vectors........J. Bergsagel */
    /*    Apr 23th, 2019 Changes for R5F startup Code............... Vivek Dhande */
    /*----------------------------------------------------------------------------*/
    /* Linker Settings                                                            */
    /* Standard linker options						      */
    --retain="*(.bootCode)"
    --retain="*(.startupCode)"
    --retain="*(.startupData)"
    --fill_value=0
    --stack_size=0x2000
    --heap_size=0x1000
    
    -stack  0x2000                              /* SOFTWARE STACK SIZE           */
    -heap   0x2000                              /* HEAP AREA SIZE                */
    
    --define FILL_PATTERN=0xFEAA55EF
    --define FILL_LENGTH=0x100
    
    #define DDR0_ALLOCATED_START 0xA0000000
    
    #define MCU1_0_EXT_DATA_BASE     (DDR0_ALLOCATED_START + 0x00100000)
    #define MCU1_0_R5F_MEM_TEXT_BASE (DDR0_ALLOCATED_START + 0x00200000)
    #define MCU1_0_R5F_MEM_DATA_BASE (DDR0_ALLOCATED_START + 0x00300000)
    #define MCU1_0_DDR_SPACE_BASE    (DDR0_ALLOCATED_START + 0x00400000)
    
    #define MCU1_1_ALLOCATED_START   DDR0_ALLOCATED_START + 0x01000000
    #define MCU1_1_EXT_DATA_BASE     (MCU1_1_ALLOCATED_START + 0x00100000)
    #define MCU1_1_R5F_MEM_TEXT_BASE (MCU1_1_ALLOCATED_START + 0x00200000)
    #define MCU1_1_R5F_MEM_DATA_BASE (MCU1_1_ALLOCATED_START + 0x00300000)
    #define MCU1_1_DDR_SPACE_BASE    (MCU1_1_ALLOCATED_START + 0x00400000)
    
    #define MCU2_0_ALLOCATED_START   DDR0_ALLOCATED_START + 0x02000000
    #define MCU2_0_EXT_DATA_BASE     (MCU2_0_ALLOCATED_START + 0x00100000)
    #define MCU2_0_R5F_MEM_TEXT_BASE (MCU2_0_ALLOCATED_START + 0x00200000)
    #define MCU2_0_R5F_MEM_DATA_BASE (MCU2_0_ALLOCATED_START + 0x00300000)
    #define MCU2_0_DDR_SPACE_BASE    (MCU2_0_ALLOCATED_START + 0x00400000)
    
    #define MCU2_1_ALLOCATED_START   DDR0_ALLOCATED_START + 0x03000000
    #define MCU2_1_EXT_DATA_BASE     (MCU2_1_ALLOCATED_START + 0x00100000)
    #define MCU2_1_R5F_MEM_TEXT_BASE (MCU2_1_ALLOCATED_START + 0x00200000)
    #define MCU2_1_R5F_MEM_DATA_BASE (MCU2_1_ALLOCATED_START + 0x00300000)
    #define MCU2_1_DDR_SPACE_BASE    (MCU2_1_ALLOCATED_START + 0x00400000)
    
    #define ATCM_START 0x00000000
    #define BTCM_START 0x41010000
    
    -e __VECS_ENTRY_POINT
    --retain="*(.intvecs)"
    --retain="*(.intc_text)"
    --retain="*(.rstvectors)"
    --retain="*(.utilsCopyVecsToAtcm)"
    
    /*----------------------------------------------------------------------------*/
    /* Memory Map                                                                 */
    MEMORY
    {
        /* MCU1_R5F_0 local view  */
        MCU_ATCM (RWX)		: origin=ATCM_START	length=0x8000
        /* MCU1_R5F0_TCMB0 (RWIX)	: origin=BTCM_START	length=0x8000 (documented only, to void conflict below) */
    
        /* MCU1_R5F_0 SoC view  */
        MCU1_R5F0_ATCM (RWIX)  	: origin=0x41000000 length=0x8000
        MCU1_R5F0_BTCM_VECS (RWIX)  : origin=0x41010000 length=0x0100
        MCU1_R5F0_BTCM (RWIX) 	: origin=0x41010100 length=0x7F00
    
        DDR0_RESERVED    (RWIX)  	: origin=0x80000000 length=0x20000000	  	/* 512MB */
        MCU1_0_IPC_DATA (RWIX)	: origin=DDR0_ALLOCATED_START     length=0x00100000	/*   1MB */
        MCU1_0_EXT_DATA  (RWIX)	: origin=MCU1_0_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU1_0_R5F_MEM_TEXT (RWIX)	: origin=MCU1_0_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU1_0_R5F_MEM_DATA (RWIX)	: origin=MCU1_0_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU1_0_DDR_SPACE (RWIX)	: origin=MCU1_0_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
        MCU1_1_IPC_DATA (RWIX)	: origin=MCU1_1_ALLOCATED_START   length=0x00100000	/*   1MB */
        MCU1_1_EXT_DATA  (RWIX)	: origin=MCU1_1_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU1_1_R5F_MEM_TEXT (RWIX)	: origin=MCU1_1_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU1_1_R5F_MEM_DATA (RWIX)	: origin=MCU1_1_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU1_1_DDR_SPACE (RWIX)	: origin=MCU1_1_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
        MCU2_0_IPC_DATA (RWIX)	: origin=MCU2_0_ALLOCATED_START   length=0x00100000	/*   1MB */
        MCU2_0_EXT_DATA  (RWIX)	: origin=MCU2_0_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU2_0_R5F_MEM_TEXT (RWIX)	: origin=MCU2_0_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU2_0_R5F_MEM_DATA (RWIX)	: origin=MCU2_0_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU2_0_DDR_SPACE (RWIX)	: origin=MCU2_0_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
        MCU2_1_IPC_DATA (RWIX)	: origin=MCU2_1_ALLOCATED_START   length=0x00100000	/*   1MB */
        MCU2_1_EXT_DATA  (RWIX)	: origin=MCU2_1_EXT_DATA_BASE     length=0x00100000	/*   1MB */
        MCU2_1_R5F_MEM_TEXT (RWIX)	: origin=MCU2_1_R5F_MEM_TEXT_BASE length=0x00100000	/*   1MB */
        MCU2_1_R5F_MEM_DATA (RWIX)	: origin=MCU2_1_R5F_MEM_DATA_BASE length=0x00100000	/*   1MB */
        MCU2_1_DDR_SPACE (RWIX)	: origin=MCU2_1_DDR_SPACE_BASE    length=0x00C00000	/*  12MB */
    
        SHARED_DDR_SPACE (RWIX)	: origin=0xAA000000 length=0x01C00000           /*  28MB */
    
    }  /* end of MEMORY */
    
    /*----------------------------------------------------------------------------*/
    /* Section Configuration                                                      */
    
    SECTIONS
    {
        .vecs : {
             *(.vecs)
        } palign(8) > BTCM_START
        .vecs       : {
            __VECS_ENTRY_POINT = .;
        } > MCU1_R5F0_BTCM_VECS
        xdc.meta (COPY): { *(xdc.meta) } > MCU1_R5F0_BTCM
        .init_text  : {
                         boot.*(.text)
                         *(.text:ti_sysbios_family_arm_MPU_*)
                         *(.text:ti_sysbios_family_arm_v7r_Cache_*)
                      }  palign(8) > MCU1_R5F0_BTCM
        .text:xdc_runtime_Startup_reset__I     : {} palign(8) > MCU1_R5F0_BTCM
        .bootCode    	: {} palign(8) 		> MCU1_R5F0_BTCM
        .startupCode 	: {} palign(8) 		> MCU1_R5F0_BTCM
        .startupData 	: {} palign(8) 		> MCU1_R5F0_BTCM, type = NOINIT
        .utilsCopyVecsToAtcm                   : {} palign(8) > MCU1_R5F0_BTCM
        .text	: {} palign(8)		> MCU1_0_DDR_SPACE
        .const   	: {} palign(8) 		> MCU1_0_DDR_SPACE
        .cinit   	: {} palign(8) 		> MCU1_0_DDR_SPACE
        .pinit   	: {} palign(8) 		> MCU1_0_DDR_SPACE
        .bss     	: {} align(4)  		> MCU1_0_DDR_SPACE
        .data    	: {} palign(128) 	> MCU1_0_DDR_SPACE
        .data_buffer: {} palign(128) 	> MCU1_0_DDR_SPACE
        .sysmem  	: {} 			> MCU1_0_DDR_SPACE
        .stack	: {} align(4)		> MCU1_0_DDR_SPACE
    /*
        .resource_table : {
            __RESOURCE_TABLE = .;
        } > MCU1_0_EXT_DATA
    
        .tracebuf   : {}			> MCU1_0_EXT_DATA
    */
        .const.devgroup.MCU_WAKEUP    : {} align(4)      > MCU1_0_DDR_SPACE
        .const.devgroup.MAIN          : {} align(4)      > MCU1_0_DDR_SPACE
        .const.devgroup.DMSC_INTERNAL : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup.MAIN            : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup.MCU_WAKEUP      : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup.DMSC_INTERNAL   : {} align(4)      > MCU1_0_DDR_SPACE
        .boardcfg_data                : {} align(4)      > MCU1_0_DDR_SPACE
        .bss.devgroup*                : {} align(4)      > MCU1_0_DDR_SPACE
        .const.devgroup*              : {} align(4)      > MCU1_0_DDR_SPACE
    
    /*----------------------------------------------------------------------------*/
    /* Misc linker settings                                                       */
    
       /* Additional sections settings     */
        McalTextSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE
        {
            .=align(4);
            __linker_spi_text_start = .;
            . += FILL_LENGTH;
            *(SPI_TEXT_SECTION)
            *(SPI_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_spi_text_end = .;
    
            .=align(4);
            __linker_gpt_text_start = .;
            . += FILL_LENGTH;
            *(GPT_TEXT_SECTION)
            *(GPT_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_gpt_text_end = .;
    
            .=align(4);
            __linker_dio_text_start = .;
            . += FILL_LENGTH;
            *(DIO_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_dio_text_end = .;
    
            .=align(4);
            __linker_eth_text_start = .;
            . += FILL_LENGTH;
            *(ETH_TEXT_SECTION)
            *(ETH_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_eth_text_end = .;
    
            .=align(4);
            __linker_ethtrcv_text_start = .;
            . += FILL_LENGTH;
            *(ETHTRCV_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_ethtrcv_text_end = .;
    
            .=align(4);
            __linker_can_text_start = .;
            . += FILL_LENGTH;
            *(CAN_TEXT_SECTION)
            *(CAN_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_text_end = .;
    
            .=align(4);
            __linker_wdg_text_start = .;
            . += FILL_LENGTH;
            *(WDG_TEXT_SECTION)
            *(WDG_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_wdg_text_end = .;
    
            .=align(4);
            __linker_pwm_text_start = .;
            . += FILL_LENGTH;
            *(PWM_TEXT_SECTION)
            *(PWM_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_pwm_text_end = .;
    
            __linker_adc_text_start = .;
            . += FILL_LENGTH;
            *(ADC_TEXT_SECTION)
            *(ADC_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_adc_text_end = .;
    
            .=align(4);
            __linker_cdd_ipc_text_start = .;
            . += FILL_LENGTH;
            *(CDD_IPC_TEXT_SECTION)
            *(CDD_IPC_ISR_TEXT_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_cdd_ipc_text_end = .;
        }
        McalConstSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE
        {
            .=align(4);
            __linker_spi_const_start = .;
            . += FILL_LENGTH;
            *(SPI_CONST_32_SECTION)
            *(SPI_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_spi_const_end = .;
    
            .=align(4);
            __linker_gpt_const_start = .;
            . += FILL_LENGTH;
            *(GPT_CONST_32_SECTION)
            *(GPT_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_gpt_const_end = .;
    
            .=align(4);
            __linker_dio_const_start = .;
            . += FILL_LENGTH;
            *(DIO_CONST_32_SECTION)
            *(DIO_CONST_UNSPECIFIED_SECTION)
            *(DIO_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_dio_const_end = .;
    
            .=align(4);
            __linker_can_const_start = .;
            . += FILL_LENGTH;
            *(CAN_CONST_8_SECTION)
            *(CAN_CONST_32_SECTION)
            *(CAN_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_const_end = .;
    
            .=align(4);
            __linker_eth_const_start = .;
            . += FILL_LENGTH;
            *(ETH_CONST_32_SECTION)
            *(ETH_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_eth_const_end = .;
    
            .=align(4);
            __linker_ethtrcv_const_start = .;
            . += FILL_LENGTH;
            *(ETHTRCV_CONST_32_SECTION)
            *(ETHTRCV_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_ethtrcv_const_end = .;
    
            .=align(4);
            __linker_wdg_const_start = .;
            . += FILL_LENGTH;
            *(WDG_CONST_32_SECTION)
            *(WDG_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_wdg_const_end = .;
    
            .=align(4);
            __linker_pwm_const_start = .;
            . += FILL_LENGTH;
            *(PWM_CONST_32_SECTION)
            *(PWM_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_pwm_const_end = .;
    
            .=align(4);
            __linker_adc_const_start = .;
            . += FILL_LENGTH;
            *(ADC_CONST_32_SECTION)
            *(ADC_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_adc_const_end = .;
    
            .=align(4);
            __linker_cdd_ipc_const_start = .;
            . += FILL_LENGTH;
            *(CDD_IPC_CONST_32_SECTION)
            *(CDD_IPC_CONFIG_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_cdd_ipc_const_end = .;
        }
    
        McalInitSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE
        {
            .=align(4);
            __linker_spi_init_start = .;
            . += FILL_LENGTH;
            *(SPI_DATA_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_spi_init_end = .;
    
            .=align(4);
            __linker_gpt_init_start = .;
            . += FILL_LENGTH;
            *(GPT_DATA_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_gpt_init_end = .;
    
            .=align(4);
            __linker_pwm_init_start = .;
            . += FILL_LENGTH;
            *(PWM_DATA_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_pwm_init_end = .;
    
            .=align(4);
            __linker_dio_init_start = .;
            . += FILL_LENGTH;
            *(DIO_DATA_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_dio_init_end = .;
    
            .=align(4);
            __linker_eth_init_start = .;
            . += FILL_LENGTH;
            *(ETH_DATA_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_eth_init_end = .;
    
            .=align(4);
            __linker_ethtrcv_init_start = .;
            . += FILL_LENGTH;
            *(ETHTRCV_DATA_INIT_UNSPECIFIED_SECTION)
            *(ETHTRCV_DATA_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_ethtrcv_init_end = .;
    
            .=align(4);
            __linker_can_init_start = .;
            . += FILL_LENGTH;
            *(CAN_DATA_INIT_8_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_init_end = .;
    
            .=align(4);
            __linker_wdg_init_start = .;
            . += FILL_LENGTH;
            *(WDG_DATA_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_wdg_init_end = .;
    
            .=align(4);
            __linker_adc_init_start = .;
            . += FILL_LENGTH;
            *(ADC_DATA_INIT_UNSPECIFIED_SECTION)
            *(ADC_DATA_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_adc_init_end = .;
    
            .=align(4);
            __linker_cdd_ipc_init_start = .;
            . += FILL_LENGTH;
            *(CDD_IPC_DATA_INIT_UNSPECIFIED_SECTION)
            *(CDD_IPC_DATA_INIT_32_SECTION)
            *(CDD_IPC_DATA_INIT_8_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_cdd_ipc_init_end = .;
        }
        McalNoInitSection : fill=FILL_PATTERN, align=4, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(4);
            __linker_spi_no_init_start = .;
            . += FILL_LENGTH;
            *(SPI_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_spi_no_init_end = .;
    
            .=align(4);
            __linker_gpt_no_init_start = .;
            . += FILL_LENGTH;
            *(GPT_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_gpt_no_init_end = .;
    
            .=align(4);
            __linker_dio_no_init_start = .;
            . += FILL_LENGTH;
            *(DIO_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_dio_no_init_end = .;
    
            .=align(4);
            __linker_eth_no_init_start = .;
            . += FILL_LENGTH;
            *(ETH_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_eth_no_init_end = .;
    
            .=align(4);
            __linker_ethtrcv_no_init_start = .;
            . += FILL_LENGTH;
            *(ETHTRCV_DATA_NO_INIT_UNSPECIFIED_SECTION)
            *(ETHTRCV_DATA_NO_INIT_16_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_ethtrcv_no_init_end = .;
    
            .=align(4);
            __linker_can_no_init_start = .;
            . += FILL_LENGTH;
            *(CAN_DATA_NO_INIT_UNSPECIFIED_SECTION)
            *(CAN_DATA_NO_INIT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_can_no_init_end = .;
    
            .=align(4);
            __linker_wdg_no_init_start = .;
            . += FILL_LENGTH;
            *(WDG_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_wdg_no_init_end = .;
    
            .=align(4);
            __linker_pwm_no_init_start = .;
            . += FILL_LENGTH;
            *(PWM_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_pwm_no_init_end = .;
    
            __linker_adc_no_init_start = .;
            . += FILL_LENGTH;
            *(ADC_DATA_NO_INIT_UNSPECIFIED_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_adc_no_init_end = .;
    
            __linker_cdd_ipc_no_init_start = .;
            . += FILL_LENGTH;
            *(CDD_IPC_DATA_NO_INIT_UNSPECIFIED_SECTION)
            *(CDD_IPC_DATA_NO_INIT_8_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_cdd_ipc_no_init_end = .;
        }
        /* Example Utility specifics */
        UtilityNoInitSection : align=4, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(4);
            __linker_utility_no_init_start = .;
            . += FILL_LENGTH;
            *(EG_TEST_RESULT_32_SECTION)
            .=align(4);
            . += FILL_LENGTH;
            __linker_utility_no_init_end = .;
        }
        SciClientBoardCfgSection : align=128, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(128);
            __linker_boardcfg_data_start = .;
            . += FILL_LENGTH;
            *(.boardcfg_data)
            .=align(128);
            . += FILL_LENGTH;
            __linker_boardcfg_data_end = .;
        }
        /* This section is used for descs and ring mems. It's best to have
         * it in OCMRAM or OCMC_RAM_SCISERVER */
        McalUdmaSection : fill=FILL_PATTERN, align=128, load > MCU1_0_DDR_SPACE
        {
            .=align(128);
            __linker_eth_udma_start = .;
            . += FILL_LENGTH;
            *(ETH_UDMA_SECTION)
            .=align(128);
            . += FILL_LENGTH;
            __linker_eth_udma_end = .;
        }
        McalTxDataSection : fill=FILL_PATTERN, align=128, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(128);
            __linker_eth_tx_data_start = .;
            . += FILL_LENGTH;
            *(ETH_TX_DATA_SECTION)
            .=align(128);
            . += FILL_LENGTH;
            __linker_eth_tx_data_end = .;
        }
        McalRxDataSection : fill=FILL_PATTERN, align=128, load > MCU1_0_DDR_SPACE, type = NOINIT
        {
            .=align(128);
            __linker_eth_rx_data_start = .;
            . += FILL_LENGTH;
            *(ETH_RX_DATA_SECTION)
            .=align(128);
            . += FILL_LENGTH;
            __linker_eth_rx_data_end = .;
        }
    }  /* end of SECTIONS */
    /*-------------------------------- END ---------------------------------------*/
    
    sysbios_r5f_btcm.cfg
    1803.r5_mpu.txt
    /*
     * Copyright (c) 2019, Texas Instruments Incorporated
     * All rights reserved.
     *
     * Redistribution and use in source and binary forms, with or without
     * modification, are permitted provided that the following conditions
     * are met:
     *
     * *  Redistributions of source code must retain the above copyright
     *    notice, this list of conditions and the following disclaimer.
     *
     * *  Redistributions in binary form must reproduce the above copyright
     *    notice, this list of conditions and the following disclaimer in the
     *    documentation and/or other materials provided with the distribution.
     *
     * *  Neither the name of Texas Instruments Incorporated nor the names of
     *    its contributors may be used to endorse or promote products derived
     *    from this software without specific prior written permission.
     *
     * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
     * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
     * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
     * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
     * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
     * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     */
    /*
     *  ======== event_MPU.xs ========
     *  MPU Settings for J721E device's Cortex-R5F
     */
    
    /*
     *  ----------------------------------------------------------------------------------------------------------------------
     * | Id | Base Address | Size | En | Cacheable                                          | XN | AccPerm             | Mask |
     * |----------------------------------------------------------------------------------------------------------------------|
     * | 0  | 0x00000000   | 4GB  | T  | uncacheable, Shareable                             | F  | RW at PL 1          | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 1  | 0 (local TCM)| 32K  | T  | Non-cacheable, Non-Shareable                       | F  | RW at PL 1          | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 2  | 0x41000000   | 32K  | T  | Non-cacheable, Non-shareable                       | F  | RW at PL 1          | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 3  | 0x41010000   | 32K  | T  | Non-cacheable, Non-Shareable                       | F  | RW at PL 1          | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 4  | 0x41C00000   | 1MB  | T  | Write-Back, Write-Allocate, Non-Shareable          | F  | RW at PL 1          | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 5  | 0x70000000   | 8MB  | T  | MSMC - Write-Back, Write-Allocate, Non-Shareable   | F  | RW at PL 1          | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 6  | 0x80000000   | 2GB  | T  | DDR - Write-Back, Write-Allocate, Non-Shareable    | F  | RW at PL 1 & PL 2   | 0x0  |
     * |----|--------------|------|----|----------------------------------------------------|----|---------------------|------|
     * | 7  | 0xAA000000   | 32MB | T  | DDR (VRing Buffer) - Uncacheable, Shareable        | F  | RW at PL 1 & PL 2   | 0x0  |
     * |----|---------------------|----|----------------------------------------------------|----|---------------------|------|
     * | 8  | 0x50000000   | 64MB | T  | OSPI flash memory - Cacheable                      | F  | RW at PL 1          | 0x0  |
     *  ----------------------------------------------------------------------------------------------------------------------
     */
    
    /*
     * Note: Marking a region as shareable will cause the region to behave as outer shareable with write through
     *       no write-allocate caching policy irrespective of the actual cache policy set. Therefore, only select
     *       regions that are actually shared outside the R5 CPUSS must be marked as shared.
     */
    
    var MPU = xdc.useModule('ti.sysbios.family.arm.MPU');
    MPU.enableMPU = true;
    MPU.enableBackgroundRegion = true;
    
    var attrs = new MPU.RegionAttrs();
    MPU.initRegionAttrsMeta(attrs);
    
    /* This entry covers the whole 32 bit memory range
       Address: 0x00000000-0xffffffff */
    attrs.enable = true;
    attrs.bufferable = false;
    attrs.cacheable = false;
    attrs.shareable = true;
    attrs.noExecute = true;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 0;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(0, 0x00000000, MPU.RegionSize_4G, attrs);
    
    /* This entry covers the ATCM mapped to 0 */
    attrs.enable = true;
    attrs.bufferable = false;
    attrs.cacheable = false;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(1, 0x00000000, MPU.RegionSize_32K, attrs);
    
    /* This entry covers ATCM if mapped to 0x41000000 */
    attrs.enable = true;
    attrs.bufferable = false;
    attrs.cacheable = false;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(2, 0x41000000, MPU.RegionSize_32K, attrs);
    
    /* This entry covers BTCM if mapped to 0x41010000 */
    attrs.enable = true;
    attrs.bufferable = false;
    attrs.cacheable = false;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0x0;
    MPU.setRegionMeta(3, 0x41010000, MPU.RegionSize_32K, attrs);
    
    /* This entry covers RAM0 */
    attrs.enable = true;
    attrs.bufferable = true;
    attrs.cacheable = true;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(4, 0x41C00000, MPU.RegionSize_1M, attrs);
    
    /* This entry covers MSMC SRAM */
    attrs.enable = true;
    attrs.bufferable = true;
    attrs.cacheable = true;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(5, 0x70000000, MPU.RegionSize_8M, attrs);
    
    /* This entry covers DDR memory */
    attrs.enable = true;
    attrs.bufferable = true;
    attrs.cacheable = true;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 0x3;          /* RW at PL1 & PL2 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(6, 0x80000000, MPU.RegionSize_2G, attrs);
    
    /* Ring Buffer uncached.... */
    attrs.enable = true;
    attrs.bufferable = false;
    attrs.cacheable = false;
    attrs.shareable = true;
    attrs.noExecute = true;
    attrs.accPerm = 3;          /* RW at PL1 & PL2 */
    attrs.tex = 0;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(7, 0xAA000000, MPU.RegionSize_32M, attrs);
    
    attrs.enable = true;
    attrs.bufferable = true;
    attrs.cacheable = true;
    attrs.shareable = false;
    attrs.noExecute = false;
    attrs.accPerm = 1;          /* RW at PL1 */
    attrs.tex = 1;
    attrs.subregionDisableMask = 0;
    MPU.setRegionMeta(8, 0x50000000, MPU.RegionSize_64M, attrs);
    

    This is the current elf image memory map -->

    1667.note.txt
    readelf -l adas_parking_fun_app_mcu1_0_release_strip.xer5f 
    
    Elf file type is EXEC (Executable file)
    Entry point 0x41010000
    There are 16 program headers, starting at offset 767252
    
    Program Headers:
      Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
      LOAD           0x000038 0x41010000 0x41010000 0x00040 0x00040 R   0x8
      LOAD           0x000080 0x41010100 0x41010100 0x00548 0x00548 R E 0x10
      LOAD           0x000600 0xa0400000 0xa0400000 0x00000 0x32042e RW  0x80
      LOAD           0x000600 0xa0720430 0xa0720430 0x49b28 0x49b28 R   0x8
      LOAD           0x04a128 0xa0769f58 0xa0769f58 0x00000 0x00004 RW  0x4
      LOAD           0x04a130 0xa0769f60 0xa0769f60 0x40d20 0x40d20 R E 0x10
      LOAD           0x08ae50 0xa07aac80 0xa07aac80 0x05fc0 0x05fc0 RW  0x4
      LOAD           0x090e10 0xa07b0c40 0xa07b0c40 0x06b40 0x06b40 R E 0x4
      LOAD           0x097950 0xa07b7780 0xa07b7780 0x00000 0x03eb0 RW  0x8
      LOAD           0x097950 0xa07bb630 0xa07bb630 0x0000a 0x0000a R   0x4
      LOAD           0x097980 0xa07bb680 0xa07bb680 0x01900 0x01900 R   0x80
      LOAD           0x099280 0xa07bcf80 0xa07bcf80 0x00000 0x02cec RW  0x4
      LOAD           0x099280 0xa07bfc6c 0xa07bfc6c 0x00770 0x00770 R   0x4
      LOAD           0x099a00 0xa07c0400 0xa07c0400 0x00600 0x00600 R   0x80
      LOAD           0x09a000 0xa07c0a00 0xa07c0a00 0x00000 0x001e8 RW  0x4
      LOAD           0x09a000 0xa07c0be8 0xa07c0be8 0x20fe8 0x20fe8 R   0x8
    
     Section to Segment mapping:
      Segment Sections...
       00     .vecs .vecs 
       01     .init_text .text:xdc_runtime_Startup_reset__I .utilsCopyVecsToAtcm 
       02     .bss .data __llvm_prf_cnts 
       03     .const 
       04     .bss.devgroup.DMSC_INTERNAL 
       05     .text 
       06     McalNoInitSection 
       07     .const.devgroup.MAIN McalTextSection 
       08     .stack McalConstSection 
       09     .const.devgroup.DMSC_INTERNAL 
       10     SciClientBoardCfgSection 
       11     .bss.devgroup.MAIN McalInitSection UtilityNoInitSection 
       12     .const.devgroup.MCU_WAKEUP 
       13     McalUdmaSection McalTxDataSection McalRxDataSection 
       14     .bss.devgroup.MCU_WAKEUP 
    

    utilsCopyVecs2ATcm.asm

    Regards,

    Tanvi

  • Hi Parth,

    I tried to comment the /*Misc linker settings*/ and also commented -->

        //xdc.meta (COPY): { *(xdc.meta) } > MCU1_R5F0_BTCM

               //          *(.text:ti_sysbios_family_arm_MPU_*)

               //          *(.text:ti_sysbios_family_arm_v7r_Cache_*)

        //.text:xdc_runtime_Startup_reset__I     : {} palign(8) > MCU1_R5F0_BTCM

    in the linker file --> linker_r5f_mcu1_0_btcm_sysbios.lds I gave you to see if it would resolve the resource conflict.

    Waiting for updates from your side as well and will also continue with making fixes on my side also..

    Regards,

    Tanvi

  • Hi Parth,

    I am attaching the source code of our application that we are running on mcu1_0.

    Please test it on your end and let us know.

    Regards,

    Tanvi

    Function.zip

  • Hi Tanvi, 

    Thanks for the additional information. I'll check these details and get back to you.

    Regards,
    Parth

  • Hi Parth,

    Any updates ?

    Regards,

    Tanvi

  • Hi Tanvi,

    I am able to reproduce the issue on my end. I am debugging the issue. Will get back with updates.

    Regards,
    Parth

  • Hi Tanvi,

    We have been able to resolve this, will post the patch soon.

    Regards

    Karan

  • Hi Tanvi,

    Please apply the following patch on the top of your "Function" directory. 

    0001-Removing-ATCM-disable-check.zip

    Regards,
    Parth

  • Hi Tanvi, team,

    Please note, the patch Parth shared is one of the changes I had provided as a part of the below thread:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1074907/tda4vm-tda4vm-how-to-run-multicore-image-app-on-linux/4074247#4074247

    Regards

    Karan

  • Hi Karan & Parth,

    I was able to run the application but there are some issues here -->

    1.) Linux a72 took 1hr 5 min to get to the Login screen.

    2.) I tried to run more than 1 task but there the flow isn't getting passed to the other task. Only one task is running and other tasks aren't getting scheduled. I am still looking into it will clarify this point later.

    Please suggest what should be done to resolve point 1.

    Regards,

    Tanvi

  • Hi Tanvi,

    Linux a72 took 1hr 5 min to get to the Login screen.

    I was able to get login on my end in normal time.

    Can you make sure that task priority of your sci server task is higher than your "ApplicationTask5ms_TaskFunction" task?

    The value of taskParams_5ms.priority should be less than appPrms.taskPriority[SCISERVER_TASK_USER_LO] and appPrms.taskPriority[SCISERVER_TASK_USER_HI].

    Regards,
    Parth

  • Hi Parth & Karan,

    Thanks for the quick repsonse.

    I followed your suggestion and updated the task priorities which seemed to resolve Kernel slow boot issue-->

    /**************************************************

    note1.txt
    Task_Params_init(&taskParams_5ms);
        taskParams_5ms.instance->name = FIVE_MS_TASK_NAME;
        /* Set the task priority higher than the default priority (1) */
        /*Set priority*/
        taskParams_5ms.priority     = 5;
        taskParams_5ms.stack        = ApplicationTask5ms_TaskStack;
        taskParams_5ms.stackSize    = sizeof (ApplicationTask5ms_TaskStack);
    
        task = Task_create(ApplicationTask5ms_TaskFunction, &taskParams_5ms, &eb);
        if(NULL == task)
        {
            BIOS_exit(0);
        }
                   //AppUtils_Printf(MSG_NORMAL, "DEBUG 7 \r\n");//debug
    
        /* Initialize the 10ms application and BSW task parameters*/
        Task_Params_init(&taskParams_10ms);
        taskParams_10ms.instance->name = TEN_MS_TASK_NAME;
        /* Set the task priority higher than the default priority (1) */
        /*Set priority*/
        taskParams_10ms.priority     = 6;
        taskParams_10ms.stack        = ApplicationTask10ms_TaskStack;
        taskParams_10ms.stackSize    = sizeof (ApplicationTask10ms_TaskStack);
    
        task = Task_create(ApplicationTask10ms_TaskFunction, &taskParams_10ms, &eb);
        if(NULL == task)
        {
            BIOS_exit(0);
        }
                   //AppUtils_Printf(MSG_NORMAL, "DEBUG 8 \r\n");//debug
        /* Initialize the 50ms application and BSW task parameters*/
        Task_Params_init(&taskParams_50ms);
        taskParams_50ms.instance->name = FIFTY_MS_TASK_NAME;
        /* Set the task priority higher than the default priority (1) */
        /*Set priority*/
        taskParams_50ms.priority     = 7;
        taskParams_50ms.stack        = ApplicationTask50ms_TaskStack;
        taskParams_50ms.stackSize    = sizeof (ApplicationTask50ms_TaskStack);
    
        task = Task_create(ApplicationTask50ms_TaskFunction, &taskParams_50ms, &eb);
        if(NULL == task)
        {
            BIOS_exit(0);
        }
                   //AppUtils_Printf(MSG_NORMAL, "DEBUG 9 \r\n");//debug
        /* Initialize the 100ms application and BSW task parameters*/
        Task_Params_init(&taskParams_100ms);
        taskParams_100ms.instance->name = HUNDRED_MS_TASK_NAME;
        /* Set the task priority higher than the default priority (1) */
        /*Set priority*/
        taskParams_100ms.priority     = 8;
        taskParams_100ms.stack        = ApplicationTask100ms_TaskStack;
        taskParams_100ms.stackSize    = sizeof (ApplicationTask100ms_TaskStack);
    
        task = Task_create(ApplicationTask100ms_TaskFunction, &taskParams_100ms, &eb);
        if(NULL == task)
        {
            BIOS_exit(0);
        }
    
    

    ***************************************************/

    But there is another issue that I have observed with Linux kernel that now I am getting a common error every time linux kernel boots up -->

    8814.note.txt
    j7-evm login: [   22.861224] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_c)
    [   22.877207] ti-sci 44083000.dmsc: Mbox send fail -110
    [   22.883253] omap_rng 4e10000.rng: Unable to enable the clk: -110
    [   22.889601] ------------[ cut here ]------------
    [   22.894203] clk:264:1 already disabled
    [   22.897966] WARNING: CPU: 1 PID: 197 at drivers/clk/clk.c:958 clk_core_disable+0xa0/0xa8
    [   22.906033] Modules linked in: ti_am335x_adc kfifo_buf pru_rproc irq_pruss_intc rpmsg_char ics6
    [   22.952704] CPU: 1 PID: 197 Comm: systemd-udevd Tainted: G           O      5.4.106-g023faefa71
    [   22.961638] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   22.967452] pstate: 40000085 (nZcv daIf -PAN -UAO)
    [   22.972226] pc : clk_core_disable+0xa0/0xa8
    [   22.976394] lr : clk_core_disable+0xa0/0xa8
    [   22.980560] sp : ffff80001396f900
    [   22.983859] x29: ffff80001396f900 x28: 0000000000000100 
    [   22.989153] x27: ffff80001014cae8 x26: ffff00085b7f6c90 
    [   22.994448] x25: 0000000000000002 x24: 0000000000000071 
    [   22.999743] x23: ffff00085b7f7080 x22: 0000000000000000 
    [   23.005036] x21: ffff000849179c10 x20: ffff000841e9f500 
    [   23.010329] x19: ffff000841e9f500 x18: 0000000000000010 
    [   23.015622] x17: 0000000000000000 x16: 0000000000000000 
    [   23.020916] x15: ffff00084a243d28 x14: ffffffffffffffff 
    [   23.026209] x13: ffff80009396f657 x12: ffff80001396f65f 
    [   23.031504] x11: ffff80001100a000 x10: ffff8000110c6b28 
    [   23.036797] x9 : 0000000000000000 x8 : ffff8000110c7000 
    [   23.042090] x7 : ffff8000105925b8 x6 : 0000000000000242 
    [   23.047383] x5 : ffff00087faa1848 x4 : 0000000000000001 
    [   23.052676] x3 : ffff00087faa1848 x2 : 0000000000000007 
    [   23.057971] x1 : c92ecb79e6db1b00 x0 : 0000000000000000 
    [   23.063264] Call trace:
    [   23.065700]  clk_core_disable+0xa0/0xa8
    [   23.069520]  clk_core_disable_lock+0x20/0x38
    [   23.073774]  clk_disable+0x1c/0x28
    [   23.077169]  omap_rng_probe+0x184/0x3c8 [omap_rng]
    [   23.081946]  platform_drv_probe+0x50/0xa0
    [   23.085939]  really_probe+0xd4/0x318
    [   23.089499]  driver_probe_device+0x54/0xe8
    [   23.093579]  device_driver_attach+0x6c/0x78
    [   23.097746]  __driver_attach+0x54/0xd0
    [   23.101479]  bus_for_each_dev+0x6c/0xc0
    [   23.105299]  driver_attach+0x20/0x28
    [   23.108859]  bus_add_driver+0x140/0x1e8
    [   23.112679]  driver_register+0x60/0x110
    [   23.116499]  __platform_driver_register+0x44/0x50
    [   23.121188]  omap_rng_driver_init+0x20/0x10000 [omap_rng]
    [   23.126571]  do_one_initcall+0x50/0x1a8
    [   23.130393]  do_init_module+0x50/0x210
    [   23.134127]  load_module+0x1dbc/0x23c0
    [   23.137860]  __do_sys_finit_module+0xd0/0xe8
    [   23.142114]  __arm64_sys_finit_module+0x1c/0x28
    [   23.146630]  el0_svc_common.constprop.0+0x68/0x160
    [   23.151404]  el0_svc_handler+0x20/0x80
    [   23.155137]  el0_svc+0x8/0x204
    [   23.158177] ---[ end trace d39b68fae5499197 ]---
    [   23.165263] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   23.174061] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   23.182839] ti-sci 44083000.dmsc: Mbox send fail -110
    [   23.193213] ti-sci 44083000.dmsc: Mbox send fail -110
    [   23.598325] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   23.673575] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   23.844170] usbcore: registered new interface driver usbfs
    [   23.857648] usbcore: registered new interface driver hub
    [   23.863342] usbcore: registered new device driver usb
    [   23.889241] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: sci_clk_determine_rate+0x50/0x)
    [   23.906357] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   23.911859] ti-sci 44083000.dmsc: Mbox send fail -110
    [   23.921228] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   23.925227] ti-sci-clk 44083000.dmsc:clocks: determine-rate failed for dev=157, clk=371, ret=-0
    [   23.933358] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x00000000
    [   23.957241] xhci-hcd xhci-hcd.2.auto: irq 600, io mem 0x06410000
    [   23.969356] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
    [   23.985214] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   24.001212] usb usb1: Product: xHCI Host Controller
    [   24.006148] usb usb1: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd
    [   24.017206] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   24.025432] hub 1-0:1.0: USB hub found
    [   24.033215] hub 1-0:1.0: 1 port detected
    [   24.037571] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   24.043060] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   24.053235] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   24.065222] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   24.073344] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
    [   24.089206] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   24.096417] usb usb2: Product: xHCI Host Controller
    [   24.105206] usb usb2: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd
    [   24.117207] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   24.122572] hub 2-0:1.0: USB hub found
    [   24.126335] hub 2-0:1.0: 1 port detected
    [   24.205237] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   24.217235] ti-sci 44083000.dmsc: Mbox send fail -110
    [   24.373214] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   24.529477] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [   24.541205] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [   24.553206] usb 1-1: SerialNumber: CC0108697885
    [   24.558198] hub 1-1:1.0: USB hub found
    [   24.565221] hub 1-1:1.0: 4 ports detected
    [   24.973228] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: sci_clk_determine_rate+0x50/0x)
    [   24.989208] ti-sci 44083000.dmsc: Mbox send fail -110
    [   24.994256] ti-sci-clk 44083000.dmsc:clocks: determine-rate failed for dev=157, clk=371, ret=-0
    [   25.005231] j721e-audio sound@0: codec set rate failed for 12288000 Hz
    [   25.013230] ------------[ cut here ]------------
    [   25.030440] clk:264:1 already unprepared
    [   25.042381] j721e-audio sound@0: ASoC: failed to init CPB pcm3168a ADC: -22
    [   25.057247] WARNING: CPU: 0 PID: 197 at drivers/clk/clk.c:816 clk_core_unprepare+0xe0/0x100
    [   25.065577] Modules linked in: xhci_plat_hcd xhci_hcd usbcore ti_am335x_adc kfifo_buf pru_rpro6
    [   25.114420] CPU: 0 PID: 197 Comm: systemd-udevd Tainted: G        W  O      5.4.106-g023faefa71
    [   25.123353] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   25.129167] pstate: 40000005 (nZcv daif -PAN -UAO)
    [   25.133944] pc : clk_core_unprepare+0xe0/0x100
    [   25.138372] lr : clk_core_unprepare+0xe0/0x100
    [   25.142798] sp : ffff80001396f910
    [   25.146098] x29: ffff80001396f910 x28: 0000000000000100 
    [   25.151396] x27: ffff80001014cae8 x26: ffff00085b7f6c90 
    [   25.156692] x25: 0000000000000002 x24: 0000000000000071 
    [   25.161986] x23: ffff00085b7f7080 x22: 0000000000000000 
    [   25.167284] x21: ffff000849179c10 x20: ffff00085b7f7080 
    [   25.172581] x19: ffff000841e9f500 x18: 0000000000000000 
    [   25.177876] x17: 0000000000000000 x16: 0000000000000000 
    [   25.183172] x15: 0000000000000000 x14: 0000000000000000 
    [   25.188466] x13: 0000754834dc9e01 x12: 0000000000000001 
    [   25.193760] x11: 0000000000000000 x10: 00000000000009e0 
    [   25.199054] x9 : ffff80001396f620 x8 : ffff00084a244240 
    [   25.204348] x7 : ffff00087fa8ac40 x6 : 0000000000000000 
    [   25.209641] x5 : 0000000000000000 x4 : ffff00087fa81850 
    [   25.214936] x3 : ffff00087fa885e0 x2 : ffff00087fa81850 
    [   25.220231] x1 : c92ecb79e6db1b00 x0 : 0000000000000000 
    [   25.225527] Call trace:
    [   25.227966]  clk_core_unprepare+0xe0/0x100
    [   25.232047]  clk_unprepare+0x28/0x40
    [   25.235618]  omap_rng_probe+0x18c/0x3c8 [omap_rng]
    [   25.240394]  platform_drv_probe+0x50/0xa0
    [   25.244387]  really_probe+0xd4/0x318
    [   25.247948]  driver_probe_device+0x54/0xe8
    [   25.252027]  device_driver_attach+0x6c/0x78
    [   25.256194]  __driver_attach+0x54/0xd0
    [   25.259926]  bus_for_each_dev+0x6c/0xc0
    [   25.263747]  driver_attach+0x20/0x28
    [   25.267307]  bus_add_driver+0x140/0x1e8
    [   25.271126]  driver_register+0x60/0x110
    [   25.274949]  __platform_driver_register+0x44/0x50
    [   25.279641]  omap_rng_driver_init+0x20/0x10000 [omap_rng]
    [   25.285024]  do_one_initcall+0x50/0x1a8
    [   25.288847]  do_init_module+0x50/0x210
    [   25.292580]  load_module+0x1dbc/0x23c0
    [   25.296314]  __do_sys_finit_module+0xd0/0xe8
    [   25.300567]  __arm64_sys_finit_module+0x1c/0x28
    [   25.305083]  el0_svc_common.constprop.0+0x68/0x160
    [   25.309856]  el0_svc_handler+0x20/0x80
    [   25.313590]  el0_svc+0x8/0x204
    [   25.316631] ---[ end trace d39b68fae5499198 ]---
    [   25.321326] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   25.333210] ti-sci 44083000.dmsc: Mbox send fail -110
    [   25.337773] omap_rng 4e10000.rng: initialization failed.
    [   25.349240] omap_rng: probe of 4e10000.rng failed with error -110
    [   26.349231] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   26.365205] ti-sci 44083000.dmsc: Mbox send fail -110
    [   27.373225] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   27.389205] ti-sci 44083000.dmsc: Mbox send fail -110
    [   28.397222] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   28.405996] ti-sci 44083000.dmsc: Mbox send fail -110
    [   29.421220] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x2)
    [   29.429995] ti-sci 44083000.dmsc: Mbox send fail -110
    [   77.549213] Unable to handle kernel paging request at virtual address ffff2600109b801c
    [   77.557122] Mem abort info:
    [   77.559910] ------------[ cut here ]------------
    [   77.559911] rq->clock_update_flags < RQCF_ACT_SKIP
    [   77.559913] Insufficient stack space to handle exception!
    [   77.559915] ESR: 0xf2000800 -- BRK (AArch64)
    [   77.559916] FAR: 0xffff2600109b801c
    [   77.559917] Task stack:     [0xffff800015220000..0xffff800015230000]
    [   77.559919] IRQ stack:      [0xffff000010028000..0xffff000010038000]
    [   77.559920] Overflow stack: [0xffff00087faa0090..0xffff00087faa1090]
    [   77.559924] CPU: 1 PID: 253 Comm: pvr_cacheop Tainted: G        W  O      5.4.106-g023faefa70 1
    [   77.559926] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   77.559928] pstate: 60000085 (nZCv daIf -PAN -UAO)
    [   77.559941] pc : update_curr+0x16c/0x198
    [   77.559943] lr : update_curr+0x16c/0x198
    [   77.559944] sp : ffff000010037990
    [   77.559946] x29: ffff000010037990 x28: 0000000000000000 
    [   77.559948] x27: ffff800010ff3b58 x26: ffff800010eaab80 
    [   77.559950] x25: ffff00087fa8ab80 x24: 0000000000000000 
    [   77.559952] x23: 0000000000000000 x22: 0000000000000000 
    [   77.559954] x21: ffff00087fa80080 x20: ffff000845cb0200 
    [   77.559956] x19: 0000000000000000 x18: 0000000000000010 
    [   77.559958] x17: 0000000000000000 x16: 0000000000000000 
    [   77.559960] x15: ffff80001100a000 x14: ffff8000110c74da 
    [   77.559963] x13: 0000000000000000 x12: ffff8000110c6000 
    [   77.559964] x11: ffff000010037990 x10: ffff000010037990 
    [   77.559967] x9 : ffff000010037990 x8 : 0000000000000080 
    [   77.559969] x7 : 6574616470755f6b x6 : ffff8000110c6b86 
    [   77.559970] x5 : 0000000000000000 x4 : 0000000000000000 
    [   77.559972] x3 : 00000000ffffffff x2 : ffff80086ec00000 
    [   77.559974] x1 : 78177bc0bbd78700 x0 : 0000000000000000 
    [   77.559978] Kernel panic - not syncing: kernel stack overflow
    [   77.559981] SMP: stopping secondary CPUs
    [   77.559985] Kernel Offset: disabled
    [   77.559987] CPU features: 0x0002,20006008
    [   77.559989] Memory Limit: none
    [   77.731415] ---[ end Kernel panic - not syncing: kernel stack overflow ]---
    

    When this kernel error occurs the mcu1_0 application stops and it results in kernel panic.

    Please suggest what I should do in this scenario.

    Regards,

    Tanvi

  • Tanvi

    What is the code running on the MCU R5 now? Additional tasks than what were initially shared with TI?

    This seems to be an issue with your new task's interaction with linux. Can you share the latest code base?

    Regards

    Karan

  • Hi Karan,

    I tested with the patch you asked me to apply and no other changes were made.

    I am sharing the current Function.zip folder for you to also test.

    Regards,

    Tanvi

    5635.Function.zip

  • Hi Parth & Karan,

    Any updates ?

    Regards,

    Tanvi

  • Hi Tanvi,

    Apologies for delay. I'll try to reproduce this issue at my end get back to you.

    Regards,
    Parth

  • Hi Tanvi,

    I am not seeing the error you are facing. I am able to get to Linux login prompt and your application on RTOS seems to be running fine.

    Here are the steps I followed.

    1) Unzip the code you shared (5635.Function.zip) in home directory.
    2) Build the application using "make -s -j adas_parking_fun_app BOARD=j721e_evm SOC=j721e BUILD_PROFILE=release CORE=mcu1_0 BUILD_OS_TYPE=tirtos"
    3) Clean and re-build u-boot
    4) Copied the tispl.bin, u-boot.img and tiboot3.bin to SD card's boot partition

    Please verify and let me know if I am missing any step to reproduce the error.

    Here are my logs:

    Logs from A72

    U-Boot SPL 2020.01-dirty (May 30 2022 - 10:48:19 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Reading on-board EEPROM at 0x50 failed -1
    Trying to boot from MMC2
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.4(release):07.03.00.005-dirty
    NOTICE:  BL31: Built : 00:15:40, Apr 10 2021
    
    U-Boot SPL 2020.01-dirty (May 30 2022 - 10:47:28 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    Reading on-board EEPROM at 0x50 failed -1
    Trying to boot from MMC2
    
    
    U-Boot 2020.01-dirty (May 30 2022 - 10:47:28 +0530)
    
    SoC:   J721E SR1.0
    Model: Texas Instruments K3 J721E SoC
    Reading on-board EEPROM at 0x50 failed -1
    Board: J721EX-PM1-SOM rev E2
    DRAM:  4 GiB
    not found for dev hbmc-mux
    Flash: 0 Bytes
    MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
    Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Reading on-board EEPROM at 0x50 failed -1
    Net:   K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    
    Warning: ethernet@46000000 using MAC address from ROM
    eth0: ethernet@46000000
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    0 bytes read in 0 ms
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    16799752 bytes read in 349 ms (45.9 MiB/s)
    97793 bytes read in 4 ms (23.3 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fee5000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.4.106-g023faefa70 (oe-user@oe-host) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 SMP PREEMPT Sat Apr 10 00:18:09 UTC 2021
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node 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 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 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 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 r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, 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 r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, 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 c66-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 c66-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 c66-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 c66-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 c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000e0000000
    [    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.0
    [    0.000000] percpu: Embedded 2 pages/cpu s48472 r8192 d74408 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] Built 1 zonelists, mobility grouping off.  Total pages: 40192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),57216k@8m(ospi.rootfs),128k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=b8dc8fb0-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 0xbbff0000-0xbfff0000] (64MB)
    [    0.000000] Memory: 3374400K/2576384K available (9662K kernel code, 790K rwdata, 3904K rodata, 1664K init, 681K bss, 18446744073708229312K reserved, 524288K 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 restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  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: no VLPI support, no direct LPI support
    [    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 @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008c00c0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
    [    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x42c 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.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008370] Console: colour dummy device 80x25
    [    0.012929] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023597] pid_max: default: 32768 minimum: 301
    [    0.028346] LSM: Security Framework initializing
    [    0.033090] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.040656] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
    [    0.049586] ASID allocator initialised with 32768 entries
    [    0.055166] rcu: Hierarchical SRCU implementation.
    [    0.060189] Platform MSI: gic-its@1820000 domain created
    [    0.065810] PCI/MSI: /bus@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.074607] smp: Bringing up secondary CPUs ...
    [    0.079818] Detected PIPT I-cache on CPU1
    [    0.079839] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.079849] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
    [    0.079872] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.079916] smp: Brought up 1 node, 2 CPUs
    [    0.109260] SMP: Total of 2 processors activated.
    [    0.114064] CPU features: detected: 32-bit EL0 Support
    [    0.119317] CPU features: detected: CRC32 instructions
    [    0.130821] CPU: All CPU(s) started at EL2
    [    0.135012] alternatives: patching kernel code
    [    0.140028] devtmpfs: initialized
    [    0.148112] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.158078] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
    [    0.165843] pinctrl core: initialized pinctrl subsystem
    [    0.171621] NET: Registered protocol family 16
    [    0.179031] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.185539] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.201134] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
    [    0.207990] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.214751] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.222595] cryptd: max_cpu_qlen set to 1000
    [    0.228686] vsys_3v3: supplied by evm_12v0
    [    0.232958] vsys_5v0: supplied by evm_12v0
    [    0.237475] iommu: Default domain type: Translated
    [    0.242640] SCSI subsystem initialized
    [    0.246741] mc: Linux media interface: v0.10
    [    0.251111] videodev: Linux video capture interface: v2.00
    [    0.256722] pps_core: LinuxPPS API ver. 1 registered
    [    0.261790] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.271126] PTP clock support registered
    [    0.275137] EDAC MC: Ver: 3.0.0
    [    0.278865] FPGA manager framework
    [    0.282374] Advanced Linux Sound Architecture Driver Initialized.
    [    0.288968] clocksource: Switched to clocksource arch_sys_counter
    [    0.295266] VFS: Disk quotas dquot_6.6.0
    [    0.299313] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.308595] thermal_sys: Registered thermal governor 'step_wise'
    [    0.308597] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.314990] NET: Registered protocol family 2
    [    0.326371] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
    [    0.335134] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
    [    0.343326] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
    [    0.351056] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.357776] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.364665] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.372059] NET: Registered protocol family 1
    [    0.376726] RPC: Registered named UNIX socket transport module.
    [    0.382780] RPC: Registered udp transport module.
    [    0.387584] RPC: Registered tcp transport module.
    [    0.392386] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.398969] PCI: CLS 0 bytes, default 64
    [    0.403267] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.413067] Initialise system trusted keyrings
    [    0.417675] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.426238] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.432412] NFS: Registering the id_resolver key type
    [    0.437584] Key type id_resolver registered
    [    0.441854] Key type id_legacy registered
    [    0.445949] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.452869] 9p: Installing v9fs 9p2000 file system support
    [    0.465602] Key type asymmetric registered
    [    0.469788] Asymmetric key parser 'x509' registered
    [    0.474782] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.482340] io scheduler mq-deadline registered
    [    0.486964] io scheduler kyber registered
    [    0.492176] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.498252] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.506487] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.512757] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.519092] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.525508] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
    [    0.533464] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.539878] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
    [    0.547794] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.554206] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
    [    0.562111] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.568437] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
    [    0.576345] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.582666] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
    [    0.592010] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.603983] brd: module loaded
    [    0.609834] loop: module loaded
    [    0.614547] libphy: Fixed MDIO Bus: probed
    [    0.618935] tun: Universal TUN/TAP device driver, 1.6
    [    0.624377] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.632382] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.638447] sky2: driver version 1.30
    [    0.642746] VFIO - User Level meta-driver version: 0.3
    [    0.648335] i2c /dev entries driver
    [    0.652424] sdhci: Secure Digital Host Controller Interface driver
    [    0.658738] sdhci: Copyright(c) Pierre Ossman
    [    0.663423] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.669699] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.676447] optee: probing for conduit method from DT.
    [    0.681711] optee: revision 3.11 (c4def2a8)
    [    0.681994] optee: initialized driver
    [    0.690838] NET: Registered protocol family 17
    [    0.695450] 9pnet: Installing 9P2000 support
    [    0.699835] Key type dns_resolver registered
    [    0.704332] registered taskstats version 1
    [    0.708519] Loading compiled-in X.509 certificates
    [    0.717396] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
    [    0.723717] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
    [    0.731489] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')
    [    0.750888] random: fast init done
    [    0.775930] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    0.783217] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.789171] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.795135] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.801176] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    0.808587] pca953x 3-0020: using no AI
    [    0.833478] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    0.840878] pca953x 3-0022: using AI
    [    0.845133] GPIO line 480 (CTRL_PM_I2C_OE) hogged as output/high
    [    0.851458] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low
    [    0.858049] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high
    [    0.864877] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.870896] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.877536] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    0.883461] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    0.890870] pca953x 6-0020: using no AI
    [    0.917321] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    0.923192] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.929037] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.934962] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    0.942372] pca953x 9-0020: using no AI
    [    0.969324] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    0.975612] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interrupt Router 137 domain created
    [    0.985580] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 131 domain created
    [    0.994385] ti-sci-intr bus@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
    [    1.004570] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain -1 created
    [    1.022496] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    2.031841] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    2.039513] j721e-pcie 2900000.pcie:    IO 0x10001000..0x10010fff -> 0x10001000
    [    2.046990] j721e-pcie 2900000.pcie:   MEM 0x10011000..0x17ffffff -> 0x10011000
    [    2.054525] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    2.060930] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.066535] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.076224] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    2.083262] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.089410] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.099278] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.109164] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
    [    2.119122] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.129088] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
    [    2.139050] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
    [    2.149033] pci 0000:00:00.0: supports D1
    [    2.153127] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.158998] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
    [    2.170599] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.178785] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.188744] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.198701] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.210218] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
    [    2.216986] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.222229] pcieport 0000:00:00.0: PME: Signaling with IRQ 46
    [    2.228216] pcieport 0000:00:00.0: AER: enabled with IRQ 46
    [    3.235957] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    3.243627] j721e-pcie 2910000.pcie:    IO 0x18001000..0x18010fff -> 0x18001000
    [    3.251102] j721e-pcie 2910000.pcie:   MEM 0x18011000..0x1fffffff -> 0x18011000
    [    3.258629] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    3.265034] pci_bus 0001:00: root bus resource [bus 00-0f]
    [    3.270638] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.280506] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    3.287541] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    3.293743] pci 0001:00:00.0: supports D1
    [    3.297836] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    3.305336] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.315007] pci_bus 0001:01: busn_res: [bus 01-0f] end is updated to 01
    [    3.321775] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.327005] pcieport 0001:00:00.0: PME: Signaling with IRQ 49
    [    3.333016] pcieport 0001:00:00.0: AER: enabled with IRQ 49
    [    4.340895] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
    [    4.348566] j721e-pcie 2920000.pcie:    IO 0x4400001000..0x4400010fff -> 0x00001000
    [    4.356398] j721e-pcie 2920000.pcie:   MEM 0x4400011000..0x4407ffffff -> 0x00011000
    [    4.364284] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
    [    4.370689] pci_bus 0002:00: root bus resource [bus 00-0f]
    [    4.376294] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    4.385540] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
    [    4.396320] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
    [    4.402523] pci 0002:00:00.0: supports D1
    [    4.406617] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
    [    4.414115] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.423782] pci_bus 0002:01: busn_res: [bus 01-0f] end is updated to 01
    [    4.430548] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    4.435781] pcieport 0002:00:00.0: PME: Signaling with IRQ 52
    [    4.441769] pcieport 0002:00:00.0: AER: enabled with IRQ 52
    [    4.448184] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    4.458060] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    4.464818] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.473653] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    4.483795] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    4.490553] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.498414] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    4.507589] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 23, base_baud = 3000000) is a 8250
    [    4.516330] printk: console [ttyS2] enabled
    [    4.516330] printk: console [ttyS2] enabled
    [    4.524766] printk: bootconsole [ns16550a0] disabled
    [    4.524766] printk: bootconsole [ns16550a0] disabled
    [    4.535107] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 24, base_baud = 3000000) is a 8250
    [    4.543944] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 25, base_baud = 3000000) is a 8250
    [    4.552699] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    4.561429] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
    [    4.570043] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
    [    4.577506] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    4.587029] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    4.597549] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    4.607703] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    4.617942] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    4.628672] scsi host0: ufshcd
    [    4.650393] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
    [    4.672977] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    4.680617] libphy: 46000f00.mdio: probed
    [    4.681594] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
    [    4.685716] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    4.696278] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
    [    4.704503] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    4.715754] scsi 0:0:0:49488: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.728362] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    4.737147] scsi 0:0:0:49476: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.753162] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
    [    4.760694] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    4.769282] mmc0: CQHCI version 5.10
    [    4.812529] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    4.821098] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    4.832205] vdd_mmc1: supplied by vsys_3v3
    [    4.836630] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    4.843872] pca953x 4-0020: using no AI
    [    4.869506] GPIO line 200 (DP0_PWR_SW_EN) hogged as output/high
    [    4.876075] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    4.882883] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    4.889703] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    4.896500] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    4.903279] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    4.912508] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    4.922519] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
    [    4.937218] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
    [    4.942448] 8 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    4.949063] Creating 8 MTD partitions on "47040000.spi.0":
    [    4.954546] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    4.960558] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    4.966288] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    4.972099] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    4.977630] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    4.983786] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    4.989464] 0x000000800000-0x000003fe0000 : "ospi.rootfs"
    [    4.995466] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    5.002080] mmc0: Command Queue Engine enabled
    [    5.006529] mmc0: new HS200 MMC card at address 0001
    [    5.011936] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    5.016588] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    5.022617] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    5.028612] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (240:0)
    [    5.036928] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
    [    5.042036]  mmcblk0: p1 p2
    [    5.084976] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.092624] libphy: 46000f00.mdio: probed
    [    5.097675] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    5.105937] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    5.119470] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.126361] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    5.133571] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.139820] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:0
    [    5.149877] mmc1: CQHCI version 5.10
    [    6.214779] mmc1: SDHCI controller on 4fb0000.sdhci [4fb0000.sdhci] using ADMA 64-bit
    [    6.222918] davinci-mcasp 2ba0000.mcasp: IRQ common not found
    [    6.235863] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
    [    6.243254] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
    [    6.250606] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    6.257920] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
    [    6.265971] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    6.273015] hctosys: unable to open rtc device (rtc0)
    [    6.287072] ALSA device list:
    [    6.290045]   No soundcards found.
    [    6.293669] Waiting for root device PARTUUID=b8dc8fb0-02...
    [   14.511593] mmc1: new ultra high speed DDR50 SDHC card at address 59b4
    [   14.518398] mmcblk1: mmc1:59b4 USD00 14.7 GiB
    [   14.523445] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
    [   14.532034] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   14.538456] mmc1: sdhci: Sys addr:  0x00000080 | Version:  0x00001004
    [   14.544877] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000080
    [   14.551297] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
    [   14.557718] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
    [   14.564137] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
    [   14.570558] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
    [   14.576978] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
    [   14.583398] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
    [   14.589818] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
    [   14.596239] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
    [   14.602660] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
    [   14.609080] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x0075cf7f
    [   14.615501] mmc1: sdhci: Resp[2]:   0x32db7900 | Resp[3]:  0x00000900
    [   14.621920] mmc1: sdhci: Host ctl2: 0x0000000c
    [   14.626347] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000008c2df0200
    [   14.633460] mmc1: sdhci: ============================================
    [   22.833697] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
    [   22.842285] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   22.848705] mmc1: sdhci: Sys addr:  0x00000080 | Version:  0x00001004
    [   22.855125] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000080
    [   22.861545] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
    [   22.867966] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
    [   22.874387] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
    [   22.880807] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
    [   22.887227] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
    [   22.893646] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
    [   22.900066] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
    [   22.906486] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
    [   22.912906] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
    [   22.919326] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x0075cf7f
    [   22.925747] mmc1: sdhci: Resp[2]:   0x32db7900 | Resp[3]:  0x00000900
    [   22.932167] mmc1: sdhci: Host ctl2: 0x0000000c
    [   22.936595] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000008c2df0200
    [   22.943707] mmc1: sdhci: ============================================
    [   31.143683] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
    [   31.152272] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   31.158692] mmc1: sdhci: Sys addr:  0x00000080 | Version:  0x00001004
    [   31.165113] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000080
    [   31.171533] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
    [   31.177953] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
    [   31.184373] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
    [   31.190793] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
    [   31.197213] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
    [   31.203633] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
    [   31.210053] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
    [   31.216473] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
    [   31.222893] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
    [   31.229313] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x0075cf7f
    [   31.235733] mmc1: sdhci: Resp[2]:   0x32db7900 | Resp[3]:  0x00000900
    [   31.242153] mmc1: sdhci: Host ctl2: 0x0000000c
    [   31.246580] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000008c2df0200
    [   31.253693] mmc1: sdhci: ============================================
    [   39.453697] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
    [   39.462283] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   39.468704] mmc1: sdhci: Sys addr:  0x00000080 | Version:  0x00001004
    [   39.475124] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000080
    [   39.481543] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
    [   39.487963] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
    [   39.494384] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
    [   39.500805] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
    [   39.507225] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
    [   39.513645] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
    [   39.520064] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
    [   39.526485] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
    [   39.532906] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
    [   39.539327] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x0075cf7f
    [   39.545746] mmc1: sdhci: Resp[2]:   0x32db7900 | Resp[3]:  0x00000900
    [   39.552165] mmc1: sdhci: Host ctl2: 0x0000000c
    [   39.556593] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000008c2df0200
    [   39.563705] mmc1: sdhci: ============================================
    [   47.763680] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress.
    [   47.772266] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
    [   47.778686] mmc1: sdhci: Sys addr:  0x00000080 | Version:  0x00001004
    [   47.785107] mmc1: sdhci: Blk size:  0x00007200 | Blk cnt:  0x00000080
    [   47.791527] mmc1: sdhci: Argument:  0x00000000 | Trn mode: 0x00000033
    [   47.797948] mmc1: sdhci: Present:   0x01f70000 | Host ctl: 0x0000001f
    [   47.804368] mmc1: sdhci: Power:     0x0000000f | Blk gap:  0x00000080
    [   47.810789] mmc1: sdhci: Wake-up:   0x00000000 | Clock:    0x00000207
    [   47.817209] mmc1: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
    [   47.823630] mmc1: sdhci: Int enab:  0x03ff008b | Sig enab: 0x03ff008b
    [   47.830050] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
    [   47.836470] mmc1: sdhci: Caps:      0x3fe8c801 | Caps_1:   0x18002407
    [   47.842890] mmc1: sdhci: Cmd:       0x00000c1a | Max curr: 0x00000000
    [   47.849310] mmc1: sdhci: Resp[0]:   0x00000b00 | Resp[1]:  0x0075cf7f
    [   47.855730] mmc1: sdhci: Resp[2]:   0x32db7900 | Resp[3]:  0x00000900
    [   47.862150] mmc1: sdhci: Host ctl2: 0x0000000c
    [   47.866577] mmc1: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000008c2df0200
    [   47.873689] mmc1: sdhci: ============================================
    [   48.106378]  mmcblk1: p1 p2
    [   48.826175] EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended
    [   48.835973] EXT4-fs (mmcblk1p2): recovery complete
    [   48.841505] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   48.849611] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [   48.856091] devtmpfs: mounted
    [   48.859327] Freeing unused kernel memory: 1664K
    [   48.863868] Run /sbin/init as init process
    [   49.245581] systemd[1]: System time before build time, advancing clock.
    [   49.339020] NET: Registered protocol family 10
    [   49.343862] Segment Routing with IPv6
    [   49.404384] 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)
    [   49.426091] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2020.09!
    
    [   49.469412] systemd[1]: Set hostname to <j7-evm>.
    [   49.851511] 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.
    [   49.999546] random: systemd: uninitialized urandom read (16 bytes read)
    [   50.006267] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [   50.018600] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [   50.028503] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [   50.045045] random: systemd: uninitialized urandom read (16 bytes read)
    [   50.052257] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   50.069030] random: systemd: uninitialized urandom read (16 bytes read)
    [   50.076130] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   50.093120] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [   50.117071] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [   50.141065] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   50.157019] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   50.173014] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   50.189015] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [   50.209691] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [   50.229040] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [   50.247378] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [   50.265140] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [   50.293437] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [   50.301729] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   50.321273] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   50.337292] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   50.361182] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   50.381117] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   50.404050] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [   50.424012] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   50.443578] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   50.463527] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [   50.487346] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [   50.515530] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   50.545165] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [   50.567212] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [   50.581123] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [   50.599473] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   50.621225] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   50.635435] cryptodev: loading out-of-tree module taints kernel.
    [   50.643764] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   50.661150] cryptodev: driver 1.10 loaded.
    [   50.667997] systemd[1]: Starting udev Coldplug all Devices...
    [   50.671491] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
             Starting udev Coldplug all Devices...
    [   50.691491] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [   50.710144] 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.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star…progress communication helper.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [   50.904692] systemd-journald[173]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             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 Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Coldplug all Devices.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Daily rotation of log files.
    [  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[   51.628374] rti-wdt 2200000.watchdog: heartbeat 60 sec
    .
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting rc.pvr.service...
             Starting Login Service...
    [   51.909067] rti-wdt 2210000.watchdog: heartbeat 60 sec
    [   52.041436] ina2xx 5-0040: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.061890] ina2xx 5-0041: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.075520] PVR_K:  262: Read BVNC 22.104.208.318 from HW device registers
    [   52.083417] PVR_K:  262: RGX Device registered with BVNC 22.104.208.318
    [   52.097108] ina2xx 5-0042: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.103804] [drm] Initialized pvr 1.13.5776728 20170530 for 4e20000000.gpu on minor 0
    [   52.145053] ina2xx 5-0043: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.153436] ov5640 9-003c: 9-003c supply DOVDD not found, using dummy regulator
    [   52.167161] ina2xx 5-0044: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.174303] ov5640 9-003c: 9-003c supply AVDD not found, using dummy regulator
    [   52.193043] ov5640 9-003c: 9-003c supply DVDD not found, using dummy regulator
    [   52.217722] ina2xx 5-0045: power monitor ina226 (Rshunt = 5000 uOhm)
    [   52.237727] ina2xx 5-0046: power monitor ina226 (Rshunt = 10000 uOhm)
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    [   52.284597] ina2xx 5-0047: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.290120] ov5640 9-003c: ov5640_read_reg: error: reg=300a
    [   52.322210] ina2xx 5-0048: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.365765] ov5640 9-003c: ov5640_check_chip_id: failed to read chip identifier
    [   52.366040] ina2xx 5-0049: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.393919] ov5640: probe of 9-003c failed with error -121
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [   52.531346] ina2xx 5-004a: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.557386] ina2xx 5-004b: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.574711] ina2xx 5-004c: power monitor ina226 (Rshunt = 10000 uOhm)
    [   52.589474] ina2xx 5-004d: power monitor ina226 (Rshunt = 10000 uOhm)
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [   52.615382] ina2xx 5-004e: power monitor ina226 (Rshunt = 10000 uOhm)
    0;32m  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx b[   52.641748] ina2xx 5-004f: power monitor ina226 (Rshunt = 10000 uOhm)
    luetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  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.
    [   52.808784] img_enc 4200000.video-encoder: vxe_enc_probe: adding heap of type 1
    [   52.905561] img_dec 4300000.video-decoder: decoder registered as /dev/video0
    [   53.084992] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [   53.121608] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
    [   53.281839] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [   53.289059] [drm] No driver support for vblank timestamp query.
    [   53.303908] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
    [   53.314859] [drm] Cannot find any crtc or sizes
    [   53.336562] CAN device driver interface
    [   53.340996] random: crng init done
    [   53.344389] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [   53.431872] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
    [   53.447035] m_can_platform 40528000.can: m_can device registered (irq=15, version=32)
    [   53.469236] img_enc 4200000.video-encoder: encoder registered as /dev/video1
    [   53.507130] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [   54.605113] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_clock+0x34/0x40)
    [   54.640218] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device_resets+0x1c/0x28)
    [   54.651999] ti-sci 44083000.dmsc: Mbox send fail -110
    [   54.680961] ti-sci 44083000.dmsc: Mbox send fail -110
    [   54.736475] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   54.765846] k3-dsp-rproc 4d80800000.dsp: local-reset assert failed, ret = -110
    [   54.826047] ti-sci 44083000.dmsc: Mbox send fail -110
    [   54.880006] remoteproc remoteproc0: 4d80800000.dsp is available
    [   54.893014] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_put_device+0x14/0x20)
    [   54.903866] ti-sci 44083000.dmsc: Mbox send fail -110
    [   54.937054] remoteproc remoteproc0: powering up 4d80800000.dsp
    [   54.942971] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 189168
    [   55.149016] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: xudma_navss_psil_pair+0x28/0x30)
    [   55.164985] ti-sci 44083000.dmsc: RM_PSIL:Mbox send fail -110
    [   55.170736] am65-cpsw-nuss 46000000.ethernet: PSI-L request err -110
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1...
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Started File System Check on /dev/mmcblk0p1.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [   55.788992] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_put_clock+0x14/0x20)
    [  OK  ] Started File System Check on /dev/mmcblk0p2.
             Mounting /run/media/mmcblk0p2...
    [   55.852103] ti-sci 44083000.dmsc: Mbox send fail -110
    [   55.874099] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p2.
    [   55.917028] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   55.929982] ti-sci-clk 44083000.dmsc:clocks: unprepare failed for dev=173, clk=0, ret=-110
    [   55.949007] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   55.957970] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: k3_dsp_rproc_probe+0x1a8/0x8d0 [ti_k3_dsp_remoteproc])
    [   55.968723] ti-sci 44083000.dmsc: Mbox send fail -110
    [   55.981018] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   55.992222] ti-sci 44083000.dmsc: Mbox send fail -110
    [   55.997282] k3-dsp-rproc 4d80800000.dsp: module-reset deassert failed, cannot enable internal RAM loading, ret = -110
    [   56.001173] ti-sci 44083000.dmsc: Mbox send fail -110
    [   56.019845] remoteproc remoteproc0: can't prepare rproc 4d80800000.dsp: -110
    [   56.137091] ti-sci 44083000.dmsc: Mbox send fail -110
    [   56.205136] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: xudma_navss_psil_pair+0x28/0x30)
    [   56.222649] ti-sci 44083000.dmsc: RM_PSIL:Mbox send fail -110
    [   56.227806] k3-dsp-rproc 4d81800000.dsp: ti-sci processor request failed: -110
    [   56.234272] am65-cpsw-nuss 46000000.ethernet: PSI-L request err -110
    [   56.353151] k3-dsp-rproc 4d81800000.dsp: ti_sci_proc_request failed, ret = -110
    [   56.473493] remoteproc remoteproc1: releasing 4d81800000.dsp
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [   56.583021] k3-dsp-rproc: probe of 4d81800000.dsp failed with error -110
    
    ***************************************************************
    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
            glmark2
            gstreamer1.0-libav
            gzip
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            tar
            which
    
    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.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [  OK  ] Created slice system-weston.slice.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Started Weston Wayland Compositor.
    [   57.014031] remoteproc remoteproc2: b034000.pru is available
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [   57.030057] pru-rproc b034000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@34000 probed successfully
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [   57.089364] remoteproc remoteproc3: b004000.rtu is available
    [   57.103706] pru-rproc b004000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@4000 probed successfully
    [  OK  ] Created slice User Slice of UID 0.
    [   57.133010] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_put_device+0x14/0x20)
    [   57.137736] pru-rproc b00a000.txpru: IRQ vring not found
             Starting User Runtime Directory /run/user/0...
    [   57.152334] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: sci_clk_determine_rate+0x50/0xb0)
    [  OK  ] Started weston.service.
    [   57.167226] pru-rproc b00a000.txpru: IRQ kick not found
    [   57.176859] ti-sci 44083000.dmsc: Mbox send fail -110
    [   57.187972] ti-sci 44083000.dmsc: Mbox send fail -110
             Starting DEMO...
    [   57.199922] ti-sci-clk 44083000.dmsc:clocks: determine-rate failed for dev=157, clk=371, ret=-110
             Starting telnetd.service...
    [  OK  ] Started User Runtime Directory /run/[   57.232319] remoteproc remoteproc4: b00a000.txpru is available
    user/0.
    [  OK  ] Started DEMO.
    [   57.255727] pru-rproc b00a000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@a000 probed successfully
    [   57.268992] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
             Starting User Manager for UID 0...
    [   57.279518] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   57.291873] ti-sci 44083000.dmsc: Mbox send fail -110
    [   57.294212] remoteproc remoteproc5: b038000.pru is available
    [  OK  ] Started telnetd.service.
    [   57.309772] ti-sci 44083000.dmsc: Mbox send fail -110
    [   57.324301] pru-rproc b038000.pru: PRU rproc node /bus@100000/icssg@b000000/pru@38000 probed successfully
    [   57.368621] remoteproc remoteproc6: b006000.rtu is available
    [   57.408437] pru-rproc b006000.rtu: PRU rproc node /bus@100000/icssg@b000000/rtu@6000 probed successfully
    [   57.421184] pru-rproc b00c000.txpru: IRQ vring not found
    [   57.429042] pru-rproc b00c000.txpru: IRQ kick not found
    [   57.441074] remoteproc remoteproc7: b00c000.txpru is available
    [   57.459336] pru-rproc b00c000.txpru: PRU rproc node /bus@100000/icssg@b000000/txpru@c000 probed successfully
    [   57.514141] remoteproc remoteproc8: b134000.pru is available
    [   57.543181] pru-rproc b134000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@34000 probed successfully
    [   57.584712] remoteproc remoteproc9: b104000.rtu is available
    [   57.609035] pru-rproc b104000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@4000 probed successfully
    [   57.628544] pru-rproc b10a000.txpru: IRQ vring not found
    [   57.639278] pru-rproc b10a000.txpru: IRQ kick not found
    [   57.649006] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: k3_dsp_rproc_probe+0x1a8/0x8d0 [ti_k3_dsp_remoteproc])
    [   57.665520] remoteproc remoteproc10: b10a000.txpru is available
    [   57.676981] ti-sci 44083000.dmsc: Mbox send fail -110
    [   57.685003] pru-rproc b10a000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@a000 probed successfully
    [   57.698583] k3-dsp-rproc 64800000.dsp: ti-sci processor request failed: -110
    [   57.714135] remoteproc remoteproc11: b138000.pru is available
    [   57.717616] k3-dsp-rproc 64800000.dsp: ti_sci_proc_request failed, ret = -110
    [   57.725001] pru-rproc b138000.pru: PRU rproc node /bus@100000/icssg@b100000/pru@38000 probed successfully
    [   57.747780] remoteproc remoteproc1: releasing 64800000.dsp
    [   57.750071] remoteproc remoteproc12: b106000.rtu is available
    [   57.761056] k3-dsp-rproc: probe of 64800000.dsp failed with error -110
    [   57.765015] pru-rproc b106000.rtu: PRU rproc node /bus@100000/icssg@b100000/rtu@6000 probed successfully
    [   57.782991] pru-rproc b10c000.txpru: IRQ vring not found
    [   57.820266] PVR_K:  1084: RGX Firmware image 'rgx.fw.22.104.208.318' loaded
    [   57.838846] pru-rproc b10c000.txpru: IRQ kick not found
    [   57.868227] remoteproc remoteproc1: b10c000.txpru is available
    [   57.881043] pru-rproc b10c000.txpru: PRU rproc node /bus@100000/icssg@b100000/txpru@c000 probed successfully
    [   58.220992] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_put_device+0x14/0x20)
    [   58.232975] ti-sci 44083000.dmsc: Mbox send fail -110
    [   58.252985] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: sci_clk_determine_rate+0x50/0xb0)
    [   58.266457] ti-sci 44083000.dmsc: Mbox send fail -110
    [   58.276650] ti-sci-clk 44083000.dmsc:clocks: determine-rate failed for dev=157, clk=371, ret=-110
    [   58.293011] j721e-audio sound@0: codec set rate failed for 12288000 Hz
    [   58.316999] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   58.328976] ti-sci 44083000.dmsc: Mbox send fail -110
    [   58.341015] j721e-audio sound@0: ASoC: failed to init CPB pcm3168a DAC: -22
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org j7-evm ttyS2
    
    Arago 2020.09 j7-evm ttyS2
    
    j7-evm login: [   59.212989] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   59.228972] ti-sci 44083000.dmsc: Mbox send fail -110
    [   59.234046] ------------[ cut here ]------------
    [   59.238653] WARNING: CPU: 0 PID: 1084 at drivers/gpu/drm/tidss/tidss_drv.c:36 tidss_runtime_get+0x28/0x40
    [   59.248193] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3(+) irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform(+) m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   59.301977] CPU: 0 PID: 1084 Comm: weston Tainted: G           O      5.4.106-g023faefa70 #1
    [   59.310390] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   59.316204] pstate: 60000005 (nZCv daif -PAN -UAO)
    [   59.320977] pc : tidss_runtime_get+0x28/0x40
    [   59.325231] lr : tidss_runtime_get+0x14/0x40
    [   59.329484] sp : ffff80001954f9e0
    [   59.332784] x29: ffff80001954f9e0 x28: 0000000000000000
    [   59.338078] x27: 0000000000000000 x26: 0000000000000000
    [   59.343372] x25: 0000000000000000 x24: 0000000000000000
    [   59.348666] x23: 0000000000000000 x22: ffff800010ac8780
    [   59.353960] x21: ffff00084f247800 x20: ffff00084f247800
    [   59.359255] x19: ffff00084dbf3d00 x18: 0000000000000010
    [   59.364549] x17: 0000000000000000 x16: 0000000000000000
    [   59.369842] x15: ffff000853e02128 x14: ffffffffffffffff
    [   59.375135] x13: ffff80009954f417 x12: ffff80001954f41f
    [   59.380429] x11: ffff80001100a000 x10: ffff8000110c6b28
    [   59.385722] x9 : 0000000000000000 x8 : ffff8000110c7000
    [   59.391017] x7 : ffff8000105925b8 x6 : ffff000841012180
    [   59.396311] x5 : ffff80001954f8e0 x4 : 0000000000000000
    [   59.401605] x3 : ffff0008410120e4 x2 : 0000000000000000
    [   59.406898] x1 : ffff000853e01c00 x0 : 00000000ffffff92
    [   59.412193] Call trace:
    [   59.414627]  tidss_runtime_get+0x28/0x40
    [   59.418533]  tidss_atomic_commit_tail+0x24/0x88
    [   59.423048]  commit_tail+0x9c/0x138
    [   59.426522]  drm_atomic_helper_commit+0xc8/0x140
    [   59.431123]  drm_atomic_commit+0x48/0x58
    [   59.435031]  drm_atomic_helper_disable_plane+0x98/0xd8
    [   59.440152]  __setplane_atomic+0x124/0x150
    [   59.444233]  drm_mode_setplane+0xf8/0x2b8
    [   59.448228]  drm_ioctl_kernel+0xb8/0x108
    [   59.452134]  drm_ioctl+0x210/0x468
    [   59.455524]  do_vfs_ioctl+0x964/0xb48
    [   59.459170]  ksys_ioctl+0x78/0xa8
    [   59.462471]  __arm64_sys_ioctl+0x1c/0xb8
    [   59.466381]  el0_svc_common.constprop.0+0x68/0x160
    [   59.471154]  el0_svc_handler+0x20/0x80
    [   59.474889]  el0_svc+0x8/0x204
    [   59.477930] ---[ end trace 92f31fa65bfbf0a0 ]---
    [   59.485021] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   59.493825] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_clock+0x34/0x40)
    [   59.502514] ti-sci 44083000.dmsc: Mbox send fail -110
    [   59.507845] ------------[ cut here ]------------
    [   59.512451] WARNING: CPU: 1 PID: 1084 at drivers/gpu/drm/tidss/tidss_drv.c:47 tidss_runtime_put+0x20/0x30
    [   59.521991] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3(+) irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform(+) m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   59.575769] CPU: 1 PID: 1084 Comm: weston Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   59.582077] ti-sci 44083000.dmsc: Mbox send fail -110
    [   59.584183] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   59.593115] ------------[ cut here ]------------
    [   59.595029] pstate: 60000005 (nZCv daif -PAN -UAO)
    [   59.599627] clk:26:0 already disabled
    [   59.604401] pc : tidss_runtime_put+0x20/0x30
    [   59.608064] WARNING: CPU: 0 PID: 199 at drivers/clk/clk.c:958 clk_core_disable+0xa0/0xa8
    [   59.612298] lr : tidss_runtime_put+0x14/0x30
    [   59.620362] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3(+) irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform(+) m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   59.624615] sp : ffff80001954f9e0
    [   59.678355] CPU: 0 PID: 199 Comm: systemd-udevd Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   59.681652] x29: ffff80001954f9e0 x28: 0000000000000000
    [   59.690583] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   59.695875] x27: 0000000000000000 x26: 0000000000000000
    [   59.701689] pstate: 40000085 (nZcv daIf -PAN -UAO)
    [   59.706980] x25: 0000000000000000 x24: 0000000000000000
    [   59.711754] pc : clk_core_disable+0xa0/0xa8
    [   59.717044] x23: 0000000000000000 x22: ffff800010ac8780
    [   59.721210] lr : clk_core_disable+0xa0/0xa8
    [   59.726501] x21: ffff00084f247800 x20: ffff00084f247800
    [   59.730666] sp : ffff80001312f8a0
    [   59.735957] x19: ffff00084dbf3d00 x18: 0000000000000010
    [   59.739256] x29: ffff80001312f8a0 x28: 0000000000000100
    [   59.744548] x17: 0000000000000000 x16: 0000000000000000
    [   59.749840] x27: ffff80001014cae8 x26: ffff00085d459b10
    [   59.755132] x15: ffff000853e02128 x14: ffffffffffffffff
    [   59.760423] x25: ffff00085f693e80 x24: 000000008421064c
    [   59.765715] x13: ffff80009954f417 x12: ffff80001954f41f
    [   59.771007] x23: ffff000849040e00 x22: ffff000847c82800
    [   59.776299] x11: ffff80001100a000 x10: ffff8000110c6b28
    [   59.781590] x21: ffff000847c82810 x20: ffff000841d9f300
    [   59.786882] x9 : 0000000000000000 x8 : ffff8000110c7000
    [   59.792175] x19: ffff000841d9f300 x18: 0000000000000010
    [   59.797467] x7 : 0000000000000003 x6 : ffff0008400aa700
    [   59.802758] x17: 0000000000000000 x16: 0000000000000000
    [   59.808049] x5 : ffff00084f247800 x4 : 0000000000000000
    [   59.813341] x15: ffff000849041328 x14: ffffffffffffffff
    [   59.818633] x3 : ffff0008410120e4 x2 : 0000000000000000
    [   59.823925] x13: ffff80009312f5f7 x12: ffff80001312f5ff
    [   59.829217] x1 : ffff000853e01c00 x0 : 00000000ffffffea
    [   59.834508] x11: ffff80001100a000 x10: ffff8000110c6b28
    [   59.839799] Call trace:
    [   59.845091] x9 : 0000000000000000 x8 : ffff8000110c7000
    [   59.847525]  tidss_runtime_put+0x20/0x30
    [   59.852815] x7 : ffff8000105925b8 x6 : 00000003032a5868
    [   59.856721]  tidss_atomic_commit_tail+0x74/0x88
    [   59.862012] x5 : ffff00087fa61848 x4 : 0000000000000001
    [   59.866525]  commit_tail+0x9c/0x138
    [   59.871815] x3 : ffff00087fa61848 x2 : 0000000000000007
    [   59.875288]  drm_atomic_helper_commit+0xc8/0x140
    [   59.880579] x1 : a4c43836c10f4500 x0 : 0000000000000000
    [   59.885181]  drm_atomic_commit+0x48/0x58
    [   59.890470] Call trace:
    [   59.894376]  drm_atomic_helper_disable_plane+0x98/0xd8
    [   59.896809]  clk_core_disable+0xa0/0xa8
    [   59.901929]  __setplane_atomic+0x124/0x150
    [   59.905745]  clk_core_disable_lock+0x20/0x38
    [   59.909824]  drm_mode_setplane+0xf8/0x2b8
    [   59.914075]  clk_disable+0x1c/0x28
    [   59.918067]  drm_ioctl_kernel+0xb8/0x108
    [   59.921459]  csi2rx_probe+0x118/0x500 [cdns_csi2rx]
    [   59.925357]  drm_ioctl+0x210/0x468
    [   59.930219]  platform_drv_probe+0x50/0xa0
    [   59.933605]  do_vfs_ioctl+0x964/0xb48
    [   59.937594]  really_probe+0xd4/0x318
    [   59.941240]  ksys_ioctl+0x78/0xa8
    [   59.944799]  driver_probe_device+0x54/0xe8
    [   59.948097]  __arm64_sys_ioctl+0x1c/0xb8
    [   59.952174]  device_driver_attach+0x6c/0x78
    [   59.956082]  el0_svc_common.constprop.0+0x68/0x160
    [   59.960245]  __driver_attach+0x54/0xd0
    [   59.965018]  el0_svc_handler+0x20/0x80
    [   59.968749]  bus_for_each_dev+0x6c/0xc0
    [   59.972482]  el0_svc+0x8/0x204
    [   59.976300]  driver_attach+0x20/0x28
    [   59.979337] ---[ end trace 92f31fa65bfbf0a1 ]---
    [   59.982896]  bus_add_driver+0x140/0x1e8
    [   59.987557] m_can_platform: probe of 40568000.can failed with error -110
    [   59.991314]  driver_register+0x60/0x110
    [   59.991316]  __platform_driver_register+0x44/0x50
    [   59.991320]  csi2rx_driver_init+0x1c/0x10000 [cdns_csi2rx]
    [   59.991322]  do_one_initcall+0x50/0x1a8
    [   59.991326]  do_init_module+0x50/0x210
    [   60.019523]  load_module+0x1dbc/0x23c0
    [   60.023256]  __do_sys_finit_module+0xd0/0xe8
    [   60.027510]  __arm64_sys_finit_module+0x1c/0x28
    [   60.032025]  el0_svc_common.constprop.0+0x68/0x160
    [   60.036799]  el0_svc_handler+0x20/0x80
    [   60.040532]  el0_svc+0x8/0x204
    [   60.043573] ---[ end trace 92f31fa65bfbf0a2 ]---
    [   60.145038] ------------[ cut here ]------------
    [   60.149652] WARNING: CPU: 0 PID: 1084 at drivers/gpu/drm/tidss/tidss_drv.c:36 tidss_runtime_get+0x28/0x40
    [   60.159192] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3(+) irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   60.212713] CPU: 0 PID: 1084 Comm: weston Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   60.221127] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   60.226941] pstate: 60000005 (nZCv daif -PAN -UAO)
    [   60.231714] pc : tidss_runtime_get+0x28/0x40
    [   60.235967] lr : tidss_runtime_get+0x14/0x40
    [   60.240220] sp : ffff80001954f9e0
    [   60.243519] x29: ffff80001954f9e0 x28: 0000000000000000
    [   60.248813] x27: 0000000000000000 x26: 0000000000000000
    [   60.254106] x25: 0000000000000000 x24: 0000000000000000
    [   60.259400] x23: 0000000000000000 x22: ffff800010ac8780
    [   60.264693] x21: ffff00084f247800 x20: ffff00084f247800
    [   60.269987] x19: ffff00084dbf3d00 x18: 0000000000000000
    [   60.275281] x17: 0000000000000000 x16: 0000000000000000
    [   60.280574] x15: 0000000000000000 x14: 0000000000000000
    [   60.285868] x13: 0000000000000000 x12: 0000000000000000
    [   60.291162] x11: 0000000000000000 x10: 0000000000000000
    [   60.296455] x9 : 0000000000000000 x8 : ffff000820130600
    [   60.301748] x7 : 0000000000000000 x6 : 0000000309beea68
    [   60.307042] x5 : 0000000000000001 x4 : 0000000000000000
    [   60.312336] x3 : ffff0008410120e4 x2 : 0000000000000000
    [   60.317630] x1 : ffff000853e01c00 x0 : 00000000ffffffea
    [   60.322924] Call trace:
    [   60.325358]  tidss_runtime_get+0x28/0x40
    [   60.329266]  tidss_atomic_commit_tail+0x24/0x88
    [   60.333781]  commit_tail+0x9c/0x138
    [   60.337254]  drm_atomic_helper_commit+0xc8/0x140
    [   60.341855]  drm_atomic_commit+0x48/0x58
    [   60.345762]  drm_atomic_helper_disable_plane+0x98/0xd8
    [   60.350885]  __setplane_atomic+0x124/0x150
    [   60.354965]  drm_mode_setplane+0xf8/0x2b8
    [   60.358960]  drm_ioctl_kernel+0xb8/0x108
    [   60.362866]  drm_ioctl+0x210/0x468
    [   60.366255]  do_vfs_ioctl+0x964/0xb48
    [   60.369903]  ksys_ioctl+0x78/0xa8
    [   60.373203]  __arm64_sys_ioctl+0x1c/0xb8
    [   60.377112]  el0_svc_common.constprop.0+0x68/0x160
    [   60.381887]  el0_svc_handler+0x20/0x80
    [   60.385621]  el0_svc+0x8/0x204
    [   60.388661] ---[ end trace 92f31fa65bfbf0a3 ]---
    [   60.461028] ------------[ cut here ]------------
    [   60.465648] WARNING: CPU: 1 PID: 1084 at drivers/gpu/drm/tidss/tidss_drv.c:47 tidss_runtime_put+0x20/0x30
    [   60.475187] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3(+) irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   60.528711] CPU: 1 PID: 1084 Comm: weston Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   60.534125] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   60.537125] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   60.537128] pstate: 60000005 (nZCv daif -PAN -UAO)
    [   60.537131] pc : tidss_runtime_put+0x20/0x30
    [   60.537133] lr : tidss_runtime_put+0x14/0x30
    [   60.537134] sp : ffff80001954f9e0
    [   60.537135] x29: ffff80001954f9e0 x28: 0000000000000000
    [   60.537138] x27: 0000000000000000 x26: 0000000000000000
    [   60.537140] x25: 0000000000000000 x24: 0000000000000000
    [   60.537142] x23: 0000000000000000 x22: ffff800010ac8780
    [   60.537144] x21: ffff00084f247800 x20: ffff00084f247800
    [   60.537147] x19: ffff00084dbf3d00 x18: 0000000000000000
    [   60.598565] x17: 0000000000000000 x16: 0000000000000000
    [   60.603859] x15: 0000000000000000 x14: 0000000000000000
    [   60.609152] x13: 0000000000000000 x12: 0000000000000000
    [   60.614445] x11: 0000000000000000 x10: 0000000000000000
    [   60.619740] x9 : 0000000000000000 x8 : ffff000820130600
    [   60.625033] x7 : 0000000000000003 x6 : ffff000820130300
    [   60.630326] x5 : ffff00084f247800 x4 : 0000000000000000
    [   60.633164] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   60.635620] x3 : ffff0008410120e4 x2 : 0000000000000000
    [   60.648200] x1 : ffff000853e01c00 x0 : 00000000ffffffea
    [   60.653494] Call trace:
    [   60.655933]  tidss_runtime_put+0x20/0x30
    [   60.659843]  tidss_atomic_commit_tail+0x74/0x88
    [   60.664359]  commit_tail+0x9c/0x138
    [   60.667835]  drm_atomic_helper_commit+0xc8/0x140
    [   60.672437]  drm_atomic_commit+0x48/0x58
    [   60.676343]  drm_atomic_helper_disable_plane+0x98/0xd8
    [   60.681466]  __setplane_atomic+0x124/0x150
    [   60.685552]  drm_mode_setplane+0xf8/0x2b8
    [   60.689547]  drm_ioctl_kernel+0xb8/0x108
    [   60.693455]  drm_ioctl+0x210/0x468
    [   60.696846]  do_vfs_ioctl+0x964/0xb48
    [   60.700493]  ksys_ioctl+0x78/0xa8
    [   60.703793]  __arm64_sys_ioctl+0x1c/0xb8
    [   60.707705]  el0_svc_common.constprop.0+0x68/0x160
    [   60.712483]  el0_svc_handler+0x20/0x80
    [   60.716219]  el0_svc+0x8/0x204
    [   60.719259] ---[ end trace 92f31fa65bfbf0a4 ]---
    [   60.723935] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   60.733655] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_clock+0x34/0x40)
    [   60.742361] ti-sci 44083000.dmsc: Mbox send fail -110
    [   60.765301] ti-sci 44083000.dmsc: Mbox send fail -110
    [   60.776995] omap_rng 4e10000.rng: Unable to enable the clk: -110
    [   60.785157] ------------[ cut here ]------------
    [   60.789775] WARNING: CPU: 0 PID: 1084 at drivers/gpu/drm/tidss/tidss_drv.c:36 tidss_runtime_get+0x28/0x40
    [   60.792975] ------------[ cut here ]------------
    [   60.799316] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3 irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   60.803917] clk:264:1 already disabled
    [   60.857137] CPU: 0 PID: 1084 Comm: weston Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   60.860882] WARNING: CPU: 1 PID: 1117 at drivers/clk/clk.c:958 clk_core_disable+0xa0/0xa8
    [   60.869279] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   60.877431] Modules linked in: ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3 irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   60.883244] pstate: 60000005 (nZCv daif -PAN -UAO)
    [   60.936463] CPU: 1 PID: 1117 Comm: systemd-udevd Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   60.941234] pc : tidss_runtime_get+0x28/0x40
    [   60.950253] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   60.954506] lr : tidss_runtime_get+0x14/0x40
    [   60.960318] pstate: 40000085 (nZcv daIf -PAN -UAO)
    [   60.964569] sp : ffff80001954f9e0
    [   60.969341] pc : clk_core_disable+0xa0/0xa8
    [   60.972639] x29: ffff80001954f9e0 x28: 0000000000000000
    [   60.976805] lr : clk_core_disable+0xa0/0xa8
    [   60.982096] x27: 0000000000000000 x26: 0000000000000000
    [   60.986261] sp : ffff8000199cf900
    [   60.991552] x25: 0000000000000000 x24: 0000000000000000
    [   60.994850] x29: ffff8000199cf900 x28: 0000000000000100
    [   61.000142] x23: 0000000000000000 x22: ffff800010ac8780
    [   61.005435] x27: ffff80001014cae8 x26: ffff00085bc0e510
    [   61.010726] x21: ffff00084f247800 x20: ffff00084f247800
    [   61.016017] x25: 0000000000000002 x24: 0000000000000089
    [   61.021309] x19: ffff00084dbf3d00 x18: 0000000000000000
    [   61.026601] x23: ffff00085bc0ea00 x22: 0000000000000000
    [   61.031893] x17: 0000000000000000 x16: 0000000000000000
    [   61.037184] x21: ffff000848586810 x20: ffff000841f78600
    [   61.042475] x15: 0000000000000000 x14: 0000000000000000
    [   61.047767] x19: ffff000841f78600 x18: 0000000000000010
    [   61.053059] x13: 0000000000000000 x12: 0000000000000000
    [   61.058350] x17: 0000000000000000 x16: 0000000000000000
    [   61.063642] x11: 0000000000000000 x10: 0000000000000000
    [   61.068934] x15: ffff00084aa80528 x14: ffffffffffffffff
    [   61.074226] x9 : 0000000000000000 x8 : ffff000820131b00
    [   61.079518] x13: ffff8000999cf657 x12: ffff8000199cf65f
    [   61.084809] x7 : 0000000000000000 x6 : 0000000311600a68
    [   61.090100] x11: ffff80001100a000 x10: ffff8000110c6b28
    [   61.095392] x5 : 0000000000000001 x4 : 0000000000000000
    [   61.100684] x9 : 0000000000000000 x8 : ffff8000110c7000
    [   61.105976] x3 : ffff0008410120e4 x2 : 0000000000000000
    [   61.111267] x7 : ffff8000105925b8 x6 : 0000000311600a68
    [   61.116559] x1 : ffff000853e01c00 x0 : 00000000ffffffea
    [   61.121851] x5 : ffff00087fa81848 x4 : 0000000000000001
    [   61.127143] Call trace:
    [   61.132435] x3 : ffff00087fa81848 x2 : 0000000000000007
    [   61.134868]  tidss_runtime_get+0x28/0x40
    [   61.140158] x1 : ea318d2aad9a1a00 x0 : 0000000000000000
    [   61.144063]  tidss_atomic_commit_tail+0x24/0x88
    [   61.149354] Call trace:
    [   61.153868]  commit_tail+0x9c/0x138
    [   61.156300]  clk_core_disable+0xa0/0xa8
    [   61.159771]  drm_atomic_helper_commit+0xc8/0x140
    [   61.163590]  clk_core_disable_lock+0x20/0x38
    [   61.168189]  drm_atomic_commit+0x48/0x58
    [   61.172440]  clk_disable+0x1c/0x28
    [   61.176345]  drm_atomic_helper_disable_plane+0x98/0xd8
    [   61.179738]  omap_rng_probe+0x184/0x3c8 [omap_rng]
    [   61.184851]  __setplane_atomic+0x124/0x150
    [   61.189624]  platform_drv_probe+0x50/0xa0
    [   61.193701]  drm_mode_setplane+0xf8/0x2b8
    [   61.197693]  really_probe+0xd4/0x318
    [   61.201685]  drm_ioctl_kernel+0xb8/0x108
    [   61.205242]  driver_probe_device+0x54/0xe8
    [   61.209147]  drm_ioctl+0x210/0x468
    [   61.213226]  device_driver_attach+0x6c/0x78
    [   61.216615]  do_vfs_ioctl+0x964/0xb48
    [   61.220777]  __driver_attach+0x54/0xd0
    [   61.224423]  ksys_ioctl+0x78/0xa8
    [   61.228155]  bus_for_each_dev+0x6c/0xc0
    [   61.231454]  __arm64_sys_ioctl+0x1c/0xb8
    [   61.235273]  driver_attach+0x20/0x28
    [   61.239181]  el0_svc_common.constprop.0+0x68/0x160
    [   61.242737]  bus_add_driver+0x140/0x1e8
    [   61.247509]  el0_svc_handler+0x20/0x80
    [   61.251327]  driver_register+0x60/0x110
    [   61.255060]  el0_svc+0x8/0x204
    [   61.258878]  __platform_driver_register+0x44/0x50
    [   61.261915] ---[ end trace 92f31fa65bfbf0a5 ]---
    [   61.266602]  omap_rng_driver_init+0x20/0x10000 [omap_rng]
    [   61.276580]  do_one_initcall+0x50/0x1a8
    [   61.280401]  do_init_module+0x50/0x210
    [   61.284135]  load_module+0x1dbc/0x23c0
    [   61.287870]  __do_sys_finit_module+0xd0/0xe8
    [   61.292123]  __arm64_sys_finit_module+0x1c/0x28
    [   61.296638]  el0_svc_common.constprop.0+0x68/0x160
    [   61.301411]  el0_svc_handler+0x20/0x80
    [   61.305144]  el0_svc+0x8/0x204
    [   61.308184] ---[ end trace 92f31fa65bfbf0a6 ]---
    [   61.345039] usbcore: registered new interface driver usbfs
    [   61.361357] usbcore: registered new interface driver hub
    [   61.381386] usbcore: registered new device driver usb
    [   61.413001] ------------[ cut here ]------------
    [   61.417616] WARNING: CPU: 1 PID: 1084 at drivers/gpu/drm/tidss/tidss_drv.c:47 tidss_runtime_put+0x20/0x30
    [   61.427156] Modules linked in: xhci_hcd usbcore ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3 irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   61.481888] CPU: 1 PID: 1084 Comm: weston Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   61.490301] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   61.496115] pstate: 60000005 (nZCv daif -PAN -UAO)
    [   61.500888] pc : tidss_runtime_put+0x20/0x30
    [   61.505142] lr : tidss_runtime_put+0x14/0x30
    [   61.509395] sp : ffff80001954f9e0
    [   61.512694] x29: ffff80001954f9e0 x28: 0000000000000000
    [   61.517988] x27: 0000000000000000 x26: 0000000000000000
    [   61.523282] x25: 0000000000000000 x24: 0000000000000000
    [   61.528576] x23: 0000000000000000 x22: ffff800010ac8780
    [   61.533870] x21: ffff00084f247800 x20: ffff00084f247800
    [   61.539164] x19: ffff00084dbf3d00 x18: 0000000000000000
    [   61.544458] x17: 0000000000000000 x16: 0000000000000000
    [   61.549752] x15: 0000000000000000 x14: 0000000000000000
    [   61.555046] x13: 0000000000000000 x12: 0000000000000000
    [   61.560340] x11: 0000000000000000 x10: 0000000000000000
    [   61.565634] x9 : 0000000000000000 x8 : ffff000820131b00
    [   61.570928] x7 : 0000000000000003 x6 : ffff000820131b00
    [   61.576222] x5 : ffff00084f247800 x4 : 0000000000000000
    [   61.581516] x3 : ffff0008410120e4 x2 : 0000000000000000
    [   61.586809] x1 : ffff000853e01c00 x0 : 00000000ffffffea
    [   61.592104] Call trace:
    [   61.594538]  tidss_runtime_put+0x20/0x30
    [   61.598446]  tidss_atomic_commit_tail+0x74/0x88
    [   61.602961]  commit_tail+0x9c/0x138
    [   61.606435]  drm_atomic_helper_commit+0xc8/0x140
    [   61.611037]  drm_atomic_commit+0x48/0x58
    [   61.614943]  drm_atomic_helper_disable_plane+0x98/0xd8
    [   61.620066]  __setplane_atomic+0x124/0x150
    [   61.624146]  drm_mode_setplane+0xf8/0x2b8
    [   61.628140]  drm_ioctl_kernel+0xb8/0x108
    [   61.632047]  drm_ioctl+0x210/0x468
    [   61.635437]  do_vfs_ioctl+0x964/0xb48
    [   61.639084]  ksys_ioctl+0x78/0xa8
    [   61.642385]  __arm64_sys_ioctl+0x1c/0xb8
    [   61.646294]  el0_svc_common.constprop.0+0x68/0x160
    [   61.651069]  el0_svc_handler+0x20/0x80
    [   61.654802]  el0_svc+0x8/0x204
    [   61.657843] ---[ end trace 92f31fa65bfbf0a7 ]---
    [   61.772984] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   61.784972] ti-sci 44083000.dmsc: Mbox send fail -110
    [   61.804987] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   61.816991] ti-sci 44083000.dmsc: Mbox send fail -110
    [   62.325812] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   62.340979] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   62.357107] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010
    [   62.381002] xhci-hcd xhci-hcd.2.auto: irq 610, io mem 0x06410000
    [   62.397122] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
    [   62.412970] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   62.428969] usb usb1: Product: xHCI Host Controller
    [   62.433903] usb usb1: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd
    [   62.448970] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   62.454546] hub 1-0:1.0: USB hub found
    [   62.464986] hub 1-0:1.0: 1 port detected
    [   62.473363] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   62.478849] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   62.480983] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: sci_clk_determine_rate+0x50/0xb0)
    [   62.496991] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   62.512977] ti-sci 44083000.dmsc: Mbox send fail -110
    [   62.513012] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   62.518368] ti-sci-clk 44083000.dmsc:clocks: determine-rate failed for dev=157, clk=371, ret=-110
    [   62.537016] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
    [   62.552987] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   62.564974] usb usb2: Product: xHCI Host Controller
    [   62.576999] usb usb2: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd
    [   62.592968] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   62.598271] hub 2-0:1.0: USB hub found
    [   62.608983] hub 2-0:1.0: 1 port detected
    [   62.796987] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   62.808973] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   62.812972] ti-sci 44083000.dmsc: Mbox send fail -110
    [   62.965244] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [   62.976969] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [   62.984097] usb 1-1: SerialNumber: D6070841A7A1
    [   62.993416] hub 1-1:1.0: USB hub found
    [   63.000977] hub 1-1:1.0: 4 ports detected
    [   63.564989] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: sci_clk_determine_rate+0x50/0xb0)
    [   63.580971] ti-sci 44083000.dmsc: Mbox send fail -110
    [   63.586660] ti-sci-clk 44083000.dmsc:clocks: determine-rate failed for dev=157, clk=371, ret=-110
    [   63.600984] ------------[ cut here ]------------
    [   63.605647] clk:26:0 already unprepared
    [   63.612971] j721e-audio sound@0: codec set rate failed for 12288000 Hz
    [   63.624994] WARNING: CPU: 1 PID: 199 at drivers/clk/clk.c:816 clk_core_unprepare+0xe0/0x100
    [   63.633321] Modules linked in: xhci_plat_hcd xhci_hcd usbcore ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3 irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm(+) ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   63.644982] j721e-audio sound@0: ASoC: failed to init CPB pcm3168a ADC: -22
    [   63.689274] CPU: 1 PID: 199 Comm: systemd-udevd Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   63.689276] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   63.689278] pstate: 40000005 (nZcv daif -PAN -UAO)
    [   63.689280] pc : clk_core_unprepare+0xe0/0x100
    [   63.689282] lr : clk_core_unprepare+0xe0/0x100
    [   63.689283] sp : ffff80001312f8b0
    [   63.689286] x29: ffff80001312f8b0 x28: 0000000000000100
    [   63.733180] x27: ffff80001014cae8 x26: ffff00085d459b10
    [   63.738477] x25: ffff00085f693e80 x24: 000000008421064c
    [   63.743772] x23: ffff000849040e00 x22: ffff000847c82800
    [   63.749065] x21: ffff000847c82810 x20: 000000008421064c
    [   63.754359] x19: ffff000841d9f300 x18: 0000000000000000
    [   63.759654] x17: 0000000000000000 x16: 0000000000000000
    [   63.764948] x15: 0000000000000000 x14: 0000000000000000
    [   63.770242] x13: 00007028a733394e x12: 0000000000000001
    [   63.775535] x11: 0000000000000000 x10: 00000000000009e0
    [   63.780830] x9 : ffff80001312f5c0 x8 : ffff000849041840
    [   63.786124] x7 : ffff000843031e80 x6 : 0000000000000000
    [   63.791417] x5 : 0000000000000000 x4 : ffff00087fa81850
    [   63.796711] x3 : ffff00087fa885e0 x2 : ffff00087fa81850
    [   63.802004] x1 : a4c43836c10f4500 x0 : 0000000000000000
    [   63.807299] Call trace:
    [   63.809737]  clk_core_unprepare+0xe0/0x100
    [   63.813821]  clk_unprepare+0x28/0x40
    [   63.817389]  csi2rx_probe+0x120/0x500 [cdns_csi2rx]
    [   63.822254]  platform_drv_probe+0x50/0xa0
    [   63.826247]  really_probe+0xd4/0x318
    [   63.829807]  driver_probe_device+0x54/0xe8
    [   63.833888]  device_driver_attach+0x6c/0x78
    [   63.838055]  __driver_attach+0x54/0xd0
    [   63.841788]  bus_for_each_dev+0x6c/0xc0
    [   63.845608]  driver_attach+0x20/0x28
    [   63.849168]  bus_add_driver+0x140/0x1e8
    [   63.852988]  driver_register+0x60/0x110
    [   63.856808]  __platform_driver_register+0x44/0x50
    [   63.861498]  csi2rx_driver_init+0x1c/0x10000 [cdns_csi2rx]
    [   63.866967]  do_one_initcall+0x50/0x1a8
    [   63.870788]  do_init_module+0x50/0x210
    [   63.874523]  load_module+0x1dbc/0x23c0
    [   63.878259]  __do_sys_finit_module+0xd0/0xe8
    [   63.882517]  __arm64_sys_finit_module+0x1c/0x28
    [   63.887035]  el0_svc_common.constprop.0+0x68/0x160
    [   63.891809]  el0_svc_handler+0x20/0x80
    [   63.895543]  el0_svc+0x8/0x204
    [   63.898584] ---[ end trace 92f31fa65bfbf0a8 ]---
    [   63.903243] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   63.916975] ti-sci 44083000.dmsc: Mbox send fail -110
    [   63.973534] ------------[ cut here ]------------
    [   63.984970] clk:264:1 already unprepared
    [   63.988906] WARNING: CPU: 0 PID: 1117 at drivers/clk/clk.c:816 clk_core_unprepare+0xe0/0x100
    [   63.997320] Modules linked in: xhci_plat_hcd xhci_hcd usbcore ti_am335x_adc omap_rng(+) kfifo_buf rng_core pru_rproc cdns3 irq_pruss_intc roles udc_core usb_common cdns_csi2rx(+) icss_iep crct10dif_ce snd_soc_j721e_evm ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc m_can_platform m_can can_dev ti_am335x_tscadc cdns_mhdp pruss sa2ul ti_k3_dsp_remoteproc ti_csi2rx sha512_generic cdns_dphy authenc virtio_rpmsg_bus vxd_dec(O) vxe_enc(O) videobuf2_dma_sg cdns3_ti ntb_hw_epf ntb pci_endpoint_test ov5640 v4l2_fwnode snd_soc_pcm3168a_i2c snd_soc_pcm3168a pvrsrvkm(O) ina2xx rti_wdt sch_fq_codel rpmsg_kdrv_switch jailhouse(O) cryptodev(O) ipv6
    [   64.053013] CPU: 0 PID: 1117 Comm: systemd-udevd Tainted: G        W  O      5.4.106-g023faefa70 #1
    [   64.062034] Hardware name: Texas Instruments K3 J721E SoC (DT)
    [   64.067849] pstate: 40000005 (nZcv daif -PAN -UAO)
    [   64.072623] pc : clk_core_unprepare+0xe0/0x100
    [   64.077051] lr : clk_core_unprepare+0xe0/0x100
    [   64.081476] sp : ffff8000199cf910
    [   64.084775] x29: ffff8000199cf910 x28: 0000000000000100
    [   64.090070] x27: ffff80001014cae8 x26: ffff00085bc0e510
    [   64.095364] x25: 0000000000000002 x24: 0000000000000089
    [   64.100658] x23: ffff00085bc0ea00 x22: 0000000000000000
    [   64.105952] x21: ffff000848586810 x20: ffff00085bc0ea00
    [   64.111246] x19: ffff000841f78600 x18: 0000000000000010
    [   64.116539] x17: 0000000000000000 x16: 0000000000000000
    [   64.121832] x15: ffff00084aa80528 x14: ffffffffffffffff
    [   64.127127] x13: ffff8000999cf667 x12: ffff8000199cf66f
    [   64.132421] x11: ffff80001100a000 x10: ffff8000110c6b28
    [   64.137714] x9 : 0000000000000000 x8 : ffff8000110c7000
    [   64.143008] x7 : ffff8000105925b8 x6 : 0000000000000466
    [   64.148302] x5 : ffff00087fa61848 x4 : 0000000000000001
    [   64.153595] x3 : ffff00087fa61848 x2 : 0000000000000007
    [   64.158888] x1 : ea318d2aad9a1a00 x0 : 0000000000000000
    [   64.164182] Call trace:
    [   64.166619]  clk_core_unprepare+0xe0/0x100
    [   64.170700]  clk_unprepare+0x28/0x40
    [   64.174268]  omap_rng_probe+0x18c/0x3c8 [omap_rng]
    [   64.179045]  platform_drv_probe+0x50/0xa0
    [   64.183038]  really_probe+0xd4/0x318
    [   64.186598]  driver_probe_device+0x54/0xe8
    [   64.190678]  device_driver_attach+0x6c/0x78
    [   64.194844]  __driver_attach+0x54/0xd0
    [   64.198578]  bus_for_each_dev+0x6c/0xc0
    [   64.202398]  driver_attach+0x20/0x28
    [   64.205958]  bus_add_driver+0x140/0x1e8
    [   64.209778]  driver_register+0x60/0x110
    [   64.213598]  __platform_driver_register+0x44/0x50
    [   64.218287]  omap_rng_driver_init+0x20/0x10000 [omap_rng]
    [   64.223668]  do_one_initcall+0x50/0x1a8
    [   64.227489]  do_init_module+0x50/0x210
    [   64.231223]  load_module+0x1dbc/0x23c0
    [   64.234957]  __do_sys_finit_module+0xd0/0xe8
    [   64.239210]  __arm64_sys_finit_module+0x1c/0x28
    [   64.243726]  el0_svc_common.constprop.0+0x68/0x160
    [   64.248500]  el0_svc_handler+0x20/0x80
    [   64.252233]  el0_svc+0x8/0x204
    [   64.255273] ---[ end trace 92f31fa65bfbf0a9 ]---
    [   64.325173] cdns-csi2rx 4504000.csi-bridge: Probed CSI2RX with 2/4 lanes, 4 streams, external D-PHY
    [   64.340971] omap_rng 4e10000.rng: initialization failed.
    [   64.346328] omap_rng: probe of 4e10000.rng failed with error -110
    [   64.940989] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   64.956968] ti-sci 44083000.dmsc: Mbox send fail -110
    [   65.964985] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   65.973758] ti-sci 44083000.dmsc: Mbox send fail -110
    [   66.988984] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   66.997758] ti-sci 44083000.dmsc: Mbox send fail -110
    [   68.012978] ti-sci 44083000.dmsc: Mbox timedout in resp(caller: ti_sci_cmd_get_device+0x14/0x20)
    [   68.021749] ti-sci 44083000.dmsc: Mbox send fail -110
    
    j7-evm login: root

    Logs from R5F

    Starting Sciserver..... PASSED
    MAIN APPLICATIONVariant - Pre Compile being used !!!
    MAIN APPLICATION Successfully Enabled CAN Transceiver MCU MCAN0!!!
    MAIN APPLICATION Successfully Enabled CAN Transceiver MCU MCAN1!!!
    
     **cnt 0**
    
     **cnt 100**
    
     **cnt 200**
    
     **cnt 300**
    
     **cnt 400**
    
     **cnt 500**
    
     **cnt 600**
    
     **cnt 700**
    
     **cnt 800**
    
     **cnt 900**
    ííêàêêãîôàñðððêêàíííêííêàêêãîôàññððêêàíííêííêàêêãîôàñòððêêàíííêííêàêêãîôàñóððêêàíííêííêàêêãîôàñôððêêàíííêííêàêêãîôàñõððêêàíííêííêàêêãîôàñöððêêàíííêííêàêêãîôàñ÷ððêêàíííêííêàêêãîôàñøððêêàíííêííêàêêãîôàñùððêêàíííêííêàêêãîôàòðððêêàíííêííêàêêãîôàòñððêêàíííêííêàêêãîôàòòððêêàíííêííêàêêãîôàòóððêêàíííêííêàêêãîôàòôððêêàíííêííêàêêãîôàòõððêêàíííêííêàêêãîôàòöððêêàíííêííêàêêãîôàò÷ððêêàíííêííêàêêãîôàòøððêêàíííêííêàêêãîôàòùððêêàíííêííêàêêãîôàóðððêêàíííêííêàêêãîôàóñððêêàíííêííêàêêãîôàóòððêêàíííêííêàêêãîôàóóððêêàíííêííêàêêãîôàóôððêêàíííêííêàêêãîôàóõððêêàíííêííêàêêãîôàóöððêêàíííêííêàêêãîôàó÷ððêêàíííêííêàêêãîôàóøððêêàíííêííêàêêãîôàóùððêêàíííêííêàêêãîôàôðððêêàíííêííêàêêãîôàôñððêêàíííêííêàêêãîôàôòððêêàíííêííêàêêãîôàôóððêêàíííêííêàêêãîôàôôððêêàíííêííêàêêãîôàôõððêêàíííêííêàêêãîôàôöððêêàíííêííêàêêãîôàô÷ððêêàíííêííêàêêãîôàôøððêêàíííêííêàêêãîôàôùððêêàíííêííêàêêãîôàõðððêêàíííêííêàêêãîôàõñððêêàíííêííêàêêãîôàõòððêêàíííêííêàêêãîôàõóððêêàíííêííêàêêãîôàõôððêêàíííêííêàêêãîôàõõððêêàíííêííêàêêãîôàõöððêêàíííêííêàêêãîôàõ÷ððêêàíííê

    Regards,
    Parth

  • Hi Parth,

    In your linux log line 1447 there is given "Mbox timeout failing which is one of the things I cam concerned about would be causing the failure.

    Another thing, if you Power ON/OFF the board you would be see that sometimes the application would give **cnt 1800** or **cnt 2100** (cnt is stopping at random values) as output and would get stuck there which is very different from the standalone application and which I am concerned should not happen in running alongside Linux.

    Can you please try and confirm this.

    Regards,

    Tanvi

  • Hi Tanvi,

    We have been able to fix the problem. Please apply the following patch on k3-j721e-common-procboard-dts.

    Disable_MCAN_UART.zip

    Also, please make sure that task priority of sci server is more than other two tasks that you are running.

    Regards,
    Parth

  • Hi Tanvi,

    Can you please provide feedback on this before our SW weekly meeting today?

    Regards

    Karan

  • Hi Karan,

    We are still testing it with our application.

    Regards,

    Tanvi