Chris Johns commented on a discussion: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/133#note_151115


The OFW is being passed a `NULL`:

```
#2  nexus_alloc_resource (bus=<optimized out>, child=0x77d7b0, type=<optimized 
out>, rid=0x63be3c, start=<optimized out>, end=18446744073709551615, count=1, 
flags=2) at ../../rtemsbsd/rtems/rtems-kernel-nexus.c:248
248                                     rpic_xref = 
OF_xref_from_node(ofw_bus_get_node(intr_irq_root_dev));
(gdb) p intr_irq_root_dev
$1 = (device_t) 0x0
```

Looks like a check needs to be added for missing interrupt FDT nodes and an 
orderly exit.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/133#note_151115
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to