[PXA320] How to find I/O registers, base address of ASIX ethernet chip?

Daniel Mack daniel at caiaq.de
Sun Feb 7 00:11:22 EST 2010


On Fri, Feb 05, 2010 at 08:53:38AM +0100, Uwe Kleine-König wrote:
> On Fri, Feb 05, 2010 at 05:26:55AM +0100, Daniel Mack wrote:
> > The addresses passed to the driver is the I/O area of the chip select
> > signal used for the Ethernet chip. This setting should be alright, as it
> > worked well for me.
> > 
> > If your kernel hangs when accessing this area, you most probably haven't
> > set up your static bus correctly. The bootloader is in charge of doing
> > this, and the correct value for CSADRCFG2 is 0x0032C809.
> I would prefer if Linux didn't rely on the boot loader for that.  It's
> not expensive or difficult to set this register in machine setup code,
> is it?
> 

The boarsds I've been working on need to set this register from the
bootloader anyway they use Ethernet for TFTP downloads. But you're
right, in general, there should be a way to set such registers from
kernel space as well. Eric, any such plans?

Daniel



More information about the linux-arm-kernel mailing list