Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on a Pi3



On 06/16/16 14:22, Christian Baer wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Greetings programs! :-)

Hi,


Has anyone here gotten a Pi3 to work with NetBSD yet?

It does work, but a custom build is required to get full CPU speed with the attached hack.



I bought two of the little critters last week and have been trying to
get either FreeBSD (which I use on my desktop and server @home) or
NetBSD (because the ARM-port seems to be more mature) to run on them.
However, with both images I can't get beyond the rainbow-screen.

You'll need a -current/HEAD build, e.g.

ftp://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201606160450Z/evbarm-earmv7hf/binary/gzimg/armv7.img.gz

Nick
Index: sys/arch/arm/broadcom/bcm2835_bsc.c
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/broadcom/bcm2835_bsc.c,v
retrieving revision 1.5
diff -u -p -r1.5 bcm2835_bsc.c
--- sys/arch/arm/broadcom/bcm2835_bsc.c	24 Jan 2015 00:27:31 -0000	1.5
+++ sys/arch/arm/broadcom/bcm2835_bsc.c	16 Jun 2016 15:30:50 -0000
@@ -91,6 +91,9 @@ bsciic_match(device_t parent, cfdata_t m
 	if (strcmp(aaa->aaa_name, "bcmbsc") != 0)
 		return 0;
 
+	if (aaa->aaa_addr == BCM2835_BSC1_BASE)
+		return 0;
+
 	return 1;
 }
 


Home | Main Index | Thread Index | Old Index