the bitrig patrick_rpi2 branch has been created by patrick. it is 0 commits behind master, and 3 commits ahead.
commit 6baec637ba6c8755f32c91589bdb3c3bf6c909cc diff: https://github.com/bitrig/bitrig/commit/6baec63 author: Patrick Wildt <[email protected]> date: Fri Feb 13 18:43:09 2015 +0100 bcm2836: some changes from FreeBSD M sys/arch/armv7/broadcom/bcm2836_intr.c commit a559882ba20d4450c49588a763415457254a208f diff: https://github.com/bitrig/bitrig/commit/a559882 author: Patrick Wildt <[email protected]> date: Fri Feb 6 00:31:10 2015 +0100 Initial raspberry Pi 2 support. * Support for interrupt controller. * Simple "bootloader" code. * Some changes to attach agtimer/pl011. * Disable pl011 FIFO. TODO: * debugging A sys/arch/armv7/armv7/rpi.S A sys/arch/armv7/broadcom/bcm2836_intr.c A sys/arch/armv7/broadcom/files.broadcom M sys/arch/armv7/conf/Makefile.armv7 M sys/arch/armv7/conf/files.armv7 M sys/arch/armv7/conf/generic A sys/arch/armv7/conf/generic.broadcom M sys/arch/armv7/virt/pl011.c commit 8f94a3927bb8b134c5e3ac332adac9d593770e8f diff: https://github.com/bitrig/bitrig/commit/8f94a39 author: Patrick Wildt <[email protected]> date: Tue Feb 10 19:10:21 2015 +0100 arm: prototype of more MI intr_establish Before this diff we had the issue that we * needed to somehow get the irq nr from the DT node * needed to call establish on the correct interrupt controller This diff intends to solve theses issues. The idea is that you only need to call an "MI" interrupt establish function and it takes care of letting the correct interrupt controller now what interrupt to establish. This is implemented by adding a hook, so that interrupt controller can register them as interrupt controllers. When the device driver calls establish using the DT node, the code will look up the device's interrupt controller and look for that one in the list. Once found, it will call the IC's establish function and pass the device node further down. The IC code will take care to properly read and interpret the interrupt information and actually establish the interrupt. M sys/arch/arm/cortex/agtimer.c M sys/arch/arm/cortex/ampintc.c M sys/arch/armv7/armv7/intr.c M sys/arch/armv7/include/intr.h M sys/arch/armv7/virt/virtio_mmio.c
