From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 06:18:27 2013 Return-Path: Delivered-To: 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 ESMTP id DB93D19E; Sun, 29 Sep 2013 06:18:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A336B26EC; Sun, 29 Sep 2013 06:18:27 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r8T6IJXg052149; Sun, 29 Sep 2013 02:18:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r8T6IJRU052148; Sun, 29 Sep 2013 06:18:19 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 29 Sep 2013 06:18:19 GMT Message-Id: <201309290618.r8T6IJRU052148@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 06:18:27 -0000 TB --- 2013-09-29 05:20:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-09-29 05:20:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-09-29 05:20:17 - starting HEAD tinderbox run for arm/arm TB --- 2013-09-29 05:20:17 - cleaning the object tree TB --- 2013-09-29 05:20:17 - /usr/local/bin/svn stat /src TB --- 2013-09-29 05:20:22 - At svn revision 255933 TB --- 2013-09-29 05:20:23 - building world TB --- 2013-09-29 05:20:23 - CROSS_BUILD_TESTING=YES TB --- 2013-09-29 05:20:23 - MAKEOBJDIRPREFIX=/obj TB --- 2013-09-29 05:20:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-09-29 05:20:23 - SRCCONF=/dev/null TB --- 2013-09-29 05:20:23 - TARGET=arm TB --- 2013-09-29 05:20:23 - TARGET_ARCH=arm TB --- 2013-09-29 05:20:23 - TZ=UTC TB --- 2013-09-29 05:20:23 - __MAKE_CONF=/dev/null TB --- 2013-09-29 05:20:23 - cd /src TB --- 2013-09-29 05:20:23 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Sep 29 05:20:30 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools [...] c++ -O2 -pipe -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils -I. -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"arm-gnueabi-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/arm.arm/src/tmp\" -I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp -o PromoteMemoryToRegister.o c++ -O2 -pipe -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils -I. -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"arm-gnueabi-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/arm.arm/src/tmp\" -I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SSAUpdater.cpp -o SSAUpdater.o c++ -O2 -pipe -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils -I. -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"arm-gnueabi-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/arm.arm/src/tmp\" -I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp -o SimplifyCFG.o /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp: In function 'bool llvm::FoldBranchToCommonDest(llvm::BranchInst*)': /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1988: internal compiler error: Bus error: 10 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop. bmake[3]: stopped in /src/lib/clang/libllvmtransformutils *** Error code 1 Stop. bmake[2]: stopped in /src/lib/clang *** Error code 1 Stop. bmake[1]: stopped in /src *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-09-29 06:18:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-09-29 06:18:19 - ERROR: failed to build world TB --- 2013-09-29 06:18:19 - 3128.95 user 292.26 system 3482.79 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 06:48:36 2013 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 ESMTP id 50B6B569; Sun, 29 Sep 2013 06:48:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC2EC2898; Sun, 29 Sep 2013 06:48:35 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hm2so2454862wib.12 for ; Sat, 28 Sep 2013 23:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ee50FZjBr1sQf0SWggjJAs6jHrrub13tS+1Md3J3UVU=; b=xDSJJykxXQAMxQ3f/S1RHsaI6GVYI0/0TXjT5qck4l9jvyJdVngsVzaoM9BEIUa4oZ Tm7A7FAfBfk6wpDF/3dv+ciJt1B7TnoaeJnnFyvjXUMRCd/QulnrhDi28kX0xgsmdj6i 8Rpf+f+BBj3kO5CkPc5yl/1DyDTfss/AzfWL/gvBjNPnkTo1DHOT/lC8p5GFQGLYJheP gPV3oTHqn7pNueAFK+DptKhrBZnJG0tgRRzlsI00VhlvXs2aFOzLDR0e/RYZCoFvS7x6 MTRjGgK6UFuVIN8PQcNeflVxDTtM2NQZGdQ0tVkFrAmoOt/uBek4JXllqG3gorDSNEJl acnQ== MIME-Version: 1.0 X-Received: by 10.180.211.171 with SMTP id nd11mr5978298wic.0.1380437314182; Sat, 28 Sep 2013 23:48:34 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sat, 28 Sep 2013 23:48:34 -0700 (PDT) In-Reply-To: <1380392911.1197.340.camel@revolution.hippie.lan> References: <1380392804.1197.339.camel@revolution.hippie.lan> <1380392911.1197.340.camel@revolution.hippie.lan> Date: Sat, 28 Sep 2013 23:48:34 -0700 X-Google-Sender-Auth: gPDpukfg2SkbOqWBHDpfCJxn0LE Message-ID: Subject: Re: avila boot2 problem ? From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Berislav Purgar , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 06:48:36 -0000 .. i'll ask andy today about this. -a On 28 September 2013 11:28, Ian Lepore wrote: > On Sat, 2013-09-28 at 12:26 -0600, Ian Lepore wrote: > > On Sat, 2013-09-28 at 20:05 +0200, Berislav Purgar wrote: > > > On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar > wrote: > > > > > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i > got err > > > > from LD > > > > about missing __aeabi_llsl from boot2.o ? > > > > > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > > > ixp425/boot2 runs Ok but when trying to link these object i got > these error > > > > undefined __aeabi_llsl from boot2.o .. > > > > > > > > > > > > sorry for my english .. > > > > > > > > here is image for this error > > > > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > > > > > > > > > > > > > just tested on 9.0 and evrething is OK .. > > > > On 9.x the default compiler is gcc using OABI. On 10 the default > > compiler is clang and the default ABI is EABI. The ABI is what's > > causing the problem in building boot2. On 10 you could set > > WITHOUT_ARM_EABI=yes in your make.conf to work around it for now. > > > > The real fix is to figure out what we need to do to make eabi work in > > standalone(ish) build environments like the bootloaders. > > > > -- Ian > > I should mention also that when you change compiler and/or abi using teh > WITH/WITHOUT controls, you must recompile the entire world and kernel, > or you'll get all kinds of strange errors at runtime. > > -- Ian > > > _______________________________________________ > 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" > From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 08:27:10 2013 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 ESMTP id 25697E33 for ; Sun, 29 Sep 2013 08:27:10 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id 06E002BBD for ; Sun, 29 Sep 2013 08:27:09 +0000 (UTC) Received: from bender (unknown [78.133.116.236]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 2523F5DFFE; Sun, 29 Sep 2013 08:27:02 +0000 (UTC) Date: Sun, 29 Sep 2013 10:26:51 +0200 From: Andrew Turner To: Berislav Purgar Subject: Re: avila boot2 problem ? Message-ID: <20130929102651.15b203ff@bender> In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/ak/kjF/WognxGc3Gb7sb4B6" Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 08:27:10 -0000 --MP_/ak/kjF/WognxGc3Gb7sb4B6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, 28 Sep 2013 18:48:32 +0200 Berislav Purgar wrote: > Hello .. i have tryed to build boot2 for avila GW2345 board but i got > err from LD > about missing __aeabi_llsl from boot2.o ? > > freebsd -HEAD ... i have build buildworld and buildenv .. make > ixp425/boot2 runs Ok but when trying to link these object i got these > error undefined __aeabi_llsl from boot2.o .. Can you try the attached patch. It adds the required function to libkern, along with the needed unwind symbol. Andrew --MP_/ak/kjF/WognxGc3Gb7sb4B6 Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=llsl_fix.diff Index: sys/boot/arm/ixp425/boot2/Makefile =================================================================== --- sys/boot/arm/ixp425/boot2/Makefile (revision 255873) +++ sys/boot/arm/ixp425/boot2/Makefile (working copy) @@ -1,5 +1,7 @@ # $FreeBSD$ +.include + # We get a lot of the std lib functions from here. .PATH: ${.CURDIR}/../../at91/libat91 @@ -15,6 +17,9 @@ SRCS=arm_init.S boot2.c ${BOOT_FLAVOR:tl}_board.c SRCS+=memchr.c memcmp.c memcpy.c memmem.c memset.c printf.c strcmp.c strcpy.c SRCS+=strlen.c ashldi3.c divsi3.S muldi3.c +.if ${MK_ARM_EABI} != "no" +SRCS+=aeabi_unwind.c +.endif NO_MAN= KERNPHYSADDR=0x180000 Index: sys/libkern/arm/aeabi_unwind.c =================================================================== --- sys/libkern/arm/aeabi_unwind.c (revision 255873) +++ sys/libkern/arm/aeabi_unwind.c (working copy) @@ -29,7 +29,11 @@ __FBSDID("$FreeBSD$"); #include +#ifdef _KERNEL #include +#else +#define panic(x) (void)0 +#endif #ifdef __ARM_EABI__ /* We need to provide these functions never call them */ Index: sys/libkern/ashldi3.c =================================================================== --- sys/libkern/ashldi3.c (revision 255873) +++ sys/libkern/ashldi3.c (working copy) @@ -59,3 +59,13 @@ } return (aa.q); } + +#ifdef __ARM_EABI__ +long long __aeabi_llsl(long long, int); + +long long +__aeabi_llsl(long long a, int b) +{ + return __ashldi3(a, b); +} +#endif --MP_/ak/kjF/WognxGc3Gb7sb4B6-- From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 10:36:05 2013 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 ESMTP id 62F65CEC for ; Sun, 29 Sep 2013 10:36:05 +0000 (UTC) (envelope-from florence44638@caliopea.com) Received: from antispam.calyopea.com (digi00817.digicube.fr [95.130.13.154]) by mx1.freebsd.org (Postfix) with ESMTP id 2698220A8 for ; Sun, 29 Sep 2013 10:36:04 +0000 (UTC) Received: from ssl.calyopea.com (ssl [95.130.13.154]) by antispam.calyopea.com (Postfix) with ESMTP id E1BD3759C1 for ; Sun, 29 Sep 2013 12:29:38 +0200 (CEST) Received: from internal-ip (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) by Mailer-VIP-1.calyopea.fr (Postfix) with ESMTPSA id AF50475928; Sun, 29 Sep 2013 12:29:38 +0200 (CEST) Message-ID: <5248011B.90200@caliopea.com> Date: Sun, 29 Sep 2013 12:29:47 +0200 From: john smith User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: raspberry pi rev B : no luck booting.. Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 10:36:05 -0000 Hello all I've just bought a small r-pi rev B (512Mb), and still can't figure why it won't boot any FreeBSD images found on the net. Tested with raspbian (debian) and even riscos: works just fine (my SD doesn't seem to be involved); But any freebsd based image (my latest, most promising was http://files.khubla.com/freebsd-raspberry-pi/FreeBSD-HEAD-r255363-ARMv6-RPI-B-SOUND-4GB.img.tgz ) but still no luck.. Other tried images were the latest from: http://www.db.net/downloads/ http://www.peach.ne.jp/archives/rpi/ Each time, the "act" led blinks nearly one second and stop there.... Is there a specific firmware I should have flashed before trying to boot freebsd or something else everybody knows, except me ;-) ? Thanks in advance. P. From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 12:52:23 2013 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 ESMTP id 7DE81AE0 for ; Sun, 29 Sep 2013 12:52:23 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 416A925C5 for ; Sun, 29 Sep 2013 12:52:23 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id k15so1631896qaq.1 for ; Sun, 29 Sep 2013 05:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mDvR4E+FUMgC1HM2qJUpOr3IQxGJNdgsHmlT2cAjHmU=; b=Xv4i2zK/xgDDrj2WlwfAS8suXET3meY+Si032Gt5fE34ae6hFTg50LucSA0LRI3AfD MkZpOa6r4PEdGCGV9Zqo2q11oReWjIHu3mN2BnJYdrbNVKtkEQCT3jGQbRd6eh+3IPJo OecTQhPOlwyCG4fWHJsuLdkA2tO/oYc2WRPFANRrVxFMX9dLQGv7GAwXL0qbRdGF6Tav ipePzmfWcOANZIx6+NM4RLdPfPnGMymLp7s5v4bZfpZhLS3Wv9+WqxpFpuaqhx3rOo2r eB09+xfqlwRjsmn7XtZyIXf/ZKMxA9RDw2c4HDic9wNiQX4cJTge0tiNb1YoAq0Bvcgp aHOQ== MIME-Version: 1.0 X-Received: by 10.224.114.10 with SMTP id c10mr7581654qaq.55.1380459142382; Sun, 29 Sep 2013 05:52:22 -0700 (PDT) Received: by 10.49.101.13 with HTTP; Sun, 29 Sep 2013 05:52:22 -0700 (PDT) In-Reply-To: <20130929102651.15b203ff@bender> References: <20130929102651.15b203ff@bender> Date: Sun, 29 Sep 2013 14:52:22 +0200 Message-ID: Subject: Re: avila boot2 problem ? From: Berislav Purgar To: Andrew Turner Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 12:52:23 -0000 On Sun, Sep 29, 2013 at 10:26 AM, Andrew Turner wrote: > On Sat, 28 Sep 2013 18:48:32 +0200 > Berislav Purgar wrote: > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i got > > err from LD > > about missing __aeabi_llsl from boot2.o ? > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > ixp425/boot2 runs Ok but when trying to link these object i got these > > error undefined __aeabi_llsl from boot2.o .. > > Can you try the attached patch. It adds the required function to > libkern, along with the needed unwind symbol. > > Andrew great ... now compiles WITHOUT_ARM_EABI=yes on latest -HEAD .. (patched .. buildworld .. buildenv .. make boot2) tnx From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 12:53:58 2013 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 ESMTP id AE2B0C3F for ; Sun, 29 Sep 2013 12:53:58 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7027B25D4 for ; Sun, 29 Sep 2013 12:53:58 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id j7so1626035qaq.17 for ; Sun, 29 Sep 2013 05:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vy25MnhbGizBlLp+gv1JaZL23JK2VyrbZdSgQN9l89U=; b=c35E4brlsSeeyoY9+JkzVhrrcD6zcK/adLnnzM5Y44KHE76s+OVj2HvPVjS67Hyfyp gn7nDqoXWIPdT/DIts/ewUVSZSHceiV7iBvxT/n8TfWGa+kFosvVj4x2fySjcIfAKFFH qV8cxAR3rtHJ6VDvpjGUSwVZJ5MqDUgxS4J1ilMF5Xv5TEO1XX4r6HFTg1TTy1+VVKYs 9gmrAQLzY/0m/dn5SmRzWWJte1f8aqGBVG7/PsQYqaoLMZec2prVFaq9PJjGNTCbgbuO 1oHQYVx5qLXbHSXbGw6x2I/IeOykdOMISYSkMizeL4fmlUYXQ3L+/HxEWuCq5J+ujZKD ZOHA== MIME-Version: 1.0 X-Received: by 10.49.59.44 with SMTP id w12mr21643666qeq.57.1380459237597; Sun, 29 Sep 2013 05:53:57 -0700 (PDT) Received: by 10.49.101.13 with HTTP; Sun, 29 Sep 2013 05:53:57 -0700 (PDT) In-Reply-To: References: <20130929102651.15b203ff@bender> Date: Sun, 29 Sep 2013 14:53:57 +0200 Message-ID: Subject: Re: avila boot2 problem ? From: Berislav Purgar To: Andrew Turner Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 12:53:58 -0000 On Sun, Sep 29, 2013 at 2:52 PM, Berislav Purgar wrote: > > > > On Sun, Sep 29, 2013 at 10:26 AM, Andrew Turner wrote: > >> On Sat, 28 Sep 2013 18:48:32 +0200 >> Berislav Purgar wrote: >> >> > Hello .. i have tryed to build boot2 for avila GW2345 board but i got >> > err from LD >> > about missing __aeabi_llsl from boot2.o ? >> > >> > freebsd -HEAD ... i have build buildworld and buildenv .. make >> > ixp425/boot2 runs Ok but when trying to link these object i got these >> > error undefined __aeabi_llsl from boot2.o .. >> >> Can you try the attached patch. It adds the required function to >> libkern, along with the needed unwind symbol. >> >> Andrew > > > great ... now compiles WITHOUT_ARM_EABI=yes on latest -HEAD .. (patched .. > buildworld .. buildenv .. make boot2) > > tnx > i mean without these WITHOUT_ARM_EABI in make.conf .. From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 13:54:31 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83278C2B for ; Sun, 29 Sep 2013 13:54:31 +0000 (UTC) (envelope-from george@ceetonetechnology.com) Received: from feynman.konjz.org (feynman.konjz.org [64.147.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A11B2807 for ; Sun, 29 Sep 2013 13:54:29 +0000 (UTC) Received: from 127.0.0.1 (tor18.anonymizer.ccc.de [31.172.30.1]) (authenticated bits=0) by feynman.konjz.org (8.14.7/8.14.4) with ESMTP id r8TDmvYF018712 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 29 Sep 2013 09:49:01 -0400 (EDT) (envelope-from george@ceetonetechnology.com) Message-ID: <52482FC1.4010703@ceetonetechnology.com> Date: Sun, 29 Sep 2013 09:48:49 -0400 From: George Rosamond MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: raspberry pi rev B : no luck booting.. References: <5248011B.90200@caliopea.com> In-Reply-To: <5248011B.90200@caliopea.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 13:54:31 -0000 john smith: > > > Hello all > > I've just bought a small r-pi rev B (512Mb), and still can't figure why > it won't boot any FreeBSD images found on the net. > > Tested with raspbian (debian) and even riscos: works just fine (my SD > doesn't seem to be involved); > But any freebsd based image (my latest, most promising was > http://files.khubla.com/freebsd-raspberry-pi/FreeBSD-HEAD-r255363-ARMv6-RPI-B-SOUND-4GB.img.tgz > ) but still no luck.. > Other tried images were the latest from: > http://www.db.net/downloads/ > http://www.peach.ne.jp/archives/rpi/ > > Each time, the "act" led blinks nearly one second and stop there.... > > Is there a specific firmware I should have flashed before trying to boot > freebsd or something else everybody knows, except me ;-) ? Hey John. It should boot fine. I would do a couple of things: First, try watching it boot with video out connected and see what happens and where it's borking. Second, look at the device slices and make sure /boot/msdos is there with the standard txt files that RPi needs. I haven't used Tom K's images in a while, but I would assume they are fine. g From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 14:42:13 2013 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 ESMTP id BF70D8A5 for ; Sun, 29 Sep 2013 14:42:13 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (unknown [IPv6:2620:64:0:1:223:7dff:fea2:c8f2]) by mx1.freebsd.org (Postfix) with ESMTP id A86DA29E3 for ; Sun, 29 Sep 2013 14:42:13 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id 440FD2AA42F; Sun, 29 Sep 2013 08:42:12 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 8B9CF1CC17; Sun, 29 Sep 2013 09:41:45 -0500 (EST) Date: Sun, 29 Sep 2013 09:41:45 -0500 From: Diane Bruce To: George Rosamond Subject: Re: raspberry pi rev B : no luck booting.. Message-ID: <20130929144145.GA86120@night.db.net> References: <5248011B.90200@caliopea.com> <52482FC1.4010703@ceetonetechnology.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52482FC1.4010703@ceetonetechnology.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 14:42:13 -0000 On Sun, Sep 29, 2013 at 09:48:49AM -0400, George Rosamond wrote: > john smith: > > > > > > Hello all > > > > I've just bought a small r-pi rev B (512Mb), and still can't figure why > > it won't boot any FreeBSD images found on the net. > > ... > > Second, look at the device slices and make sure /boot/msdos is there > with the standard txt files that RPi needs. > How exactly are you writing the image to the sd card? > I haven't used Tom K's images in a while, but I would assume they are fine. > > g > Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 16:41:59 2013 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 ESMTP id 6785C9CE; Sun, 29 Sep 2013 16:41:59 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 13F0D2DEB; Sun, 29 Sep 2013 16:41:59 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id lc6so2898044vcb.29 for ; Sun, 29 Sep 2013 09:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=+oGPtRHvI/00ct5rGKdgfUDToVDfwjmC9r//hBWgIz8=; b=uY0j19W/dUq9JEfhbgAoh2IcawgGPYHEFvhdsd0eQhOhFw/VgxrxSzb080c7pS/51C 7cl4RK6U5F3dNIM94mfxj2PLF4Gz1HXvtBrGugHgu68Hd8rHf2N68wfyebGyMIMS57Gm Ee6ymgKIlaNkey5j4D+oSU3ZeNmrAn95imd0/ZT0sMedfSDpcAqmSSx8sLGthXjT5RVI 7x+sqeWoSAKag6WMF7mlCSqzrfo8Gq3CRb7XEMbphZRRHnq49Yr0z9dd8GCjB6YjLBP2 08+cNdRlr6+uhvYFkekwKMinXbsjSm2u2DxUFcMFyfNkMBvFlUw7zRk5jUja70BdbpCq OlHQ== X-Received: by 10.58.187.47 with SMTP id fp15mr2171205vec.22.1380472918176; Sun, 29 Sep 2013 09:41:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.225.34 with HTTP; Sun, 29 Sep 2013 09:41:28 -0700 (PDT) From: Jia-Shiun Li Date: Mon, 30 Sep 2013 00:41:28 +0800 Message-ID: Subject: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). To: ticso@cicely.de Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 16:41:59 -0000 On Sat, Sep 28, 2013 at 7:18 AM, Bernd Walter wrote: > On Thu, Sep 26, 2013 at 07:43:39PM -0700, Tim Kientzle wrote: >> >> I've not looked into the code required, but I know some of the issues: >> >> * For the older "white" Beaglebone, at least, the CPU frequency >> needs to be set properly depending on the power supply. So >> "someone" needs to read the PMIC and determine whether >> power is coming from the 5V input or from USB. In the latter >> case, I believe the lower frequency may be appropriate. >> >> * For BB White, I believe the "someone" was U-Boot; the FreeBSD >> kernel just assumed the CPU was already properly initialized. >> I haven't looked to see if the U-Boot we're using now does power >> config for BBB. >> >> * We should add a PMIC driver and do this setting in our kernel. > > This matches with what I got from reading some mails on a NetBSD list: > http://mail-index.netbsd.org/port-arm/2013/08/01/msg001932.html > > I didn't find any definitive answer about barrel plug vs. USB supply. > It seems that via USB the performance is to be reduced. > However using a lab supply I measured via barrel plug supply 270mA with > 550MHz FreBSD and 320mA with preinstalled Linux at unknown frequency. > Maybe precaution for higher load, or USB devices sucking power. According the the manual, the PMIC does not seems to do too much different between two power supply sources. Only that USB input has lower current limit, and AC is preferred when both are connected. I suppose it is just for convenience. And there is no much dynamic voltage output setting available. Output voltages are all fixed to support am335x needs. So I think we can skip this part too. I looked into the u-boot code (13.04) and there seems no difference among all am335x based boards. The PLL init code just blindly sets MPU to 550MHz ( via CONFIG_SYS_MPUCLK). But after changing the value to 1000 and rebuilding u-boot, kernel still reports 550MHz. Dumping registers under u-boot prompt also confirmed what kernel sees . But I manually modified registers using the sequence in mpu_pll_config() of u-boot and got the MPU clocked at the value I gave. There seems to be some unknown sequences in u-boot either skipping or overwriting MPU PLL settings. U-Boot SPL 2013.04 (Sep 27 2013 - 11:03:02) OMAP SD/MMC: 0 reading bb-uboot.img reading bb-uboot.img U-Boot 2013.04 (Sep 27 2013 - 11:03:02) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 U-Boot# md.l 0x44e00400 44e00400: 00001e16 00000002 00000002 00000002 ................ 44e00410: 00000002 52580002 0000001e 00000000 ......XR........ 44e00420: 00000001 00000000 00000000 00022617 .............&.. 44e00430: 00000000 00000001 00000000 00000000 ................ 44e00440: 00019017 00000000 00000100 00000000 ................ 44e00450: 00000000 00000000 00000000 00000001 ................ 44e00460: 00000000 00000000 0003e817 00000000 ................ 44e00470: 00000001 00000000 00000000 00000300 ................ 44e00480: 0000022a 00000228 00000007 00000007 *...(........... 44e00490: 00000007 00000007 00000004 0403c017 ................ 44e004a0: 00000201 00000001 00000201 00000205 ................ 44e004b0: 00040002 00000002 00000002 00030000 ................ 44e004c0: 00030000 00030000 00030000 00000006 ................ 44e004d0: 00000002 00000002 00000004 00000000 ................ 44e004e0: 00000000 00000000 00000000 00000000 ................ 44e004f0: 00000000 00000000 00000000 00000000 ................ U-Boot# mm.l 0x44e00488 44e00488: 00000007 ? 0x00000004 44e0048c: 00000007 ? U-Boot# md.l 0x44e00400 44e00400: 00001e16 00000002 00000002 00000002 ................ 44e00410: 00000002 52580002 0000001e 00000000 ......XR........ 44e00420: 00000100 00000000 00000000 00000017 ................ 44e00430: 00000000 00000001 00000000 00000000 ................ 44e00440: 00019017 00000000 00000100 00000000 ................ 44e00450: 00000000 00000000 00000000 00000001 ................ 44e00460: 00000000 00000000 0003e817 00000000 ................ 44e00470: 00000001 00000000 00000000 00000300 ................ 44e00480: 0000022a 00000228 00000004 00000007 *...(........... 44e00490: 00000007 00000007 00000004 0403c017 ................ 44e004a0: 00000201 00000001 00000201 00000205 ................ 44e004b0: 00040002 00000002 00000002 00030000 ................ 44e004c0: 00030000 00030000 00030000 00000006 ................ 44e004d0: 00000002 00000002 00000004 00000000 ................ 44e004e0: 00000000 00000000 00000000 00000000 ................ 44e004f0: 00000000 00000000 00000000 00000000 ................ U-Boot# mm.l 0x44e0042c 44e0042c: 00000017 ? 0x00030017 44e00430: 00000000 ? U-Boot# mm.l 0x44e004a8 44e004a8: 00000201 ? 0x00000201 44e004ac: 00000205 ? U-Boot# mm.l 0x44e00488 44e00488: 00000004 ? 0x00000007 44e0048c: 00000007 ? U-Boot# md 0x44e00400 44e00400: 00001e16 00000002 00000002 00000002 ................ 44e00410: 00000002 52580002 0000001e 00000000 ......XR........ 44e00420: 00000001 00000000 00000000 00030017 ................ 44e00430: 00000000 00000001 00000000 00000000 ................ 44e00440: 00019017 00000000 00000100 00000000 ................ 44e00450: 00000000 00000000 00000000 00000001 ................ 44e00460: 00000000 00000000 0003e817 00000000 ................ 44e00470: 00000001 00000000 00000000 00000300 ................ 44e00480: 0000022a 00000228 00000007 00000007 *...(........... 44e00490: 00000007 00000007 00000004 0403c017 ................ 44e004a0: 00000201 00000001 00000201 00000205 ................ 44e004b0: 00040002 00000002 00000002 00030000 ................ 44e004c0: 00030000 00030000 00030000 00000006 ................ 44e004d0: 00000002 00000002 00000004 00000000 ................ 44e004e0: 00000000 00000000 00000000 00000000 ................ 44e004f0: 00000000 00000000 00000000 00000000 ................ U-Boot# boot mmc0 is current device SD/MMC found on device 0 reading bb-uEnv.txt reading bbubldr 237032 bytes read in 31 ms (7.3 MiB/s) reading bboneblk.dtb 15203 bytes read in 7 ms (2.1 MiB/s) Booting from mmc ... ## Starting application at 0x88000054 ... Consoles: U-Boot console Compatible API signature found @9f242240 Number of U-Boot devices: 2 FreeBSD/armv6 U-Boot loader, Revision 1.2 (jsli@4cbsd, Fri Sep 27 10:45:52 CST 2013) DRAM: 512MB Device: disk Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x454388+0x17d564 syms=[0x4+0x83c10+0x4+0x4f96d] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot. Kernel entry at 0x80200100... Kernel args: (null) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 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 10.0-ALPHA3 #0 r255876: Fri Sep 27 10:43:09 CST 2013 jsli@4cbsd:/root/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Cortex A8-r3 rev 2 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 LoUIS:1 Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory = 536870912 (512 MB) avail memory = 515723264 (491 MB) Texas Instruments AM3358 Processor, Revision ES1.1 random device not loaded; using insecure entropy random: initialized simplebus0: on fdtbus0 aintc0: mem 0x48200000-0x48200fff on simplebus0 aintc0: Revision 5.0 ti_scm0: mem 0x44e10000-0x44e11fff on simplebus0 am335x_prcm0: mem 0x44e00000-0x44e012ff on simplebus0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 768 MHz (omitted below) Jia-Shiun. From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 20:01:42 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9758E89C; Sun, 29 Sep 2013 20:01:42 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [IPv6:2607:f8b0:400c:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 475EC2672; Sun, 29 Sep 2013 20:01:42 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id h11so3149248vbh.2 for ; Sun, 29 Sep 2013 13:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=GBleBB1rmIXc6SYcBokFgiDZ3BlYeTFFaHappeUEiwQ=; b=atTNsHV6CbjVBoUb8AJ1L4DrqQ619ckQT7pJtlqy0DlW4EMtdW76WqEjLl66hk2O1d 2+zbyKOivBVfIk3WktHGuTaTn9U9Ue7p1rtwoSAN1D3dVxg4ZMXf3agzCzC1dpEvpE8S KjxTj4MBuOEWVnpPZluM2TdsJtRE1KCYfG4IpTSrLKIWcBZkMs9ARYm6XN7ynDvgfaJ3 QHk91WxfNPeWTNWarbVUQgEuJ0cinfZopbaae3DZ5nlEwWw8JW/RDvaXqniqUuqPqZ03 teDUB5dSW+OEqbb3ed7jYxOOu7pD69abPPfvUw5SgrIc3yKYy0mdUJwxTXSxlfbni7zT ZGMw== X-Received: by 10.220.174.200 with SMTP id u8mr18529813vcz.6.1380484901240; Sun, 29 Sep 2013 13:01:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.225.34 with HTTP; Sun, 29 Sep 2013 13:01:11 -0700 (PDT) In-Reply-To: References: From: Jia-Shiun Li Date: Mon, 30 Sep 2013 04:01:11 +0800 Message-ID: Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). To: ticso@cicely.de Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 20:01:42 -0000 On Mon, Sep 30, 2013 at 12:41 AM, Jia-Shiun Li wrote: > But I manually modified registers using the sequence in mpu_pll_config() of > u-boot and got the MPU clocked at the value I gave. There seems to be some > unknown sequences in u-boot either skipping or overwriting MPU PLL settings. Never mind. Have to copy MLO in addition to u-boot.img as well. Looks like PLL init part is there. However, I cannot set MPU clock to 800 MHz and beyond. Now booting ok at 750MHz. Maybe a heat sink or active cooling is required. Will try when I get one. cpufreq for ARM boards may be possible provided frequency can be changed dynamically. But if the board cannot provide a way to determine stability reliability it may be impractical to make it automatic. Jia-Shiun. From owner-freebsd-arm@FreeBSD.ORG Sun Sep 29 20:07:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0AF77B17; Sun, 29 Sep 2013 20:07:07 +0000 (UTC) (envelope-from bernd@cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 92149269E; Sun, 29 Sep 2013 20:07:06 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8TK6wQ7048865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 29 Sep 2013 22:06:58 +0200 (CEST) (envelope-from bernd@cicely.de) Received: from [10.1.11.7] (ipad.cicely.de [10.1.11.7]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8TK6uUF053205 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 29 Sep 2013 22:06:56 +0200 (CEST) (envelope-from bernd@cicely.de) References: In-Reply-To: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <4E82854E-5979-40CD-BA9E-BD72D726E000@cicely.de> X-Mailer: iPad Mail (10B329) From: Bernd Walter Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). Date: Sun, 29 Sep 2013 22:06:57 +0200 To: Jia-Shiun Li X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: "freebsd-arm@freebsd.org" , "ticso@cicely.de" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2013 20:07:07 -0000 Am 29.09.2013 um 22:01 schrieb Jia-Shiun Li : > On Mon, Sep 30, 2013 at 12:41 AM, Jia-Shiun Li wrote:= >> But I manually modified registers using the sequence in mpu_pll_config() o= f >> u-boot and got the MPU clocked at the value I gave. There seems to be som= e >> unknown sequences in u-boot either skipping or overwriting MPU PLL settin= gs. >=20 > Never mind. Have to copy MLO in addition to u-boot.img as well. > Looks like PLL init part is there. >=20 > However, I cannot set MPU clock to 800 MHz and beyond. Now booting ok at > 750MHz. Maybe a heat sink or active cooling is required. Will try when > I get one. That matches with what the NetBSD list describes. You also need to configure the PMIC to deliver a higher core voltage for higher frequencies. If you don't your systems becomes unstable. > cpufreq for ARM boards may be possible provided frequency can be changed > dynamically. But if the board cannot provide a way to determine > stability reliability it may be impractical to make it automatic. >=20 From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 03:26:29 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BFE8B89F for ; Mon, 30 Sep 2013 03:26:29 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C50C26E4 for ; Mon, 30 Sep 2013 03:26:29 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r8U3QDEe054410; Mon, 30 Sep 2013 03:26:13 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id bmrkxz4dzspyabuqz2q3ss768e; Mon, 30 Sep 2013 03:26:13 +0000 (UTC) (envelope-from kientzle@freebsd.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). From: Tim Kientzle In-Reply-To: Date: Sun, 29 Sep 2013 20:26:11 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Jia-Shiun Li X-Mailer: Apple Mail (2.1510) Cc: "freebsd-arm@freebsd.org" , ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 03:26:29 -0000 On Sep 29, 2013, at 9:41 AM, Jia-Shiun Li wrote: >=20 > According the the manual, the PMIC does not seems to do too much = different > between two power supply sources. > Only that USB input has lower current limit, and AC is preferred when > both are connected. My understanding: * We should query the PMIC to determine whether we're running from 5V = supply or USB. * Based on that, we should adjust the CPU clocks. We should be able = to run 1GHz from 5v supply. Connecting cpufreq would be a nice addition. Tim From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 06:46:59 2013 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 ESMTP id 5FD78F10; Mon, 30 Sep 2013 06:46:59 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 27BC32DD0; Mon, 30 Sep 2013 06:46:59 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id tp5so8903937ieb.26 for ; Sun, 29 Sep 2013 23:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lHR0/5F/1mTzB77cuI3fEVpb/WYTHBPGZoj638S1+1U=; b=L8y+TWhkrQe6Py2IfWJPJ3YLcQ6S+kEmlkbAIDeb8U2QiwbAxodIDfDVTWP7t97cXa RXR4C3GDBhxzdBo0QNa2DgLonoqQSUhBsLYXoj87df8J27M9Bd7BOIwizkrcyh0SQFGH rHyhwqEJoOQHHcrVbeYVR483JpRF5nNKhxdCRav70LZhKojzvGFKajOmb9rba2pgNfeK cdVsmUvFkHIvWoUgRIkrSK7H5IhtqX7uXBUOGRmULQIKSG9GOTbeZJDg0dBoToqzI846 10WQeP0nq+nSXGVhVD3OlaW/rkQ6JNIFrsHRwixCOP43SN8TO6I8wWoGup+XvW70sFBi zBRg== MIME-Version: 1.0 X-Received: by 10.50.20.99 with SMTP id m3mr12484721ige.54.1380523618484; Sun, 29 Sep 2013 23:46:58 -0700 (PDT) Received: by 10.65.14.133 with HTTP; Sun, 29 Sep 2013 23:46:58 -0700 (PDT) In-Reply-To: <20130930100227.1c6aeec3@workernb.localdomain> References: <20130930100227.1c6aeec3@workernb.localdomain> Date: Mon, 30 Sep 2013 14:46:58 +0800 Message-ID: Subject: Re: ARM & Armada XP support. From: Ganbold Tsagaankhuu To: "Andrew N. Balahonov" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Ganbold Tsagaankhuu , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 06:46:59 -0000 Andrew, On Mon, Sep 30, 2013 at 2:02 PM, Andrew N. Balahonov wrote: > hi Ganbold, > > I've went to https://wiki.freebsd.org/FreeBSD/arm and got > > Boards that are supported or currently in the works: > ... > Marvell DB-78460 (ARMv7) > ... > > I have Armada XP hardware and interested in > installing FreeBSD on it. > > Please review u-boot "listing_1" below for detailed > information about soc/board. > > In accordance to https://wiki.freebsd.org/FreeBSDMarvell > this SoC is not supported. Can you confirm (or contradict) it? > I'm not sure about this SoC, but I think people like zbb@ who are subscribed to freebsd-arm@ like has more knowledge about it. IIRC, zbb@ has some Armada XP hardware. best regards, Ganbold > > Anyway, I've builded kernel with > make buildkernel TARGET_ARCH=arm KERNCONF=DB-MV78XXX > and copyed /usr/obj/arm.arm/usr/src/sys/DB-78XXX/kernel.bin > to the TFTP server. > > RiKOR>> setenv serverip 10.10.0.56; setenv ipaddr 10.10.0.57; > RiKOR>> setenv ethaddr 00:50:43:02:02:d7; tftpboot 0x2000000 > RiKOR>> 10.10.0.56:/kernel.bin > Using egiga0 device > TFTP from server 10.10.0.56; our IP address is 10.10.0.57 > Filename '/kernel.bin'. > Load address: 0x2000000 > Loading: > ################################################################# > ################################################################# > ################################################################# > ######################################### done > Bytes transferred = 3452408 (34adf8 hex) > RiKOR>> go 2000000 > ## Starting application at 0x02000000 ... > <--it hangs here. > > > It is possible to introduce support of this hardware by FreeBSD? > > How can we help you (FreeBSD team) to bring FreeBSD to this hardware? > > As a last chance it is possible to discuss how to ship this hardware to > your technical specialists. > > Also, I'm able to reroute you technical questions directly to Marvell. > > Thanks. > > -- > Andrew. > > > -----listing_1----- > > BootROM 1.20 > Booting from SPI flash > High speed PHY - Version: 2.1.2 (COM-PHY-V20) > Update PEX Device ID 0x78460 > High speed PHY - Ended Successfully > DDR3 Training Sequence - Ver 4.5.0 > DDR3 Training Sequence - Number of DIMMs detected: 1 > DDR3 Training Sequence - Registered DIMM vendor ID 0x8632 > DDR3 Training Sequence - Registered DIMM detected > DDR3 Training Sequence - Ended Successfully > Status = MV_OK > BootROM: Image checksum verification PASSED > > __ __ _ _ > | \/ | __ _ _ ____ _____| | | > | |\/| |/ _` | '__\ \ / / _ \ | | > | | | | (_| | | \ V / __/ | | > |_| |_|\__,_|_| \_/ \___|_|_| > _ _ ____ _ > | | | | | __ ) ___ ___ | |_ > | | | |___| _ \ / _ \ / _ \| __| > | |_| |___| |_) | (_) | (_) | |_ > \___/ |____/ \___/ \___/ \__| > ** LOADER ** > > > U-Boot 2011.12 (Sep 10 2013 - 12:12:28) Marvell version: v2011.12 > 2013_Q2.0 > > Board: RD-AXP-GP rev 1.0 > SoC: MV78460 B0 > running 4 CPUs > Custom configuration > CPU: Marvell PJ4B (584) v7 (Rev 2) LE > CPU 0 > CPU @ 1333 [MHz] > L2 @ 667 [MHz] > TClock @ 250 [MHz] > DDR @ 667 [MHz] > DDR 64Bit Width, FastPath Memory Access > DDR ECC Enabled > Dram Scrubbing starting (use XOR chanel 1) > CS 0 Dram Scrubbing 0x1000000:0xffffffff > CS 1 Dram Scrubbing 0x0:0xffffffff > Total physical DRAM size = 8 GB > > DRAM: 3 GiB > > Map: Code: 0xbfefc000:0xbff9f71c > BSS: 0xbffef31c > Stack: 0xbf9ebef8 > Heap: 0xbf9ec000:0xbfefc000 > > MMC: MRVL_MMC: 0 > SF: Detected M25Q128 with page size 64 KiB, total 16 MiB > PEX 0.0(0): Detected No Link. > PEX 0.1(1): Detected No Link. > PEX 0.2(2): Detected No Link. > PEX 0.3(3): Detected No Link. > PEX 2.0(4): Detected No Link. > PEX 3.0(5): Detected No Link. > FPU initialized to Run Fast Mode. > USB 0: Host Mode > USB 1: Host Mode > USB 2: Device Mode > Modules Detected: > Net: egiga0 [PRIME], egiga1, egiga2, egiga3 > Hit any key to stop autoboot: 0 > > -----end of listing_1----- > > From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 09:22:27 2013 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 ESMTP id 9E115E83; Mon, 30 Sep 2013 09:22:27 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from ns.kevlo.org (220-133-188-53.HINET-IP.hinet.net [220.133.188.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 316BC262B; Mon, 30 Sep 2013 09:22:26 +0000 (UTC) Received: from [127.0.0.1] (mail.kevlo.org [220.133.188.53]) by ns.kevlo.org (8.14.6/8.14.6) with ESMTP id r8U9J0O4026247; Mon, 30 Sep 2013 17:19:01 +0800 (CST) (envelope-from kevlo@FreeBSD.org) Message-ID: <524942C9.2090101@FreeBSD.org> Date: Mon, 30 Sep 2013 17:22:17 +0800 From: Kevin Lo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Ganbold Tsagaankhuu , "Andrew N. Balahonov" Subject: Re: ARM & Armada XP support. References: <20130930100227.1c6aeec3@workernb.localdomain> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ganbold Tsagaankhuu , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 09:22:27 -0000 Ganbold Tsagaankhuu wrote: > Andrew, > > > On Mon, Sep 30, 2013 at 2:02 PM, Andrew N. Balahonov wrote: > >> hi Ganbold, >> >> I've went to https://wiki.freebsd.org/FreeBSD/arm and got >> >> Boards that are supported or currently in the works: >> ... >> Marvell DB-78460 (ARMv7) >> ... >> >> I have Armada XP hardware and interested in >> installing FreeBSD on it. >> >> Please review u-boot "listing_1" below for detailed >> information about soc/board. >> >> In accordance to https://wiki.freebsd.org/FreeBSDMarvell >> this SoC is not supported. Can you confirm (or contradict) it? >> > > I'm not sure about this SoC, but I think people like zbb@ who are > subscribed to freebsd-arm@ like has more knowledge about it. > IIRC, zbb@ has some Armada XP hardware. > > best regards, > > Ganbold > > > >> Anyway, I've builded kernel with >> make buildkernel TARGET_ARCH=arm KERNCONF=DB-MV78XXX >> and copyed /usr/obj/arm.arm/usr/src/sys/DB-78XXX/kernel.bin >> to the TFTP server. >> >> RiKOR>> setenv serverip 10.10.0.56; setenv ipaddr 10.10.0.57; >> RiKOR>> setenv ethaddr 00:50:43:02:02:d7; tftpboot 0x2000000 >> RiKOR>> 10.10.0.56:/kernel.bin >> Using egiga0 device >> TFTP from server 10.10.0.56; our IP address is 10.10.0.57 >> Filename '/kernel.bin'. >> Load address: 0x2000000 >> Loading: >> ################################################################# >> ################################################################# >> ################################################################# >> ######################################### done >> Bytes transferred = 3452408 (34adf8 hex) >> RiKOR>> go 2000000 >> ## Starting application at 0x02000000 ... >> <--it hangs here. >> >> >> It is possible to introduce support of this hardware by FreeBSD? >> >> How can we help you (FreeBSD team) to bring FreeBSD to this hardware? >> >> As a last chance it is possible to discuss how to ship this hardware to >> your technical specialists. >> >> Also, I'm able to reroute you technical questions directly to Marvell. The load address is 0xf00000, not 0x02000000. >> >> Thanks. >> >> -- >> Andrew. Kevin From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 11:06:41 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A2A16DC2 for ; Mon, 30 Sep 2013 11:06:41 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 75EC12BE4 for ; Mon, 30 Sep 2013 11:06:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8UB6fBY053400 for ; Mon, 30 Sep 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UB6flH053398 for freebsd-arm@FreeBSD.org; Mon, 30 Sep 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Sep 2013 11:06:41 GMT Message-Id: <201309301106.r8UB6flH053398@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 11:06:41 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/182060 arm make buildworld fails on Raspberry PI o arm/181722 arm gdb on ARM unable to sensibly debug core file from ass o arm/181718 arm threads caused hung on ARM/RPI o arm/181601 arm Sporadic failure of root mount on ARM/Raspberry o arm/180080 arm Unmapped buffers on ARMv7 big-RAM boards o arm/179688 arm [patch] [rpi] serial console eats some characters at m o arm/179532 arm wireless networking on ARM o arm/178495 arm buildworld fail on arm/raspberry pi o arm/177687 arm gdb gets installed but does not know the EABI version o arm/177686 arm assertion failed in ld-elf.so.1 when invoking telnet w o arm/177685 arm [kernel] [patch] Correct return type and usage of at91 o arm/177538 arm tunefs(8) and mount(8) can not access a newfs(8)'d fil o arm/175803 arm building xdev for arm failing o arm/175605 arm please fix build binutils-2.23.1 in raspberry pi o arm/173617 arm Dreamplug exhibits eSATA file corruption using network o kern/171096 arm [arm][xscale][ixp]Allow 16bit access on PCI bus o arm/166256 arm build fail in pmap.c o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) p arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/134368 arm [new driver] [patch] nslu2_led driver for the LEDs on 27 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 13:58:59 2013 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 ESMTP id 9B3251AB for ; Mon, 30 Sep 2013 13:58:59 +0000 (UTC) (envelope-from florence44638@caliopea.com) Received: from antispam.calyopea.com (digi00817.digicube.fr [95.130.13.154]) by mx1.freebsd.org (Postfix) with ESMTP id 5D984290F for ; Mon, 30 Sep 2013 13:58:58 +0000 (UTC) Received: from ssl.calyopea.com (ssl [95.130.13.154]) by antispam.calyopea.com (Postfix) with ESMTP id 5E625759C1 for ; Mon, 30 Sep 2013 15:58:51 +0200 (CEST) Received: from internal-ip (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) by Mailer-VIP-1.calyopea.fr (Postfix) with ESMTPSA id D349675980; Mon, 30 Sep 2013 15:58:50 +0200 (CEST) Message-ID: <524983A4.9030302@caliopea.com> Date: Mon, 30 Sep 2013 15:59:00 +0200 From: john smith User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: raspberry pi rev B : no luck booting.. References: <5248011B.90200@caliopea.com> <52482FC1.4010703@ceetonetechnology.com> In-Reply-To: <52482FC1.4010703@ceetonetechnology.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 13:58:59 -0000 Le 29/09/2013 15:48, George Rosamond a écrit : > > Hey John. > > It should boot fine. yes, it should ;-) > > I would do a couple of things: > > First, try watching it boot with video out connected and see what > happens and where it's borking. still no luck with: composite only, hdmi, no video I tried too: without keyboard and no ethernet pluggued, same thing... > > Second, look at the device slices and make sure /boot/msdos is there > with the standard txt files that RPi needs. they are all there, (to reply to Diane Bruce also) I made my dd with dd if='any image' of=/dev/da0 bs=1M (the same as what had been done with rasbian & riscos, witch were working fine) hosts running dd are a fresh 9.2-PRERELEASE, an old 8.3-stable The sha256 signature (of my last image) was ok. Glabel shows the msdos & ufs slices .. All give the same result: the short "act" blink whenever a freebsd SD card is inserted.... > > I haven't used Tom K's images in a while, but I would assume they are fine. I think they are all fine but not with my board... is the serial on GPIO will say something if I buy an adaptater ? , or is the boot desperetly blind, until an OS is booted ? I've seen quite nothing about serial debug... A+ JS. From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 14:13:21 2013 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 ESMTP id 55C0E8CE for ; Mon, 30 Sep 2013 14:13:21 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E8BAB2A7B for ; Mon, 30 Sep 2013 14:13:20 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id ex4so3931247wid.14 for ; Mon, 30 Sep 2013 07:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1oevqseLUivI4aMvTx3jOY4Ujz2d8Jhf7AoFxsYCBAQ=; b=sq3qJ8beYdI7v+B0qKBMyWdrCwrqDtSDLtz03tHkt2bVLArUy6gJJlef4SDMxf6AWn gvaihPdIepixqymvwH8cgAPZyMEx3BgmrB+nrHRZhcpra6I6fBQnI8MaLjymTIgNmEYx yzBZ0aVWUe4EhA5rn3pbIM2qYNQvT5FyH840JV0YraYVo4ZpeFngibvsvgyb+txLi+/G ZOH2+VMubwS66w761nJHkPoWzjAPGB11gXrO2xSKjvBaU+rZpQ2EsQyrwPAIxd4uLaAg 3snsn6lcP3IbVeF4pFzhDtwWl8xmSkwM6VnjhgKIYFm7hXs/ZXMqF2iDxADINzvOyGPo 2Q5Q== MIME-Version: 1.0 X-Received: by 10.194.242.200 with SMTP id ws8mr1678982wjc.60.1380550399357; Mon, 30 Sep 2013 07:13:19 -0700 (PDT) Received: by 10.216.75.140 with HTTP; Mon, 30 Sep 2013 07:13:19 -0700 (PDT) In-Reply-To: <524983A4.9030302@caliopea.com> References: <5248011B.90200@caliopea.com> <52482FC1.4010703@ceetonetechnology.com> <524983A4.9030302@caliopea.com> Date: Mon, 30 Sep 2013 11:13:19 -0300 Message-ID: Subject: Re: raspberry pi rev B : no luck booting.. From: Luiz Otavio O Souza To: john smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 14:13:21 -0000 On 30 September 2013 10:59, john smith wrote: > Le 29/09/2013 15:48, George Rosamond a =E9crit : > [...] > > All give the same result: the short "act" blink whenever a freebsd SD car= d > is inserted.... > > >> >> I haven't used Tom K's images in a while, but I would assume they are >> fine. > > I think they are all fine but not with my board... is the serial on GPIO > will say something if I buy an adaptater ? , or is the boot desperetly > blind, until an OS is booted ? > I've seen quite nothing about serial debug... We don't support yet the use of the 'ok' led as the usage indicator for SD card, so it's ok if you only see a short blink there (it's the kernel being loaded and after that it will not work anymore). It take a while to fully boot the RPi, but after the kernel starts you should see the kernel output on HDMI or composite video. The serial works as console. You can get a more verbose output of the boot process there. Luiz From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 14:36:39 2013 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 ESMTP id 51E7A7BE for ; Mon, 30 Sep 2013 14:36:39 +0000 (UTC) (envelope-from ThomasSkibo@sbcglobal.net) Received: from nm25.access.bullet.mail.gq1.yahoo.com (nm25.access.bullet.mail.gq1.yahoo.com [216.39.62.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 043022C6D for ; Mon, 30 Sep 2013 14:36:38 +0000 (UTC) Received: from [216.39.60.170] by nm25.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2013 14:36:28 -0000 Received: from [98.138.104.99] by tm6.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2013 14:36:28 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.ne1.yahoo.com with NNFMP; 30 Sep 2013 14:36:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1380551788; bh=prXmTR3AZSa+eOfJ8NiFVtyHScgw6Hnog6QyM2lchgM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=6lD/X886itb/OCyJlTVodo2wW5db5r1rTMu5VnMmPFa3xsuCgu5pOuReR3xT7n6bK8zGdQ3Lhe0xgxvmPkeoDmatfE7poYQfIUf55AeLgIpagJowKPZar1+uV7AohxghSdYk5ulQASsO9YyC9PdGC10P5a13TNsIQugUcLeiRP0= X-Yahoo-Newman-Id: 38774.10424.bm@smtp119.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: eqRbJbYVM1ldrnVcb881gX7rPDe5aAFNzQQaBLRoA.O77vT K55AneuQeGlC8mUPUQPE7a2GbIBS93lDKKOx7jwt.AK6GAiS_73rUSHNhX1i 3LKSZN4Q2WJBYTZwkGumnoFEQHx.f36PhPV_ZSPlGh4xbVqLHGSw5_bFbV8G cxpeGxa9OMeazStxgpRLfmdjE.3Tg03Zd1x_ETswkz3mGS41HbpD5bcw0dc. nYbkGThvF5Mmcoa3zNqIQf9xwfcJSC_Vg1EIXMTGStGSerUXc1plLilewad9 nAwlIMVwnm2L03NI2pZMn6w5VD1EmXERwXAPqoieuW6Af1AAnzTVqzTeRYOM TfSQRDWDRgHHLaI8UHJKGn8tx8FNUZUYU0o3Catzwh4htP9DSyPWqQcxRqJM Va3PcUshjmUxnGVJiZw.1WRfr.Emmk4YMmVMuirSEFCr6ajnBGVHjhWRx8fl 8iDyCMkwLIVvwRjzOAvr6MYmgMxdIyJ7MGz2uCG6b9gujkCQIBQ6QdjsK3Og pazAXZJs3_cttVlF6dqTlQ0_doa0kSHKSP7zlPs10uVYyPtaqOgRCK0vPqpJ HBQ_Y8V1WbqXTg9vEQkXGI2EXSKujuoVu4I4JaRFO9NrL50tEaWs_3Z_mm.b 8tJMK8lmqolXawPnWj8phCo0lukzJqfFoty3NIbh.LbAcwKRKng3p1nk6OVB HbCWglrwWm85D9bGCHYfJIHI- X-Yahoo-SMTP: tUxoRneswBA21azLM.3ybMESf0mC2bFhTbmt0VU5ervH0kqi5lo- X-Rocket-Received: from [192.168.1.9] (ThomasSkibo@71.139.161.184 with ) by smtp119.sbc.mail.ne1.yahoo.com with SMTP; 30 Sep 2013 14:36:26 +0000 UTC Message-ID: <52498C69.8070800@sbcglobal.net> Date: Mon, 30 Sep 2013 07:36:25 -0700 From: Thomas Skibo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-arm@freebsd.org, bernd@bwct.de Subject: Re: Instable ethernet with ZedBoard References: <20130927230538.GE82284@cicely7.cicely.de> In-Reply-To: <20130927230538.GE82284@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 14:36:39 -0000 > It seems the MAC locks up when PHY-probing results in 100MBit/s. > Sometimes - at least intemediate it probes 100MBit/s on my TP-Link > Switch, so I might end up without working ethernet. > > -- > B.Walter http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. Bernd: There are a few bug fixes for the zynq ethernet driver that I haven't been able to get committed to -CURRENT. This one has to do with the reference clock. I've checked in fixes to my perforce branch but the easiest way to grab them is from my zedbsd webpage: http://www.thomasskibo.com/zedbsd/patch.txt --Thomas -- -------- Thomas Skibo ThomasSkibo@sbcglobal.net From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 17:39:18 2013 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 ESMTP id B3614E23 for ; Mon, 30 Sep 2013 17:39:18 +0000 (UTC) (envelope-from ThomasSkibo@sbcglobal.net) Received: from nm26-vm4.access.bullet.mail.gq1.yahoo.com (nm26-vm4.access.bullet.mail.gq1.yahoo.com [216.39.63.114]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5AE4B2781 for ; Mon, 30 Sep 2013 17:39:18 +0000 (UTC) Received: from [216.39.60.165] by nm26.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2013 17:39:11 -0000 Received: from [67.195.22.118] by tm1.access.bullet.mail.gq1.yahoo.com with NNFMP; 30 Sep 2013 17:39:11 -0000 Received: from [127.0.0.1] by smtp113.sbc.mail.gq1.yahoo.com with NNFMP; 30 Sep 2013 17:39:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1380562751; bh=/XaCABpBvGHMiUCA3C9502ya/3IMKLsQN9Nz09SB5kg=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=IqS4vY3XNs0uHTWEfvq685xqtF4l4DMxfq5DigoSq/IAPEXM0fXJZQ+RZVmNanPsoI7aVGQebyRh/qQxIIO1i3VJ9Bzo6Mv1klc7Z70647I5+C2b0VfVlm/ekRjQRMpKjd6Vmww5TI52C2wPluPHnakYC1lFCHN6oZxH1HLS880= X-Yahoo-Newman-Id: 80878.39006.bm@smtp113.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: RgrVWQQVM1mD3Ep8.Ol0SqB.FIxLrThLBZA3xQ1Wq9NPlBV TYBKvYTxXiFfo7AXsiz2Gu9JomG66fneQt3DhCsIoKTnYhcfHONTKnDnrHjK YieANsSLfk7AUwkg2_a8P94FV2ypQB4NOKNqVdbuTNjexH0YREk0oafk3b9J To.r88OIWNjZ6BDYFYF32Uo3sVtO1uQfjGxZ3aa6jHiS_uwzxKX8Kylrp.tz C_.8YCP8j0uIVT3FhTQo408MYt9xnLR.QHRBiQQ6ixtD1_8FKQ8l.CodxHUs PWoMGhChltKlZOPfoRD.HT0tMci.bMRSCz_eYDR1mAyKgGjDcd7g6e7sAsgG vK.Z9Kgng71402WD615YT9FeXOidVDCqrrzvqwKQSxZ6.siaPZwlV3kxzMo3 cq6TQhra12BqEofW0iUC4uDxf9Z1gV7ZoHxblYn3toStueae_cdIXFAJFq.m rPuH6q2wWY1CJw0WBxSzLPfY151122mgX4G3ZF9vVpLYAkDufEjbbyO1ylFt i34dVlN6gIEHd7bjpHl6Y.MYscd81YuFbR4KD8qgARgWY7oD7aTxMJ.e5tIb mfjrUNNH_TQkHK._AgQH1yWGxz0S.XHHZhy5HxaCIAr3QfazweEszZamIbHL YrtE- X-Yahoo-SMTP: tUxoRneswBA21azLM.3ybMESf0mC2bFhTbmt0VU5ervH0kqi5lo- X-Rocket-Received: from [192.168.1.9] (ThomasSkibo@71.139.161.184 with ) by smtp113.sbc.mail.gq1.yahoo.com with SMTP; 30 Sep 2013 10:39:09 -0700 PDT Message-ID: <5249B73C.8000907@sbcglobal.net> Date: Mon, 30 Sep 2013 10:39:08 -0700 From: Thomas Skibo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-arm@freebsd.org, bernd@bwct.de Subject: Re: Own PL code on ZedBoard References: <20130927231143.GF82284@cicely7.cicely.de> In-Reply-To: <20130927231143.GF82284@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 17:39:18 -0000 > Did anyone already setup own logic on ZedBoard with FreeBSD? > Where do I need to place my bitstream to have the FPGA part configured > at boot? > Can I change PL configuration at runtime, or does FreeBSD require > some preconfigured logic to work. > I have expirience with Xilinx FPGA, but this is first time with Zynq. > > -- > B.Walter http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. FreeBSD doesn't require the PL to be programmed. The PL can be programmed any time using the devcfg(4) driver. But if you need something in the PL at initialization time, a bitstream can be included in BOOT.BIN which is generated using Xilinx tools. Another option would be to create an rc script that programs the PL at boot-up using the method described in devcfg(4) man page. --Thomas -- -------- Thomas Skibo ThomasSkibo@sbcglobal.net From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 17:58:27 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5DBD69DA; Mon, 30 Sep 2013 17:58:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1FFBE28CD; Mon, 30 Sep 2013 17:58:26 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r8UHwJ94012705; Mon, 30 Sep 2013 13:58:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r8UHwJ5N012704; Mon, 30 Sep 2013 17:58:19 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 30 Sep 2013 17:58:19 GMT Message-Id: <201309301758.r8UHwJ5N012704@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 17:58:27 -0000 TB --- 2013-09-30 17:00:20 - tinderbox 2.12 running on freebsd-current.sentex.ca TB --- 2013-09-30 17:00:20 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-09-30 17:00:20 - starting HEAD tinderbox run for arm/arm TB --- 2013-09-30 17:00:20 - cleaning the object tree TB --- 2013-09-30 17:00:20 - /usr/local/bin/svn stat /src TB --- 2013-09-30 17:00:25 - At svn revision 255948 TB --- 2013-09-30 17:00:26 - building world TB --- 2013-09-30 17:00:26 - CROSS_BUILD_TESTING=YES TB --- 2013-09-30 17:00:26 - MAKEOBJDIRPREFIX=/obj TB --- 2013-09-30 17:00:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-09-30 17:00:26 - SRCCONF=/dev/null TB --- 2013-09-30 17:00:26 - TARGET=arm TB --- 2013-09-30 17:00:26 - TARGET_ARCH=arm TB --- 2013-09-30 17:00:26 - TZ=UTC TB --- 2013-09-30 17:00:26 - __MAKE_CONF=/dev/null TB --- 2013-09-30 17:00:26 - cd /src TB --- 2013-09-30 17:00:26 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Mon Sep 30 17:00:34 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools [...] c++ -O2 -pipe -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils -I. -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"arm-gnueabi-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/arm.arm/src/tmp\" -I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp -o PromoteMemoryToRegister.o c++ -O2 -pipe -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils -I. -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"arm-gnueabi-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/arm.arm/src/tmp\" -I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SSAUpdater.cpp -o SSAUpdater.o c++ -O2 -pipe -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils -I. -I/src/lib/clang/libllvmtransformutils/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"arm-gnueabi-freebsd10.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"/obj/arm.arm/src/tmp\" -I/obj/arm.arm/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp -o SimplifyCFG.o /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp: In function 'bool llvm::FoldBranchToCommonDest(llvm::BranchInst*)': /src/lib/clang/libllvmtransformutils/../../../contrib/llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1988: internal compiler error: in var_ann, at tree-flow-inline.h:127 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop. bmake[3]: stopped in /src/lib/clang/libllvmtransformutils *** Error code 1 Stop. bmake[2]: stopped in /src/lib/clang *** Error code 1 Stop. bmake[1]: stopped in /src *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-09-30 17:58:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-09-30 17:58:19 - ERROR: failed to build world TB --- 2013-09-30 17:58:19 - 3125.80 user 291.55 system 3478.77 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 21:05:01 2013 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 ESMTP id 5284B33A; Mon, 30 Sep 2013 21:05:01 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 017752580; Mon, 30 Sep 2013 21:05:00 +0000 (UTC) Received: by mail-vc0-f180.google.com with SMTP id ld13so4124692vcb.39 for ; Mon, 30 Sep 2013 14:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TN65zYv1GcaTRqFtkZGYSUqcg5xZxMZkw9NOUTD4JsQ=; b=V+SalnzbQ2fPGmH3JFOnxyscSH5cKBp+oERwZZTrCGe40YEELFOE3O0mbRjXU8tlLa cV5+35PZ4yHgxqH5Hf5O3F4b+lLIq5mGkp1qj2+sRM5nY2cBENdukUXyqPBrVTquyNhy dTULk1Kde2QL4kyQFXPShvqbSA/bIOBpukvHoTxxfjeHVDw3JEr02iT8Lp7YF2RMGk2w 3AO3CEia3itZz2UGHtu916hbZZ6UTH5XxQyPBF4z0fYWyfpsjj494ShMRQROqDzy0s6G R80MkAclwrS2OR7+0ZWliEPjJKBEYfRg9sqLbVuNg+Wpdbr6NZkLEeDksV0NsaxC3wOu /DRw== X-Received: by 10.58.134.16 with SMTP id pg16mr8640426veb.21.1380575099582; Mon, 30 Sep 2013 14:04:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.225.34 with HTTP; Mon, 30 Sep 2013 14:04:29 -0700 (PDT) In-Reply-To: References: From: Jia-Shiun Li Date: Tue, 1 Oct 2013 05:04:29 +0800 Message-ID: Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). To: Tim Kientzle Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" , ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 21:05:01 -0000 On Mon, Sep 30, 2013 at 11:26 AM, Tim Kientzle wrote: > > My understanding: > > * We should query the PMIC to determine whether we're running from 5V supply or USB. > > * Based on that, we should adjust the CPU clocks. We should be able to run 1GHz from 5v supply. > > Connecting cpufreq would be a nice addition. Hi Tim, Yes you are right. I digged a bit the PMIC docs. I didn't realize that DCDC2/3 output to MPC/core are adjustable. The PMIC capped USB input at 500mA by default, so if not changed otherwise, or to be safe with what most USB power supplies are, it is correct to only go up to 1GHz on DC input. I played for a while manually setting PMIC from u-boot prompt, setting MPU volt to 1.325v, raise USB current limit, etc. but still cannot get it run above 800MHz. It always stopped booting at initing uhub. Looks like I need a bigger DC adapter. Thanks, Jia-Shiun. From owner-freebsd-arm@FreeBSD.ORG Mon Sep 30 21:09:49 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E41B53FA; Mon, 30 Sep 2013 21:09:49 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A07125BD; Mon, 30 Sep 2013 21:09:48 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8UL9kg5064776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 30 Sep 2013 23:09:47 +0200 (CEST) (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 r8UL9ipQ068651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Sep 2013 23:09:44 +0200 (CEST) (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 r8UL9iDx004835; Mon, 30 Sep 2013 23:09:44 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8UL9iMZ004834; Mon, 30 Sep 2013 23:09:44 +0200 (CEST) (envelope-from ticso) Date: Mon, 30 Sep 2013 23:09:44 +0200 From: Bernd Walter To: Jia-Shiun Li Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). Message-ID: <20130930210944.GH93103@cicely7.cicely.de> References: 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=-0.0 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, FRT_SOMA=2.871, FRT_SOMA2=0.001, T_RP_MATCHES_RCVD=-0.01 autolearn=no version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: "freebsd-arm@freebsd.org" , ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 21:09:50 -0000 On Tue, Oct 01, 2013 at 05:04:29AM +0800, Jia-Shiun Li wrote: > On Mon, Sep 30, 2013 at 11:26 AM, Tim Kientzle wrote: > > > > My understanding: > > > > * We should query the PMIC to determine whether we're running from 5V supply or USB. > > > > * Based on that, we should adjust the CPU clocks. We should be able to run 1GHz from 5v supply. > > > > Connecting cpufreq would be a nice addition. > > Hi Tim, > > Yes you are right. I digged a bit the PMIC docs. > I didn't realize that DCDC2/3 output to MPC/core are adjustable. > > The PMIC capped USB input at 500mA by default, so if not changed otherwise, > or to be safe with what most USB power supplies are, it is correct to only go up > to 1GHz on DC input. > > I played for a while manually setting PMIC from u-boot prompt, setting MPU volt > to 1.325v, raise USB current limit, etc. but still cannot get it run > above 800MHz. > It always stopped booting at initing uhub. Looks like I need a bigger > DC adapter. I can do some tests with a lab supply. But right now I'm doing some tests with another board. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 10:47:25 2013 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 ESMTP id B686D842 for ; Tue, 1 Oct 2013 10:47:25 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 442CB2F98 for ; Tue, 1 Oct 2013 10:47:24 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r91Al9lC075354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 1 Oct 2013 12:47:09 +0200 (CEST) (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 r91Al6hw079772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Oct 2013 12:47:06 +0200 (CEST) (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 r91Al6LQ009140; Tue, 1 Oct 2013 12:47:06 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r91Al5V0009139; Tue, 1 Oct 2013 12:47:05 +0200 (CEST) (envelope-from ticso) Date: Tue, 1 Oct 2013 12:47:05 +0200 From: Bernd Walter To: Thomas Skibo Subject: Re: Instable ethernet with ZedBoard Message-ID: <20131001104705.GC8746@cicely7.cicely.de> References: <20130927230538.GE82284@cicely7.cicely.de> <52498C69.8070800@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52498C69.8070800@sbcglobal.net> 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=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org, bernd@bwct.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 10:47:25 -0000 On Mon, Sep 30, 2013 at 07:36:25AM -0700, Thomas Skibo wrote: > > > > It seems the MAC locks up when PHY-probing results in 100MBit/s. > > Sometimes - at least intemediate it probes 100MBit/s on my TP-Link > > Switch, so I might end up without working ethernet. > > > > -- > > B.Walter http://www.bwct.de > > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > > Bernd: > > There are a few bug fixes for the zynq ethernet driver that I haven't > been able to get committed to -CURRENT. This one has to do with the > reference clock. I've checked in fixes to my perforce branch but the > easiest way to grab them is from my zedbsd webpage: > http://www.thomasskibo.com/zedbsd/patch.txt Oh great - I will give it a try soon. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 10:51:14 2013 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 ESMTP id 1ACE08B5 for ; Tue, 1 Oct 2013 10:51:14 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 86DDB2FD7 for ; Tue, 1 Oct 2013 10:51:13 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r91Ap0RH075460 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 1 Oct 2013 12:51:00 +0200 (CEST) (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 r91AonSP079821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Oct 2013 12:50:49 +0200 (CEST) (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 r91AonIa009153; Tue, 1 Oct 2013 12:50:49 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r91AonYe009152; Tue, 1 Oct 2013 12:50:49 +0200 (CEST) (envelope-from ticso) Date: Tue, 1 Oct 2013 12:50:49 +0200 From: Bernd Walter To: Thomas Skibo Subject: Re: Own PL code on ZedBoard Message-ID: <20131001105049.GD8746@cicely7.cicely.de> References: <20130927231143.GF82284@cicely7.cicely.de> <5249B73C.8000907@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5249B73C.8000907@sbcglobal.net> 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: freebsd-arm@freebsd.org, bernd@bwct.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 10:51:14 -0000 On Mon, Sep 30, 2013 at 10:39:08AM -0700, Thomas Skibo wrote: > > > > >Did anyone already setup own logic on ZedBoard with FreeBSD? > >Where do I need to place my bitstream to have the FPGA part configured > >at boot? > >Can I change PL configuration at runtime, or does FreeBSD require > >some preconfigured logic to work. > >I have expirience with Xilinx FPGA, but this is first time with Zynq. > > > >-- > >B.Walter http://www.bwct.de > >Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > > FreeBSD doesn't require the PL to be programmed. The PL can be > programmed any time using the devcfg(4) driver. But if you need > something in the PL at initialization time, a bitstream can be included > in BOOT.BIN which is generated using Xilinx tools. > > Another option would be to create an rc script that programs the PL at > boot-up using the method described in devcfg(4) man page. That's perfect. I'm targeting two things. One is using the board for fast IO with different kind of FMC/PMOD moduls varying purpose. In this case a fixed PL configuration would be problematic as it makes tests harder and loading special support from shell is much easier. The other one is the parallella system, which is also based on Zynq. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 13:10:00 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B888CF17 for ; Tue, 1 Oct 2013 13:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F3EB29B3 for ; Tue, 1 Oct 2013 13:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r91DA0qB030996 for ; Tue, 1 Oct 2013 13:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r91DA0OJ030995; Tue, 1 Oct 2013 13:10:00 GMT (envelope-from gnats) Resent-Date: Tue, 1 Oct 2013 13:10:00 GMT Resent-Message-Id: <201310011310.r91DA0OJ030995@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-arm@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Svatopluk Kraus 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 ESMTP id 40C5FEFD for ; Tue, 1 Oct 2013 13:09:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F2F029A8 for ; Tue, 1 Oct 2013 13:09:00 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r91D8xRc054853 for ; Tue, 1 Oct 2013 13:08:59 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r91D8xuE054852; Tue, 1 Oct 2013 13:08:59 GMT (envelope-from nobody) Message-Id: <201310011308.r91D8xuE054852@oldred.freebsd.org> Date: Tue, 1 Oct 2013 13:08:59 GMT From: Svatopluk Kraus To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: arm/182544: [patch] ARM busdma_machdep-v6.c X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 13:10:00 -0000 >Number: 182544 >Category: arm >Synopsis: [patch] ARM busdma_machdep-v6.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 01 13:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Svatopluk Kraus >Release: current >Organization: >Environment: >Description: See my patch. (1) maxsize should be in bytes (2) bad comments style corrected >How-To-Repeat: >Fix: Index: sys/arm/arm/busdma_machdep-v6.c =================================================================== --- sys/arm/arm/busdma_machdep-v6.c (revision 255665) +++ sys/arm/arm/busdma_machdep-v6.c (working copy) @@ -426,7 +426,11 @@ || newtag->alignment > 1) newtag->flags |= BUS_DMA_COULD_BOUNCE; else - maxsize = 2; /* Need at most 2 bounce pages for unaligned access on cache line boundaries */ + /* + * Need at most 2 bounce pages for unaligned access + * on cache line boundaries + */ + maxsize = 2 * PAGE_SIZE; if ((flags & BUS_DMA_ALLOCNOW) != 0) { struct bounce_zone *bz; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 13:12:55 2013 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 ESMTP id 8A706FDD; Tue, 1 Oct 2013 13:12:55 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 496952A0E; Tue, 1 Oct 2013 13:12:54 +0000 (UTC) Received: from mr2.cc.vt.edu (mr2.cc.vt.edu [198.82.163.74]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id r91DCARQ032344; Tue, 1 Oct 2013 09:12:10 -0400 Received: from auth1.smtp.vt.edu (auth1.smtp.vt.edu [198.82.161.152]) by mr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id r91DCAD4030418; Tue, 1 Oct 2013 09:12:10 -0400 Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth1.smtp.vt.edu (8.14.4/8.14.4) with ESMTP id r91DCAOt032485 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 1 Oct 2013 09:12:10 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). From: Paul Mather In-Reply-To: Date: Tue, 1 Oct 2013 09:12:10 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <603C57BE-8DCE-4178-B912-DBBB5CAC93B3@gromit.dlib.vt.edu> References: To: Jia-Shiun Li X-Mailer: Apple Mail (2.1510) Cc: "freebsd-arm@freebsd.org" , ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 13:12:55 -0000 On Sep 30, 2013, at 5:04 PM, Jia-Shiun Li wrote: > On Mon, Sep 30, 2013 at 11:26 AM, Tim Kientzle = wrote: >>=20 >> My understanding: >>=20 >> * We should query the PMIC to determine whether we're running from = 5V supply or USB. >>=20 >> * Based on that, we should adjust the CPU clocks. We should be = able to run 1GHz from 5v supply. >>=20 >> Connecting cpufreq would be a nice addition. >=20 > Hi Tim, >=20 > Yes you are right. I digged a bit the PMIC docs. > I didn't realize that DCDC2/3 output to MPC/core are adjustable. >=20 > The PMIC capped USB input at 500mA by default, so if not changed = otherwise, > or to be safe with what most USB power supplies are, it is correct to = only go up > to 1GHz on DC input. >=20 > I played for a while manually setting PMIC from u-boot prompt, setting = MPU volt > to 1.325v, raise USB current limit, etc. but still cannot get it run > above 800MHz. > It always stopped booting at initing uhub. Looks like I need a bigger > DC adapter. What 5V adapter are you using? The one recommended by Adafruit for the = BeagleBone Black is a 5V 2A adapter. The BBB system reference manual = states, "A 5VDC supply can be used to provide power to the board. The = power supply current depends on how many and what type of add-on boards = are connected to the board. For typical use, a 5VDC supply rated at 1A = should be sufficient. If heavier use of the expansion headers or USB = host port is expected, then a higher current supply will be required." = The BBB Wiki = (http://circuitco.com/support/index.php?title=3DBeagleBoneBlack) lists = the power consumption of the BBB itself as 210--460 mA@5V depending on = "activity and processor speed." I believe if you use capes with the BBB = then you need to use the external PSU. I've personally found the BBB to be a bit flaky when run via the USB OTG = connector. I prefer to run it via a 5V external PSU for stable = operation. Cheers, Paul. From owner-freebsd-arm@FreeBSD.ORG Tue Oct 1 18:15:00 2013 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 ESMTP id 947DFE06; Tue, 1 Oct 2013 18:15:00 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [IPv6:2607:f8b0:400c:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 400A92DCF; Tue, 1 Oct 2013 18:15:00 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id db12so5396822veb.36 for ; Tue, 01 Oct 2013 11:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=5JtFX/EZkiMtb3mY8dlqCKpnk82GX5Fqu/ZRSFtwYN4=; b=PHJAOIr/Os9HV+2gkYQWNAsvPzfwORZbTN7XqArnqhF+nykC4MJeBAO+M01Q643FEF sXI+iivp/g+D9UtdpML//ODpWGnqPx2T9Ap3pKgIdiZzl3P8qUp6fhYEQD/aH3BjTnHP KdqSWux/PuuMvZE7hz+gdcGSnOlcpmsWrn6bsWcpaiTcyQQKX+MlEJPUKm/kQFuDDTv0 NKNSQYNMuYx4gn3qrmsHSGCRTn5MvPg3v6I3KwVPLa3D57Bg52yvIk0zu+SCPqByUnHZ wDmMW8NYZ8wOUs0XpFQ7Fq3oaOZU5E/uiOfbnHc2bm/zs5lPSSJcFwKO26Jkd7fZEJwd jpFA== X-Received: by 10.220.169.203 with SMTP id a11mr1705492vcz.26.1380651298799; Tue, 01 Oct 2013 11:14:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.225.34 with HTTP; Tue, 1 Oct 2013 11:14:27 -0700 (PDT) In-Reply-To: <603C57BE-8DCE-4178-B912-DBBB5CAC93B3@gromit.dlib.vt.edu> References: <603C57BE-8DCE-4178-B912-DBBB5CAC93B3@gromit.dlib.vt.edu> From: Jia-Shiun Li Date: Wed, 2 Oct 2013 02:14:27 +0800 Message-ID: Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). To: Paul Mather Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-arm@freebsd.org" , ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 18:15:00 -0000 On Tue, Oct 1, 2013 at 9:12 PM, Paul Mather wrote= : > What 5V adapter are you using? The one recommended by Adafruit for the B= eagleBone Black is a 5V 2A adapter. The BBB system reference manual states= , "A 5VDC supply can be used to provide power to the board. The power suppl= y current depends on how many and what type of add-on boards are connected = to the board. For typical use, a 5VDC supply rated at 1A should be sufficie= nt. If heavier use of the expansion headers or USB host port is expected, t= hen a higher current supply will be required." The BBB Wiki (http://circui= tco.com/support/index.php?title=3DBeagleBoneBlack) lists the power consumpt= ion of the BBB itself as 210--460 mA@5V depending on "activity and processo= r speed." I believe if you use capes with the BBB then you need to use the= external PSU. > > I've personally found the BBB to be a bit flaky when run via the USB OTG = connector. I prefer to run it via a 5V external PSU for stable operation. I tried several USB chargers originally for gadgets, rated 850~2000mA. I thought I overrode current limitation and voltage output of PMIC, but it did not seem to change much, almost like power output not altered at= all. Another thing strange is that the board is said to use DDR3L which requires 1.35v and TPS75217D, but the board has rev.C which defaults DCDC1 to 1.5v for DDR3. Just in case, I suppose the PMIC does not require extra steps to 'commit' changes? Basically what I did under u-boot prompt is like: U-Boot# i2c mm 24 1 00000001: 3d ? 3f 00000002: 00 ? U-Boot# i2c mm 24 0b 0000000b: 00 ? 72 0000000c: 7f ? U-Boot# i2c mm 24 0f 0000000f: 08 ? 11 00000010: 08 ? U-Boot# i2c mm 24 0b 0000000b: 00 ? 72 0000000c: 7f ? U-Boot# i2c mm 24 0f 0000000f: 08 ? 11 00000010: 08 ? U-Boot# mm 0x44e00488 44e00488: 00000007 ? 4 44e0048c: 00000007 ? U-Boot# mm 0x44e0042c 44e0042c: 00000017 ? 32017 44e00430: 00000000 ? U-Boot# mm 0x44e00488 44e00488: 00000004 ? 7 44e0048c: 00000007 ? U-Boot# boot Thanks, Jia-Shiun. From owner-freebsd-arm@FreeBSD.ORG Wed Oct 2 13:01:00 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A2F388F for ; Wed, 2 Oct 2013 13:01:00 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from msgw002-05.ocn.ad.jp (msgw002-05.ocn.ad.jp [180.37.203.80]) by mx1.freebsd.org (Postfix) with ESMTP id 74B63285C for ; Wed, 2 Oct 2013 13:01:00 +0000 (UTC) Received: from localhost (p11016-ipngn100104sizuokaden.shizuoka.ocn.ne.jp [153.185.229.16]) by msgw002-05.ocn.ad.jp (Postfix) with ESMTP id 7990FA42DF8; Wed, 2 Oct 2013 22:00:52 +0900 (JST) Date: Wed, 02 Oct 2013 22:00:51 +0900 (JST) Message-Id: <20131002.220051.226805883.toshi@ruby.ocn.ne.jp> To: freebsd-arm@freebsd.org Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). From: SAITOU Toshihide In-Reply-To: References: X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 6.2.51 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 13:01:00 -0000 I followed the steps you provided and my bbb (Rev A5A) booted at 912 MHz. mw.l 0x44e00488 0x00000004 mw.l 0x44e0042c 0x00039017 mw.l 0x44e004a8 0x00000201 mw.l 0x44e00488 0x00000007 setenv serverip 192.168.0.1 setenv bootfile boot/kernel/kernel.bin setenv loadaddr 0x80200000 dhcp go 80200000 (skip) am335x_prcm0: Clocks: System 24.0 MHz, CPU 912 MHz (skip) FreeBSD/arm (bbb) (ttyu0) login: I also measure voltage drop of C9, C11 and C12 and it seems that the setting for the TPS75217D by u-boot are not effect. i2c mw 24 01 3f 1 i2c mw 24 0b 72 1 i2c mw 24 0f 18 1 i2c mw 24 0b 72 1 i2c mw 24 0f 18 1 i2c md 24 0f 1 000f: 11 . <- 1.325 V (tps65217c.pdf, p. 56) -- SAITOU Toshihide From owner-freebsd-arm@FreeBSD.ORG Thu Oct 3 16:59:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B6921CBB for ; Thu, 3 Oct 2013 16:59:35 +0000 (UTC) (envelope-from omgalvan.86@gmail.com) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83ED7214A for ; Thu, 3 Oct 2013 16:59:35 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id i1so2607334oag.20 for ; Thu, 03 Oct 2013 09:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yCLZ4hwrf7ALbXN6gaUR2sR+M6xoc4t6gwU67qNQFZI=; b=vL9l3OA1K5QNLg8449ozqUM0vVK3biws8sBfIZVzeFlw3fv6f/cMKN29nK0jE213l3 zTXiHAqgh1x8dQLRUkSATAZ/mLc4TD3uTKpMUVK01K+1bxaU32ZWn6QQHLFG8C2yxwNL BpaipCZQRZK/DPHL09VLlHLHJ26TcmxkLKdkB+djIjjudjz36FHY+qBTuH1nLX3dPsyL XIu77o5J5DInSS9K2Ilzp9+J17QNtt4+ACv7GXzA2UOsoqKpo6b+kM7uEt7eDvVH/L7O TZv9NLG6RIwTargXgFYhPHlIgeJ22XmtpztyiRuZsZsGoI7C9Pe7n8ga673IWn6tFTYm jeKA== MIME-Version: 1.0 X-Received: by 10.60.160.197 with SMTP id xm5mr2518919oeb.53.1380819574705; Thu, 03 Oct 2013 09:59:34 -0700 (PDT) Received: by 10.60.125.102 with HTTP; Thu, 3 Oct 2013 09:59:34 -0700 (PDT) Date: Thu, 3 Oct 2013 13:59:34 -0300 Message-ID: Subject: Trouble booting on Cubieboard 1 with ubldr From: Martin Galvan To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 16:59:35 -0000 Hey everybody! I'm currently trying to get CURRENT to boot on a Cubieboard1 using a SD card with the booting files and a USB flash with the FreeBSD filesystem. So far I've tried dd'ing sunxi-spl.bin and u-boot.bin to the SD card, then copying ubldr to its FAT16 partition, powering on the board and then doing: sun4i#fatload mmc 0 0x48000000 ubldr and sun4i#bootelf 0x48000000 However, when I do that it gives me the following error: Device: net ENET Speed is 100 Mbps - FULL duplex connection panic: uboot_eth0: empty ethernet address! --> Press a key on the console to reboot <-- After that I followed this tutorial: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard The last step says to load and run the kernel directly from the mmc, which works fine and lets me boot. However, I understand u-boot shouldn't be able run ELF files, which is why we use ubldr in the first place. I have an SD card a friend made which has 2 partitions (one with the booting stuff and the other with the filesystem), and that one can be used to boot with the commands I first tried. Any ideas on why is this happening? From owner-freebsd-arm@FreeBSD.ORG Fri Oct 4 02:40:29 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8C0CEDDB for ; Fri, 4 Oct 2013 02:40:29 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69A152EB5 for ; Fri, 4 Oct 2013 02:40:28 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r942eMcR079748; Fri, 4 Oct 2013 02:40:22 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id jcmmbxty72fdhrqphkfbzr6iyn; Fri, 04 Oct 2013 02:40:21 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: Trouble booting on Cubieboard 1 with ubldr From: Tim Kientzle In-Reply-To: Date: Thu, 3 Oct 2013 19:40:20 -0700 Content-Transfer-Encoding: 7bit Message-Id: <601A5E60-0F12-4BA8-9288-D16CD2956E3A@kientzle.com> References: To: Martin Galvan X-Mailer: Apple Mail (2.1510) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 02:40:29 -0000 On Oct 3, 2013, at 9:59 AM, Martin Galvan wrote: > Hey everybody! I'm currently trying to get CURRENT to boot on a Cubieboard1 > using a SD card with the booting files and a USB flash with the FreeBSD > filesystem. So far I've tried dd'ing sunxi-spl.bin and u-boot.bin to the SD > card, then copying ubldr to its FAT16 partition, powering on the board and > then doing: > > sun4i#fatload mmc 0 0x48000000 ubldr > > and > > sun4i#bootelf 0x48000000 > > However, when I do that it gives me the following error: > > Device: > net > ENET Speed is 100 Mbps - FULL duplex > connection > panic: uboot_eth0: empty ethernet > address! > --> Press a key on the console to reboot <-- How did you compile the U-Boot files? ubldr makes calls to u-boot.bin, which requires they both be compiled with the same ABI. If you have a new ubldr (compiled with EABI) and an older U-Boot binary, this might be the problem. > However, I understand u-boot shouldn't be able > run ELF files, which is why we use ubldr in the first place. U-Boot can run ELF files with the 'bootelf' command. But U-Boot cannot: * Provide a DTB to a FreeBSD kernel * Process loader.rc * Run Forth boot scripts * Preload modules into a FreeBSD kernel In particular, having the boot loader provide a DTB is critical for eventually having a true GENERIC ARM kernel that runs on multiple boards. Tim From owner-freebsd-arm@FreeBSD.ORG Fri Oct 4 13:09:41 2013 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 ESMTP id 5F7C481B for ; Fri, 4 Oct 2013 13:09:41 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from defer114.ocn.ad.jp (defer114.ocn.ad.jp [122.28.15.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2F97E2C3E for ; Fri, 4 Oct 2013 13:09:40 +0000 (UTC) Received: from msgw001-02.ocn.ad.jp (msgw001-02.ocn.ad.jp [180.37.203.71]) by defer114.ocn.ad.jp (Postfix) with ESMTP id BAEEB2CC5B7 for ; Fri, 4 Oct 2013 22:09:39 +0900 (JST) Received: from localhost (p9045-ipngn100305sizuokaden.shizuoka.ocn.ne.jp [153.182.255.45]) by msgw001-02.ocn.ad.jp (Postfix) with ESMTP id 87D88B82419; Fri, 4 Oct 2013 22:09:32 +0900 (JST) Date: Fri, 04 Oct 2013 22:09:31 +0900 (JST) Message-Id: <20131004.220931.138193761.toshi@ruby.ocn.ne.jp> To: freebsd-arm@freebsd.org Subject: Re: BBB CPU clock (was: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). From: SAITOU Toshihide In-Reply-To: <20131002.220051.226805883.toshi@ruby.ocn.ne.jp> References: <20131002.220051.226805883.toshi@ruby.ocn.ne.jp> X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 6.2.51 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 13:09:41 -0000 In message: <20131002.220051.226805883.toshi@ruby.ocn.ne.jp> SAITOU Toshihide writes: > I followed the steps you provided and my bbb (Rev A5A) > booted at 912 MHz. I forgot to mention details. DC power input 5V 1.2A or 5V 2.3A (no differences in result). BeagleBone Black, Rev A5A. TFTP boot and NFS root (currently). BEAGLEBONE kernel configuration or change it to include a beaglebone-black.dts. At the later needed to modify files.am335x to uncomment a line for ti_mmchs.c. This is the most important that I forgot. I was using around the head ALPHA3. I also tried ALPHA4 today and it doesn't boot at high MPU frequency. So, MPU frequency tolerance at boot is changed between ALPHA3 and ALPHA4, more precisely from rev. 255931. That is, it seems that it's more related to the software than DC adaptor or PMIC power supply for now :-). We may need stress2 at high frequency. cd /usr/src svn up -r 255930 make buildkernel \ TARGET=arm TARGET_ARCH=armv6 KERNCONF=BEAGLEBONE \ WITH_FDT=yes >& buildkernel.log & cp /usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE/kernel.bin \ /tftpboot/beaglebone/boot/kernel/ Set MPU PLL to 912 MHz (390h), mw.l 0x44e00488 0x00000004 mw.l 0x44e0042c 0x00039017 mw.l 0x44e004a8 0x00000201 mw.l 0x44e00488 0x00000007 Power supply for MPU (connected to DEFDCDC2) can control from u-boot but has not close relation to the trerance of the MPU clock within the appropriate value range. i2c mw 24 01 3f i2c mw 24 0b 72 i2c mw 24 0f 11 i2c mw 24 0b 72 i2c mw 24 0f 11 i2c md 24 0f 1 -- SAITOU Toshihide From owner-freebsd-arm@FreeBSD.ORG Fri Oct 4 17:41:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 548B72AD for ; Fri, 4 Oct 2013 17:41:20 +0000 (UTC) (envelope-from omgalvan.86@gmail.com) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F0C92BF6 for ; Fri, 4 Oct 2013 17:41:20 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id j1so4275466oag.23 for ; Fri, 04 Oct 2013 10:41:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fIpW5Yf1XA7Z/HSo7PPz+TIDlF1cE2pwrHZP2dNJwDc=; b=zCcHYK1QkhHsrCJcgWCH44L31BVdDzRkTdeXNi7EO9i2VZk4xBWIaC7OPO9I2mt4+1 RTHwOVmhZJgSY0VOjL/5rnEuSRt+fTeNCAJo2BeoyLUTMwfVAK3X4PP+dde9C0uNsgBb pOz8mzTp4XKIXNYQGRBQKynW4+uSIHTntR+3190tHcttWI7eqeKlfl+tpbF9ZSkaWNuT 2qrF0vY6r+1OsgYLeX9LI9NuePH+SIhChkwkC/QYohdMYDYlx1EEIB/8Q+U0LbpLFuzZ W43ZU5HN4FTCSUkxchXHROtPf8blapqEOgku1GBZvhEhzFLLCbA6vxkwVdmh8yzHXrR+ uf+A== MIME-Version: 1.0 X-Received: by 10.60.58.71 with SMTP id o7mr3501799oeq.51.1380908479383; Fri, 04 Oct 2013 10:41:19 -0700 (PDT) Received: by 10.60.125.102 with HTTP; Fri, 4 Oct 2013 10:41:19 -0700 (PDT) In-Reply-To: References: <601A5E60-0F12-4BA8-9288-D16CD2956E3A@kientzle.com> Date: Fri, 4 Oct 2013 14:41:19 -0300 Message-ID: Subject: Fwd: Trouble booting on Cubieboard 1 with ubldr From: Martin Galvan To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 17:41:20 -0000 Right now I'm using my friend's files, I'm not exactly sure how he compiled it. I tried to compile the source from head, but when I try to build the kernel toolchain it throws me the following error: ===> lib/ncurses/form (cleandir) Unknown modifier 't' Error expanding embedded variable. *** Error code 2 Stop in /home/ppsmartin/FreeBSD-CURRENT/lib/ncurses. *** Error code 1 Stop in /home/ppsmartin/FreeBSD-CURRENT/lib. *** Error code 1 Stop in /home/ppsmartin/FreeBSD-CURRENT. *** Error code 1 Did that ever happen to anyone using TARGET_ARCH=armv6? 2013/10/3 Tim Kientzle > > On Oct 3, 2013, at 9:59 AM, Martin Galvan wrote: > > > Hey everybody! I'm currently trying to get CURRENT to boot on a > Cubieboard1 > > using a SD card with the booting files and a USB flash with the FreeBSD > > filesystem. So far I've tried dd'ing sunxi-spl.bin and u-boot.bin to the > SD > > card, then copying ubldr to its FAT16 partition, powering on the board > and > > then doing: > > > > sun4i#fatload mmc 0 0x48000000 ubldr > > > > and > > > > sun4i#bootelf 0x48000000 > > > > However, when I do that it gives me the following error: > > > > Device: > > net > > ENET Speed is 100 Mbps - FULL duplex > > connection > > panic: uboot_eth0: empty ethernet > > address! > > --> Press a key on the console to reboot <-- > > > How did you compile the U-Boot files? > > ubldr makes calls to u-boot.bin, which requires > they both be compiled with the same ABI. > If you have a new ubldr (compiled with EABI) > and an older U-Boot binary, this might be the problem. > > > > However, I understand u-boot shouldn't be able > > run ELF files, which is why we use ubldr in the first place. > > U-Boot can run ELF files with the 'bootelf' command. > > But U-Boot cannot: > * Provide a DTB to a FreeBSD kernel > * Process loader.rc > * Run Forth boot scripts > * Preload modules into a FreeBSD kernel > > In particular, having the boot loader provide a DTB > is critical for eventually having a true GENERIC ARM > kernel that runs on multiple boards. > > Tim > >