How to set external interrupts falling edge sensitive

2009-02-26 Thread Frank Prepelica
Hi all, I'm using the mpc8313erdb. I got two external interrupt sources which are handled by two UIO drivers. These interrupts shall be triggered on falling edge. Therefore I just added (Kernel version 2.6.24) in arch/powerpc/sysdev/ipic.c in function ipic_set_irq_type at line ~484 "flow_type =

Direct MII connection between MPC8313 and VIRTEX FPGA

2009-06-25 Thread Frank Prepelica
information that the ETH device can be found again? Any help is very appreciated Best regards Frank Frank Prepelica Software Design Engineer Ubidyne GmbH Lise-Meitner-Str.-14 89081 Ulm - Germany Phone: +49 731 88 00 71 58 Fax: +49 731 88 00 71 99 Email

AW: Direct MII connection between MPC8313 and VIRTEX FPGA

2009-06-29 Thread Frank Prepelica
n regarding MII connection between and MPC and a Virtex FPGA. Whats about the PHY address which has to be set in the DTB file? Do I have to modify the DTB at all? Thank you! Best regards Frank Frank Prepelica Software Design Engineer Ubidyne GmbH Lise-Meitne

AW: Direct MII connection between MPC8313 and VIRTEX FPGA

2009-06-30 Thread Frank Prepelica
ant to have a PHY node in the > device tree. Hmm, but I do have a "PHY", don't I?. The "PHY" will be emulated in the FPGA. Of course, it's not a physical PHY but it should look like one. So, do I really need the remove the complete PHY description in the DTB?

AW: Direct MII connection between MPC8313 and VIRTEX FPGA

2009-07-02 Thread Frank Prepelica
Auftrag von Grant Likely > Gesendet: Dienstag, 30. Juni 2009 18:17 > An: Frank Prepelica > Cc: linuxppc-...@ozlabs.org > Betreff: Re: Direct MII connection between MPC8313 and VIRTEX FPGA > > On Tue, Jun 30, 2009 at 2:35 AM, Frank > Prepelica wrote: > >> What kernel v

How to set DDR data bus width to 16Bit

2009-07-02 Thread Frank Prepelica
o 00b (=reseverd). We are using a customized MPC8313ERDB board. Thanks in advance Kind regards Frank Prepelica Software Design Engineer Ubidyne GmbH Lise-Meitner-Str.-14 89081 Ulm - Germany ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

AW: How to set DDR data bus width to 16Bit

2009-07-02 Thread Frank Prepelica
> you have to do it via your bootloader (u-boot) which sets up > the DDR memory controller. > Linux (already) assumes memory is available. > Are you sure linux kernel is changing DDR_SDRAM_CFG ? > When our linux-2.6.28 kernel is up, it's still 0xc308 when I read > physical address 0xe0002110.

Kernel fault with simple UIO interrupt driver in 2.6.30.4

2009-08-03 Thread Frank Prepelica
o_irq4_driver); } module_init(uio_irq4_init); module_exit(uio_irq4_exit); MODULE_LICENSE("tbd"); MODULE_AUTHOR("Frank Prepelica, Ubidyne GmbH"); MODULE_DESCRIPTION("IRQ4 Interrupt Handler - CPLD Interrupts"); <------

AW: Kernel fault with simple UIO interrupt driver in 2.6.30.4

2009-08-04 Thread Frank Prepelica
XX ---[ end trace 747097271ea314a9 ]--- Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds.. Frank Prepelica Software Design Engineer Ubidyne GmbH L

AW: Kernel fault with simple UIO interrupt driver in 2.6.30.4

2009-08-04 Thread Frank Prepelica
84 > [c7827f70] [c00038dc] 0xc00038dc > [c7827fe0] [c03037c0] 0xc03037c0 > [c7827ff0] [c0010778] 0xc0010778 > Instruction dump: > > > ---[ e

uio driver cannot be registered to uio subsystem

2009-08-06 Thread Frank Prepelica
ied to compile the uio drivers which are provided by the kernel itself. But after starting the kernel not one of these drivers appears in /sys/class/ too! Can anybody please tell what I am doing wrong? Pls see below, too! Thanks in advance! Kind regrads Frank Prepelica Software Design Engineer