From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 03 Nov 2006 10:10:12 -0500 Subject: [U-Boot-Users] implementation of lowboot for pq2fads-zu board In-Reply-To: <1162562720.27274.74.camel@saruman.qstreams.net> References: <7156253.post@talk.nabble.com> <1162562720.27274.74.camel@saruman.qstreams.net> Message-ID: <454B5BD4.3010006@smiths-aerospace.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ben Warren wrote: > Nethra, > > On Fri, 2006-11-03 at 04:03 -0800, Nethra wrote: > >> kindly suggest the changes to be done. >> >> >> 2. if i want do changes in u-boot-1.1.1for custom board what are all the >> changes to be done. >> >> thanks >> Nethra > > Here are the initial steps. Once you've completed them, feel free to > post follow-on questions: > > 1. The U-boot code that you have is old. Please get the latest, > nominally version 1.1.6, which is available at > git://www.denx.de/git/u-boot.git > > You'll need to install and learn the 'git' source code control > application. I'd explain how, but you'll learn much more if you figure > it out for yourself. Google will help you here. OK, here's one link: > http://www.kernel.org/pub/software/scm/git/docs/everyday.html#Individual > %20Developer%20(Participant) > > 2. Read the excellent documentation at > http://www.denx.de/wiki/DULG/Manual > > 3. Read the README that accompanies the U-boot code. There is a section > on code porting that will be useful. There is also lots of > documentation in the /doc directory, some of which may be helpful to > you. > > 4. Read and understand the source code for the 'pq2fads' board that your > custom board is based on. > > regards, > Ben Do all of the above, then when you make your configuration, use the PQ2FADS-ZU_lowboot_config: $ make PQ2FADS-ZU_lowboot_config Look at the top level Makefile to see what it is doing, it is putting some customizing stuff in the include/config.h file (make the configuration and then look in the config.h file). You need to switch a jumper J7 to short pins 1-2 (default is 2-3) to switch from fetching the HRCW from the BCSR register to fetching the HRCW from flash. DON'T erase the high boot version of u-boot - by switching the jumper J7 back, you can recover from loading a bad u-boot in the lowboot position by reloading a good lowboot u-boot. DAMHIKT. gvb