Port-arm archive

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

Re: 2017-06-20-netbsd-raspi-earmv6hf.img



On Wed, 21 Jun 2017, Jun Ebihara wrote:
- some microSD card can't recognize on boot.

Do you have any more details on this?

Does this patch help (at the expense of slower transfer rates)?

Index: bcm2835_emmc.c
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/broadcom/bcm2835_emmc.c,v
retrieving revision 1.29
diff -u -p -r1.29 bcm2835_emmc.c
--- bcm2835_emmc.c	2 Feb 2016 13:55:50 -0000	1.29
+++ bcm2835_emmc.c	22 Jun 2017 10:05:53 -0000
@@ -117,7 +117,6 @@ bcmemmc_attach(device_t parent, device_t
 	sc->sc.sc_flags |= SDHC_FLAG_NO_HS_BIT;
 	sc->sc.sc_caps = SDHC_VOLTAGE_SUPP_3_3V | SDHC_HIGH_SPEED_SUPP |
 	    (SDHC_MAX_BLK_LEN_1024 << SDHC_MAX_BLK_LEN_SHIFT);
-	sc->sc.sc_caps2 = SDHC_SDR50_SUPP;

 	sc->sc.sc_host = sc->sc_hosts;
 	sc->sc.sc_clkbase = 50000;	/* Default to 50MHz */



Home | Main Index | Thread Index | Old Index