PROCESSOR-SDK-J722S: J722s how to route gpio to wkup core?

Part Number: PROCESSOR-SDK-J722S
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi TI expert,
   1. i am using J722s evm  and sdk v11  example code as environment. sdcard, spl boot mode.
     2. in vision app mcu20, i've successed in use "Sciclient_rmIrqSet()" to create gpio0/1 route.
3. i see trm 10.4.47, wkup has 32-47 for main gpio introuter0_outp.
4. then, i try to route GPIO0/1 to wkup mcu. i tried this api in mcu20 and wkup mcu, none is success.

here is the log.
```
30059671: Sciclient event config: 78-12, 121-32: -1
30064659: Sciclient event config: 77-35, 121-33: -1
30069643: Sciclient event config: 77-36, 121-34: -1
30074628: Sciclient event config: 77-31, 121-35: -1
30079613: Sciclient event config: 77-41, 121-36: -1
30084595: Sciclient event config: 77-42, 121-37: -1
30089576: Sciclient event config: 78-30, 121-38: -1
30094563: Sciclient event config: 77-33, 121-39: -1
30099546: Sciclient event config: 77-37, 121-40: -1
30104528: Sciclient event config: 77-38, 121-41: -1
30109511: Sciclient event config: 77-34, 121-42: -1
30114496: Sciclient event config: 77-39, 121-43: -1
```
my question is: 1. if possible, how to create the gpio0/1 router to wkup mcu?


thanks.
  • Hi,

    Have you made any changes to source/drivers/sciclient/sciclient_default_boardcfg/j722s/sciclient_defaultBoardcfg_rm.c? Based on the default rm boardCfg, there are no interrupt lines allocated to WKUP R5F core from the GPIOMUX Interrupt Routers.

    You can follow these directions to allocate however many GPIO lines required to generate interrupts on WKUP R5F core.

    here is the log.
    ```
    30059671: Sciclient event config: 78-12, 121-32: -1
    30064659: Sciclient event config: 77-35, 121-33: -1
    30069643: Sciclient event config: 77-36, 121-34: -1
    30074628: Sciclient event config: 77-31, 121-35: -1
    30079613: Sciclient event config: 77-41, 121-36: -1
    30084595: Sciclient event config: 77-42, 121-37: -1
    30089576: Sciclient event config: 78-30, 121-38: -1
    30094563: Sciclient event config: 77-33, 121-39: -1
    30099546: Sciclient event config: 77-37, 121-40: -1
    30104528: Sciclient event config: 77-38, 121-41: -1
    30109511: Sciclient event config: 77-34, 121-42: -1
    30114496: Sciclient event config: 77-39, 121-43: -1

    Additionally, can you give more information on what values or device ID that are being outputted in these logs?

    Thanks,

    Neehar

  • HI Neehar,

       1. how to 

    Have you made any changes to source/drivers/sciclient/sciclient_default_boardcfg/j722s/sciclient_defaultBoardcfg_rm.c? Based on the default rm boardCfg, there are no interrupt lines allocated to WKUP R5F core from the GPIOMUX Interrupt Routers.

    1. how to get the sysconfig-gui  as you posted, and start with "sciclient_defaultBoardcfg_rm.c" settings.     since i am worry about modify it manually with cause some conflict.

    2. mcu-sdk  by default  doesn't have ccs1250 toolchain, where to get it?  

    "/bin/bash: line 1: /root/workspaces/j722s/ti/ccs1250/ccs/utils/tiobj2bin/tiobj2bin: No such file or directory"

    3. ref to MAIN_GPIO_INTROUTER0 output destination table,  GIC and wkup r5f share the output index from 0-15, is that means only one core could use, or both?

    thanks.

  • Hi,

    1. how to get the sysconfig-gui  as you posted, and start with "sciclient_defaultBoardcfg_rm.c" settings.     since i am worry about modify it manually with cause some conflict.

    Please follow these instructions to get started with adjusting the default rm boardCfg.

    2. mcu-sdk  by default  doesn't have ccs1250 toolchain, where to get it?  

    "/bin/bash: line 1: /root/workspaces/j722s/ti/ccs1250/ccs/utils/tiobj2bin/tiobj2bin: No such file or directory"

    Could you test with CCS 12.7 and see if you receive the same issue? Where do you see this error?

    3. ref to MAIN_GPIO_INTROUTER0 output destination table,  GIC and wkup r5f share the output index from 0-15, is that means only one core could use, or both?

    The output index can only be routed to one core, you will have to choose routing the interrupt to the GIC or WKUP_MCU_GPIOMUX_INTRTR.

    these id are same as  

    Could you please provide the print statement to tell me what variables or function parameters are being logged?

    Thanks,

    Neehar

  • Hi  Neehar,

        i follow the instruction : ://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j722s/11_00_00_06/exports/docs/mcu_plus_sdk_j722s_11_00_00_12/docs/api_guide_j722s/TOOLS_SYSFW.html#BOARCFG_GEN

       and finally not make the change effective,  could you help me to check what' wrong here?

    my step is:

    1. instead of use syscfg, i just modify the source code : mcu_plus_sdk_j722s_11_00_00_12/source/drivers/sciclient/sciclient_default_boardcfg/j722s/sciclient_defaultBoardcfg_rm.c

    move 4 resource from linux to wkup domain.

        .resasg_entries = {
            {
                .num_resource = 12,
                .type = TISCI_RESASG_UTYPE (TISCI_DEV_MAIN_GPIOMUX_INTROUTER0, TISCI_RESASG_SUBTYPE_IR_OUTPUT),
                .start_resource = 0,
                .host_id = TISCI_HOST_ID_A53_2,
            },
            // give 4 to wkup mcu from linux
            {
                .num_resource = 4,
                .type = TISCI_RESASG_UTYPE (TISCI_DEV_MAIN_GPIOMUX_INTROUTER0, TISCI_RESASG_SUBTYPE_IR_OUTPUT),
                .start_resource = 12,   
                .host_id = TISCI_HOST_ID_WKUP_0_R5_1,
            },
    
            {
                .num_resource = 4,
                .type = TISCI_RESASG_UTYPE (TISCI_DEV_MAIN_GPIOMUX_INTROUTER0, TISCI_RESASG_SUBTYPE_IR_OUTPUT),
                .start_resource = 12,   
                .host_id = TISCI_HOST_ID_WKUP_0_R5_0,
            },
            
            {
                .num_resource = 6,
                .type = TISCI_RESASG_UTYPE (TISCI_DEV_MAIN_GPIOMUX_INTROUTER0, TISCI_RESASG_SUBTYPE_IR_OUTPUT),
                .start_resource = 16,
                .host_id = TISCI_HOST_ID_MAIN_0_R5_1,
            },

    2.  build:

    make -C mcu_plus_sdk_j722s_11_00_00_12/tools/sysfw/boardcfg SOC=j722s
    make -C mcu_plus_sdk_j722s_11_00_00_12 libs DEVICE=j722s

    // make app

    make -C 

    mcu_plus_sdk_j722s_11_00_00_12/examples/vt_mcu00_app/j722s-evm/wkup-r5fss0-0_freertos/ti-arm-clang
    make -C ${SCRIPT_PATH}/../../sdk_builder uboot    
    then get the tispl.bin   and copy to sdcard
    3. test 
    my app is  try to make 3 route,
    param order is   (uint32_t srcId, uint32_t srcIdx, uint32_t dstId, uint32_t dstIdx)
        Sciclient_gpioIrqSet(TISCI_DEV_GPIO1, 12, TISCI_DEV_WKUP_R5FSS0_CORE0, CSLR_WKUP_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_12);
        Sciclient_gpioIrqSet(TISCI_DEV_GPIO0, 35, TISCI_DEV_WKUP_R5FSS0_CORE0, CSLR_WKUP_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_13);
        Sciclient_gpioIrqSet(TISCI_DEV_GPIO0, 36, TISCI_DEV_WKUP_R5FSS0_CORE0, CSLR_WKUP_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_14);
    and result is 
    4722: Sciclient event config: 78-12, 121-44: -1
    9712: Sciclient event config: 77-35, 121-45: -1
    14695: Sciclient event config: 77-36, 121-46: -1
    all alloc failed. 
     
    BTW, the instruction only say sbl mode, my is spl boot,  how to apply the resource change,  thanks.
  • Hi,

    Are you able to see the updated values within the Sciclient_rmGetResourceRange() API?

    Does it reflect the changes with the new available irq values for WKUP GPIO?

    Thanks,

    Neehar

  • my app is  try to make 3 route,
    param order is   (uint32_t srcId, uint32_t srcIdx, uint32_t dstId, uint32_t dstIdx)
        Sciclient_gpioIrqSet(TISCI_DEV_GPIO1, 12, TISCI_DEV_WKUP_R5FSS0_CORE0, CSLR_WKUP_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_12);
        Sciclient_gpioIrqSet(TISCI_DEV_GPIO0, 35, TISCI_DEV_WKUP_R5FSS0_CORE0, CSLR_WKUP_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_13);
        Sciclient_gpioIrqSet(TISCI_DEV_GPIO0, 36, TISCI_DEV_WKUP_R5FSS0_CORE0, CSLR_WKUP_R5FSS0_CORE0_INTR_MAIN_GPIOMUX_INTROUTER0_OUTP_14);
    and result is 
    4722: Sciclient event config: 78-12, 121-44: -1
    9712: Sciclient event config: 77-35, 121-45: -1
    14695: Sciclient event config: 77-36, 121-46: -1
    all alloc failed. 
     

    have you fixed this issue?

    Regards

      Semon

  • Hi Semon,

    The engineer responsible is currently out of office. Please expect 3 business day delay in response.

    Regards,

    Takuma

  • Hi, Neehar

         i've used following code, and the changes not take effect

    .

            struct tisci_msg_rm_get_resource_range_req req;
            struct tisci_msg_rm_get_resource_range_resp resp;
    
            req.type = TISCI_DEV_MAIN_GPIOMUX_INTROUTER0;
            req.subtype = TISCI_RESASG_SUBTYPE_IR_OUTPUT;
            req.secondary_host = TISCI_HOST_ID_MAIN_0_R5_1 ; // TISCI_HOST_ID_WKUP_0_R5_1;
            Sciclient_rmGetResourceRange(&req, &resp, 0xFFFFFFF);
            DebugP_log("main20 resouce : %d %d\n",  resp.range_start, resp.range_num );
            // this is 16,6
    
            req.type = TISCI_DEV_MAIN_GPIOMUX_INTROUTER0;
            req.subtype = TISCI_RESASG_SUBTYPE_IR_OUTPUT;
            req.secondary_host = TISCI_HOST_ID_WKUP_0_R5_1;
            Sciclient_rmGetResourceRange(&req, &resp, 0xFFFFFFF);
            DebugP_log("wkup  resouce : %d %d\n",  resp.range_start, resp.range_num );

    i run this code both in mcu20 and wkup mcu, both are

    main20 resouce : 16 6
    wkup resouce : 0 0

    could you help me to check what's step is missing from my previous post, thansk. 

  • Hi, 

    additionally,  

    i copy updated mcu_plus_sdk_j722s_11_00_00_12/examples/drivers/boot/sbl_sd/j722s-evm/wkup-r5fss0-0_nortos/ti-arm-clang/tiboot3.bin  to sdcard BOOT partition to replaced the prebuilt one, linux cant boot, only wakeup mcu print

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

    DMSC Firmware Version 11.0.9--v11.00.09+ (Fancy Rat)
    DMSC Firmware revision 0xb
    DMSC ABI revision 4.0

    [BOOTLOADER_PROFILE] Boot Media : SD Card
    [BOOTLOADER_PROFILE] Boot Image Size : 0 KB
    [BOOTLOADER_PROFILE] Cores present :
    [BOOTLOADER PROFILE] System_init : 36854us
    [BOOTLOADER PROFILE] Drivers_open : 2927us
    [BOOTLOADER PROFILE] Board_driversOpen : 0us
    [BOOTLOADER PROFILE] Sciclient Get Version : 9854us
    [BOOTLOADER_PROFILE] SBL Total Time Taken : 49636us

    Image loading done, switching to application ...
    Starting RTOS/Baremetal applications

  • Hi,

    I am catching up from being on vacation, I will follow up tomorrow with more information.

    Thanks,

    Neehar

  • Hi Neelar,

    update info

     i've check the method you provided, and it seems used for sbl boot, not for spl boot.   it will generate  boardcfg_blob.bin and as a part of input for  tiboot3.bin for sbl boot?  it seems can't be used for spl boot.

  • Hi,

        i follow the instruction : ://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j722s/11_00_00_06/exports/docs/mcu_plus_sdk_j722s_11_00_00_12/docs/api_guide_j722s/TOOLS_SYSFW.html#BOARCFG_GEN

       and finally not make the change effective,  could you help me to check what' wrong here?

    The instructions provided here are specifically for SBL boot and will not work in your case for SPL boot. You will have to follow these instructions from the Linux SDK docs on generating the *.yaml files.

    The tools to generate uboot files changed from SDK v8.x to SDK v9.x. The k3-image-gen tool is replaced by binman. Because of this, rm-cfg.c has been replaced with rm-cfg.yaml.

    The resource partitioning tool provided as a part of SDK v9.x or above will generate equivalent *.yaml file that can be used to allocate resources among hosts.

    You will have to overwrite the files with the new versions generated from sysconfig. Then fully rebuild u-boot with the following command.

    `make u-boot`

    You can take a look at this FAQ from a similar device for more information as well:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1308689/faq-how-to-use-k3-resource-partitioning-tool-with-processor-sdk-v9-0-or-v9-1

    Thanks,

    Neehar

  • Hi, 

     i still fail to get resource in wakeup mcu.

    here is my step.

    1. i use mcu_sdk_plus/example/ipc/ipc_rpmsg_echo_linux as project, is that correct, or need to other special project to enable rm configuration?

    2. i open sysconfig 1.20 and use  'linux-adas-v11/board-support/k3-respart-tool/out/j722s-evm.syscfg` as base configure, then move 4 main gpio mux resource from linux to wkup domain.  result in rm-cfg.yaml is

    3. i copy this rm-cfg.yaml to "linux-adas-v11/board-support/ti-u-boot-2025.01+git/board/ti/j722s/ " , replace the origin one.

    4. compile the wakup project and make -C sdk-builder uboot  to generate tispl.bin  , copy to sdcard boot partition, replace the old one.

    5. wkup project run code 

    ```

            req.type = TISCI_DEV_MAIN_GPIOMUX_INTROUTER0;
            req.subtype = TISCI_RESASG_SUBTYPE_IR_OUTPUT;
            req.secondary_host = TISCI_HOST_ID_MAIN_0_R5_1 ; // TISCI_HOST_ID_WKUP_0_R5_1;
            Sciclient_rmGetResourceRange(&req, &resp, 0xFFFFFFF);
            DebugP_log("main20 resouce : %d %d\n",  resp.range_start, resp.range_num );
            // this is 16,6

            req.type = TISCI_DEV_MAIN_GPIOMUX_INTROUTER0;
            req.subtype = TISCI_RESASG_SUBTYPE_IR_OUTPUT;
            req.secondary_host = TISCI_HOST_ID_WKUP_0_R5_1;
            Sciclient_rmGetResourceRange(&req, &resp, 0xFFFFFFF);
            DebugP_log("wkup  resouce : %d %d\n",  resp.range_start, resp.range_num );

    ```

    main20 resouce : 16 6
    wkup resouce : 0 0

    wkup still not get any resource, could you help me to check what's wrong i made? thanks.

  • Hi,

    Could you please provide the rm-cfg.yaml that you have generated with these changes?

    Thanks,

    Neehar

  • Hi,

     here's the file , which i put in path "linux-adas-v11\board-support\ti-u-boot-2025.01+git\board\ti\j722s\"

    # SPDX-License-Identifier: GPL-2.0+
    # Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
    #
    # Resource management configuration for J722S
    #
    
    ---
    
    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: 20
                        allowed_atype: 0x2A
                        allowed_qos: 0xAAAA
                        allowed_orderid: 0xAAAAAAAA
                        allowed_priority: 0xAAAA
                        allowed_sched_priority: 0xAA
                    -  # 3
                        host_id: 22
                        allowed_atype: 0x2A
                        allowed_qos: 0xAAAA
                        allowed_orderid: 0xAAAAAAAA
                        allowed_priority: 0xAAAA
                        allowed_sched_priority: 0xAA
                    -  # 4
                        host_id: 30
                        allowed_atype: 0x2A
                        allowed_qos: 0xAAAA
                        allowed_orderid: 0xAAAAAAAA
                        allowed_priority: 0xAAAA
                        allowed_sched_priority: 0xAA
                    -  # 5
                        host_id: 36
                        allowed_atype: 0x2A
                        allowed_qos: 0xAAAA
                        allowed_orderid: 0xAAAAAAAA
                        allowed_priority: 0xAAAA
                        allowed_sched_priority: 0xAA
                    -  # 6
                        host_id: 38
                        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: 1200
                reserved: 0
        resasg_entries:
            -
                start_resource: 0
                num_resource: 12
                type: 192
                host_id: 12
                reserved: 0
            -
                start_resource: 12
                num_resource: 4
                type: 192
                host_id: 35
                reserved: 0
            -
                start_resource: 12
                num_resource: 4
                type: 192
                host_id: 36
                reserved: 0
            -
                start_resource: 16
                num_resource: 6
                type: 192
                host_id: 38
                reserved: 0
            -
                start_resource: 34
                num_resource: 2
                type: 192
                host_id: 30
                reserved: 0
            -
                start_resource: 0
                num_resource: 4
                type: 320
                host_id: 12
                reserved: 0
            -
                start_resource: 4
                num_resource: 4
                type: 320
                host_id: 30
                reserved: 0
            -
                start_resource: 12
                num_resource: 4
                type: 320
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 26
                type: 384
                host_id: 128
                reserved: 0
            -
                start_resource: 50176
                num_resource: 164
                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: 16
                type: 1677
                host_id: 12
                reserved: 0
            -
                start_resource: 16
                num_resource: 6
                type: 1677
                host_id: 20
                reserved: 0
            -
                start_resource: 16
                num_resource: 6
                type: 1677
                host_id: 36
                reserved: 0
            -
                start_resource: 22
                num_resource: 2
                type: 1677
                host_id: 30
                reserved: 0
            -
                start_resource: 24
                num_resource: 4
                type: 1677
                host_id: 22
                reserved: 0
            -
                start_resource: 28
                num_resource: 4
                type: 1677
                host_id: 38
                reserved: 0
            -
                start_resource: 57
                num_resource: 16
                type: 1678
                host_id: 12
                reserved: 0
            -
                start_resource: 73
                num_resource: 5
                type: 1678
                host_id: 20
                reserved: 0
            -
                start_resource: 73
                num_resource: 5
                type: 1678
                host_id: 36
                reserved: 0
            -
                start_resource: 78
                num_resource: 2
                type: 1678
                host_id: 30
                reserved: 0
            -
                start_resource: 80
                num_resource: 2
                type: 1678
                host_id: 38
                reserved: 0
            -
                start_resource: 32
                num_resource: 12
                type: 1679
                host_id: 12
                reserved: 0
            -
                start_resource: 44
                num_resource: 6
                type: 1679
                host_id: 20
                reserved: 0
            -
                start_resource: 44
                num_resource: 6
                type: 1679
                host_id: 36
                reserved: 0
            -
                start_resource: 50
                num_resource: 2
                type: 1679
                host_id: 30
                reserved: 0
            -
                start_resource: 52
                num_resource: 2
                type: 1679
                host_id: 38
                reserved: 0
            -
                start_resource: 54
                num_resource: 3
                type: 1679
                host_id: 128
                reserved: 0
            -
                start_resource: 0
                num_resource: 16
                type: 1696
                host_id: 12
                reserved: 0
            -
                start_resource: 16
                num_resource: 6
                type: 1696
                host_id: 20
                reserved: 0
            -
                start_resource: 16
                num_resource: 6
                type: 1696
                host_id: 36
                reserved: 0
            -
                start_resource: 22
                num_resource: 2
                type: 1696
                host_id: 30
                reserved: 0
            -
                start_resource: 24
                num_resource: 4
                type: 1696
                host_id: 22
                reserved: 0
            -
                start_resource: 28
                num_resource: 4
                type: 1696
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 16
                type: 1697
                host_id: 12
                reserved: 0
            -
                start_resource: 16
                num_resource: 5
                type: 1697
                host_id: 20
                reserved: 0
            -
                start_resource: 16
                num_resource: 5
                type: 1697
                host_id: 36
                reserved: 0
            -
                start_resource: 21
                num_resource: 2
                type: 1697
                host_id: 30
                reserved: 0
            -
                start_resource: 23
                num_resource: 2
                type: 1697
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 12
                type: 1698
                host_id: 12
                reserved: 0
            -
                start_resource: 12
                num_resource: 6
                type: 1698
                host_id: 20
                reserved: 0
            -
                start_resource: 12
                num_resource: 6
                type: 1698
                host_id: 36
                reserved: 0
            -
                start_resource: 18
                num_resource: 2
                type: 1698
                host_id: 30
                reserved: 0
            -
                start_resource: 20
                num_resource: 2
                type: 1698
                host_id: 38
                reserved: 0
            -
                start_resource: 22
                num_resource: 3
                type: 1698
                host_id: 128
                reserved: 0
            -
                start_resource: 7
                num_resource: 21
                type: 1802
                host_id: 12
                reserved: 0
            -
                start_resource: 44
                num_resource: 36
                type: 1802
                host_id: 35
                reserved: 0
            -
                start_resource: 44
                num_resource: 36
                type: 1802
                host_id: 36
                reserved: 0
            -
                start_resource: 84
                num_resource: 16
                type: 1802
                host_id: 20
                reserved: 0
            -
                start_resource: 100
                num_resource: 16
                type: 1802
                host_id: 22
                reserved: 0
            -
                start_resource: 154
                num_resource: 14
                type: 1802
                host_id: 38
                reserved: 0
            -
                start_resource: 168
                num_resource: 16
                type: 1802
                host_id: 30
                reserved: 0
            -
                start_resource: 17
                num_resource: 512
                type: 1805
                host_id: 12
                reserved: 0
            -
                start_resource: 529
                num_resource: 256
                type: 1805
                host_id: 35
                reserved: 0
            -
                start_resource: 529
                num_resource: 256
                type: 1805
                host_id: 36
                reserved: 0
            -
                start_resource: 785
                num_resource: 128
                type: 1805
                host_id: 30
                reserved: 0
            -
                start_resource: 913
                num_resource: 128
                type: 1805
                host_id: 20
                reserved: 0
            -
                start_resource: 1041
                num_resource: 128
                type: 1805
                host_id: 22
                reserved: 0
            -
                start_resource: 1169
                num_resource: 128
                type: 1805
                host_id: 38
                reserved: 0
            -
                start_resource: 1297
                num_resource: 239
                type: 1805
                host_id: 128
                reserved: 0
            -
                start_resource: 4096
                num_resource: 29
                type: 1807
                host_id: 128
                reserved: 0
            -
                start_resource: 4608
                num_resource: 99
                type: 1808
                host_id: 128
                reserved: 0
            -
                start_resource: 5120
                num_resource: 24
                type: 1809
                host_id: 128
                reserved: 0
            -
                start_resource: 5632
                num_resource: 51
                type: 1810
                host_id: 128
                reserved: 0
            -
                start_resource: 6144
                num_resource: 51
                type: 1811
                host_id: 128
                reserved: 0
            -
                start_resource: 8192
                num_resource: 32
                type: 1812
                host_id: 128
                reserved: 0
            -
                start_resource: 8704
                num_resource: 32
                type: 1813
                host_id: 128
                reserved: 0
            -
                start_resource: 9216
                num_resource: 32
                type: 1814
                host_id: 128
                reserved: 0
            -
                start_resource: 9728
                num_resource: 25
                type: 1815
                host_id: 128
                reserved: 0
            -
                start_resource: 10240
                num_resource: 25
                type: 1816
                host_id: 128
                reserved: 0
            -
                start_resource: 10752
                num_resource: 25
                type: 1817
                host_id: 128
                reserved: 0
            -
                start_resource: 11264
                num_resource: 25
                type: 1818
                host_id: 128
                reserved: 0
            -
                start_resource: 11776
                num_resource: 25
                type: 1819
                host_id: 128
                reserved: 0
            -
                start_resource: 12288
                num_resource: 25
                type: 1820
                host_id: 128
                reserved: 0
            -
                start_resource: 0
                num_resource: 1
                type: 1923
                host_id: 128
                reserved: 0
            -
                start_resource: 0
                num_resource: 10
                type: 1936
                host_id: 12
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1936
                host_id: 35
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1936
                host_id: 36
                reserved: 0
            -
                start_resource: 13
                num_resource: 3
                type: 1936
                host_id: 30
                reserved: 0
            -
                start_resource: 16
                num_resource: 3
                type: 1936
                host_id: 38
                reserved: 0
            -
                start_resource: 19
                num_resource: 64
                type: 1937
                host_id: 12
                reserved: 0
            -
                start_resource: 19
                num_resource: 64
                type: 1937
                host_id: 36
                reserved: 0
            -
                start_resource: 83
                num_resource: 8
                type: 1938
                host_id: 12
                reserved: 0
            -
                start_resource: 91
                num_resource: 8
                type: 1939
                host_id: 12
                reserved: 0
            -
                start_resource: 99
                num_resource: 10
                type: 1942
                host_id: 12
                reserved: 0
            -
                start_resource: 109
                num_resource: 3
                type: 1942
                host_id: 35
                reserved: 0
            -
                start_resource: 109
                num_resource: 3
                type: 1942
                host_id: 36
                reserved: 0
            -
                start_resource: 112
                num_resource: 3
                type: 1942
                host_id: 30
                reserved: 0
            -
                start_resource: 115
                num_resource: 3
                type: 1942
                host_id: 38
                reserved: 0
            -
                start_resource: 118
                num_resource: 16
                type: 1943
                host_id: 12
                reserved: 0
            -
                start_resource: 118
                num_resource: 16
                type: 1943
                host_id: 36
                reserved: 0
            -
                start_resource: 134
                num_resource: 8
                type: 1944
                host_id: 12
                reserved: 0
            -
                start_resource: 134
                num_resource: 8
                type: 1945
                host_id: 12
                reserved: 0
            -
                start_resource: 142
                num_resource: 8
                type: 1946
                host_id: 12
                reserved: 0
            -
                start_resource: 142
                num_resource: 8
                type: 1947
                host_id: 12
                reserved: 0
            -
                start_resource: 0
                num_resource: 10
                type: 1955
                host_id: 12
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1955
                host_id: 35
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1955
                host_id: 36
                reserved: 0
            -
                start_resource: 13
                num_resource: 3
                type: 1955
                host_id: 30
                reserved: 0
            -
                start_resource: 16
                num_resource: 3
                type: 1955
                host_id: 38
                reserved: 0
            -
                start_resource: 19
                num_resource: 8
                type: 1956
                host_id: 12
                reserved: 0
            -
                start_resource: 19
                num_resource: 8
                type: 1956
                host_id: 36
                reserved: 0
            -
                start_resource: 27
                num_resource: 1
                type: 1957
                host_id: 12
                reserved: 0
            -
                start_resource: 28
                num_resource: 1
                type: 1958
                host_id: 12
                reserved: 0
            -
                start_resource: 0
                num_resource: 10
                type: 1961
                host_id: 12
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1961
                host_id: 35
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1961
                host_id: 36
                reserved: 0
            -
                start_resource: 13
                num_resource: 3
                type: 1961
                host_id: 30
                reserved: 0
            -
                start_resource: 16
                num_resource: 3
                type: 1961
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 10
                type: 1962
                host_id: 12
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1962
                host_id: 35
                reserved: 0
            -
                start_resource: 10
                num_resource: 3
                type: 1962
                host_id: 36
                reserved: 0
            -
                start_resource: 13
                num_resource: 3
                type: 1962
                host_id: 30
                reserved: 0
            -
                start_resource: 16
                num_resource: 3
                type: 1962
                host_id: 38
                reserved: 0
            -
                start_resource: 19
                num_resource: 1
                type: 1963
                host_id: 12
                reserved: 0
            -
                start_resource: 19
                num_resource: 1
                type: 1963
                host_id: 36
                reserved: 0
            -
                start_resource: 19
                num_resource: 16
                type: 1964
                host_id: 12
                reserved: 0
            -
                start_resource: 19
                num_resource: 16
                type: 1964
                host_id: 36
                reserved: 0
            -
                start_resource: 20
                num_resource: 1
                type: 1965
                host_id: 12
                reserved: 0
            -
                start_resource: 35
                num_resource: 8
                type: 1966
                host_id: 12
                reserved: 0
            -
                start_resource: 21
                num_resource: 1
                type: 1967
                host_id: 12
                reserved: 0
            -
                start_resource: 35
                num_resource: 8
                type: 1968
                host_id: 12
                reserved: 0
            -
                start_resource: 22
                num_resource: 1
                type: 1969
                host_id: 12
                reserved: 0
            -
                start_resource: 43
                num_resource: 8
                type: 1970
                host_id: 12
                reserved: 0
            -
                start_resource: 23
                num_resource: 1
                type: 1971
                host_id: 12
                reserved: 0
            -
                start_resource: 43
                num_resource: 8
                type: 1972
                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: 51200
                num_resource: 80
                type: 12738
                host_id: 128
                reserved: 0
            -
                start_resource: 0
                num_resource: 1
                type: 12739
                host_id: 128
                reserved: 0
            -
                start_resource: 8
                num_resource: 32
                type: 12750
                host_id: 12
                reserved: 0
            -
                start_resource: 8
                num_resource: 32
                type: 12750
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 8
                type: 12751
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 32
                type: 12769
                host_id: 12
                reserved: 0
            -
                start_resource: 0
                num_resource: 32
                type: 12769
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 8
                type: 12770
                host_id: 38
                reserved: 0
            -
                start_resource: 0
                num_resource: 2
                type: 12810
                host_id: 12
                reserved: 0
            -
                start_resource: 2
                num_resource: 2
                type: 12810
                host_id: 20
                reserved: 0
            -
                start_resource: 4
                num_resource: 2
                type: 12810
                host_id: 22
                reserved: 0
            -
                start_resource: 22
                num_resource: 18
                type: 12810
                host_id: 38
                reserved: 0
            -
                start_resource: 12288
                num_resource: 56
                type: 12813
                host_id: 12
                reserved: 0
            -
                start_resource: 12344
                num_resource: 48
                type: 12813
                host_id: 20
                reserved: 0
            -
                start_resource: 12392
                num_resource: 48
                type: 12813
                host_id: 22
                reserved: 0
            -
                start_resource: 12440
                num_resource: 64
                type: 12813
                host_id: 38
                reserved: 0
            -
                start_resource: 1536
                num_resource: 8
                type: 12823
                host_id: 128
                reserved: 0
            -
                start_resource: 2048
                num_resource: 8
                type: 12824
                host_id: 128
                reserved: 0
            -
                start_resource: 2560
                num_resource: 8
                type: 12825
                host_id: 128
                reserved: 0
            -
                start_resource: 3072
                num_resource: 32
                type: 12826
                host_id: 128
                reserved: 0
            -
                start_resource: 3584
                num_resource: 32
                type: 12827
                host_id: 128
                reserved: 0
            -
                start_resource: 4096
                num_resource: 32
                type: 12828
                host_id: 128
                reserved: 0
    

  • Hi,

    Thanks, I am looking through this. Are the only changes you made moving all 4 resources from Linux A core to WKUP R5?

    i copy updated mcu_plus_sdk_j722s_11_00_00_12/examples/drivers/boot/sbl_sd/j722s-evm/wkup-r5fss0-0_nortos/ti-arm-clang/tiboot3.bin  to sdcard BOOT partition to replaced the prebuilt one, linux cant boot, only wakeup mcu print

    With the updated steps, do you still have issues with Linux boot?

    Thanks,

    Neehar

  • Hi,

       not work as i described above, could you help to check what's wrong here? thanks.

  • Hi,

    Could you please confirm the only changes you made to the rm allocations moving all 4 WKUP GPIO Interrupt Router resources from Linux A core to WKUP R5?

    Thanks,

    Neehar

  • Hi,

     yes, you can compare it to origin sdk code.

  • Hi,

    Can you test with the following rm-cfg.yaml file?

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/2234.rm_2D00_cfg.yaml

    Additionally, can you provide the logs from running 'make u-boot'?

    Thanks,

    Neehar