<div dir="ltr">Hai,<div><span style="font-size:12.8px">Hai,</span><div style="font-size:12.8px">I am using IBM PPC440GX board.In arch/powerpc/cpu/ppc4xx/u-boot.lds i am usig the below details but MEMORY function failure coming. i am adding the file .</div><div style=""><div style=""><span style="font-size:12.8px">/*</span></div><div style=""><span style="font-size:12.8px"> * Copyright 2007-2009 Freescale Semiconductor, Inc.</span></div><div style=""><span style="font-size:12.8px"> *</span></div><div style=""><span style="font-size:12.8px"> * SPDX-License-Identifier:<span class="" style="white-space:pre"> </span>GPL-2.0+</span></div><div style=""><span style="font-size:12.8px"> */</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">#include "config.h"<span class="" style="white-space:pre"> </span>/* CONFIG_BOARDDIR */</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">#ifndef RESET_VECTOR_ADDRESS</span></div><div style=""><span style="font-size:12.8px">#ifdef CONFIG_RESET_VECTOR_ADDRESS</span></div><div style=""><span style="font-size:12.8px">#define RESET_VECTOR_ADDRESS<span class="" style="white-space:pre"> </span>CONFIG_RESET_VECTOR_ADDRESS</span></div><div style=""><span style="font-size:12.8px">#else</span></div><div style=""><span style="font-size:12.8px">#define RESET_VECTOR_ADDRESS<span class="" style="white-space:pre"> </span>0xfffffff0</span></div><div style=""><span style="font-size:12.8px">#endif</span></div><div style=""><span style="font-size:12.8px">#endif</span></div><div style=""><span style="font-size:12.8px">MEMORY</span></div><div style=""><span style="font-size:12.8px">{</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>flash_start : ORIGIN = 0xfffBC000, <span class="" style="white-space:pre"> </span>LENGTH = 0x42F00</span></div><div style=""><span style="font-size:12.8px"> flash_memory_start : ORIGIN = 0xFFFFF000, <span class="" style="white-space:pre"> </span>LENGTH = 0x0FDF</span></div><div style=""><span style="font-size:12.8px"> reset_init : ORIGIN = 0xFFFFFFF0, LENGTH = 0x0010</span></div><div style=""><span style="font-size:12.8px"> isram : ORIGIN = 0x44780000, LENGTH = 1M</span></div><div style=""><span style="font-size:12.8px">}</span></div><div style=""><span style="font-size:12.8px">OUTPUT_ARCH(powerpc)</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px">PHDRS</span></div><div style=""><span style="font-size:12.8px">{</span></div><div style=""><span style="font-size:12.8px"> text PT_LOAD;</span></div><div style=""><span style="font-size:12.8px"> bss PT_LOAD;</span></div><div style=""><span style="font-size:12.8px">}</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><br></div><div style=""><span style="font-size:12.8px">SECTIONS</span></div><div style=""><span style="font-size:12.8px">{</span></div><div style=""><span style="font-size:12.8px">#ifdef CONFIG_440</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>.bootpg 0xfffff000 :</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>{</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>arch/powerpc/cpu/ppc4xx/start.o<span class="" style="white-space:pre"> </span>(.bootpg)</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>/*</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span> * PPC440 board need a board specific object with the</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span> * TLB definitions. This needs to get included right after</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span> * start.o, since the first shadow TLB only covers 4k</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span> * of address space.</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span> */</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>CONFIG_BOARDDIR/init.o<span class="" style="white-space:pre"> </span>(.bootpg)</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>} > flash_memory_start</span></div><div style=""><span style="font-size:12.8px">#endif</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>.resetvec 0xFFFFFFF0 :</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>{</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>KEEP(*(.resetvec))</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>} > flash_start</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>.text :</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>{</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>__start = .;</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>arch/powerpc/cpu/ppc4xx/start.o<span class="" style="white-space:pre"> </span>(.text)</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>CONFIG_BOARDDIR/init.o<span class="" style="white-space:pre"> </span>(.text)</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>*(.text*)</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>} > flash_start</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>. = ALIGN(4);</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>.data : { *(SORT_BY_ALIGNMENT(.data*)) } > flash_start</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>. = ALIGN(4);</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>.rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } > flash_start</span></div><div style=""><span style="font-size:12.8px"><br></span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>.bss :</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>{</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>. = ALIGN(4);</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>__bss_start = .;</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>*(.bss*)</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>. = ALIGN(4);</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>__bss_end = .;</span></div><div style=""><span style="font-size:12.8px"><span class="" style="white-space:pre"> </span>} > isram</span></div><div style=""><span style="font-size:12.8px">}</span></div><div style="font-size:12.8px"><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks & Regards,</div><div dir="ltr">RamaChandra PC</div><div><span style="font-size:12.8px">+918892147159.</span><br></div></div></div></div></div>
</div></div>