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.

AM6442: GPIO input interrupt Sciclient config failed

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Hello TI team,

I follow the https://dev.ti.com/tirex/content/mcu_plus_sdk_am64x_09_00_00_30/docs/api_guide_am64x/EXAMPLES_DRIVERS_GPIO_INPUT_INTERRUPT.html,modify dts,and update dtb in sd card, but still error.

Thanks

Allen

  • Hello Allen,

    Thanks for reaching out to Texas Instruments E2E support forum.

    Can you please share the below details?

    • Version of MCU+SDK used.
    • Version of Processor SDK used.
    • Version of tisdk-default-image-am64xx-evm.wic.xz used.

    Regards,

    Tushar

  •  MCU+SDK  09.00.00.30

     Processor SDK 09.00.00.03

    tisdk-default-image-am64xx-evm.wic.xz  same as above

    Thanks

    Allen

  • Hi Tushar,

    I test the ospi boot mode,

    modify the Resource Management Configuration Data,and rebuild,

    then rebuild SBL example, flash SOC,

    if use main domain GPIO, interrupt example can runing,

    but use mcu domain GPIO, still error.

    Thanks

    Allen

  • Hello Allen,

    Thanks for your patience.

    The MCU+SDK example are not made to support the cross functionality. Please refer release notes

    You need to do the GPIO configuration changes in the example to make it work for MCU M4F.

    Please follow the below steps.

    • Please change the host_id of TISCI_DEV_MCU_MCU_GPIOMUX_INTROUTER0 in sciclient_defaultBoardCfg_rm.c file as below.

    • After doing the above change, please rebuild the board config by running below command.

    gmake -s -C tools/sysfw/boardcfg

    • Clean and Rebuild the SBL null binary by running below command

    gmake -s -C examples/drivers/boot/sbl_null/am64x-evm/r5fss0-0_nortos/ti-arm-clang clean
    gmake -s -C examples/drivers/boot/sbl_null/am64x-evm/r5fss0-0_nortos/ti-arm-clang

    • Initialize the EVM with the newly created SBL binaries. For info, please refer EVM_FLASH_SOC_INIT.
    • In the example.syscfg file, please do below changes.

    • Build the GPIO Input interrupt example.
    • Copy the files generated by sysconfig tool into the project as shown below.

    • Right click on the example.syscfg file and exclude this from build settings. Please refer below image.

    • Please change the BOARD_BUTTON_GPIO_INTR_NUM and dst_host_irq to CSLR_R5FSS0_CORE0_INTR_MCU_MCU_GPIOMUX_INTROUTER0_OUTP_3 in ti_drivers_config.c file.
    • Rebuild the project.

     After doing the above changes the GPIO Input interrupt example should work as expected. Please let me know if the above solution works.

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your answer.

    Working on ospi boot mode, but sd boot mode still error.

    Thanks

    Allen

  • Hello Allen,

    Thanks for your response. Please find the below explanation.

    Root Cause of the Problem

    The GPIO_INPUT_INTERRUPT example running on R5FSS0_0 is based on MCU+ SDK while Linux running on A53 is based on Processor SDK. The problem comes because of the RM configuration differences in these SDKs. We have to initialize the board with the right RM configurations to make this example work.

    There are three ways to initialize the board:

    S. No. Boot Flow Use Case
    1 SBL from MCU+ SDK NORTOS/FreeRTOS example running on A53SS, R5FSS, M4FSS
    2 SPL from Processor SDK Linux running on A53SS
    3 Linux SBL from MCU+ SDK NORTOS/FreeRTOS example running on R5FSS, M4FSS & Linux running on A53SS

    The default GPIO_INPUT_INTERRUPT example is coded to work out-of-the box with the SBL from MCU+ SDK. If we used SPL to initialize the board, then the example does not work because Processor SDK uses different RM configurations. For the third option, the RM configurations used are the same as used in Processor SDK so the example does not work in this case also.

    In a nutshell, the GPIO_INPUT_INTERRUPT example works only with the first option while we need to tweak the RM configurations in case of second and third option to make the example work.

    Modifying the Resource Allocation

    To run the default GPIO example with Linux SPL, you need to modify the resource allocation for MAIN_GPIOMUX_INTROUTER & MCU_GPIOMUX_INTROUTER to route interrupts to R5F core instead of A53.

    For more details on GPIO interrupt router, please refer GPIO Interrupt Router.

    Please change the rm-cfg.yaml file located at path ${Processor SDK}/board-support/ti-u-boot/board/ti/am64x/ as given below. 

    # SPDX-License-Identifier: GPL-2.0+
    # Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
    #
    # Resource management configuration for AM64x
    #
    
    ---
    
    rm-cfg:
            rm_boardcfg:
                    rev:
                            boardcfg_abi_maj : 0x0
                            boardcfg_abi_min : 0x1
                    host_cfg:
                            subhdr:
                                    magic: 0x4C41
                                    size : 356
                            host_cfg_entries:
                                    - #1
                                            host_id: 12
                                            allowed_atype : 0x2A
                                            allowed_qos : 0xAAAA
                                            allowed_orderid : 0xAAAAAAAA
                                            allowed_priority : 0xAAAA
                                            allowed_sched_priority : 0xAA
                                    - #2
                                            host_id: 30
                                            allowed_atype : 0x2A
                                            allowed_qos : 0xAAAA
                                            allowed_orderid : 0xAAAAAAAA
                                            allowed_priority : 0xAAAA
                                            allowed_sched_priority : 0xAA
                                    - #3
                                            host_id: 36
                                            allowed_atype : 0x2A
                                            allowed_qos : 0xAAAA
                                            allowed_orderid : 0xAAAAAAAA
                                            allowed_priority : 0xAAAA
                                            allowed_sched_priority : 0xAA
                                    - #4
                                            host_id: 38
                                            allowed_atype : 0x2A
                                            allowed_qos : 0xAAAA
                                            allowed_orderid : 0xAAAAAAAA
                                            allowed_priority : 0xAAAA
                                            allowed_sched_priority : 0xAA
                                    - #5
                                            host_id: 41
                                            allowed_atype : 0x2A
                                            allowed_qos : 0xAAAA
                                            allowed_orderid : 0xAAAAAAAA
                                            allowed_priority : 0xAAAA
                                            allowed_sched_priority : 0xAA
                                    - #6
                                            host_id: 43
                                            allowed_atype : 0x2A
                                            allowed_qos : 0xAAAA
                                            allowed_orderid : 0xAAAAAAAA
                                            allowed_priority : 0xAAAA
                                            allowed_sched_priority : 0xAA
                                    - #7
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #8
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #9
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #10
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #11
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #12
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #13
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #14
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #15
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #16
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #17
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #18
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #19
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #20
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #21
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #22
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #23
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #24
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #25
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #26
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #27
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #28
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #29
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #30
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #31
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
    
                                    - #32
                                            host_id: 0
                                            allowed_atype: 0
                                            allowed_qos: 0
                                            allowed_orderid: 0
                                            allowed_priority: 0
                                            allowed_sched_priority: 0
                    resasg:
                            subhdr:
                                    magic: 0x7B25
                                    size : 8
                            resasg_entries_size: 1288
                            reserved : 0
            resasg_entries:
            -
                    start_resource: 0
                    num_resource: 16
                    type: 64
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 4
                    type: 64
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 4
                    type: 64
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 20
                    num_resource: 4
                    type: 64
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 24
                    num_resource: 4
                    type: 64
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 28
                    num_resource: 4
                    type: 64
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 32
                    num_resource: 8
                    type: 64
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 12
                    type: 192
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 2
                    type: 192
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 14
                    num_resource: 2
                    type: 192
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 4
                    type: 320
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 4
                    type: 320
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 41
                    type: 384
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 50176
                    num_resource: 136
                    type: 1666
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 1
                    type: 1667
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 12
                    type: 1677
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 6
                    type: 1677
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 6
                    type: 1677
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 18
                    num_resource: 2
                    type: 1677
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 20
                    num_resource: 4
                    type: 1677
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 24
                    num_resource: 2
                    type: 1677
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 26
                    num_resource: 1
                    type: 1677
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 27
                    num_resource: 1
                    type: 1677
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 48
                    num_resource: 6
                    type: 1678
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 54
                    num_resource: 6
                    type: 1678
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 54
                    num_resource: 6
                    type: 1678
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 60
                    num_resource: 2
                    type: 1678
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 62
                    num_resource: 4
                    type: 1678
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 66
                    num_resource: 2
                    type: 1678
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 28
                    num_resource: 6
                    type: 1679
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 34
                    num_resource: 6
                    type: 1679
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 34
                    num_resource: 6
                    type: 1679
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 40
                    num_resource: 2
                    type: 1679
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 42
                    num_resource: 4
                    type: 1679
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 46
                    num_resource: 2
                    type: 1679
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 12
                    type: 1696
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 6
                    type: 1696
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 6
                    type: 1696
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 18
                    num_resource: 2
                    type: 1696
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 20
                    num_resource: 4
                    type: 1696
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 24
                    num_resource: 2
                    type: 1696
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 26
                    num_resource: 1
                    type: 1696
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 27
                    num_resource: 1
                    type: 1696
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 6
                    type: 1697
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 6
                    num_resource: 6
                    type: 1697
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 6
                    num_resource: 6
                    type: 1697
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 2
                    type: 1697
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 14
                    num_resource: 4
                    type: 1697
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 18
                    num_resource: 2
                    type: 1697
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 6
                    type: 1698
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 6
                    num_resource: 6
                    type: 1698
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 6
                    num_resource: 6
                    type: 1698
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 12
                    num_resource: 2
                    type: 1698
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 14
                    num_resource: 4
                    type: 1698
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 18
                    num_resource: 2
                    type: 1698
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 5
                    num_resource: 35
                    type: 1802
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 44
                    num_resource: 14
                    type: 1802
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 44
                    num_resource: 14
                    type: 1802
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 58
                    num_resource: 14
                    type: 1802
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 92
                    num_resource: 14
                    type: 1802
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 106
                    num_resource: 14
                    type: 1802
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 168
                    num_resource: 16
                    type: 1802
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 512
                    type: 1805
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 528
                    num_resource: 256
                    type: 1805
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 528
                    num_resource: 256
                    type: 1805
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 784
                    num_resource: 192
                    type: 1805
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 976
                    num_resource: 256
                    type: 1805
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 1232
                    num_resource: 192
                    type: 1805
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 1424
                    num_resource: 96
                    type: 1805
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 1520
                    num_resource: 16
                    type: 1805
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 1024
                    type: 1807
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 4096
                    num_resource: 42
                    type: 1808
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 4608
                    num_resource: 112
                    type: 1809
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 5120
                    num_resource: 29
                    type: 1810
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 5632
                    num_resource: 176
                    type: 1811
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 6144
                    num_resource: 176
                    type: 1812
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 6656
                    num_resource: 176
                    type: 1813
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 8192
                    num_resource: 28
                    type: 1814
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 8704
                    num_resource: 28
                    type: 1815
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 9216
                    num_resource: 28
                    type: 1816
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 9728
                    num_resource: 20
                    type: 1817
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 10240
                    num_resource: 20
                    type: 1818
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 10752
                    num_resource: 20
                    type: 1819
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 11264
                    num_resource: 20
                    type: 1820
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 11776
                    num_resource: 20
                    type: 1821
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 12288
                    num_resource: 20
                    type: 1822
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 1
                    type: 1923
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 4
                    type: 1936
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1936
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1936
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 7
                    num_resource: 2
                    type: 1936
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 9
                    num_resource: 4
                    type: 1936
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 13
                    num_resource: 2
                    type: 1936
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 15
                    num_resource: 1
                    type: 1936
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 64
                    type: 1937
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 64
                    type: 1937
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 88
                    num_resource: 8
                    type: 1939
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 96
                    num_resource: 8
                    type: 1940
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 104
                    num_resource: 8
                    type: 1941
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 112
                    num_resource: 4
                    type: 1942
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 116
                    num_resource: 3
                    type: 1942
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 116
                    num_resource: 3
                    type: 1942
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 119
                    num_resource: 2
                    type: 1942
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 121
                    num_resource: 4
                    type: 1942
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 125
                    num_resource: 2
                    type: 1942
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 127
                    num_resource: 1
                    type: 1942
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 128
                    num_resource: 16
                    type: 1943
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 128
                    num_resource: 16
                    type: 1943
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 144
                    num_resource: 8
                    type: 1945
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 152
                    num_resource: 8
                    type: 1946
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 152
                    num_resource: 8
                    type: 1947
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 160
                    num_resource: 64
                    type: 1948
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 224
                    num_resource: 64
                    type: 1949
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 4
                    type: 1955
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1955
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1955
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 7
                    num_resource: 2
                    type: 1955
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 9
                    num_resource: 4
                    type: 1955
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 13
                    num_resource: 2
                    type: 1955
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 15
                    num_resource: 1
                    type: 1955
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 8
                    type: 1956
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 8
                    type: 1956
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 25
                    num_resource: 1
                    type: 1958
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 26
                    num_resource: 8
                    type: 1959
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 34
                    num_resource: 8
                    type: 1960
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 4
                    type: 1961
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1961
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1961
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 7
                    num_resource: 2
                    type: 1961
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 9
                    num_resource: 4
                    type: 1961
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 13
                    num_resource: 2
                    type: 1961
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 15
                    num_resource: 1
                    type: 1961
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 4
                    type: 1962
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1962
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 4
                    num_resource: 3
                    type: 1962
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 7
                    num_resource: 2
                    type: 1962
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 9
                    num_resource: 4
                    type: 1962
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 13
                    num_resource: 2
                    type: 1962
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 15
                    num_resource: 1
                    type: 1962
                    host_id: 30
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 1
                    type: 1963
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 1
                    type: 1963
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 16
                    type: 1964
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 16
                    num_resource: 16
                    type: 1964
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 32
                    num_resource: 8
                    type: 1966
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 32
                    num_resource: 8
                    type: 1968
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 19
                    num_resource: 1
                    type: 1969
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 40
                    num_resource: 8
                    type: 1970
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 20
                    num_resource: 1
                    type: 1971
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 40
                    num_resource: 8
                    type: 1972
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 21
                    num_resource: 4
                    type: 1973
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 48
                    num_resource: 64
                    type: 1974
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 25
                    num_resource: 4
                    type: 1975
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 112
                    num_resource: 64
                    type: 1976
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 0
                    num_resource: 1
                    type: 2112
                    host_id: 128
                    reserved: 0
    
            -
                    start_resource: 2
                    num_resource: 2
                    type: 2122
                    host_id: 12
                    reserved: 0
    
            -
                    start_resource: 20
                    num_resource: 2
                    type: 2124
                    host_id: 35
                    reserved: 0
    
            -
                    start_resource: 20
                    num_resource: 2
                    type: 2124
                    host_id: 36
                    reserved: 0
    
            -
                    start_resource: 22
                    num_resource: 2
                    type: 2124
                    host_id: 38
                    reserved: 0
    
            -
                    start_resource: 24
                    num_resource: 2
                    type: 2124
                    host_id: 41
                    reserved: 0
    
            -
                    start_resource: 26
                    num_resource: 2
                    type: 2124
                    host_id: 43
                    reserved: 0
    
            -
                    start_resource: 28
                    num_resource: 4
                    type: 2124
                    host_id: 128
                    reserved: 0
    

    The above file allocated the MAIN_GPIOMUX_INTROUTER[0:12] and MCU_GPIOMUX_INTROUTER[0:4] to R5F0-0 core.

    Now run the below command to build u-boot.

    make u-boot
    

    After building the u-boot, copy the tiboot3.bin file to SD card and initialize the EVM.

    The tiboot3.bin file can be found at ${Processor SDK}/board-support/u-boot-build/r5.

    After doing the above mentioned changes you should be able to run the example without errors.

    For MCU GPIO :

    To use the MCU_GPIO, please do the changes in example.syscfg & generated file and exclude it from the build settings as mentioned in above replies. Also do the dts & dtb file changes as mentioned in the MCU+SDK documentation. Please refer GPIO_INPUT_INTERRUPT.

    Regards,

    Tushar

  • Hi Tushar,

    Thanks for your help!

    The problem has been solved.

    Best Regards,

    Allen