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



From: Jared McNeill <jmcneill%invisible.ca@localhost>
Subject: Re: 2017-06-20-netbsd-raspi-earmv6hf.img
Date: Thu, 22 Jun 2017 07:06:21 -0300 (ADT)

> On Wed, 21 Jun 2017, Jun Ebihara wrote:
>> - some microSD card can't recognize on boot.
> Do you have any more details on this?

https://twitter.com/ebijun/status/877861351166586880

> Does this patch help (at the expense of slower transfer rates)?
> Index: bcm2835_emmc.c

thanx!
with this patch,TEAM GROUP SD 64GB sd card works fine.

> ===================================================================
> 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 */
> 

--
Jun Ebihara


Home | Main Index | Thread Index | Old Index