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.

AM625SIP: I wants to use MAIN_UART1 in LINUX instead TIFS.

Part Number: AM625SIP

I wants to use MAIN_UART1 in LINUX instead TIFS.  

I used AM625SIP EVM

MCU+SDK version : 12_00_00_27

LINUX SDK : 12_00_00_27 04

TIFS used MAIN_UART1. but I want to use in linux.

I used in MCU+SDK.(examples/drivers/ipc/ipc_rpmsg_echo_linux).

I modify in {source/drivers/sciclient/sciclient_default_boardcfg/am62x/sciclient_defaultBoardcfg.c].

    /* boardcfg_dbg_cfg */
    .debug_cfg = {
        .subhdr = {
            .magic = TISCI_BOARDCFG_DBG_CFG_MAGIC_NUM,
            .size = sizeof(struct tisci_boardcfg_dbg_cfg),
        },

        /*.trace_dst_enables = (TISCI_BOARDCFG_TRACE_DST_UART0 |
                              TISCI_BOARDCFG_TRACE_DST_ITM |
                              TISCI_BOARDCFG_TRACE_DST_MEM),*/
        .trace_dst_enables = 0, /* MOON Modify */
#ifdef SYSFW_TRACE_ENABLE
        /* This enables the trace for SYSFW logging. Should be used only for
        * debug. Profiling should not be done with this enabled.
        */
        .trace_src_enables = (TISCI_BOARDCFG_TRACE_SRC_PM |
                              TISCI_BOARDCFG_TRACE_SRC_RM |
                              TISCI_BOARDCFG_TRACE_SRC_SEC |
                              TISCI_BOARDCFG_TRACE_SRC_BASE |
                              TISCI_BOARDCFG_TRACE_SRC_USER |
                              TISCI_BOARDCFG_TRACE_SRC_SUPR) 
        
#else
        /* .trace_src_enables = TISCI_BOARDCFG_TRACE_SRC_USER, */
        .trace_src_enables = 0, /* MOON Modify */
#endif

But It is still in use by TIFS.

At booting U-boot, in log, UART1 was initialized.

=====================================

 md.l 0x02810000

02810000: 00000000 00000000 000000c1 00000003  ................

02810010: 00000003 00000060 00000000 00000000  ....`...........

02810020: 00000000 00000000 00000000 00000000  ................

02810030: 00000000 00000000 00000040 00000000  ........@.......

02810040: 00000000 00000004 00000000 00000000  ................

02810050: 47424e03 00000000 00000001 000000ff  .NBG............

02810060: 00000069 00000000 00000000 00000000  i...............

02810070: 00000003 0000001a 00000000 00000000  ................

02810080: 00000000 00000000 00000000 00000000  ................

02810090: 00000018 00000000 00000000 00000000  ................

028100a0: 00000007 00000000 00000000 00000000  ................

028100b0: 00000000 00000000 00000000 00000000  ................

028100c0: 00000000 00000000 00000000 00000000  ................

028100d0: 00000000 00000000 00000000 00000000  ................

028100e0: 00000000 00000000 00000000 00000000  ................

028100f0: 00000000 00000000 00000000 00000000  ................

=>  

 
 

=====================================

I want to do not initailized MAIN_UART1 in booting u-boot.

And I want to use in linux

Please advise to me.