From owner-freebsd-arm@FreeBSD.ORG Tue May 20 17:16:48 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79F2AB65 for ; Tue, 20 May 2014 17:16:48 +0000 (UTC) Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D57B2BCA for ; Tue, 20 May 2014 17:16:47 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id d49so818764eek.29 for ; Tue, 20 May 2014 10:16:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=nZHXUXSlrQm/gFhJ/amG53YBzQCBRV3Pwrr+PrnoAjM=; b=S7b8zpI4GJqQjWRGqildNscW7jBFCDS6Y1ztW2fvj1v/H8TEf6lkurC32OuSTWJmXy ch9dIJrll7RKPENpWPMyaOWdstBYPTM7i5D8ALkTDTLllhpuNaWZhnmTW1HzHJReNbUU gFriGonmR6ASRon6HlqPQ+UacJUHIaElYE7vuqakZb6C7gabCh9fLqvgcqVnxvgmbxAk N5pEYdTR1rMFAGxQywvM1Z1jZaUbSB7ICv81zmqJxYnru/U32WJ+jfx3pFTVMRBIOHA8 dFSGyUYD94b0TgYYhmHSprCJLocR4E9gvR9CgIUf1SIs4YDTwRegWOtJcNe70dslMvtM BOmA== X-Received: by 10.14.1.69 with SMTP id 45mr5303509eec.104.1400606206350; Tue, 20 May 2014 10:16:46 -0700 (PDT) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id h6sm5251021eew.38.2014.05.20.10.16.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 May 2014 10:16:45 -0700 (PDT) Sender: Sulev-Madis Silber Message-ID: <537B8DFA.3000603@hot.ee> Date: Tue, 20 May 2014 20:16:42 +0300 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: SAITOU Toshihide Subject: Re: BBB MMC / SD detection instability with U-Boot 2014.04 (CPU 1GHz) References: <20140520.212003.232778263.toshi@ruby.ocn.ne.jp> <537B62D1.4090901@hot.ee> <20140520.234245.38709064.toshi@ruby.ocn.ne.jp> <20140521.005837.00935147.toshi@ruby.ocn.ne.jp> In-Reply-To: <20140521.005837.00935147.toshi@ruby.ocn.ne.jp> X-TagToolbar-Keys: D20140520201642308 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2014 17:16:48 -0000 On 2014-05-20 18:58, SAITOU Toshihide wrote: > In message: <20140520.234245.38709064.toshi@ruby.ocn.ne.jp> > SAITOU Toshihide writes: >>>> u-boot-2014.04.tar.bz2 >>>> >>>> patch >>>> >>>> 1. apply these patches: >>>> >>>> http://lists.freebsd.org/pipermail/freebsd-arm/2014-April/007922.html >>>> ~/crochet-freebsd/board/BeagleBone/files/uboot-2013.04_api_api_storage.c.patch >>>> ~/crochet-freebsd/board/BeagleBone/files/uboot-2013.04_drivers_mmc_mmc.c.patch > > I forgot to mention that I had changed uboot-2013.04_drivers_mmc_mmc.c.patch a bit. > > Sorry for bother you Hmm, that doesn't seem to fix it. I have different uboot env but that should not matter here. Is this CURRENT? I'm on CURRENT and that patch doesn't get me two SD devices in loader. It's quite mysterious code there too... Could you explain where and how exactly did you manage to get both devices found in loader. I'm not exactly sure uboot needs patch. I might start hacking loader next. All the things I use with BBB are here: http://ketas.si.pri.ee/bbb/