Hi all,
I use default linker files, so .bss is between .text.1 and initialized section(.text .data). So the bin size is too big(usb buffer 2M).
My questions:
How to write cmd to reallocate section?
How is .bss(initialized) cleared when booting?
run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
40400000 40400000 00010000 00000000 rw-
40400000 40400000 00010000 00000000 rw- .stack
80000000 80000000 000000c0 000000c0 r-x
80000000 80000000 00000090 00000090 r-x _c_int00
80000090 80000090 00000030 00000030 r-x .text.1
800000c0 800000c0 00251270 00000000 rw-
800000c0 800000c0 00251270 00000000 rw- .bss
80251330 80251330 00022cd0 00022cd0 r-x
80251330 80251330 0002109c 0002109c r-x .text.2
802723cc 802723cc 00001c34 00001c34 r-- .const.1
80274000 80274000 00004000 00000000 rw-
80274000 80274000 00004000 00000000 rw- ti.sysbios.family.arm.a8.mmuTableSection
80278000 80278000 00000781 00000781 r--
80278000 80278000 00000781 00000781 r-- .const.2
80278788 80278788 000020e0 000020e0 rw-
80278788 80278788 000020e0 000020e0 rw- .data
8027ac00 8027ac00 00000950 00000950 r--
8027ac00 8027ac00 00000040 00000040 r-- .vecs
8027ac40 8027ac40 00000910 00000910 r-- .cinit
Regards,
Lusheng