From: grave Date: Mon, 21 Mar 2005 15:48:39 +0000 Subject: [U-Boot-Users] more on booting uboot from flash on a memec evaluation board In-Reply-To: <1111397855l.19618l.0l@ipnnarval> (from grave@ipno.in2p3.fr on Mon Mar 21 10:37:35 2005) References: <20050318173251.1EBFAC1510@atlas.denx.de> <1111397855l.19618l.0l@ipnnarval> Message-ID: <1111420119l.20542l.2l@ipnnarval> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de More information on our design : We have 32 MB of RAM @ 0x00000000 A flash system @ 0x0300000 I have copied the ml300 design and change a few things : monitor address goes from 0x04000000 to 0x01000000 in ml300.h the same in config.mk I put the uboot.srec file in the flash memory and I setup the following code to jump to 0x03000100 file depart.s : .section ".boot","ax" .align 2 .globl _boot .type _boot, at function _boot: b _uboot file suite.s : .section ".text" align 2 .globl _uboot .type _uboot, at function _uboot: lis 0,0x300 ori 0,0,256 mtlr 0 blrl ld script : ENTRY(_boot) SECTIONS { .text 0xffff8000 : { *(.text) ??} .boot 0xfffffffc : { *(.boot) } } the small code generated is used to boot the ppc with the xilinx edk. uboot doesn't seem to boot, what I have done wrong ? xavier