From owner-freebsd-arm@FreeBSD.ORG Fri Nov 7 17:00:57 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF9F55ED for ; Fri, 7 Nov 2014 17:00:56 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AD94FA2 for ; Fri, 7 Nov 2014 17:00:55 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id sA7GvGe1045080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 7 Nov 2014 17:57:17 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id sA7Gv3u1081733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Nov 2014 17:57:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id sA7Gv3fQ021916; Fri, 7 Nov 2014 17:57:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id sA7Gv3Zx021915; Fri, 7 Nov 2014 17:57:03 +0100 (CET) (envelope-from ticso) Date: Fri, 7 Nov 2014 17:57:03 +0100 From: Bernd Walter To: Rui Paulo Subject: Re: A current BB Black issues Message-ID: <20141107165703.GA21868@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <545BFCB8.4030604@ceetonetechnology.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: George Rosamond , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 17:00:57 -0000 On Thu, Nov 06, 2014 at 11:31:07PM -0800, Rui Paulo wrote: > On Nov 6, 2014, at 14:56, George Rosamond wrote: > > BeagleBone Black with: > > > > FreeBSD bbb-fbsd 10.1-PRERELEASE FreeBSD 10.1-PRERELEASE #0 r274186: Thu > > Nov 6 14:51:29 EST 2014 > > root@stinkyX:/data/crochet/work/bbw/obj/arm.armv6/data/fbsd-10-stable/sys/BEAGLEBONE > > arm > > > > > > First, I tried to run copy-to-emmc.sh but noticed this is the dmesg: > > > > sdhci_ti1-slot0: Got data interrupt 0x00000002, but there is no active > > command. > > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > sdhci_ti1-slot0: Blk size: 0x00000004 | Blk cnt: 0x00000001 > > sdhci_ti1-slot0: Argument: 0x00020000 | Trn mode: 0x0000071b > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > sdhci_ti1-slot0: Power: 0x0000000d | Blk gap: 0x00000000 > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > sdhci_ti1-slot0: Timeout: 0x00000006 | Int stat: 0x00000000 > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > > sdhci_ti1-slot0: Caps: 0x06e10080 | Max curr: 0x00000000 > > sdhci_ti1-slot0: =========================================== > > sdhci_ti1-slot0: Got data interrupt 0x00000002, but there is no active > > command. > > sdhci_ti1-slot0: ============== REGISTER DUMP ============== > > sdhci_ti1-slot0: Sys addr: 0x00000000 | Version: 0x00003101 > > sdhci_ti1-slot0: Blk size: 0x00000004 | Blk cnt: 0x00000001 > > sdhci_ti1-slot0: Argument: 0x00020000 | Trn mode: 0x0000071b > > sdhci_ti1-slot0: Present: 0x01f70000 | Host ctl: 0x00000000 > > sdhci_ti1-slot0: Power: 0x0000000d | Blk gap: 0x00000000 > > sdhci_ti1-slot0: Wake-up: 0x00000000 | Clock: 0x00008007 > > sdhci_ti1-slot0: Timeout: 0x00000006 | Int stat: 0x00000000 > > sdhci_ti1-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb > > sdhci_ti1-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 > > sdhci_ti1-slot0: Caps: 0x06e10080 | Max curr: 0x00000000 > > sdhci_ti1-slot0: =========================================== > > am335x_pmic0: TPS65217C ver 1.2 powered by USB > > > > and mmcsd1 isn't showing up in /dev/, the boot process, etc. It will > > boot from eMMC if I don't hold down the button by the microSD card. > > > > Anything I should be aware of? > > My speculation is that the newer U-Boot breaks the eMMC support in FreeBSD. An U-Boot from 2013.4 seems to work fine while the U-Boot from 2014.3 doesn't work for me. Just a few weeks ago I tried copy-to-emmc.sh. A couple reverse order messages later it completed, but my BBBs ROM code didn't find anything bootable on it and failed back to xmodem. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.