how to change bss section address in u-boot.lds file
Rama Chandra
pc.ramachandra at gmail.com
Thu May 26 22:01:08 AEST 2016
Hai,
I am using IBM PPC440GX board.In arch/powerpc/cpu/ppc4xx/u-boot.lds i am
changing the values of resetvector and BSS addresses but it is not changing
Presently i am changed
#if (RESET_VECTOR_ADDRESS == 0xfffffff0)
. |= 44780000;
#endif
#endif /* CONFIG_SPL */
__bss_start = .;
.bss (NOLOAD) :
Actually Below detalis i am using in MULTI. But those are not changing in
Uboot.
MEMORY {
Flash_memory : ORIGIN = 0xfffBC000, LENGTH = 0x7000
Flash_memory_start : ORIGIN = 0xFFFFF000, LENGTH = 0x0FDF
reset_init : ORIGIN = 0xFFFFFFF0, LENGTH = 0x0010
ram_main : ORIGIN = 0x44780000, LENGTH = 1M
}
DEFAULTS {
heap_reserve = 32k
stack_reserve = 32K
}
SECTIONS
{
.PPC.EMB.sdata0 ABS : > Flash_memory
.PPC.EMB.sbss0 CLEAR ABS : > .
.vectors :> Flash_memory_start
.control : {*(.control)} > Flash_memory_start
.prefetch : {*(.prefetch)} > .
.reset_vec : {*(.reset_vec)} > reset_init
.text : > Flash_memory
.vletext : > .
.syscall : > .
.secinfo : > .
.rodata : > .
.textprefetch : {*(.textprefetch)} > .
.sdata2 : > ram_main
.fixaddr : > .
.fixtype : > .
.sdabase ALIGN(16) : > ram_main
.sdata : > ram_main
.sbss : > .
.data : > .
.bss : > .
.heap ALIGN(16) PAD(heap_reserve) : > .
.stack ALIGN(16) PAD(stack_reserve) : > .
INTR_VECTOR_START = ADDR(.vectors);
}
--
Thanks & Regards,
RamaChandra PC
+918892147159.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160526/61cfa96d/attachment.html>
More information about the Linuxppc-dev
mailing list