]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for the Raspberry Pi 2. As the chip is based on the bcm2835 in
authorAndrew Turner <andrew@FreeBSD.org>
Wed, 25 Mar 2015 10:59:42 +0000 (10:59 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Wed, 25 Mar 2015 10:59:42 +0000 (10:59 +0000)
commit4e46a66e4a1af0d854f8d7a222d637bba156c36f
tree3d312dfebbf684c945c9cf613a47810afd78503e
parent0006eaaf5f4c413a20409f3cc93af2966cf7f73d
Add support for the Raspberry Pi 2. As the chip is based on the bcm2835 in
the Raspberry Pi B we support most of the devices are already supported,
however the base address has changed.

A few items are not working, or missing. The main ones are:
 * DMA doesn't work in the sdhci driver.
 * Enabling vchiq halts the boot, may be interrupt related.
 * There is no U-Boot port yet so the DTB is embedded in the kernel.

The last point will make it difficult to boot FreeBSD, however there is
support for the Raspberry Pi 2 in the U-Boot git repo. As I have not tested
this it is left as an open task to create a port to build.

X-MFC: When the above issues are fixed
Sponsored by: ABT Systems Ltd
sys/arm/broadcom/bcm2835/bcm2835_intr.c
sys/arm/broadcom/bcm2835/bcm2835_machdep.c
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
sys/arm/broadcom/bcm2835/bcm2836.c [new file with mode: 0644]
sys/arm/broadcom/bcm2835/bcm2836.h [new file with mode: 0644]
sys/arm/broadcom/bcm2835/files.bcm2836 [new file with mode: 0644]
sys/arm/broadcom/bcm2835/std.bcm2836 [new file with mode: 0644]
sys/arm/conf/RPI2 [new file with mode: 0644]