Re: Patch: fix high capacity (> 2GB) eMMC support

2014-09-22 Thread Jonathan Gray
On Mon, Sep 22, 2014 at 06:48:49PM +0200, Raphael Graf wrote: > > I'm sorry, this diff was using the wrong defines. > Here's a corrected version. > > Any comments or oks? > > + > + if (sectors != 0) { > + sf->flags |= SFF_SDHC; > + sf->csd.cap

Re: Patch: fix high capacity (> 2GB) eMMC support

2014-09-22 Thread Raphael Graf
On Sun, September 21, 2014 2:09 pm, Raphael Graf wrote: > On Sat, September 20, 2014 7:45 pm, Jonathan Gray wrote: >> On Sat, Sep 20, 2014 at 06:01:51PM +0200, Cédric Tessier wrote: >>> Hi, >>> >>> I've bought a BeagleBone Black rev. C board, and I was trying to install >>> OpenBSD on it, but the i

Re: Patch: fix high capacity (> 2GB) eMMC support

2014-09-21 Thread Stefan Sperling
On Sun, Sep 21, 2014 at 03:22:41PM +0200, Cédric Tessier wrote: > OpenBSD runs impressively well on my BeagleBone, the only drawback I can > see is that the system is slowed down by poor MMC performances (due to > missing DMA support in ommmc driver I suppose ?). Yes. The ommmc(4) driver should u

Re: Patch: fix high capacity (> 2GB) eMMC support

2014-09-21 Thread Cédric Tessier
Hi, My fix was very conservative (I don't have a good understanding of MMC, and clearly outdated documentations). I've tried your patch Raphael, and it's working as expected (and it's so much cleaner). OpenBSD runs impressively well on my BeagleBone, the only drawback I can see is that the syste

Re: Patch: fix high capacity (> 2GB) eMMC support

2014-09-21 Thread Raphael Graf
On Sat, September 20, 2014 7:45 pm, Jonathan Gray wrote: > On Sat, Sep 20, 2014 at 06:01:51PM +0200, Cédric Tessier wrote: >> Hi, >> >> I've bought a BeagleBone Black rev. C board, and I was trying to install >> OpenBSD on it, but the internal eMMC was causing errors. >> >> sdmmc1: unknown CARD_TY

Re: Patch: fix high capacity (> 2GB) eMMC support

2014-09-20 Thread Jonathan Gray
On Sat, Sep 20, 2014 at 06:01:51PM +0200, Cédric Tessier wrote: > Hi, > > I've bought a BeagleBone Black rev. C board, and I was trying to install > OpenBSD on it, but the internal eMMC was causing errors. > > sdmmc1: unknown CARD_TYPE 0x17 > scsibus1 at sdmmc1: 2 targets, initiator 0 > sd1 at

Patch: fix high capacity (> 2GB) eMMC support

2014-09-20 Thread Cédric Tessier
Hi, I've bought a BeagleBone Black rev. C board, and I was trying to install OpenBSD on it, but the internal eMMC was causing errors. sdmmc1: unknown CARD_TYPE 0x17 scsibus1 at sdmmc1: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: SCSI2 0/direct fixed sd1: 1024MB, 512 bytes/sector, 20