Port-arm archive

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

Re: 2015-05-23-netbsd-raspi-earmv6hf.img



On 05/21/15 08:38, Jun Ebihara wrote:
From: Nick Hudson<skrll%netbsd.org@localhost>
Subject: Re: 2015-05-23-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)
Date: Thu, 21 May 2015 08:33:28 +0100

ftp://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2015-05-23-earmv6hf/2015-05-23-netbsd-raspi-earmv6hf.img.gz
Overview:
    http://wiki.NetBSD.org/ports/evbarm/raspberry_pi/
Update:
- DEGRADE: RPI2 boot failed!
    RPI2 cannot boot with this image.
I hope to fix this soon.
@h_kenken notify me,
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/arm/cortex/a9_mpsubr.S.diff?r1=1.35&r2=1.36&sortby=date&only_with_tag=MAIN&f=h

Yeah, I've fixed it locally with the attached patch

Will commit it soon

Nick
Index: sys/arch/evbarm/rpi/rpi_machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/evbarm/rpi/rpi_machdep.c,v
retrieving revision 1.62
diff -u -p -r1.62 rpi_machdep.c
--- sys/arch/evbarm/rpi/rpi_machdep.c	1 May 2015 09:59:11 -0000	1.62
+++ sys/arch/evbarm/rpi/rpi_machdep.c	21 May 2015 07:21:13 -0000
@@ -503,6 +503,8 @@ rpi_bootstrap(void)
 
 	extern void cortex_mpstart(void);
 
+	cpu_dcache_wbinv_all();
+
 	for (size_t i = 1; i < arm_cpu_max; i++) {
 		bus_space_tag_t iot = &bcm2835_bs_tag;
 		bus_space_handle_t ioh = BCM2836_ARM_LOCAL_VBASE;



Home | Main Index | Thread Index | Old Index