OOPS in PLIC on SiFive Unmatched board

Ben Dooks ben.dooks at codethink.co.uk
Tue Oct 26 17:30:51 PDT 2021


I wonder if anyone is seeing the same issue. The plic driver is oopsing
when the OF firmware code is going through the pcie node and trying to
map and allocate the interrupts.

The issue seems to be the fdt either being corrupted by uboot or the
kernel during load. When dumped post kernel starting (having made a
invalid irq check in plic, the following is seen in the diffs:

<             interrupts = <0x00000038 0x00000039 0x0000003a 0x0000003b 
0x0000003c 0x0000003d 0x0000003e 0x0000003f 0x00000040>;
---
 >             interrupts = <0x00000038 0x00000039 0x0000003a 0x0000003b 
0x0000003c 0x03000000 0x0000003e 0x0000003f 0x00000040>;

The loaded dtb has irq 0x3d replaced with 0x03000000.

I'm not sure what's going on here, I upgraded uboot to  2021.07 and it 
boots the yocto image that was used to build it.


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html



More information about the linux-riscv mailing list