Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Information:
Platform: J784S4XG01EVM
SDK: ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08
SYSCONFIG Version: 1.24.1.4189
Host: Ubuntu 22.04.5 LTS
Problem:
In order to add GPIO resource to c7x cores, we updated "Main GPIO Interrupt router Count" value as 4 (default value is 0) with SYSCONFIG. We tried to build U-Boot with the updated rm-cfg.yaml file using top level Makefile inside ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08 installation directory. Build fails with below error.
binman: Node '/binman/combined-dm-cfg/ti-board-config/rm-cfg': Schema validation error: ... Failed validating 'maxItems' in schema['properties']['rm-cfg']['properties']['resasg_entries']: {'type': 'array', 'minItems': 0, 'maxItems': 468,
Since we added a new configuration item to rm-cfg and increased maxItems value as 469 with our change, ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08/board-support/ti-u-boot-2025.01+git/arch/arm/mach-k3/schema.yaml file breaks the build since it expects maxItems as 468. How to fix this error? Increasing (patching) the maxItems value as 469 might be a bad idea if this number is hardcoded somewhere else inside binman prebuilt binaries.
Steps to Reproduce:
- Follow FAQ ticket to open k3-respart-tool.
- Select C7X_0_1 from left menu. Update "Main GPIO Interrupt router Count" inside "Interrupt routers" section as 4.
- Save updated rm-cfg.yaml file.
- Copy and replace the original rm-cfg.yaml file inside ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08/board-support/ti-u-boot-2025.01+git/board/ti/j784s4/ with the updated one.
- Build U-Boot with top level Makefile inside ti-processor-sdk-linux-adas-j784s4-evm-11_00_00_08 directory with "make u-boot"