From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Bezanson Date: Sun, 23 Nov 2003 13:44:38 -0500 Subject: [U-Boot-Users] Binary file cat In-Reply-To: <20031123155113.A17E9C5F5F@atlas.denx.de> Message-ID: <005e01c3b1f1$dc912400$e199fea9@amlp> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks, I'll give that a try. I should have clarified "my processor" a little more. It's a Cirrus Logic EP9312 and yes indeed there is a boot rom internal to the processor that does these checks for a signature that I've put in this header. Essentially it's a way for it to determine if there's a valid image in flash to boot from, otherwise it tries to boot from other interfaces. I certainly didn't want to do a global change to a Makefile for something like this. Regards, Adam -----Original Message----- From: wd@denx.de [mailto:wd at denx.de] Sent: Sunday, November 23, 2003 10:51 AM To: Adam Bezanson Cc: u-boot-users at lists.sourceforge.net Subject: Re: [U-Boot-Users] Binary file cat Dear Adam, in message <002301c3b0bc$19651120$e199fea9@amlp> you wrote: > > I have ported u-boot to my arm920t based system. I have a unique > situation in that my processor requires a binary header to be placed Your _processor_? I never head something like that. Are you sure it's not another existing boot loader on your system? > Currently I have the header file as a separate file in the root ... > I don't have to run this script every time. Before I go editing a > top-level Makefile, I wanted to ask for advice on how I should go > About doing this? Anything I can do in my board-specific directory would > make me feel better. Me too, and it's actually easier that way. trun your binary header in an object file and edit the linker script for your board to load this object first. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "I've finally learned what `upward compatible' means. It means we get to keep all our old mistakes." - Dennie van Tassel