[SeaBIOS] Failure to detect high-capacity SD card

Matt DeVillier matt.devillier at gmail.com
Thu Oct 26 17:14:53 CEST 2017


On Thu, Oct 26, 2017 at 10:59 AM, Kevin O'Connor <kevin at koconnor.net> wrote:

> On Thu, Oct 26, 2017 at 10:46:06AM -0400, Matt DeVillier wrote:
> > On Thu, Oct 26, 2017 at 12:56 AM, Kevin O'Connor <kevin at koconnor.net>
> wrote:
> >
> > > Does the patch below help?
> > >
> > > -Kevin
> > >
> > >
> > > --- a/src/hw/sdcard.c
> > > +++ b/src/hw/sdcard.c
> > > @@ -405,6 +405,7 @@ sdcard_card_setup(struct sddrive_s *drive, int
> volt,
> > > int prio)
> > >      if (!ret && param[0] == vrange)
> > >          hcs = (1<<30);
> > >      // Verify SD card (instead of MMC or SDIO)
> > > +#if 0
> > >      param[0] = 0x00;
> > >      ret = sdcard_pio_app(regs, SC_APP_SEND_OP_COND, param);
> > >      if (ret) {
> > > @@ -416,6 +417,7 @@ sdcard_card_setup(struct sddrive_s *drive, int
> volt,
> > > int prio)
> > >          drive->card_type |= SF_MMC;
> > >          hcs = (1<<30);
> > >      }
> > > +#endif
> > >      // Init card
> > >      u32 end = timer_calc(SDHCI_POWERUP_TIMEOUT);
> > >      for (;;) {
> > >
> >
> > with the patch applied, neither the internal eMMC nor the large-capacity
> > external SD card are detected
>
> Yeah - this disables MMC.  Any chance to get the log from this run?
> (Let me know if eMMC is needed to get the log.)
>
> -Kevin
>

with the patch, USB devices are not available from the boot menu either (it
appears to hang?), and therefore device cannot be booted to get said log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/seabios/attachments/20171026/c74b3ff3/attachment.html>


More information about the SeaBIOS mailing list