Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 16:19:29 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Krassimir Slavchev <krassi@bulinfo.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Mount root from SD card?
Message-ID:  <49772EF1.1060207@FreeBSD.org>
In-Reply-To: <49772C8A.5020402@bulinfo.net>
References:  <20090120.114051.-854291995.imp@bsdimp.com>	<4976215B.40302@FreeBSD.org>	<20090120.122312.1543793985.imp@bsdimp.com>	<20090120.123230.-272218744.imp@bsdimp.com>	<49762CEF.1000405@FreeBSD.org>	<49762EC9.1010006@FreeBSD.org> <4976E2C2.4090002@FreeBSD.org>	<4976E9DB.3000803@bulinfo.net> <4976EFED.4010706@FreeBSD.org>	<4976FB8C.5050209@bulinfo.net> <49771CA6.7080106@FreeBSD.org> <4977236E.2020409@bulinfo.net> <497726F5.5080000@bulinfo.net> <49772A2C.7090903@FreeBSD.org> <49772C8A.5020402@bulinfo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090900070404000504090305
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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

--------------090900070404000504090305
Content-Type: text/plain;
 name="mmc.c.debug2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mmc.c.debug2.patch"

--- 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++) {

--------------090900070404000504090305--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49772EF1.1060207>