From: Wolfgang Denk Date: Tue, 23 Nov 2004 18:18:19 +0100 Subject: [U-Boot-Users] CONFIG_BOOTBINFUNC for AT91RM9200 In-Reply-To: Your message of "Tue, 23 Nov 2004 17:51:12 +0100." <41A36A80.2070608@imc-berlin.de> Message-ID: <20041123171825.053EDC1430@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <41A36A80.2070608@imc-berlin.de> you wrote: > > > I wish that code was never written. > Why is that so bad? It makes it possible to debug U-Boot with just loading the > image into RAM using BDI2000. Which is an unsupported mode of operation which works for a handfull of experts and causes confusion with many, many newbees. > But how would you debug U-Boot? As I always do. Attach the BDI, burn to flash, start in GDB. > I though the common way is to disabled relocation and memsetup, load that U-Boot > image with an BDI2000 into RAM and execute it - skipping the init code... No. This is not the way things should be done. You can do this if you know exactly what you're doing, but it does not help you nor will it save you any time. On contrary. It will cost additional time. Anyway, this is a FAQ, so please RTFM. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Consultants are mystical people who ask a company for a number and then give it back to them.