On Mon, May 11, 2015 at 04:31:30PM +1000, Damien Miller wrote: > On Mon, 11 May 2015, Jonathan Gray wrote: > > > > If you can get an installation completed (the imxenet is pretty flaky, > > > possibly because of an all-0 MAC address), then you'll also need to > > > copy bsd*.IMX.umg to the /boot partition of the sdcard under Linux > > > (OpenBSD can't access the sdcard yet) and arrange uboot to fatload > > > it from there. Something like: > > > > There are two sd slots which one doesn't work? > > > > The (internal?) micro-sd slot doesn't have card detect > > the (external?) normal sized sd slot does > > I haven't tried the external one, but the internal one doesn't work. > I'm not sure which is which in the dmesg: > > imxesdhc0 at imx0 > sdmmc0 at imxesdhc0 > imxesdhc1 at imx0 > sdmmc1 at imxesdhc1 > ... > sdmmc1: can't enable card > > -d
That reminds me of the problem I ran into with my bbb a while ago. Here is what should be the equivalent diff for imx. Index: imxesdhc.c =================================================================== RCS file: /cvs/src/sys/arch/armv7/imx/imxesdhc.c,v retrieving revision 1.7 diff -u -p -r1.7 imxesdhc.c --- imxesdhc.c 8 May 2015 03:38:26 -0000 1.7 +++ imxesdhc.c 11 May 2015 06:57:10 -0000 @@ -262,6 +262,9 @@ imxesdhc_attach(struct device *parent, s sc->sc_ih = arm_intr_establish(aa->aa_dev->irq[0], IPL_SDMMC, imxesdhc_intr, sc, sc->sc_dev.dv_xname); + HSET4(sc, SDHC_HOST_CTRL_CAP, SDHC_HOST_CTRL_CAP_VS18 | + SDHC_HOST_CTRL_CAP_VS30); + /* * Reset the host controller and enable interrupts. */