From owner-freebsd-arm@FreeBSD.ORG Sat Mar 8 19:36:51 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 D6B8EF75 for ; Sat, 8 Mar 2014 19:36:51 +0000 (UTC) Received: from mail-pb0-f51.google.com (mail-pb0-f51.google.com [209.85.160.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A754119C for ; Sat, 8 Mar 2014 19:36:51 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id uo5so5613790pbc.10 for ; Sat, 08 Mar 2014 11:36:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=0OJAzWytBLMtmRE0+nxKc83s78i5NyRYGpMvIo0257E=; b=O7fWlnuG+2JZ79oF98uQMGq/lnNa0eV8017Dh60tvWeypcprfuCfAQmCA9cYm6PeAW GThpmNSLQW4Q/gWPpMYQDzqqOOQnWGIB1k9g2GXAIM6NH7x0W9R5RnRKWyy5/K/B8fpo wyoND5Qkr9OdJpdebk5yPmRCetxAzIOCeYXiCIij8KSUErPzMUDTW2O1picHmWSFCndL BCcmoH44TvVGU0KwlIko1++3xuDBgMAJGyNYaaF3PzYML7kW7qjR0PP/QIVjzKWul+Uu 2+RapuHIy6j0zOhdqHzTv3fkHluxHWVxcQKytTW+1bpoSvUuUkg2DXWYQ55ybOlAcVbE dUhQ== X-Gm-Message-State: ALoCoQnAA0amuZdT8G8kD183Xbkzc7e2VC+1mVQUssm2w/6VcNAp+KysgsNG6Mxiej5ybE0cFgOO X-Received: by 10.66.232.40 with SMTP id tl8mr30345704pac.137.1394307410741; Sat, 08 Mar 2014 11:36:50 -0800 (PST) Received: from [10.64.27.94] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id ha2sm49171494pbb.8.2014.03.08.11.36.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Mar 2014 11:36:50 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: crash starting wandboard-quad with latest code From: Warner Losh In-Reply-To: Date: Sat, 8 Mar 2014 12:36:47 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Tom Everett X-Mailer: Apple Mail (2.1874) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2014 19:36:52 -0000 On Mar 8, 2014, at 12:29 PM, Tom Everett wrote: > I've done a build of the wandboard-quad with svn version r262929 >=20 > Strangely, it now just stops, with no serial console output during the > boot. The complete boot log is below. My previous build with source > revision r262820 worked perfectly. >=20 > Any suggestions about what might be happening? No idea, but perhaps you could bisect? I did a change to the serial code last night that shouldn=92t have been a problem. Try r2626919 = maybe? Warner >=20 > .. >=20 >=20 > U-Boot 2013.10 (Mar 08 2014 - 11:53:29) >=20 >=20 > CPU: Freescale i.MX6Q rev1.2 at 792 MHz >=20 > Reset cause: POR >=20 > Board: Wandboard >=20 > DRAM: 2 GiB >=20 > MMC: FSL_SDHC: 0, FSL_SDHC: 1 >=20 > *** Warning - bad CRC, using default environment >=20 >=20 > In: serial >=20 > Out: serial >=20 > Err: serial >=20 > Net: FEC [PRIME] >=20 > Hit any key to stop autoboot: 5 ... 4 ... 3 ... 2 ... 1 ... 0 >=20 > mmc0 is current device >=20 > reading boot.scr >=20 > 157 bytes read in 10 ms (14.6 KiB/s) >=20 > Running bootscript from mmc ... >=20 > ## Executing script at 12000000 >=20 > reading ubldr >=20 > 253278 bytes read in 28 ms (8.6 MiB/s) >=20 > ## Starting application at 0x88000054 ... >=20 > Consoles: U-Boot console >=20 >=20 > Compatible API signature found @8f5756f8 >=20 >=20 > MMC: no card present >=20 > MMC Device 2 not found >=20 > MMC Device 3 not found >=20 > Number of U-Boot devices: 2 >=20 >=20 >=20 >=20 >=20 > FreeBSD/armv6 U-Boot loader, Revision 1.2 >=20 >=20 > (tom@bernice, Sat Mar 8 11:53:22 MST 2014) >=20 >=20 > DRAM: 2048MB >=20 >=20 > Probing for bootable devices... >=20 >=20 > Bootable device: disk >=20 >=20 > Bootable device: net >=20 >=20 > Current device: disk >=20 >=20 > |./.-.\.|./.-.\.|./.-.\.|./.-. >=20 >=20 > \.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-./boot/kernel/kernel > data=3D0x4dc0c8+0x2ff38 > = \.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.= |./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|.= /.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.= -.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.\.|./.-.= \.|./.-.\.|./.-.\.syms=3D[0x4+0x7e6e0|./.-.\.|./.-.\.|./.-.\.|./.-.\.+0x4+= 0x4e0a1|./.-.\.|./.-.\.|.] >=20 >=20 > Hit [Enter] to boot immediately, or any other key for command prompt. >=20 >=20 >=20 > Booting [/boot/kernel/kernel] in 9 seconds... > Booting [/boot/kernel/kernel] in 8 seconds... > Booting [/boot/kernel/kernel] in 7 seconds... > Booting [/boot/kernel/kernel] in 6 seconds... > Booting [/boot/kernel/kernel] in 5 seconds... > Booting [/boot/kernel/kernel] in 4 seconds... > Booting [/boot/kernel/kernel] in 3 seconds... > Booting [/boot/kernel/kernel] in 2 seconds... > Booting [/boot/kernel/kernel] in 1 second... > Booting [/boot/kernel/kernel]... >=20 >=20 > /.-.\.|./.-.\.|./.-.\.|./.-.\.|./.Loaded DTB from file = 'wandboard-quad.dtb'. >=20 >=20 > -.\.|./.-.\.|.Kernel entry at 0x12000100... >=20 >=20 > Kernel args: (null) >=20 >=20 > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2014 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.0-CURRENT #0 r262929: Sat Mar 8 11:47:07 MST 2014 > = tom@bernice:/storage/home/tom/crochet/crochet-freebsd/work/obj/arm.armv6/s= torage/home/tom/crochet/src/FreeBSDHead/head/sys/IMX6 > arm > FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 > CPU: Cortex A9-r2 rev 10 (Cortex-A core) > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > WB disabled EABT branch prediction enabled > LoUU:2 LoC:1 LoUIS:2 > Cache level 1: > 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc > 32KB/32B 4-way instruction cache Read-Alloc > real memory =3D 2147483648 (2048 MB) > avail memory =3D 2093953024 (1996 MB) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > random device not loaded; using insecure entropy > random: initialized > ofwbus0: > simplebus0: on ofwbus0 > gic0: mem > 0xa01000-0xa01fff,0xa00100-0xa001ff on simplebus0 > gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b sc->nirqs 160 > l2cache0: mem 0xa02000-0xa02fff irq 124 on > simplebus0 > l2cache0: Part number: 0x3, release: 0x7 > l2cache0: L2 Cache: 1024KB/32B 16 ways > l2cache0: L2 Cache enabled > simplebus1: mem 0x2000000-0x20fffff = on > simplebus0 > ccm0: mem 0x20c4000-0x20c7fff = irq > 119,120 on simplebus1 > imx6_anatop0: mem > 0x20c8000-0x20c8fff irq 49 on simplebus1 > imx6_anatop0: voltage set to 1225 > imx6_anatop0: CPU frequency 984MHz > imx_gpt0: mem 0x2098000-0x209bfff irq 87 on > simplebus1 > Event timer "iMXGPT" frequency 11000000 Hz quality 800 > Timecounter "iMXGPT" frequency 11000000 Hz quality 1000 > uart0: mem 0x2020000-0x2023fff irq 58 on simplebus1 > uart0: console (0,n,8,1) > usbphy0: mem 0x20c9000-0x20c9fff irq 44 on > simplebus1 > usbphy1: mem 0x20ca000-0x20cafff irq 45 on > simplebus1 > simplebus2: mem 0x2100000-0x21fffff = on > simplebus0 > ffec0: mem 0x2188000-0x218bfff = irq > 150,151 on simplebus2 > miibus0: on ffec0 > atphy0: PHY 1 on miibus0 > atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto > ffec0: Ethernet address: 00:1f:7b:b4:06:7f > ehci0: mem = 0x2184000-0x21841ff > irq 75 on simplebus2 > ehci0: [GIANT-LOCKED] > usbus0: EHCI version 1.0 > usbus0 on ehci0 > ehci1: mem = 0x2184200-0x21843ff > irq 72 on simplebus2 > ehci1: [GIANT-LOCKED] > usbus1: EHCI version 1.0 > usbus1 on ehci1 > sdhci_imx0: mem 0x2190000-0x2193fff irq = 54 on > simplebus2 > mmc0: on sdhci_imx0 > sdhci_imx1: mem 0x2198000-0x219bfff irq = 56 on > simplebus2 > mmc1: on sdhci_imx1 > ocotp0: mem > 0x21bc000-0x21bffff on simplebus2 > Timecounters tick every 4.000 msec > usbus0: 480Mbps High Speed USB v2.0 > usbus1: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on = usbus0 > ugen1.1: at usbus1 > uhub1: on = usbus1 > mmc0: No compatible cards found on bus > mmcsd0: 16GB at mmc1 > 50.0MHz/4bit/65535-block > random: unblocking device. > Release APs > uhub0: 1 port with 1 removable, self powered > uhub1: 1 port with 1 removable, self powered > Spurious interrupt detected [0x000003ff] > ugen1.2: at usbus1 > Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... > warning: no time-of-day clock registered, system time will not be set > accurately >=20 >=20 >=20 >=20 > --=20 > A better world shall emerge based on faith and understanding - = Douglas > MacArthur > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"