Hello. I am using ARMv8 foundation model for my project. When configure foundation model with multi cores (cores=4) my code does not run. Can you lease help me solve this problem?
Yes, it's indeed dtc issue.
It could be more related to the path and how the files are included.
relative vs absolute paths ? Mainline kernel and boot-wrapper works out of box.
It could be some issue with that specific bootwrapper.
The bootwrapper now decompiles the one build in the kernel and modifies it.
( dtc -O dts -I dtb build/arch/arm64/boot/dts/arm/foundation-v8.dtb ; echo "/ { chosen { bootargs = \"root=/dev/vda1 rootwait consolelog=9 rw console=ttyAMA0; }; };" ) | dtc -O dtb -o fdt.dtb -
This specific wrapper deals with dts in almost the same way by using dts but dtb.
And FDT_SRC is assigned to foundation-v8.dts. So this specific wrapper seems to resemble the one you mentioned at least at this point. Actually I have adapted the common boot-wrapper to the new dts directory, still it failed and gave no error info.
I wonder if this booting method is rather old fashioned and out of favor, should I adopt Linaro's approach which could be found in Linaro's deliverables? Thank you so much!