On Thu, Jun 02, 2016 at 03:45:18PM +1000, Jonathan Gray wrote: > On Wed, Jun 01, 2016 at 11:26:33PM +0200, Farid Joubbi wrote: > > I was able to boot with the latest snapshot, and it finds both disks. > > Unfortunately I still get the "newfs: wtfs: write error on block 160: > > Input/output error". > > > > Using miniroot-am335x-60.fs 31-May-2016 SHA256: > > e72bd2b7289c845644e77c7a5f7e83e1463b766325a97ace898d0a74cc0dd5e0 > > New snapshot uploaded today tries to reset the bus width down to 1 > on soft reset. > > OpenBSD 6.0-beta (RAMDISK) #70: Thu Jun 2 12:52:21 AEST 2016 > > SHA256 (miniroot-am335x-60.fs) = > 3f2242557676bf53dd7d86b04de3189689374e131c79db8898c4e5c9277e386c > SHA256 (miniroot-panda-60.fs) = > fcfe8612d6a7b04cfcc29ef4f8e8b6bedce2bb3289e7220932ced539d03a5a56
Current snap doesn't have it, will be back in the next one. > > Index: ommmc.c > =================================================================== > RCS file: /cvs/src/sys/arch/armv7/omap/ommmc.c,v > retrieving revision 1.21 > diff -u -p -r1.21 ommmc.c > --- ommmc.c 20 May 2016 23:07:05 -0000 1.21 > +++ ommmc.c 2 Jun 2016 05:42:10 -0000 > @@ -508,6 +508,10 @@ ommmc_host_reset(sdmmc_chipset_handle_t > HWRITE4(sc, MMCHS_IE, imask); > HWRITE4(sc, MMCHS_ISE, imask); > > + /* Switch back to 1-bit bus. */ > + HCLR4(sc, MMCHS_CON, MMCHS_CON_DW8); > + HCLR4(sc, MMCHS_HCTL, MMCHS_HCTL_DTW); > + > splx(s); > return (0); > } >