[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] uCLinux cannot allocate EMAClite interrupt
Hi,
Jean-Yves Ouellet wrote:
I can compile and boot uCLinux (without networking support) on
MicroBlaze without Flash and EMAClite. However, if I add networking
support to uCLinux and EMAClite to MicroBlaze, I get the following error:
[snip]
Microblaze UARTlite serial driver version 1.00
> ttyS0 at 0x40600000 (irq = 2) is a Microblaze UARTlite
[snip]
eth0: using fifo mode.
eth0: No PHY detected. Assuming a PHY at address 0.
eth0: Xilinx EMACLite #0 at 0x40E00000 mapped to 0x40E00000, irq=2
[snip]
eth0: Could not allocate interrupt 2.
It looks like interrupt 2 cannot be allocated to EMAClite because it is
already allocated to UARTlite. But according to auto-config.in (see the
attached file), interrupt 3 (instead of interrupt 2) should be allocated
to UARTlite.
After you copied the auto-config.in file across, you must do
$ yes "" | make oldconfig
$ make dep all
The petalinux-copy-autoconfig script does this as part of its operation
- if you aren't using it you need to do it manually.
In reality if you are changing the hardware like adding a new
peripheral, it's probably a good idea to do a "make linux-2.4.x_clean"
as well, to force a complete rebuild of the kernel.
This should get things consistent again.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/