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.

PROCESSOR-SDK-J722S: Vision Apps on J722S with 2GB DDR

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

Tool/software:

Hello,

When I tried this patches to apply it for J722S SoC with required modifications, I saw that the functions in the relevant main.c files in the patches were different for J722S.

Such as, this function doesn't exist in main.c files for J722S:

retVal = Mmu_map(DDR_C7X_1_LOCAL_HEAP_VADDR, DDR_C7X_1_LOCAL_HEAP_VADDR, DDR_C7X_1_LOCAL_HEAP_SIZE, &attrs, is_secure)

How to edit and apply patches to J722S for running vision apps with 2GB DDR?

Thank you.

  • Hi Alp,

    J722s syscfg files to generate the init codes which will be there in the c7x_1/generated/

    You have to change the mmu mapping inside $(psdkra)/vision_apps/platform/j722s/rtos/c7x_1/example.syscfg 

    check for similar entry from app_mem_map.h and .syscfg and manually change the address values.

    Similar steps has to be done for r5f as well mpu_cfg and rat config is taken from syscfg file.

    Regards,
    Gokul