Mount root from SD card?

Alexander Motin mav at FreeBSD.org
Wed Jan 21 06:19:50 PST 2009


Krassimir Slavchev wrote:
> Alexander Motin wrote:
>> Krassimir Slavchev wrote:
>>> Oops, sorry this output was without SD card inserted!
>>> I've changed the file.
>> That's some different debugging. I have meant that one, which happens
>> when boot_verbose="YES" added to loader.conf, or respective Fx button
>> pressed during boot on PC.
> 
> Yes this is with kernel VERBOSE_SYSINIT option because I cannot set
> boot_verbose from arm boot loader.
> Verbose messages from which modules you want to see? I will set
> bootverbose manually.

mmc. And while being there, apply this one please.

-- 
Alexander Motin
-------------- next part --------------
--- mmc.c1	2008-12-25 11:50:18.000000000 +0200
+++ mmc.c	2009-01-21 16:15:27.000000000 +0200
@@ -1322,11 +1322,12 @@ mmc_calculate_clock(struct mmc_softc *sc
 		panic("can't get children");
 	for (i = 0; i < nkid; i++) {
 		ivar = device_get_ivars(kids[i]);
+printf("timing %d, rate %d, hsrate %d\n", ivar->timing, ivar->tran_speed, ivar->hs_tran_speed);
 		if (ivar->timing < max_timing)
 			max_timing = ivar->timing;
 		if (ivar->tran_speed < max_dtr)
 			max_dtr = ivar->tran_speed;
-		if (ivar->hs_tran_speed < max_dtr)
+		if (ivar->hs_tran_speed < max_hs_dtr)
 			max_hs_dtr = ivar->hs_tran_speed;
 	}
 	for (i = 0; i < nkid; i++) {


More information about the freebsd-arm mailing list