[U-Boot] U-boot support for Non Console board

Ira Snyder iws at ovro.caltech.edu
Fri Oct 31 17:02:53 CET 2008


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 at 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






More information about the U-Boot mailing list