From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ryser Date: Mon, 21 Mar 2005 22:51:40 -0800 Subject: [U-Boot-Users] more on booting uboot from flash on a memec evaluation board In-Reply-To: <1111420119l.20542l.2l@ipnnarval> References: <20050318173251.1EBFAC1510@atlas.denx.de> <1111397855l.19618l.0l@ipnnarval> <1111420119l.20542l.2l@ipnnarval> Message-ID: <423FC07C.5050200@xilinx.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Keep in mind that the ML300 board is "special" because it does not have flash on the board and always "boots" from System ACE CF. To make use of u-boot on that board an ACE file containing u-boot is loaded by System ACE CF into main memory and u-boot is started from there. The IIC EEPROM on the board is used as storage space for the environment. - Peter grave wrote: > 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 > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > >