Hello.
Your code in mcsdk_2_01_02_06/tools/boot_loader/mad-utils/mad-loader/mal/malLib/malApis/mal_lib_file_utils.c
have huge bug.
If I have deloyment.json for 8 cores with this config for each:
{
"name" : "coreN",
"fileName" : "core_N.out",
"allowedCores" : [0,1,2,3,4,5,6,7]
}
than I have 8 entries for all cores in your romfs, with 8 "arCore0cor" for each core. It's 72 in total.
Plus 5 items for ".", "..", "nml", "mal_app" and "appdep". It's 77 in total.
But you make #define MAX_FILENODES 50
and mal_app exit by error from mal_lib_file_utils.c:248 if (next_node_idx == MAX_FILENODES) return -20;
What the *** is that? Did you hear something about dynamic memory allocation?
Why romfs contain all 64 entries if no more than 8 can be in use??