From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ira Snyder Date: Fri, 31 Oct 2008 09:02:53 -0700 Subject: [U-Boot] U-boot support for Non Console board In-Reply-To: <20081031122514.GA30935@game.jcrosoft.org> References: <843260.87725.qm@web50008.mail.re2.yahoo.com> <20081031112632.64E13874F93F@gemini.denx.de> <490AF4A9.9080508@ge.com> <20081031122514.GA30935@game.jcrosoft.org> Message-ID: <20081031160253.GO12879@ovro.caltech.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Oct 31, 2008 at 01:25:14PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 08:06 Fri 31 Oct , Jerry Van Baren wrote: > > Wolfgang Denk wrote: > > > Dear rajeev s, > > > > > > In message <843260.87725.qm@web50008.mail.re2.yahoo.com> you wrote: > > >> We have a custom board based on coldfire (MCF5484) Similar to MCF5484 Kitlite > > >> The board runs Coldfire as PCI agent , 64MB of SDRAM, 4 MB of Bootflash and the PCI bus as a slave (no serial > > >> port->no console) > > >> I can flash U-boot using the JTAG . Can you let know how can i pass the Commands over PCI . > > >> I do not have a Console to do that ? [snip] > > > > I have not googled, I'm sure many people have done this before. Maybe > > you will get lucky and someone will have published source under a GPL > > (compatible) license. > IIRC I've seen this in the Prism54 driver > I'm currently working on a custom board based on MPC8349EMDS. It works in PCI agent mode. I have written a Linux driver that implements both ethernet and a uart over the PCI bus. I don't think it would be hard to port to your board. Search the linuxppc-dev or LKML archives for the patch. The subject is "net: add PCINet driver". I'm currently trying to get the driver merged into Linux. I have also written U-Boot drivers that offer the same functionality. I can "see" the U-Boot prompt over PCI, and tftp + nfs boot over PCI. It is very convenient. I was going to post up the U-Boot drivers after I get the Linux driver merged, just in case there are changes. I've inlined the patches below. The first adds ethernet, the second adds a serial port. Please note that they are MPC8349EMDS specific right now, but they might provide inspiration. Showing your support of the PCINet driver on LKML might help get it reviewed. Noone has taken much interest. Ira