From: Wolfgang Denk Date: Mon, 31 Jan 2005 20:22:39 +0100 Subject: [U-Boot-Users] new port/code location In-Reply-To: Your message of "Mon, 31 Jan 2005 18:20:36 +0100." <20050131172035.GC14717@scorpius.homelinux.org> Message-ID: <20050131192244.A6166C108D@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 <20050131172035.GC14717@scorpius.homelinux.org> you wrote: > > 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 Why do you need special code to do this? The same can be done using existing commands and a few lines (actually one longer line) of U-Boot commands (probably you want to activate the hush shell as command parser for this). > The question is if this is acceptable and if not, what would be a better > location to obtain the same effect. No, this is not acceptable. I don;t want to have board specific code there, especially not when it's not necessary. 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 One essential to success is that you desire be an all-obsessing one, your thoughts and aims be co-ordinated, and your energy be concentra- ted and applied without letup.