Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 01:01:32 +0200
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Oleksandr Tymoshenko <gonzo@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r335779 - in head/sys: arm/broadcom/bcm2835 conf
Message-ID:  <20180629010132.0fdedfa7ae660294800f2a34@bidouilliste.com>
In-Reply-To: <201806282114.w5SLEXr2061320@repo.freebsd.org>
References:  <201806282114.w5SLEXr2061320@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Jun 2018 21:14:33 +0000 (UTC)
Oleksandr Tymoshenko <gonzo@FreeBSD.org> wrote:

> Author: gonzo
> Date: Thu Jun 28 21:14:33 2018
> New Revision: 335779
> URL: https://svnweb.freebsd.org/changeset/base/335779
> 
> Log:
>   [rpi] Add SDHOST device driver for Raspberry Pi
>   
>   SDHOST is another SD controller that is present on Raspberry Pi (the
>   other one is SDHC and handled by bcm2835_sdhci driver). Both
>   controllers are capable of providing interface to SD card, actual
>   configuration can be set in dtb file. At the moment custom DTBs for
>   RPi/RPi2 have sdhost node disabled. On RPi3 sdhost is disabled in
>   snapshot images by applying mmc.dtbo overlay. To enalbe both devices
>   user has to edit config.txt on FAT partition and remove or comment
>   "dtoverlay=mmc" line.
>   
>   When no overlay applied on RPi3 SDHOST controls SD card and SDHC
>   interface can be used for SDIO. mmc.dtbo overlay disables SDHOST node
>   and switches SD card over to SDHC.  Likewise sdhost.dtbo overlay (not
>   currently included in snapshot image, but can be obtained from firmare
>   repo[1]) disabled SDHC node and switch SD card over to SDHOST.
>   
>   [1] https://github.com/raspberrypi/firmware/tree/master/boot/overlays
>   
>   Submitted by:	Klaus P. Ohrhallinger <k@7he.at>
>   Differential Revision:	https://reviews.freebsd.org/D14168
> 
> Added:
>   head/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c   (contents, props changed)
> Modified:
>   head/sys/arm/broadcom/bcm2835/files.bcm283x
>   head/sys/conf/files.arm64
> 

 Thanks !

 Note that if would be better to take overlays from the rpi-firmware
packages as it's where the dtb for the snapshot image is taken.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180629010132.0fdedfa7ae660294800f2a34>