From: Fabio Giovagnini Date: Mon, 8 Feb 2010 09:46:13 +0100 Subject: [U-Boot] Problem to link u-boot for sh2a 7203 In-Reply-To: <29ab51dc1002080010i4532add1q12e71751f8615c5b@mail.gmail.com> References: <201002061124.41572.fabio.giovagnini@aurion-tech.com> <29ab51dc1002080010i4532add1q12e71751f8615c5b@mail.gmail.com> Message-ID: <201002080946.13967.fabio.giovagnini@aurion-tech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thank a lot. Do I have to use --change-start or --change-section-address Thanks Alle 09:10, luned? 8 febbraio 2010, Nobuhiro Iwamatsu ha scritto: > Hi, > > 2010/2/6 Fabio Giovagnini : > > Hi All, > > I can compile u-boot for rsk7203_config. > > But into the file board/renesas/rsk7203/config.mk > > > > TEXT_BASE = 0x0C7C0000 > > > > and if I read u-boot.srec that is the result of building process I see > > that the address spce of the code is starting from 0x0C7C0000 > > > > On my board I have 32 bit SDRAM at such an address, and even if I could > > uxecute the program using an emulator initializing in place of me the > > BSC, how can I flash at 0x00000000 (start address of NOR flash) my > > bootloader? How can I link the loader so that I can flash the code into > > my NOR flash and using a part of SDRAM I have to run the bootloader? > > Could you check doc/README.sh ? > > ** README ** > In SuperH, S-record and binary of made u-boot work on the memory. > When u-boot is written in the flash, it is necessary to change the > address by using 'objcopy'. > ex) shX-linux-objcopy -Ibinary -Osrec u-boot.bin u-boot.flash.srec > > Best regards, > Nobuhiro -- Fabio Giovagnini Aurion s.r.l. CF e P.IVA 00885711200 Tel. +39.051.594.78.24 Cell. +39.335.8350919 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini