1 Q. Did you find this message when the firmware compiled?
3 obj/bluetank.elf section `.text' will not fit in region `MEM_L1_CODE'
5 A. Please fix the linker script for BF592!
7 /opt/uClinux2011R1RC4/bfin-elf/bfin-elf/lib/bf592.ld
10 MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x4000
11 MEM_L1_CODE_CACHE : ORIGIN = 0xFFA04000, LENGTH = 0x4000
14 MEM_L1_CODE : ORIGIN = 0xFFA00000, LENGTH = 0x8000
16 BF592 doesn't have any cache.
17 MEM_L1_CODE_CACHE is wrong.