Hello NXP Community,
I am currently working on some customizations to the System Controller Firmware and I wanted to debug it using the SCFW Debug Monitor Feature. I am using the imx-scfw-porting-kit-1.14.0.
When I try to make the scfw using
make clean; make SOC=MX8QM B=apalis DL=3 R=b0 M=1 qm
I get the following Error:
../arm-none-eabi/bin/ld: build_mx8qm_b0/scfw_tcm.elf section `.rodata' will not fit in region `m_text'
../arm-none-eabi/bin/ld: region m_text overflowed with initialized data
../arm-none-eabi/bin/ld: section .emul VMA [000000002000fff0,000000002000ffff] overlaps section .rodata VMA [0000000020007b98,0000000020012547]
../arm-none-eabi/bin/ld: section .fini_array VMA [0000000020012548,000000002001257f] overlaps section .bss VMA [0000000020010280,000000002001a9ff]
../arm-none-eabi/bin/ld: region `m_text' overflowed by 9616 bytes
I have tried to tinker around with the linker script, allowing the m_text section some more space, doing so the board doesn't seem to boot anymore.
Is there a fix for this issue?
Hi @_silken_
Maybe too many things added in your SCFW caused the image size to be too large. The size of m_text is set according to the memory size in SCFW, and there is no way to adjust it. You can try to add a little less code. For example: print less.
Best regards
Harvey