Go to advanced search

by hmka
Thu Aug 15, 2019 2:46 pm
Forum: Device Tree
Topic: [Solved] Linux: Confusion about IRQ Number for PL011 on Pi4/aarch64
Replies: 12
Views: 3887

Re: Linux: Confusion about IRQ Number for PL011 on Pi4/aarch64

Hi, I got this problem sorted out by using uart2 instead of uart1. Using uart2, now the driver can actually recognise there is data in the RX and getc(). I investigated this in both u-boot and Linux drivers and I think it's a hardware problem with the first uart1/pl011 to receive data. Not sure if i...
by hmka
Wed Aug 14, 2019 5:13 pm
Forum: Device Tree
Topic: [Solved] Linux: Confusion about IRQ Number for PL011 on Pi4/aarch64
Replies: 12
Views: 3887

Re: Linux: Confusion about IRQ Number for PL011 on Pi4/aarch64

Thanks, PhilE for your reply, it's really useful and informative. i.e. the interrupt number as seen by the GIC is 121/0x79 - perhaps you misread it as 0x99/153. Correct. I just interpreted it as seen by the core, which is 121 + 32. I confirm that Linux enables this IRQ properly. I am still however s...
by hmka
Wed Aug 14, 2019 10:35 am
Forum: Device Tree
Topic: [Solved] Linux: Confusion about IRQ Number for PL011 on Pi4/aarch64
Replies: 12
Views: 3887

[Solved] Linux: Confusion about IRQ Number for PL011 on Pi4/aarch64

Hi, I am running RPi4 Linux (bcm2711_defconfig) under a hypervisor and I have a question about the PL011 IRQ numbers. I use PL011 as the primary UART and I disable BT. In the DTS: serial@7e201000 { compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; reg = <...

Go to advanced search