From: Marc Leeman Date: Mon, 31 Jan 2005 18:20:36 +0100 Subject: [U-Boot-Users] new port/code location Message-ID: <20050131172035.GC14717@scorpius.homelinux.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de We have a port of a PPC 8245 based board and I would want to send a patch upstream with the board support files. I still need to port it to the 1.1.2 release in CVS, but I have one main question. At the end of the initialisation (before the main_loop()), we shortcut to our own boot sequence barcbcd_boot(); The boot code reads a number of bytes from a location from flash, and based on the values of these bytes, we boot the kernel locate 0xA or 0xB (after updating the value in flash). The practical effect is: try this kernel (and configuration); if it fails, an external source resets the PPC and we'll boot a version we know will work the next time around. The only code changed in lib_ppc/board.c are: #ifdef CONFIG_BARCOBCD_STREAMING barcobcd_boot(); #endif The question is if this is acceptable and if not, what would be a better location to obtain the same effect. -- greetz, marc I'm Butch. This is Sundance. Crichton - Til the Blood Runs Clear scorpius 2.6.10 #1 Mon Dec 27 13:05:02 CET 2004 GNU/Linux -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20050131/04f27890/attachment.pgp