eBUS / ttyebus

Real time linux kernel module for the ebusd using the PL011 UART on a Rasperry Pi
22 stars 7 forks source link

Raspberry 4B uart interrupt issue #10

Closed TopgunZh closed 3 years ago

TopgunZh commented 3 years ago

Hi,i have a problem as testing this driver. The uart driver canot into the interrupt.

my pi info: image /boot/config.txt make sure to have these options: image

image image

but i just get one character: image

Can you help to fix this problem?

TopgunZh commented 3 years ago

Now it work well. Thanks With the ttyebus driver uninstalled I ran: dmesg | grep tty This reports: [ 1.194315] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 29, base_baud = 0) is a PL011 rev2

So the ttyAMA0 is connected to IRQ 29. I edited the ttyebusm.c file (V1.8) and changed the IRQ on line 192 from 34 to 29. Then rebuild and install the ttyebus driver.