Hai, Hai, 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 . /* * Copyright 2007-2009 Freescale Semiconductor, Inc. * * SPDX-License-Identifier: GPL-2.0+ */
#include "config.h" /* CONFIG_BOARDDIR */ #ifndef RESET_VECTOR_ADDRESS #ifdef CONFIG_RESET_VECTOR_ADDRESS #define RESET_VECTOR_ADDRESS CONFIG_RESET_VECTOR_ADDRESS #else #define RESET_VECTOR_ADDRESS 0xfffffff0 #endif #endif MEMORY { flash_start : ORIGIN = 0xfffBC000, LENGTH = 0x42F00 flash_memory_start : ORIGIN = 0xFFFFF000, LENGTH = 0x0FDF reset_init : ORIGIN = 0xFFFFFFF0, LENGTH = 0x0010 isram : ORIGIN = 0x44780000, LENGTH = 1M } OUTPUT_ARCH(powerpc) PHDRS { text PT_LOAD; bss PT_LOAD; } SECTIONS { #ifdef CONFIG_440 .bootpg 0xfffff000 : { arch/powerpc/cpu/ppc4xx/start.o (.bootpg) /* * PPC440 board need a board specific object with the * TLB definitions. This needs to get included right after * start.o, since the first shadow TLB only covers 4k * of address space. */ CONFIG_BOARDDIR/init.o (.bootpg) } > flash_memory_start #endif .resetvec 0xFFFFFFF0 : { KEEP(*(.resetvec)) } > flash_start .text : { __start = .; arch/powerpc/cpu/ppc4xx/start.o (.text) CONFIG_BOARDDIR/init.o (.text) *(.text*) } > flash_start . = ALIGN(4); .data : { *(SORT_BY_ALIGNMENT(.data*)) } > flash_start . = ALIGN(4); .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } > flash_start .bss : { . = ALIGN(4); __bss_start = .; *(.bss*) . = ALIGN(4); __bss_end = .; } > isram } -- Thanks & Regards, RamaChandra PC +918892147159.
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev