From owner-freebsd-arm@FreeBSD.ORG Sun May 12 09:23:15 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B7B9C378; Sun, 12 May 2013 09:23:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFD01FA; Sun, 12 May 2013 09:23:15 +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 r4C9NELv078197; Sun, 12 May 2013 05:23:14 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4C9NEGt078194; Sun, 12 May 2013 09:23:14 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 12 May 2013 09:23:14 GMT Message-Id: <201305120923.r4C9NEGt078194@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, 12 May 2013 09:23:15 -0000 TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-12 05:50:18 - 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-05-12 05:50:18 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-12 05:50:18 - cleaning the object tree TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src TB --- 2013-05-12 05:50:23 - At svn revision 250553 TB --- 2013-05-12 05:50:24 - building world TB --- 2013-05-12 05:50:24 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 05:50:24 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 05:50:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 05:50:24 - SRCCONF=/dev/null TB --- 2013-05-12 05:50:24 - TARGET=arm TB --- 2013-05-12 05:50:24 - TARGET_ARCH=arm TB --- 2013-05-12 05:50:24 - TZ=UTC TB --- 2013-05-12 05:50:24 - __MAKE_CONF=/dev/null TB --- 2013-05-12 05:50:24 - cd /src TB --- 2013-05-12 05:50:24 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun May 12 05:50:28 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 >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun May 12 08:57:34 UTC 2013 TB --- 2013-05-12 08:57:34 - generating LINT kernel config TB --- 2013-05-12 08:57:34 - cd /src/sys/arm/conf TB --- 2013-05-12 08:57:34 - /usr/bin/make -B LINT TB --- 2013-05-12 08:57:34 - cd /src/sys/arm/conf TB --- 2013-05-12 08:57:34 - /usr/sbin/config -m LINT TB --- 2013-05-12 08:57:34 - building LINT kernel TB --- 2013-05-12 08:57:34 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 08:57:34 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 08:57:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 08:57:34 - SRCCONF=/dev/null TB --- 2013-05-12 08:57:34 - TARGET=arm TB --- 2013-05-12 08:57:34 - TARGET_ARCH=arm TB --- 2013-05-12 08:57:34 - TZ=UTC TB --- 2013-05-12 08:57:34 - __MAKE_CONF=/dev/null TB --- 2013-05-12 08:57:34 - cd /src TB --- 2013-05-12 08:57:34 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 12 08:57:34 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun May 12 09:21:01 UTC 2013 TB --- 2013-05-12 09:21:01 - cd /src/sys/arm/conf TB --- 2013-05-12 09:21:01 - /usr/sbin/config -m AC100 TB --- 2013-05-12 09:21:01 - skipping AC100 kernel TB --- 2013-05-12 09:21:01 - cd /src/sys/arm/conf TB --- 2013-05-12 09:21:01 - /usr/sbin/config -m ARMADAXP TB --- 2013-05-12 09:21:01 - skipping ARMADAXP kernel TB --- 2013-05-12 09:21:01 - cd /src/sys/arm/conf TB --- 2013-05-12 09:21:01 - /usr/sbin/config -m ATMEL TB --- 2013-05-12 09:21:01 - building ATMEL kernel TB --- 2013-05-12 09:21:01 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 09:21:01 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 09:21:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 09:21:01 - SRCCONF=/dev/null TB --- 2013-05-12 09:21:01 - TARGET=arm TB --- 2013-05-12 09:21:01 - TARGET_ARCH=arm TB --- 2013-05-12 09:21:01 - TZ=UTC TB --- 2013-05-12 09:21:01 - __MAKE_CONF=/dev/null TB --- 2013-05-12 09:21:01 - cd /src TB --- 2013-05-12 09:21:01 - /usr/bin/make -B buildkernel KERNCONF=ATMEL >>> Kernel build for ATMEL started on Sun May 12 09:21:01 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert' #define __Static_assert(x, y) ___Static_assert(x, y) ^~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert' #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] ^~~~~~~~~~~~ 1 error generated. *** [vfs_subr.o] Error code 1 Stop in /obj/arm.arm/src/sys/ATMEL. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-12 09:23:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-12 09:23:14 - ERROR: failed to build ATMEL kernel TB --- 2013-05-12 09:23:14 - 9722.55 user 1748.41 system 12775.98 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sun May 12 13:10:01 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A6F0F985 for ; Sun, 12 May 2013 13:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 882A1ACB for ; Sun, 12 May 2013 13:10:01 +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 r4CDA1N0096412 for ; Sun, 12 May 2013 13:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4CDA1uY096411; Sun, 12 May 2013 13:10:01 GMT (envelope-from gnats) Date: Sun, 12 May 2013 13:10:01 GMT Message-Id: <201305121310.r4CDA1uY096411@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org Cc: From: Justin Unwin Subject: Re: arm/178495: buildworld fail on arm/raspberry pi X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Justin Unwin List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 13:10:01 -0000 The following reply was made to PR arm/178495; it has been noted by GNATS. From: Justin Unwin To: Andreas Schwarz Cc: "freebsd-gnats-submit@FreeBSD.org" Subject: Re: arm/178495: buildworld fail on arm/raspberry pi Date: Sun, 12 May 2013 15:08:18 +0200 I have the same problem - J On 10 May 2013, at 9:25 PM, Andreas Schwarz wrot= e: >=20 >> Number: 178495 >> Category: arm >> Synopsis: buildworld fail on arm/raspberry pi >> Confidential: no >> Severity: non-critical >> Priority: low >> Responsible: freebsd-arm >> State: open >> Quarter: =20 >> Keywords: =20 >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Fri May 10 21:30:00 UTC 2013 >> Closed-Date: >> Last-Modified: >> Originator: Andreas Schwarz >> Release: 10.0-CURRENT >> Organization: >> Environment: > FreeBSD pizelot.schwarzes.net 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Fri Ma= y 10 02:30:14 CEST 2013 root@pizelot.schwarzes.net:/usr/obj/usr/src/sys/= RPI-B-ASC arm >> Description: > Building the world fail in the beginning when building llvm. A cross compi= le at amd64/i386 works without any problems. >=20 > c++ -O -pipe -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/in= clude -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/= include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Suppor= t -I. -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/cl= ang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_= CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"armv6-= unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=3D\"armv6-unknown-freebsd10.0\" -DDE= FAULT_SYSROOT=3D\"\" -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-exceptio= ns -fno-rtti -c /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/= Support/APFloat.cpp -o APFloat.o > Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) =3D= =3D 0 && "Pointer is not sufficiently aligned"), function initWithPointer, f= ile /usr/home/asc/donotbackup/hardware/Raspberry_Pi/build/src/FreeBSD/head/l= ib/clang/libclangsema/../../../contrib/llvm/include/llvm/ADT/PointerIntPair.= h, line 100. > Stack dump: > 0. Program arguments: /usr/bin/c++ -cc1 -triple armv6-unknown-freebsd= 10.0 -S -disable-free -main-file-name APFloat.cpp -mrelocation-model static -= mdisable-fp-elim -relaxed-aliasing -mconstructor-aliases -target-abi apcs-gn= u -target-cpu arm1136jf-s -msoft-float -mfloat-abi soft -target-feature +sof= t-float -target-feature +soft-float-abi -target-feature -neon -coverage-file= /tmp/APFloat-fMJVrL.s -resource-dir /usr/bin/../lib/clang/3.3 -D LLVM_ON_UN= IX -D LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D LL= VM_DEFAULT_TARGET_TRIPLE=3D"armv6-unknown-freebsd10.0" -D LLVM_HOSTTRIPLE=3D= "armv6-unknown-freebsd10.0" -D DEFAULT_SYSROOT=3D"" -I /usr/src/lib/clang/li= bllvmsupport/../../../contrib/llvm/include -I /usr/src/lib/clang/libllvmsupp= ort/../../../contrib/llvm/tools/clang/include -I /usr/src/lib/clang/libllvms= upport/../../../contrib/llvm/lib/Support -I . -I /usr/src/lib/clang/libllvms= upport/../../../contrib/llvm/../../lib/clang/include -I /usr/obj/usr/src/tmp= /legacy/u > sr/inclu > de -O2 -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir= /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmsupport -ferror-limit 19 -fme= ssage-length 101 -mstackrealign -fno-rtti -fno-signed-char -fobjc-runtime=3D= gnustep -fobjc-default-synthesize-properties -fsjlj-exceptions -fdiagnostics= -show-option -fcolor-diagnostics -backend-option -vectorize-loops -o /tmp/AP= Float-fMJVrL.s -x c++ /usr/src/lib/clang/libllvmsupport/../../../contrib/llv= m/lib/Support/APFloat.cpp > 1. /usr/include/c++/4.2/bits/basic_string.tcc:978:43: current parser t= oken ';' > 2. /usr/include/c++/4.2/bits/basic_string.tcc:48:1 : parsing namespace 'std' > c++: error: unable to execute command: Abort trap (core dumped) > c++: error: clang frontend command failed due to signal (use -v to see inv= ocation) > FreeBSD clang version 3.3 (trunk 178860) 20130405 > Target: armv6-unknown-freebsd10.0 > Thread model: posix > c++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/b= ugs/ and include the crash backtrace, preprocessed source, and associated ru= n script. > c++: note: diagnostic msg: Error generating preprocessed source(s). > *** [APFloat.o] Error code 254 >=20 > Stop in /usr/src/lib/clang/libllvmsupport. > *** [bootstrap-tools] Error code 1 >=20 > Stop in /usr/src. > *** [_bootstrap-tools] Error code 1 >=20 > Stop in /usr/src. > *** [buildworld] Error code 1 >=20 > Stop in /usr/src. >=20 >> How-To-Repeat: > cd /usr/src > make buildworld >=20 >> Fix: >=20 >=20 >> Release-Note: >> Audit-Trail: >> Unformatted: > _______________________________________________ > 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 May 12 14:00:01 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7122867F for ; Sun, 12 May 2013 14:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6316DD34 for ; Sun, 12 May 2013 14:00:01 +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 r4CE01Bn005795 for ; Sun, 12 May 2013 14:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4CE010s005794; Sun, 12 May 2013 14:00:01 GMT (envelope-from gnats) Date: Sun, 12 May 2013 14:00:01 GMT Message-Id: <201305121400.r4CE010s005794@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org Cc: From: =?ISO-8859-1?Q?Ren=E9_Ladan?= Subject: Re: arm/178495: buildworld fail on arm/raspberry pi X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?ISO-8859-1?Q?Ren=E9_Ladan?= List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 14:00:01 -0000 The following reply was made to PR arm/178495; it has been noted by GNATS. From: =?ISO-8859-1?Q?Ren=E9_Ladan?= To: bug-followup@FreeBSD.org, freebsd.asc@schwarzes.net Cc: Subject: Re: arm/178495: buildworld fail on arm/raspberry pi Date: Sun, 12 May 2013 15:51:52 +0200 --047d7b41408ed3aa5404dc85b33a Content-Type: text/plain; charset=ISO-8859-1 I reported this upstream to the LLVM/clang developers (note the assertion failure) as http://llvm.org/bugs/show_bug.cgi?id=15696 --047d7b41408ed3aa5404dc85b33a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I reported this upstream to the LLVM/clang developers (not= e the assertion failure) as=A0http://llvm.org/bugs/show_bug.cgi?id=3D15696

<= /div>
--047d7b41408ed3aa5404dc85b33a-- From owner-freebsd-arm@FreeBSD.ORG Sun May 12 19:54:34 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B18F11E1 for ; Sun, 12 May 2013 19:54:34 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-f45.google.com (mail-ee0-f45.google.com [74.125.83.45]) by mx1.freebsd.org (Postfix) with ESMTP id 498A3B79 for ; Sun, 12 May 2013 19:54:33 +0000 (UTC) Received: by mail-ee0-f45.google.com with SMTP id l10so1453433eei.4 for ; Sun, 12 May 2013 12:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8gFTQos2bUz+rJMFXGIcLYdnyiauEHt0MMhSURLigQg=; b=gX5YxsX/8/GydTeLS44D1quZLIE3QGtzZRR5PT89AMQUZobFLnD+5pcDBYIrbmaf4E kDcC0okPiHivYBL1ToVXvNzlj2P1Gy7o1LVfruktao1xV5ZTZUNbq+sRNvnfLAKvDL3y 2QYEpLHa6ojMBwjL40R/PFvwwD7VB8rALFTSTyuESdASUwrxbHanB7E6sI2sVosdhkki bqS63zAx6E53mYtsSyRUcQYu3wQbcQaE32j45jnpVuhu6jXN6vdwHvnjXK4lyvnHvvKi vF38/d1vU1D+cjn5o5BBxEv4W7vZGj9wxx14wuHjOHAfczfv3OBg8BExMC0iqLdbxMnw 1a4Q== MIME-Version: 1.0 X-Received: by 10.15.52.70 with SMTP id o46mr70354183eew.14.1368388466711; Sun, 12 May 2013 12:54:26 -0700 (PDT) Received: by 10.14.130.66 with HTTP; Sun, 12 May 2013 12:54:26 -0700 (PDT) In-Reply-To: References: <20130510024232.GA10543@thinkbsd.divinix.org> Date: Sun, 12 May 2013 12:54:26 -0700 Message-ID: Subject: Re: Connecting to Beablebone From: hiren panchasara To: Tim Kientzle Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm 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, 12 May 2013 19:54:34 -0000 On Sat, May 11, 2013 at 3:44 PM, Tim Kientzle wrote: > > On May 11, 2013, at 1:30 PM, hiren panchasara wrote: > >> On Sat, May 11, 2013 at 9:11 AM, Tim Kientzle wrote: >>> >>> On May 11, 2013, at 12:59 AM, hiren panchasara wrote: >>> >>>> I found one of these: >>>> http://www.amazon.com/gp/product/B006JKNWLE/ref=oh_details_o06_s00_i00?ie=UTF8&psc=1 >>>> >>>> And I've connected it to laptop as shown in: >>>> http://www.strugglingcoder.info/pics/bb1.jpg >>>> and on beaglebone as shown in: http://www.strugglingcoder.info/pics/bb2.jpg > > There's no DNS entry for struggling.dyndns-home.com > >>>> As per the schematic info I derived: >>>> Pin 1: GND >>>> Pin 4: RX >>>> Pin 5: TX >>>> >>>> I can still not see anything after connecting to "cu -l cuaU0". >>> >>> You probably need to set the speed: >>> >>> cu -s 115200 -l cuaU0 >> >> Doesn't seem to help. I've been following instructions at >> https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack > > > I have noticed with the Adafruit cable that the serial connection > sometimes just stops when I reboot or cycle the power. > > The following seems to reliably restart the serial port: > * Leave the serial cable connected. > * Remove power from the BBB > * Press and hold the boot switch > * Plug power back in while holding the boot switch. > * Count to three and release the boot switch > > Finally, of course, are you sure that your cable is > supported by your laptop? USB-to-serial adapters > seem to be surprisingly variable. Huh, usb-to-serial cable was acting funny. It seems to be doing its thing now. BTW, If I hole boot switch and plug in power, I only see "CCCC...." on the console. If I plug power without that, I am getting things. (which seems to be stuck on uboot but thats another story). Building new image right now and see how it goes. Thanks a ton to all for your help. cheers, Hiren > > Tim > > > From owner-freebsd-arm@FreeBSD.ORG Sun May 12 19:59:44 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 365F4338; Sun, 12 May 2013 19:59:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA0ABE6; Sun, 12 May 2013 19:59:43 +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 r4CJxhxH079057; Sun, 12 May 2013 15:59:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4CJxhEM079056; Sun, 12 May 2013 19:59:43 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 12 May 2013 19:59:43 GMT Message-Id: <201305121959.r4CJxhEM079056@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, 12 May 2013 19:59:44 -0000 TB --- 2013-05-12 16:30:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-12 16:30:19 - 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-05-12 16:30:19 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-12 16:30:19 - cleaning the object tree TB --- 2013-05-12 16:36:12 - /usr/local/bin/svn stat /src TB --- 2013-05-12 16:36:15 - At svn revision 250575 TB --- 2013-05-12 16:36:16 - building world TB --- 2013-05-12 16:36:16 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 16:36:16 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 16:36:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 16:36:16 - SRCCONF=/dev/null TB --- 2013-05-12 16:36:16 - TARGET=arm TB --- 2013-05-12 16:36:16 - TARGET_ARCH=arm TB --- 2013-05-12 16:36:16 - TZ=UTC TB --- 2013-05-12 16:36:16 - __MAKE_CONF=/dev/null TB --- 2013-05-12 16:36:16 - cd /src TB --- 2013-05-12 16:36:16 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun May 12 16:36:20 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 >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun May 12 19:34:04 UTC 2013 TB --- 2013-05-12 19:34:04 - generating LINT kernel config TB --- 2013-05-12 19:34:04 - cd /src/sys/arm/conf TB --- 2013-05-12 19:34:04 - /usr/bin/make -B LINT TB --- 2013-05-12 19:34:04 - cd /src/sys/arm/conf TB --- 2013-05-12 19:34:04 - /usr/sbin/config -m LINT TB --- 2013-05-12 19:34:04 - building LINT kernel TB --- 2013-05-12 19:34:04 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 19:34:04 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 19:34:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 19:34:04 - SRCCONF=/dev/null TB --- 2013-05-12 19:34:04 - TARGET=arm TB --- 2013-05-12 19:34:04 - TARGET_ARCH=arm TB --- 2013-05-12 19:34:04 - TZ=UTC TB --- 2013-05-12 19:34:04 - __MAKE_CONF=/dev/null TB --- 2013-05-12 19:34:04 - cd /src TB --- 2013-05-12 19:34:04 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 12 19:34:04 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun May 12 19:57:27 UTC 2013 TB --- 2013-05-12 19:57:27 - cd /src/sys/arm/conf TB --- 2013-05-12 19:57:27 - /usr/sbin/config -m AC100 TB --- 2013-05-12 19:57:27 - skipping AC100 kernel TB --- 2013-05-12 19:57:27 - cd /src/sys/arm/conf TB --- 2013-05-12 19:57:27 - /usr/sbin/config -m ARMADAXP TB --- 2013-05-12 19:57:27 - skipping ARMADAXP kernel TB --- 2013-05-12 19:57:27 - cd /src/sys/arm/conf TB --- 2013-05-12 19:57:27 - /usr/sbin/config -m ATMEL TB --- 2013-05-12 19:57:27 - building ATMEL kernel TB --- 2013-05-12 19:57:27 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 19:57:27 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 19:57:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 19:57:27 - SRCCONF=/dev/null TB --- 2013-05-12 19:57:27 - TARGET=arm TB --- 2013-05-12 19:57:27 - TARGET_ARCH=arm TB --- 2013-05-12 19:57:27 - TZ=UTC TB --- 2013-05-12 19:57:27 - __MAKE_CONF=/dev/null TB --- 2013-05-12 19:57:27 - cd /src TB --- 2013-05-12 19:57:27 - /usr/bin/make -B buildkernel KERNCONF=ATMEL >>> Kernel build for ATMEL started on Sun May 12 19:57:27 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert' #define __Static_assert(x, y) ___Static_assert(x, y) ^~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert' #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] ^~~~~~~~~~~~ 1 error generated. *** [vfs_subr.o] Error code 1 Stop in /obj/arm.arm/src/sys/ATMEL. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-12 19:59:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-12 19:59:43 - ERROR: failed to build ATMEL kernel TB --- 2013-05-12 19:59:43 - 9724.61 user 1694.62 system 12563.52 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sun May 12 20:02:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 824DF576 for ; Sun, 12 May 2013 20:02:10 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x230.google.com (mail-ea0-x230.google.com [IPv6:2a00:1450:4013:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id 18D0EC23 for ; Sun, 12 May 2013 20:02:09 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id h14so3297957eak.21 for ; Sun, 12 May 2013 13:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=N+tU/LTqoIInekQRqr/NTqoiJibtmjWfvzVwLKzqmH0=; b=aQ9pbjw+YxA1p3nRMEBJyCI4KXHuwk7xhHDinkg2F93DSkmTYm+ImOimfQghYQud42 0KZ0WQyUTkEXy36BdHUrdlUzggjcnotShF9rGohm9TOVGsWCpg/QhKueB2s9rpxCMfMj uNMxxnTjKub9YeWu+aHMjESY3LTl8wB6NANtwabUdmQtYTShsr3rFD6xxZGutmohxntJ TeRPs8UbLnKf/aKjveycUnJ9VZgtnbc1k3d3Lg8r3Z4Vfmi2pKa6idAvT3TdpDnWJqh+ uC7dveRro+hAfveoq3+og9QGTmvBmHkfgOKSnsw7UXpvMH9JfpDdltRF/UjLw2LIIcE6 Oslg== MIME-Version: 1.0 X-Received: by 10.14.208.132 with SMTP id q4mr70242822eeo.35.1368388929272; Sun, 12 May 2013 13:02:09 -0700 (PDT) Received: by 10.14.130.66 with HTTP; Sun, 12 May 2013 13:02:09 -0700 (PDT) In-Reply-To: References: <20130510024232.GA10543@thinkbsd.divinix.org> Date: Sun, 12 May 2013 13:02:09 -0700 Message-ID: Subject: Re: Connecting to Beablebone From: hiren panchasara To: Tim Kientzle Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm 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, 12 May 2013 20:02:10 -0000 On Sun, May 12, 2013 at 12:54 PM, hiren panchasara wrote: > On Sat, May 11, 2013 at 3:44 PM, Tim Kientzle wrote: >> >> On May 11, 2013, at 1:30 PM, hiren panchasara wrote: >> >>> On Sat, May 11, 2013 at 9:11 AM, Tim Kientzle wrote: >>>> >>>> On May 11, 2013, at 12:59 AM, hiren panchasara wrote: >>>> >>>>> I found one of these: >>>>> http://www.amazon.com/gp/product/B006JKNWLE/ref=oh_details_o06_s00_i00?ie=UTF8&psc=1 >>>>> >>>>> And I've connected it to laptop as shown in: >>>>> http://www.strugglingcoder.info/pics/bb1.jpg >>>>> and on beaglebone as shown in: http://www.strugglingcoder.info/pics/bb2.jpg >> >> There's no DNS entry for struggling.dyndns-home.com >> >>>>> As per the schematic info I derived: >>>>> Pin 1: GND >>>>> Pin 4: RX >>>>> Pin 5: TX >>>>> >>>>> I can still not see anything after connecting to "cu -l cuaU0". >>>> >>>> You probably need to set the speed: >>>> >>>> cu -s 115200 -l cuaU0 >>> >>> Doesn't seem to help. I've been following instructions at >>> https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack >> >> >> I have noticed with the Adafruit cable that the serial connection >> sometimes just stops when I reboot or cycle the power. >> >> The following seems to reliably restart the serial port: >> * Leave the serial cable connected. >> * Remove power from the BBB >> * Press and hold the boot switch >> * Plug power back in while holding the boot switch. >> * Count to three and release the boot switch >> >> Finally, of course, are you sure that your cable is >> supported by your laptop? USB-to-serial adapters >> seem to be surprisingly variable. > > Huh, usb-to-serial cable was acting funny. It seems to be doing its thing now. > > BTW, If I hole boot switch and plug in power, I only see "CCCC...." on > the console. If I plug power without that, I am getting things. (which > seems to be stuck on uboot but thats another story). Interesting. It booted just fine with holding boot switch and plugging in power this time around. "Count to three" trick worked :D cheers, Hiren > > Building new image right now and see how it goes. > > Thanks a ton to all for your help. > > cheers, > Hiren >> >> Tim >> >> >> From owner-freebsd-arm@FreeBSD.ORG Mon May 13 11:06: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]) by hub.freebsd.org (Postfix) with ESMTP id 39F458F1 for ; Mon, 13 May 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]) by mx1.freebsd.org (Postfix) with ESMTP id 13A7C832 for ; Mon, 13 May 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 r4DB6epY075780 for ; Mon, 13 May 2013 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4DB6eZt075778 for freebsd-arm@FreeBSD.org; Mon, 13 May 2013 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 May 2013 11:06:40 GMT Message-Id: <201305131106.r4DB6eZt075778@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, 13 May 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/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/176424 arm Compiler warning, TARGET_ARCH=armv6, make MALLOC_PRODU 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/174461 arm [patch] Fix off-by-one in arm9/arm10 cache maintenance 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/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [new driver] [patch] nslu2_led driver for the LEDs on p arm/134338 arm [patch] Lock GPIO accesses on ixp425 24 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon May 13 15:55:48 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CCF0FE12 for ; Mon, 13 May 2013 15:55:48 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id ABB1B291 for ; Mon, 13 May 2013 15:55:48 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r4DFtgUS094549 for freebsd-arm@freebsd.org; Mon, 13 May 2013 15:55:42 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id wvxrdun6bp65r5f5vheat6t4a2; for freebsd-arm@freebsd.org; Mon, 13 May 2013 15:55:42 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: multipart/signed; boundary="Apple-Mail=_CC2D135B-8370-4490-B2C8-679A57397F05"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Git crash on EABI system. Date: Mon, 13 May 2013 08:55:39 -0700 Message-Id: To: freebsd-arm Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) 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, 13 May 2013 15:55:48 -0000 --Apple-Mail=_CC2D135B-8370-4490-B2C8-679A57397F05 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Has anyone else seen this from git on a clang/EABI system? Assertion failed: (attr_stack->origin), function prepare_attr_stack, = file attr.c, line 630. Program received signal SIGABRT, Aborted. [Switching to Thread 20c03300 (LWP 100076/git)] 0x204b842c in thr_kill () from /lib/libc.so.7 (gdb) bt #0 0x204b842c in thr_kill () from /lib/libc.so.7 #1 0x2044157c in raise () from /lib/libthr.so.3 #2 0x20598130 in abort () from /lib/libc.so.7 #3 0x20574630 in __assert () from /lib/libc.so.7 #4 0x00076b28 in ?? () I'm planning to do a debug build and see if I can track down any more details. Tim --Apple-Mail=_CC2D135B-8370-4490-B2C8-679A57397F05 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRkQz8AAoJEGMNyGo0rfFBBP0H/RaXaNn7WndtP+2gxNqME3Eo ypFoxFq7YLM7Fiyfllm8IOiLKu2lFJalWJccfOzVa5Z7VLT5TzaY50UWqJQtHiQz x324nMDxKGlQyvmM4u6RGNRowHcV1d3uKGxJ2nI4s67A4pRFncsrChSDzADCPgf9 Dr0WvigEDqKkR3Nw/cIpDzra1Fl2BHwX7cNw/4HDYiNK6o8JobGDKiXAPZoa5OWT Gzqp+xTolH3bJGzKq1wyl4EhUm0e+mzgCnlrXydewXO638bk6Eu9+L+DXUwf7u+j TzYlHhYH4I7lQiTf+rs6L3t++Vz8jjmLpx9pHX6043mNvyLkuce1gUuBR2Ag/zs= =UMTX -----END PGP SIGNATURE----- --Apple-Mail=_CC2D135B-8370-4490-B2C8-679A57397F05-- From owner-freebsd-arm@FreeBSD.ORG Tue May 14 12:37:17 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EA9D4A6A; Tue, 14 May 2013 12:37:17 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 6B91C8A1; Tue, 14 May 2013 12:37:16 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id B5DBBD8827; Tue, 14 May 2013 14:37:06 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id iG+PRpcjG4Ih; Tue, 14 May 2013 14:37:05 +0200 (CEST) Received: from [10.0.2.117] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 8EA5CD87AF; Tue, 14 May 2013 14:37:05 +0200 (CEST) Message-ID: <51922FF0.4080508@semihalf.com> Date: Tue, 14 May 2013 14:37:04 +0200 From: Zbyszek Bodek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Aleksandr Rybalko Subject: Re: New PV entry allocator for pmap-v6.c References: <518545A0.5020107@semihalf.com> <518A13D5.9030904@semihalf.com> <20130508144718.7ed355d7e0860a1abbe8955b@freebsd.org> <518A47F0.9020106@semihalf.com> <518CBB1F.7040408@semihalf.com> In-Reply-To: <518CBB1F.7040408@semihalf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org, Alan Cox 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, 14 May 2013 12:37:18 -0000 On 10.05.2013 11:17, Zbyszek Bodek wrote: > On 08.05.2013 14:41, Zbyszek Bodek wrote: >> On 08.05.2013 13:47, Aleksandr Rybalko wrote: >>> On Wed, 08 May 2013 10:59:01 +0200 >>> Zbyszek Bodek wrote: >>> >>>> On 04.05.2013 19:30, Zbyszek Bodek wrote: >>>>> Hello everyone, >>>>> >>>>> As a part of Semihalf work on Superpages support, >>>>> we've made some pmap-v6.c improvements and clean-ups. >>>>> >>>>> We would like to start integrating our code to the mainline FreeBSD, >>>>> therefore I'm happy to introduce the new PV entry allocator for >>>>> pmap-v6.c ported from amd64/i386/mips. >>>>> >>>>> Alan Cox (alc) was so kind to review the code. >>>>> >>>>> If there are no objections, then we will commit this patch to the HEAD >>>>> around Monday/Tuesday. >>>>> >>>>> Please check out the attachment for details. >>>>> >>>> >>>> Hello again, >>>> >>>> Does anyone have any comments and/or remarks regarding the mentioned >>>> patch? >>>> >>>> I was testing it on the multicore ARMv7 machine however, it would be >>>> good if someone test it on available ARMv6/ARMv7 platforms. >>>> >>>> Best regards >>>> Zbyszek Bodek >>>> >>>> >>>> _______________________________________________ >>>> 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" >>> >>> Hi Zbyszek! >>> >>> I've not done deep review, but fail to compile it on fresh head: >>> >>> cc -c -O -pipe -march=armv6 -DARM_ARCH_6=1 -std=c99 -g -Wall >>> -Wredundant-decls - Wnested-externs -Wstrict-prototypes >>> -Wmissing-prototypes -Wpointer-arith -Winli ne -Wcast-qual -Wundef >>> -Wno-pointer-sign -fformat-extensions -Wmissing-include -dirs >>> -fdiagnostics-show-option -Wno-error-tautological-compare >>> -Wno-error-empt y-body -Wno-error-parentheses-equality -nostdinc -I. >>> -I/usr/home/ray/work/Free BSD/CLEAN/head/sys >>> -I/usr/home/ray/work/FreeBSD/CLEAN/head/sys/contrib/altq -I/u >>> sr/home/ray/work/FreeBSD/CLEAN/head/sys/contrib/libfdt -D_KERNEL >>> -DHAVE_KERNEL_O PTION_HEADERS -include opt_global.h -ffreestanding >>> -Werror /usr/home/ray/work$ >>> FreeBSD/CLEAN/head/sys/arm/arm/pmap-v6.c >>> /usr/home/ray/work/FreeBSD/CLEAN/head/sys/arm/arm/pmap-v6.c:908:9: >>> >>> error: no member named 'pvh_attrs' in 'struct md_page' pg->md.pvh_attrs >>> &= ~(maskbits & (PVF_MOD | PVF_REF)); ~~~~~~^ >>> /usr/home/ray/work/FreeBSD/CLEAN/head/sys/arm/arm/pmap-v6.c:1001:9: >>> >>> error: no member named 'pvh_attrs' in 'struct md_page' pg->md.pvh_attrs >>> |= flags & (PVF_REF | PVF_MOD); ~~~~~~ ^ >>> >>> 18 errors total. >>> >>> Thanks a lot! >>> >>> P.S. how far from full ARM SMP support Semihalf now? >>> >>> WBW >>> >> >> Hello Aleksandr, >> >> Thank for pointing that out. This was because we have other changes on >> our development branch that btw. we intend to post soon. >> >> I'm attaching the patch that works for me on the current "vanilla" HEAD. >> Please send your feedback. >> >> Regarding SMP support, then we are able to boot 4-core SMP system. >> I was stressing the system with multiple, simultaneous build-world (-j5) >> and it survived overnight tests. We can successfully build kernel, >> stress testing suit is also working fine. >> But please be advised that I was mainly focused on tests that might give >> me basic information about memory operations and I was using only one >> type of target machine. >> >> Best regards >> Zbyszek Bodek >> >> > > Hello again Aleksandr and everyone, > > Do you have any update in this topic? > > Does anyone tried the new patch as has any remarks or findings? > Hello, I'm happy to inform that the new PV entry allocator for ARMv6/7 has been integrated to FreeBSD HEAD. Thanks a lot for your help! Best regards Zbyszek Bodek From owner-freebsd-arm@FreeBSD.ORG Tue May 14 13:01: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]) by hub.freebsd.org (Postfix) with ESMTP id A8E8FED8 for ; Tue, 14 May 2013 13:01:59 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 26C249CA for ; Tue, 14 May 2013 13:01:59 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPA id 4B0EFC4930; Tue, 14 May 2013 16:01:52 +0300 (EEST) Date: Tue, 14 May 2013 16:02:09 +0300 From: Aleksandr Rybalko To: Zbyszek Bodek Subject: Re: New PV entry allocator for pmap-v6.c Message-Id: <20130514160209.d4dfed7c7f3053e0e3b25201@freebsd.org> In-Reply-To: <51922FF0.4080508@semihalf.com> References: <518545A0.5020107@semihalf.com> <518A13D5.9030904@semihalf.com> <20130508144718.7ed355d7e0860a1abbe8955b@freebsd.org> <518A47F0.9020106@semihalf.com> <518CBB1F.7040408@semihalf.com> <51922FF0.4080508@semihalf.com> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org, Alan Cox 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, 14 May 2013 13:01:59 -0000 On Tue, 14 May 2013 14:37:04 +0200 Zbyszek Bodek wrote: > On 10.05.2013 11:17, Zbyszek Bodek wrote: > > On 08.05.2013 14:41, Zbyszek Bodek wrote: > >> On 08.05.2013 13:47, Aleksandr Rybalko wrote: > >>> On Wed, 08 May 2013 10:59:01 +0200 > >>> Zbyszek Bodek wrote: > >>> > >>>> On 04.05.2013 19:30, Zbyszek Bodek wrote: > >>>>> Hello everyone, > >>>>> > >>>>> As a part of Semihalf work on Superpages support, > >>>>> we've made some pmap-v6.c improvements and clean-ups. > >>>>> > >>>>> We would like to start integrating our code to the mainline FreeBSD, > >>>>> therefore I'm happy to introduce the new PV entry allocator for > >>>>> pmap-v6.c ported from amd64/i386/mips. > >>>>> > >>>>> Alan Cox (alc) was so kind to review the code. > >>>>> > >>>>> If there are no objections, then we will commit this patch to the HEAD > >>>>> around Monday/Tuesday. > >>>>> > >>>>> Please check out the attachment for details. > >>>>> > >>>> > >>>> Hello again, > >>>> > >>>> Does anyone have any comments and/or remarks regarding the mentioned > >>>> patch? > >>>> > >>>> I was testing it on the multicore ARMv7 machine however, it would be > >>>> good if someone test it on available ARMv6/ARMv7 platforms. > >>>> > >>>> Best regards > >>>> Zbyszek Bodek > >>>> > >>>> > >>>> _______________________________________________ > >>>> 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" > >>> > >>> Hi Zbyszek! > >>> > >>> I've not done deep review, but fail to compile it on fresh head: > >>> > >>> cc -c -O -pipe -march=armv6 -DARM_ARCH_6=1 -std=c99 -g -Wall > >>> -Wredundant-decls - Wnested-externs -Wstrict-prototypes > >>> -Wmissing-prototypes -Wpointer-arith -Winli ne -Wcast-qual -Wundef > >>> -Wno-pointer-sign -fformat-extensions -Wmissing-include -dirs > >>> -fdiagnostics-show-option -Wno-error-tautological-compare > >>> -Wno-error-empt y-body -Wno-error-parentheses-equality -nostdinc -I. > >>> -I/usr/home/ray/work/Free BSD/CLEAN/head/sys > >>> -I/usr/home/ray/work/FreeBSD/CLEAN/head/sys/contrib/altq -I/u > >>> sr/home/ray/work/FreeBSD/CLEAN/head/sys/contrib/libfdt -D_KERNEL > >>> -DHAVE_KERNEL_O PTION_HEADERS -include opt_global.h -ffreestanding > >>> -Werror /usr/home/ray/work$ > >>> FreeBSD/CLEAN/head/sys/arm/arm/pmap-v6.c > >>> /usr/home/ray/work/FreeBSD/CLEAN/head/sys/arm/arm/pmap-v6.c:908:9: > >>> > >>> error: no member named 'pvh_attrs' in 'struct md_page' pg->md.pvh_attrs > >>> &= ~(maskbits & (PVF_MOD | PVF_REF)); ~~~~~~^ > >>> /usr/home/ray/work/FreeBSD/CLEAN/head/sys/arm/arm/pmap-v6.c:1001:9: > >>> > >>> error: no member named 'pvh_attrs' in 'struct md_page' pg->md.pvh_attrs > >>> |= flags & (PVF_REF | PVF_MOD); ~~~~~~ ^ > >>> > >>> 18 errors total. > >>> > >>> Thanks a lot! > >>> > >>> P.S. how far from full ARM SMP support Semihalf now? > >>> > >>> WBW > >>> > >> > >> Hello Aleksandr, > >> > >> Thank for pointing that out. This was because we have other changes on > >> our development branch that btw. we intend to post soon. > >> > >> I'm attaching the patch that works for me on the current "vanilla" HEAD. > >> Please send your feedback. > >> > >> Regarding SMP support, then we are able to boot 4-core SMP system. > >> I was stressing the system with multiple, simultaneous build-world (-j5) > >> and it survived overnight tests. We can successfully build kernel, > >> stress testing suit is also working fine. > >> But please be advised that I was mainly focused on tests that might give > >> me basic information about memory operations and I was using only one > >> type of target machine. > >> > >> Best regards > >> Zbyszek Bodek > >> > >> > > > > Hello again Aleksandr and everyone, > > > > Do you have any update in this topic? > > > > Does anyone tried the new patch as has any remarks or findings? > > > > Hello, > > I'm happy to inform that the new PV entry allocator for ARMv6/7 has been > integrated to FreeBSD HEAD. > > Thanks a lot for your help! > > Best regards > Zbyszek Bodek > Heh, sorry for delay. I've just tonight made tests and found no difference. Thanks! WBW -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Tue May 14 13:43:48 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7D32904; Tue, 14 May 2013 13:43:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 83745BDE; Tue, 14 May 2013 13:43:48 +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 r4EDhfbr070905; Tue, 14 May 2013 09:43:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4EDhfmP070904; Tue, 14 May 2013 13:43:41 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 14 May 2013 13:43:41 GMT Message-Id: <201305141343.r4EDhfmP070904@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: Tue, 14 May 2013 13:43:48 -0000 TB --- 2013-05-14 12:50:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-14 12:50:18 - 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-05-14 12:50:18 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-14 12:50:18 - cleaning the object tree TB --- 2013-05-14 12:50:18 - /usr/local/bin/svn stat /src TB --- 2013-05-14 12:50:23 - At svn revision 250635 TB --- 2013-05-14 12:50:24 - building world TB --- 2013-05-14 12:50:24 - CROSS_BUILD_TESTING=YES TB --- 2013-05-14 12:50:24 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-14 12:50:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-14 12:50:24 - SRCCONF=/dev/null TB --- 2013-05-14 12:50:24 - TARGET=arm TB --- 2013-05-14 12:50:24 - TARGET_ARCH=arm TB --- 2013-05-14 12:50:24 - TZ=UTC TB --- 2013-05-14 12:50:24 - __MAKE_CONF=/dev/null TB --- 2013-05-14 12:50:24 - cd /src TB --- 2013-05-14 12:50:24 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue May 14 12:50:28 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/libllvmscalaropts/../../../contrib/llvm/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/src/lib/clang/libllvmscalaropts/../../../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-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"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/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp -o Reassociate.o c++ -O2 -pipe -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/src/lib/clang/libllvmscalaropts/../../../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-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"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/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/Reg2Mem.cpp -o Reg2Mem.o c++ -O2 -pipe -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/src/lib/clang/libllvmscalaropts/../../../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-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"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/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SCCP.cpp -o SCCP.o /src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SCCP.cpp: In destructor '::SCCPSolver::~SCCPSolver()': /src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SCCP.cpp:155: internal compiler error: in var_ann, at tree-flow-inline.h:128 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** [SCCP.o] Error code 1 Stop in /src/lib/clang/libllvmscalaropts. *** [all] Error code 1 Stop in /src/lib/clang. *** [cross-tools] Error code 1 Stop in /src. *** [_cross-tools] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-14 13:43:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-14 13:43:41 - ERROR: failed to build world TB --- 2013-05-14 13:43:41 - 2872.23 user 261.99 system 3202.62 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Tue May 14 15:58:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CC248800 for ; Tue, 14 May 2013 15:58:37 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) by mx1.freebsd.org (Postfix) with ESMTP id 9D7F7403 for ; Tue, 14 May 2013 15:58:37 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id h2so833607oag.33 for ; Tue, 14 May 2013 08:58:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=yNatC31IBGfXanX9ldS/uZa+nzBEepqilUsiSnD/CWY=; b=as8Oggzxrs4AhjVKNBYSygcODFmOSYwD0Ho0tpnM1Gu1ToDX/2bUp/VECj15b602Jy j041NxZjNEeBHKYftWJ3zw1y4Wctz/sz72N+a+TKsbtVIu2KihsaruRWGxqlSUSb3Rkc XuI1MYHrrMSpyuQVHc3rug9im/Qwbada0POnpb9MTVmCtZcZc8BrgaK2LgNDcYLTZ9lr ghc102jOTHNrKfL1cEWE2STh+FaUNc4DpFRNpRzRmgUhXccrD8qEQDgYd6KW45Y0vrlN n3Kv4WsB/7Xv/hWV/tAvvJ+2y4R3+mNkxc0pSztxOiFyJr4lTfmLqypqJ6WdcdwAzv4A buhQ== MIME-Version: 1.0 X-Received: by 10.182.220.161 with SMTP id px1mr14705727obc.82.1368547110822; Tue, 14 May 2013 08:58:30 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 08:58:30 -0700 (PDT) Date: Tue, 14 May 2013 09:58:30 -0600 Message-ID: Subject: RS-232 driver for GPIO From: Tom Everett To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQmrQkQo+pYfR6xxbydI1Voa/WFiBGFT/baEybIOv/p6UQ5BCSthbra/nd/tZCnJAqN77GOY 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: Tue, 14 May 2013 15:58:37 -0000 Good morning ARM mailing list. I've been running FreeBSD on my Pi, and I've now got two XBee Pros which I hope to connect. XBee's communicate over RS-232. https://www.sparkfun.com/products/8742 I see from the source tree that it was possible to attach the iic driver to GPIO pins in software: http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup I'm wondering, it is possible to connect the FreeBSD serial driver for RS-2332 to GPIO in a similar way to how iic was connected? -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Tue May 14 16:06:47 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E67AFB7E for ; Tue, 14 May 2013 16:06:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) by mx1.freebsd.org (Postfix) with ESMTP id 827B8697 for ; Tue, 14 May 2013 16:06:47 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id c10so661122wiw.15 for ; Tue, 14 May 2013 09:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=5bd0jNh99UhJh7rV/n3D17E8sf0FeyqAnENjUsChpuM=; b=d+DX83VBJd0yhU7QtqZqy12oqCLM2GQFh/rK3PmZTX1nGBbC02E3NWWss46ChMrDY+ pl6kss/LVWggLMTHwEmCdsO8DLYDuWA0bykPgacOzsG8nTVQ+jc7hBUKUTODsKEHPwCx i6s1CVPu/rxEeElmNOIbEatAcZC2lS6oH16FcxYtnyNN1n5l8RHZsGX/PzV+MbksWdt7 2sFY+Z9dw91lXE8qsTefjOUV5ZTSC8nX1ikc+PG+xfupskSGkgBdsx+inoo3llEO5O7V c+vIZ5njhrv0s/pC1rOIfqPIu/ftLY+kl0VteWn7zr4OduW5pzVyRY38zlqYtBOjLLUw CQRg== MIME-Version: 1.0 X-Received: by 10.180.185.179 with SMTP id fd19mr7929429wic.1.1368547604837; Tue, 14 May 2013 09:06:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.58.138 with HTTP; Tue, 14 May 2013 09:06:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 May 2013 09:06:44 -0700 X-Google-Sender-Auth: qvU6xCfslgpzbRSbUPpkAIyj1zs Message-ID: Subject: Re: RS-232 driver for GPIO From: Adrian Chadd To: Tom Everett Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 14 May 2013 16:06:48 -0000 ... the r-pi actually has an RS232 port exposed via GPIO. It's only 3.3v but it's there. Someone just needs to write up an SIO driver for it and then put the GPIO pins in question into RS232 "mode". Yay multi-function GPIO pins! adrian On 14 May 2013 08:58, Tom Everett wrote: > Good morning ARM mailing list. > > I've been running FreeBSD on my Pi, and I've now got two XBee Pros which I > hope to connect. XBee's communicate over RS-232. > > https://www.sparkfun.com/products/8742 > > I see from the source tree that it was possible to attach the iic driver to > GPIO pins in software: > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > I'm wondering, it is possible to connect the FreeBSD serial driver for > RS-2332 to GPIO in a similar way to how iic was connected? > > > > -- > A better world shall emerge based on faith and understanding - Douglas > MacArthur > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Tue May 14 16:24:53 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D44D9490; Tue, 14 May 2013 16:24:53 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 91A0D813; Tue, 14 May 2013 16:24:53 +0000 (UTC) Received: from rnote.ddteam.net (67-51-133-95.pool.ukrtel.net [95.133.51.67]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id E9EB0C493A; Tue, 14 May 2013 19:24:51 +0300 (EEST) Date: Tue, 14 May 2013 19:24:48 +0300 From: Aleksandr Rybalko To: Adrian Chadd Subject: Re: RS-232 driver for GPIO Message-Id: <20130514192448.7b48e095.ray@freebsd.org> In-Reply-To: References: Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 14 May 2013 16:24:53 -0000 On Tue, 14 May 2013 09:06:44 -0700 Adrian Chadd wrote: > ... the r-pi actually has an RS232 port exposed via GPIO. It's only > 3.3v but it's there. > > Someone just needs to write up an SIO driver for it and then put the > GPIO pins in question into RS232 "mode". we have it already :) (console works on uart) only FDT definition is required. And maybe some fixes for boudrate setting and/or format setup (bits/parity/stop bits/etc) > > Yay multi-function GPIO pins! > > > > adrian > > > On 14 May 2013 08:58, Tom Everett wrote: > > Good morning ARM mailing list. > > > > I've been running FreeBSD on my Pi, and I've now got two XBee Pros > > which I hope to connect. XBee's communicate over RS-232. > > > > https://www.sparkfun.com/products/8742 > > > > I see from the source tree that it was possible to attach the iic > > driver to GPIO pins in software: > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > I'm wondering, it is possible to connect the FreeBSD serial driver > > for RS-2332 to GPIO in a similar way to how iic was connected? > > > > > > > > -- > > A better world shall emerge based on faith and understanding - > > Douglas MacArthur > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to > > "freebsd-arm-unsubscribe@freebsd.org" > _______________________________________________ > 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" -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Tue May 14 17:21:07 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB5F61EB for ; Tue, 14 May 2013 17:21:07 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id A979FCB3 for ; Tue, 14 May 2013 17:21:07 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id xk17so854435obc.25 for ; Tue, 14 May 2013 10:21:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=NeGQjAos/Un5XbTlJ9zu7QJ2i085Gs5EJErzhpG1W2Y=; b=L8LFlkoHrZxAVk8dJhcl5T3PopuldNJuIQP1OT6oUInTZoU9EjFhQ145upRG2POm8U 92kVbGR/aeGvurTVdswqC5JCB5OCgzlj2MrIr80ivkFN8K3F4uhwppoKNp5ZWDiyEodl gorkqv/VTeowYF+ce6uaaoDrU5VwJtmhIiyLqAmYKyPG1RcOZxWoCX5yQaZk9zuAz7FI CPiLvpFaPrJCG8TZPIcz9pbwSxwC9/WkEm7HLrSuUq9A28MaENSy/d2gFn/ZTldBe+kz 5w1tVwRaSkcFn4rNeAceqgKpBnDkn4LCsNqJEOaXQU8c1L9Ffjr0WLifnxpJEgjQgF6p SXMQ== MIME-Version: 1.0 X-Received: by 10.60.147.197 with SMTP id tm5mr17377036oeb.72.1368552067185; Tue, 14 May 2013 10:21:07 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 10:21:07 -0700 (PDT) In-Reply-To: <20130514192448.7b48e095.ray@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> Date: Tue, 14 May 2013 11:21:07 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQnWcY8RC+UASBnxtM9j1Jp2Tbs5JGEuRuXGtQPbiH/vf+f6VHxfnySkuSh9Pn5o4csRvLyJ 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: Tue, 14 May 2013 17:21:07 -0000 ok, where would a newb start with getting that working? On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko wrote: > On Tue, 14 May 2013 09:06:44 -0700 > Adrian Chadd wrote: > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's only > > 3.3v but it's there. > > > > Someone just needs to write up an SIO driver for it and then put the > > GPIO pins in question into RS232 "mode". > > we have it already :) (console works on uart) > only FDT definition is required. > And maybe some fixes for boudrate setting and/or format setup > (bits/parity/stop bits/etc) > > > > > Yay multi-function GPIO pins! > > > > > > > > adrian > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > Good morning ARM mailing list. > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee Pros > > > which I hope to connect. XBee's communicate over RS-232. > > > > > > https://www.sparkfun.com/products/8742 > > > > > > I see from the source tree that it was possible to attach the iic > > > driver to GPIO pins in software: > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > I'm wondering, it is possible to connect the FreeBSD serial driver > > > for RS-2332 to GPIO in a similar way to how iic was connected? > > > > > > > > > > > > -- > > > A better world shall emerge based on faith and understanding - > > > Douglas MacArthur > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to > > > "freebsd-arm-unsubscribe@freebsd.org" > > _______________________________________________ > > 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" > > > -- > Aleksandr Rybalko > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Tue May 14 18:20:08 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C89CA1D3 for ; Tue, 14 May 2013 18:20:08 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 9681380 for ; Tue, 14 May 2013 18:20:08 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id xn12so954415obc.10 for ; Tue, 14 May 2013 11:20:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=kh4rBYJcql838ExLY8HNvOduiTkbZaip1iqow9pA/Yc=; b=MRW8qw/aIq2jG3amDA2iSH2HSODWBzW/ZhNezNOMlryfjken2gI/hMSNhsuUyBVuQB aWD4Cwd9Eg+uNuto27WkBV8NPPnhCP2eyAZwYUg1jWQE9FxN5MKhZiNc/4dcnWIGnNSa spXCFEwiKJdK8i6/9HnVU/otVFfqJJFQW9I6GUebF16IaQzZNmfTnyGGb7Gbd5RTWzw+ zVrg9b5ps9hO1Z5U8k+RVlcclZA0HJ4v2HEMaX7yUKpUpjLilKFJhe7RN3aAaycs/0ld 5rOeSje1c6JCcfg1euowMl1kgDMqf/cNGH8Fo9Lycl0hFUcF6gGDSqOzWM8Rwy0ZtiKw fg4A== MIME-Version: 1.0 X-Received: by 10.60.40.4 with SMTP id t4mr17667506oek.133.1368555608199; Tue, 14 May 2013 11:20:08 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 11:20:08 -0700 (PDT) In-Reply-To: <20130514192448.7b48e095.ray@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> Date: Tue, 14 May 2013 12:20:08 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQloVQ99WhbWTgcRSIDDmqrm9PrATJnLuomf08+XaL/LTiSM0ltEJ7mwhYdXA+OzdugqC6/E 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: Tue, 14 May 2013 18:20:08 -0000 ok so the FDT definition would have to be added here? http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko wrote: > On Tue, 14 May 2013 09:06:44 -0700 > Adrian Chadd wrote: > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's only > > 3.3v but it's there. > > > > Someone just needs to write up an SIO driver for it and then put the > > GPIO pins in question into RS232 "mode". > > we have it already :) (console works on uart) > only FDT definition is required. > And maybe some fixes for boudrate setting and/or format setup > (bits/parity/stop bits/etc) > > > > > Yay multi-function GPIO pins! > > > > > > > > adrian > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > Good morning ARM mailing list. > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee Pros > > > which I hope to connect. XBee's communicate over RS-232. > > > > > > https://www.sparkfun.com/products/8742 > > > > > > I see from the source tree that it was possible to attach the iic > > > driver to GPIO pins in software: > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > I'm wondering, it is possible to connect the FreeBSD serial driver > > > for RS-2332 to GPIO in a similar way to how iic was connected? > > > > > > > > > > > > -- > > > A better world shall emerge based on faith and understanding - > > > Douglas MacArthur > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to > > > "freebsd-arm-unsubscribe@freebsd.org" > > _______________________________________________ > > 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" > > > -- > Aleksandr Rybalko > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Tue May 14 23:18:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 10112425; Tue, 14 May 2013 23:18:12 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id C3B8F689; Tue, 14 May 2013 23:18:11 +0000 (UTC) Received: from rnote.ddteam.net (56-7-135-95.pool.ukrtel.net [95.135.7.56]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 21575C496A; Wed, 15 May 2013 02:18:04 +0300 (EEST) Date: Wed, 15 May 2013 02:17:51 +0300 From: Aleksandr Rybalko To: Tom Everett Subject: Re: RS-232 driver for GPIO Message-Id: <20130515021751.8848a996.ray@freebsd.org> In-Reply-To: References: <20130514192448.7b48e095.ray@freebsd.org> Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 14 May 2013 23:18:12 -0000 On Tue, 14 May 2013 12:20:08 -0600 Tom Everett wrote: > ok so the FDT definition would have to be added here? > > http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup > Yeah, right. But I have bad news. Both UARTs can be connected to pairs(tx+rx) 14+16, 32+33, 40+41 and both UARTs can be connected to any of this pins. But only 14, 16 and 40(PWM0) wired to ext.pin. > > > On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko > wrote: > > > On Tue, 14 May 2013 09:06:44 -0700 > > Adrian Chadd wrote: > > > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's > > > only 3.3v but it's there. > > > > > > Someone just needs to write up an SIO driver for it and then put > > > the GPIO pins in question into RS232 "mode". > > > > we have it already :) (console works on uart) > > only FDT definition is required. > > And maybe some fixes for boudrate setting and/or format setup > > (bits/parity/stop bits/etc) > > > > > > > > Yay multi-function GPIO pins! > > > > > > > > > > > > adrian > > > > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > > Good morning ARM mailing list. > > > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee > > > > Pros which I hope to connect. XBee's communicate over RS-232. > > > > > > > > https://www.sparkfun.com/products/8742 > > > > > > > > I see from the source tree that it was possible to attach the > > > > iic driver to GPIO pins in software: > > > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > > > I'm wondering, it is possible to connect the FreeBSD serial > > > > driver for RS-2332 to GPIO in a similar way to how iic was > > > > connected? > > > > > > > > > > > > > > > > -- > > > > A better world shall emerge based on faith and understanding - > > > > Douglas MacArthur > > > > _______________________________________________ > > > > freebsd-arm@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > To unsubscribe, send any mail to > > > > "freebsd-arm-unsubscribe@freebsd.org" > > > _______________________________________________ > > > 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" > > > > > > -- > > Aleksandr Rybalko > > > > > > -- > A better world shall emerge based on faith and understanding - > Douglas MacArthur -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Wed May 15 00:14:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 950D1CBE for ; Wed, 15 May 2013 00:14:30 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by mx1.freebsd.org (Postfix) with ESMTP id 5F34F8EF for ; Wed, 15 May 2013 00:14:30 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id k14so1451617oag.36 for ; Tue, 14 May 2013 17:14:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=ACV5HLNULX+q+OzPhC0SHo0CL5TtIoXUEVC1GW1YheI=; b=IBphLPAAxF5ylAC9MykBeAStsKG1MaHvIAERUuDBeZ+t3/+ONAgC4C/7dnbvPSubrI kKEp3JCb0vFcsavYtzftQcxNIBxZ0otoJX7m7Rxzqu+u8tR29/jgwQuARES/al5YptKX FN8TVrOA7h+7OABOhHqRaLW9t45Nq3R01vNA/BhPAxhILJNWwR0WNrN0FkATtfA5Fat9 BS8blln6ZZU1w5lvcFl2Fr1DdggSmyLhw8blhmX/71oknEq8ZX4QmCKvntWLje0k1vcd 7sfPp79JhLr59H6oACYSsX56DnUN2T1hIHR6SfoLNoL3JWHsggwbCdPC7hDnDWP3mkIh lzqQ== MIME-Version: 1.0 X-Received: by 10.60.116.3 with SMTP id js3mr15729364oeb.142.1368576869543; Tue, 14 May 2013 17:14:29 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 17:14:29 -0700 (PDT) In-Reply-To: <20130515021751.8848a996.ray@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> <20130515021751.8848a996.ray@freebsd.org> Date: Tue, 14 May 2013 18:14:29 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQmpZUuk8Xp2SOev0rcido/38EIY8owjwrCYtZrvn6k64pLNR41FeNTJqZF0inou+t76nIr+ 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: Wed, 15 May 2013 00:14:30 -0000 Did you mean 14 &15, or 14 & 16? On Tue, May 14, 2013 at 5:17 PM, Aleksandr Rybalko wrote: > On Tue, 14 May 2013 12:20:08 -0600 > Tom Everett wrote: > > > ok so the FDT definition would have to be added here? > > > > > http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup > > > > Yeah, right. > > But I have bad news. Both UARTs can be connected to pairs(tx+rx) 14+16, > 32+33, 40+41 and both UARTs can be connected to any of this pins. > But only 14, 16 and 40(PWM0) wired to ext.pin. > > > > > > > On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko > > wrote: > > > > > On Tue, 14 May 2013 09:06:44 -0700 > > > Adrian Chadd wrote: > > > > > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's > > > > only 3.3v but it's there. > > > > > > > > Someone just needs to write up an SIO driver for it and then put > > > > the GPIO pins in question into RS232 "mode". > > > > > > we have it already :) (console works on uart) > > > only FDT definition is required. > > > And maybe some fixes for boudrate setting and/or format setup > > > (bits/parity/stop bits/etc) > > > > > > > > > > > Yay multi-function GPIO pins! > > > > > > > > > > > > > > > > adrian > > > > > > > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > > > Good morning ARM mailing list. > > > > > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee > > > > > Pros which I hope to connect. XBee's communicate over RS-232. > > > > > > > > > > https://www.sparkfun.com/products/8742 > > > > > > > > > > I see from the source tree that it was possible to attach the > > > > > iic driver to GPIO pins in software: > > > > > > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > > > > > I'm wondering, it is possible to connect the FreeBSD serial > > > > > driver for RS-2332 to GPIO in a similar way to how iic was > > > > > connected? > > > > > > > > > > > > > > > > > > > > -- > > > > > A better world shall emerge based on faith and understanding - > > > > > Douglas MacArthur > > > > > _______________________________________________ > > > > > freebsd-arm@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > > To unsubscribe, send any mail to > > > > > "freebsd-arm-unsubscribe@freebsd.org" > > > > _______________________________________________ > > > > 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" > > > > > > > > > -- > > > Aleksandr Rybalko > > > > > > > > > > > -- > > A better world shall emerge based on faith and understanding - > > Douglas MacArthur > > > -- > Aleksandr Rybalko > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Wed May 15 02:24:43 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E489D51D for ; Wed, 15 May 2013 02:24:43 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by mx1.freebsd.org (Postfix) with ESMTP id B0D84E53 for ; Wed, 15 May 2013 02:24:43 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id k14so1488086oag.8 for ; Tue, 14 May 2013 19:24:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=11H9oEBbbrm6TGnT0CwZZgP5/UjRAc1RRHyVJycplrw=; b=AAK+xJmtgRD33Sq5y0k7h6mlBxiPEBc1IZqgUXL9TaXRC+Mx5M4YzaeOyH+6IfLx11 rS/ll4BiR+TFxh/72Rzbl3J83gVlqqLcYUvtFaM6/j8W5tDNtYFpiZ5G0n7pjQF2WXSa JYSBx/7E3pYX6rqyMLKqGHLrorW7QHk0dOu2Yxepz/k3nMnJ/SiLSAwM93S45Ikcx7Jn d1ZYyaJKwz6rMkilqmseCSKrypkfS0lXm6R78OUL3z4atsrLZ4n2wa/KkLxrZ5QfGkf7 0lYTo47AeHUE+27y3SHncqFLqvZk0mcHqy+5MTQZkm2CVnFFNVqJWW/9ou8a2FoErlBx w1ng== MIME-Version: 1.0 X-Received: by 10.182.138.4 with SMTP id qm4mr16299670obb.101.1368584682906; Tue, 14 May 2013 19:24:42 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Tue, 14 May 2013 19:24:42 -0700 (PDT) In-Reply-To: <20130515021751.8848a996.ray@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> <20130515021751.8848a996.ray@freebsd.org> Date: Tue, 14 May 2013 20:24:42 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQmhqUYBEDOVZDLhl8g+HXLRySz1KZwRzGf8YPKMc2xeGEocUwXEQ/COOP2ATdIP6UOmhjdK 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: Wed, 15 May 2013 02:24:44 -0000 ok so given this, I've done some reading. I'm by no means a FreeBSD expert, so forgive me if I'm completely wrong. I see this in the FDT: /* UART0 */ pins_uart0_a: uart0_a { broadcom,pins = <14>, <15>; broadcom,function = "ALT0"; }; and this: chosen { bootargs = ""; /* Set by VideoCore */ stdin = "uart0"; stdout = "uart0"; }; So I interpret that to mean that uart0 is bound to pins 14, 15, and furthermore that the serial device bound to uart0 is bound to stdin and stdout. In my /dev/ I see: crw------- 1 root wheel 0x1f Apr 27 13:42 ttyu0 crw------- 1 root wheel 0x20 Apr 27 21:42 ttyu0.init crw------- 1 root wheel 0x21 Apr 27 21:42 ttyu0.lock crw-rw---- 1 uucp dialer 0x22 Apr 27 21:42 cuau0 crw-rw---- 1 uucp dialer 0x23 Apr 27 21:42 cuau0.init crw-rw---- 1 uucp dialer 0x24 Apr 27 21:42 cuau0.lock So, that is telling me that sio0 is bound to uart0, which is a serial console? If so, that means that I could use pins 14 & 15 for rs-232, but I would have to chose b/t using those pins to talk to another device (xbee), or a serial console? On Tue, May 14, 2013 at 5:17 PM, Aleksandr Rybalko wrote: > On Tue, 14 May 2013 12:20:08 -0600 > Tom Everett wrote: > > > ok so the FDT definition would have to be added here? > > > > > http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup > > > > Yeah, right. > > But I have bad news. Both UARTs can be connected to pairs(tx+rx) 14+16, > 32+33, 40+41 and both UARTs can be connected to any of this pins. > But only 14, 16 and 40(PWM0) wired to ext.pin. > > > > > > > On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko > > wrote: > > > > > On Tue, 14 May 2013 09:06:44 -0700 > > > Adrian Chadd wrote: > > > > > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's > > > > only 3.3v but it's there. > > > > > > > > Someone just needs to write up an SIO driver for it and then put > > > > the GPIO pins in question into RS232 "mode". > > > > > > we have it already :) (console works on uart) > > > only FDT definition is required. > > > And maybe some fixes for boudrate setting and/or format setup > > > (bits/parity/stop bits/etc) > > > > > > > > > > > Yay multi-function GPIO pins! > > > > > > > > > > > > > > > > adrian > > > > > > > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > > > Good morning ARM mailing list. > > > > > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee > > > > > Pros which I hope to connect. XBee's communicate over RS-232. > > > > > > > > > > https://www.sparkfun.com/products/8742 > > > > > > > > > > I see from the source tree that it was possible to attach the > > > > > iic driver to GPIO pins in software: > > > > > > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > > > > > I'm wondering, it is possible to connect the FreeBSD serial > > > > > driver for RS-2332 to GPIO in a similar way to how iic was > > > > > connected? > > > > > > > > > > > > > > > > > > > > -- > > > > > A better world shall emerge based on faith and understanding - > > > > > Douglas MacArthur > > > > > _______________________________________________ > > > > > freebsd-arm@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > > To unsubscribe, send any mail to > > > > > "freebsd-arm-unsubscribe@freebsd.org" > > > > _______________________________________________ > > > > 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" > > > > > > > > > -- > > > Aleksandr Rybalko > > > > > > > > > > > -- > > A better world shall emerge based on faith and understanding - > > Douglas MacArthur > > > -- > Aleksandr Rybalko > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Wed May 15 04:39:10 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D2F1811E; Wed, 15 May 2013 04:39:10 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3C17169A; Wed, 15 May 2013 04:39:10 +0000 (UTC) Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171]) by mail1.ozon.ru (Postfix) with ESMTP id 05BE471A77E; Wed, 15 May 2013 08:38:08 +0400 (MSK) Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC; Wed, 15 May 2013 08:28:06 +0400 Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Tue, 14 May 2013 17:44:06 +0400 Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Tue, 14 May 2013 17:44:03 +0400 Received: from localhost (localhost [127.0.0.1]) by mail1.ozon.ru (Postfix) with ESMTP id 3CC9271A81C for ; Tue, 14 May 2013 17:44:03 +0400 (MSK) X-Virus-Scanned: amavisd-new at ozon.ru Received: from mail1.ozon.ru ([127.0.0.1]) by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bmb14Nvw1d4p for ; Tue, 14 May 2013 17:43:56 +0400 (MSK) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 'owner-freebsd-current@freebsd.org' in 'mfrom' identity (mechanism 'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom; envelope-from="owner-freebsd-current@freebsd.org"; helo=mx2.freebsd.org; client-ip=8.8.178.116 Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116]) by mail1.ozon.ru (Postfix) with ESMTP id 5ECC671A447 for ; Tue, 14 May 2013 17:43:56 +0400 (MSK) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 9CED42136; Tue, 14 May 2013 13:43:51 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by hub.freebsd.org (Postfix) with ESMTP id 790DC9F2; Tue, 14 May 2013 13:43:51 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7D32904; Tue, 14 May 2013 13:43:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 83745BDE; Tue, 14 May 2013 13:43:48 +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 r4EDhfbr070905; Tue, 14 May 2013 09:43:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4EDhfmP070904; Tue, 14 May 2013 13:43:41 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 14 May 2013 13:43:41 GMT Message-Id: <201305141343.r4EDhfmP070904@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-freebsd-current@freebsd.org Sender: owner-freebsd-current@freebsd.org X-OriginalArrivalTime: 14 May 2013 13:44:03.0233 (UTC) FILETIME=[18936110:01CE50A9] X-BeenThere: freebsd-arm@freebsd.org List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 04:39:10 -0000 TB --- 2013-05-14 12:50:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-14 12:50:18 - 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-05-14 12:50:18 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-14 12:50:18 - cleaning the object tree TB --- 2013-05-14 12:50:18 - /usr/local/bin/svn stat /src TB --- 2013-05-14 12:50:23 - At svn revision 250635 TB --- 2013-05-14 12:50:24 - building world TB --- 2013-05-14 12:50:24 - CROSS_BUILD_TESTING=YES TB --- 2013-05-14 12:50:24 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-14 12:50:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-14 12:50:24 - SRCCONF=/dev/null TB --- 2013-05-14 12:50:24 - TARGET=arm TB --- 2013-05-14 12:50:24 - TARGET_ARCH=arm TB --- 2013-05-14 12:50:24 - TZ=UTC TB --- 2013-05-14 12:50:24 - __MAKE_CONF=/dev/null TB --- 2013-05-14 12:50:24 - cd /src TB --- 2013-05-14 12:50:24 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue May 14 12:50:28 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/libllvmscalaropts/../../../contrib/llvm/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/src/lib/clang/libllvmscalaropts/../../../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-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"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/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/Reassociate.cpp -o Reassociate.o c++ -O2 -pipe -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/src/lib/clang/libllvmscalaropts/../../../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-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"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/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/Reg2Mem.cpp -o Reg2Mem.o c++ -O2 -pipe -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/tools/clang/include -I/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar -I. -I/src/lib/clang/libllvmscalaropts/../../../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-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=\"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/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SCCP.cpp -o SCCP.o /src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SCCP.cpp: In destructor '::SCCPSolver::~SCCPSolver()': /src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SCCP.cpp:155: internal compiler error: in var_ann, at tree-flow-inline.h:128 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** [SCCP.o] Error code 1 Stop in /src/lib/clang/libllvmscalaropts. *** [all] Error code 1 Stop in /src/lib/clang. *** [cross-tools] Error code 1 Stop in /src. *** [_cross-tools] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-14 13:43:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-14 13:43:41 - ERROR: failed to build world TB --- 2013-05-14 13:43:41 - 2872.23 user 261.99 system 3202.62 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Wed May 15 04:40:56 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E5E43A8; Wed, 15 May 2013 04:40:56 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140]) by mx1.freebsd.org (Postfix) with ESMTP id 39B6875C; Wed, 15 May 2013 04:40:56 +0000 (UTC) Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171]) by mail1.ozon.ru (Postfix) with ESMTP id 2248771A51A; Wed, 15 May 2013 08:40:55 +0400 (MSK) Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC; Wed, 15 May 2013 08:40:41 +0400 Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 May 2013 23:59:59 +0400 Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 May 2013 23:59:58 +0400 Received: from localhost (localhost [127.0.0.1]) by mail1.ozon.ru (Postfix) with ESMTP id 1328F7196A5 for ; Sun, 12 May 2013 23:59:59 +0400 (MSK) X-Virus-Scanned: amavisd-new at ozon.ru Received: from mail1.ozon.ru ([127.0.0.1]) by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2OGPnnBSznKA for ; Sun, 12 May 2013 23:59:52 +0400 (MSK) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 'owner-freebsd-current@freebsd.org' in 'mfrom' identity (mechanism 'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom; envelope-from="owner-freebsd-current@freebsd.org"; helo=mx2.freebsd.org; client-ip=8.8.178.116 Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116]) by mail1.ozon.ru (Postfix) with ESMTP id 554CA719604 for ; Sun, 12 May 2013 23:59:52 +0400 (MSK) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 0EB7E5E87; Sun, 12 May 2013 19:59:47 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by hub.freebsd.org (Postfix) with ESMTP id D8FDB424; Sun, 12 May 2013 19:59:46 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 365F4338; Sun, 12 May 2013 19:59:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0CA0ABE6; Sun, 12 May 2013 19:59:43 +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 r4CJxhxH079057; Sun, 12 May 2013 15:59:43 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4CJxhEM079056; Sun, 12 May 2013 19:59:43 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 12 May 2013 19:59:43 GMT Message-Id: <201305121959.r4CJxhEM079056@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-freebsd-current@freebsd.org Sender: owner-freebsd-current@freebsd.org X-OriginalArrivalTime: 12 May 2013 19:59:58.0909 (UTC) FILETIME=[47FAE6D0:01CE4F4B] X-BeenThere: freebsd-arm@freebsd.org List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 04:40:56 -0000 TB --- 2013-05-12 16:30:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-12 16:30:19 - 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-05-12 16:30:19 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-12 16:30:19 - cleaning the object tree TB --- 2013-05-12 16:36:12 - /usr/local/bin/svn stat /src TB --- 2013-05-12 16:36:15 - At svn revision 250575 TB --- 2013-05-12 16:36:16 - building world TB --- 2013-05-12 16:36:16 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 16:36:16 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 16:36:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 16:36:16 - SRCCONF=/dev/null TB --- 2013-05-12 16:36:16 - TARGET=arm TB --- 2013-05-12 16:36:16 - TARGET_ARCH=arm TB --- 2013-05-12 16:36:16 - TZ=UTC TB --- 2013-05-12 16:36:16 - __MAKE_CONF=/dev/null TB --- 2013-05-12 16:36:16 - cd /src TB --- 2013-05-12 16:36:16 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun May 12 16:36:20 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 >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun May 12 19:34:04 UTC 2013 TB --- 2013-05-12 19:34:04 - generating LINT kernel config TB --- 2013-05-12 19:34:04 - cd /src/sys/arm/conf TB --- 2013-05-12 19:34:04 - /usr/bin/make -B LINT TB --- 2013-05-12 19:34:04 - cd /src/sys/arm/conf TB --- 2013-05-12 19:34:04 - /usr/sbin/config -m LINT TB --- 2013-05-12 19:34:04 - building LINT kernel TB --- 2013-05-12 19:34:04 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 19:34:04 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 19:34:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 19:34:04 - SRCCONF=/dev/null TB --- 2013-05-12 19:34:04 - TARGET=arm TB --- 2013-05-12 19:34:04 - TARGET_ARCH=arm TB --- 2013-05-12 19:34:04 - TZ=UTC TB --- 2013-05-12 19:34:04 - __MAKE_CONF=/dev/null TB --- 2013-05-12 19:34:04 - cd /src TB --- 2013-05-12 19:34:04 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 12 19:34:04 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun May 12 19:57:27 UTC 2013 TB --- 2013-05-12 19:57:27 - cd /src/sys/arm/conf TB --- 2013-05-12 19:57:27 - /usr/sbin/config -m AC100 TB --- 2013-05-12 19:57:27 - skipping AC100 kernel TB --- 2013-05-12 19:57:27 - cd /src/sys/arm/conf TB --- 2013-05-12 19:57:27 - /usr/sbin/config -m ARMADAXP TB --- 2013-05-12 19:57:27 - skipping ARMADAXP kernel TB --- 2013-05-12 19:57:27 - cd /src/sys/arm/conf TB --- 2013-05-12 19:57:27 - /usr/sbin/config -m ATMEL TB --- 2013-05-12 19:57:27 - building ATMEL kernel TB --- 2013-05-12 19:57:27 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 19:57:27 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 19:57:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 19:57:27 - SRCCONF=/dev/null TB --- 2013-05-12 19:57:27 - TARGET=arm TB --- 2013-05-12 19:57:27 - TARGET_ARCH=arm TB --- 2013-05-12 19:57:27 - TZ=UTC TB --- 2013-05-12 19:57:27 - __MAKE_CONF=/dev/null TB --- 2013-05-12 19:57:27 - cd /src TB --- 2013-05-12 19:57:27 - /usr/bin/make -B buildkernel KERNCONF=ATMEL >>> Kernel build for ATMEL started on Sun May 12 19:57:27 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert' #define __Static_assert(x, y) ___Static_assert(x, y) ^~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert' #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] ^~~~~~~~~~~~ 1 error generated. *** [vfs_subr.o] Error code 1 Stop in /obj/arm.arm/src/sys/ATMEL. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-12 19:59:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-12 19:59:43 - ERROR: failed to build ATMEL kernel TB --- 2013-05-12 19:59:43 - 9724.61 user 1694.62 system 12563.52 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Wed May 15 04:48:51 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F3EA399A; Wed, 15 May 2013 04:48:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from mail1.ozon.ru (mx4.ozon.ru [194.186.179.140]) by mx1.freebsd.org (Postfix) with ESMTP id 90715802; Wed, 15 May 2013 04:48:50 +0000 (UTC) Received: from intmail03msk.ozon (intmail03msk.ozon [10.18.18.171]) by mail1.ozon.ru (Postfix) with ESMTP id 68F5271A606; Wed, 15 May 2013 08:48:48 +0400 (MSK) Received: from mail pickup service by intmail03msk.ozon with Microsoft SMTPSVC; Wed, 15 May 2013 08:46:59 +0400 Received: from intmail03msk.ozon ([10.18.18.171]) by intmail02msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 May 2013 13:23:37 +0400 Received: from mail1.ozon.ru ([194.186.179.140]) by intmail03msk.ozon with Microsoft SMTPSVC(6.0.3790.4675); Sun, 12 May 2013 13:23:37 +0400 Received: from localhost (localhost [127.0.0.1]) by mail1.ozon.ru (Postfix) with ESMTP id 71329719543 for ; Sun, 12 May 2013 13:23:37 +0400 (MSK) X-Virus-Scanned: amavisd-new at ozon.ru Received: from mail1.ozon.ru ([127.0.0.1]) by localhost (mx4.ozon.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1wDjqxHaDZ58 for ; Sun, 12 May 2013 13:23:28 +0400 (MSK) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received-SPF: pass (freebsd.org: 8.8.178.116 is authorized to use 'owner-freebsd-current@freebsd.org' in 'mfrom' identity (mechanism 'ip4:8.8.178.116' matched)) receiver=mx4.ozon.ru; identity=mfrom; envelope-from="owner-freebsd-current@freebsd.org"; helo=mx2.freebsd.org; client-ip=8.8.178.116 Received: from mx2.freebsd.org (mx2.FreeBSD.org [8.8.178.116]) by mail1.ozon.ru (Postfix) with ESMTP id BA61E719761 for ; Sun, 12 May 2013 13:23:28 +0400 (MSK) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 4CC1F2C8D; Sun, 12 May 2013 09:23:26 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by hub.freebsd.org (Postfix) with ESMTP id 1C8EC468; Sun, 12 May 2013 09:23:24 +0000 (UTC) (envelope-from owner-freebsd-current@freebsd.org) Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B7B9C378; Sun, 12 May 2013 09:23:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFD01FA; Sun, 12 May 2013 09:23:15 +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 r4C9NELv078197; Sun, 12 May 2013 05:23:14 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4C9NEGt078194; Sun, 12 May 2013 09:23:14 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 12 May 2013 09:23:14 GMT Message-Id: <201305120923.r4C9NEGt078194@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: owner-freebsd-current@freebsd.org Sender: owner-freebsd-current@freebsd.org X-OriginalArrivalTime: 12 May 2013 09:23:37.0341 (UTC) FILETIME=[61FDFAD0:01CE4EF2] X-BeenThere: freebsd-arm@freebsd.org List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 04:48:51 -0000 TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-12 05:50:18 - 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-05-12 05:50:18 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-12 05:50:18 - cleaning the object tree TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src TB --- 2013-05-12 05:50:23 - At svn revision 250553 TB --- 2013-05-12 05:50:24 - building world TB --- 2013-05-12 05:50:24 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 05:50:24 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 05:50:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 05:50:24 - SRCCONF=/dev/null TB --- 2013-05-12 05:50:24 - TARGET=arm TB --- 2013-05-12 05:50:24 - TARGET_ARCH=arm TB --- 2013-05-12 05:50:24 - TZ=UTC TB --- 2013-05-12 05:50:24 - __MAKE_CONF=/dev/null TB --- 2013-05-12 05:50:24 - cd /src TB --- 2013-05-12 05:50:24 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun May 12 05:50:28 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 >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun May 12 08:57:34 UTC 2013 TB --- 2013-05-12 08:57:34 - generating LINT kernel config TB --- 2013-05-12 08:57:34 - cd /src/sys/arm/conf TB --- 2013-05-12 08:57:34 - /usr/bin/make -B LINT TB --- 2013-05-12 08:57:34 - cd /src/sys/arm/conf TB --- 2013-05-12 08:57:34 - /usr/sbin/config -m LINT TB --- 2013-05-12 08:57:34 - building LINT kernel TB --- 2013-05-12 08:57:34 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 08:57:34 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 08:57:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 08:57:34 - SRCCONF=/dev/null TB --- 2013-05-12 08:57:34 - TARGET=arm TB --- 2013-05-12 08:57:34 - TARGET_ARCH=arm TB --- 2013-05-12 08:57:34 - TZ=UTC TB --- 2013-05-12 08:57:34 - __MAKE_CONF=/dev/null TB --- 2013-05-12 08:57:34 - cd /src TB --- 2013-05-12 08:57:34 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun May 12 08:57:34 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sun May 12 09:21:01 UTC 2013 TB --- 2013-05-12 09:21:01 - cd /src/sys/arm/conf TB --- 2013-05-12 09:21:01 - /usr/sbin/config -m AC100 TB --- 2013-05-12 09:21:01 - skipping AC100 kernel TB --- 2013-05-12 09:21:01 - cd /src/sys/arm/conf TB --- 2013-05-12 09:21:01 - /usr/sbin/config -m ARMADAXP TB --- 2013-05-12 09:21:01 - skipping ARMADAXP kernel TB --- 2013-05-12 09:21:01 - cd /src/sys/arm/conf TB --- 2013-05-12 09:21:01 - /usr/sbin/config -m ATMEL TB --- 2013-05-12 09:21:01 - building ATMEL kernel TB --- 2013-05-12 09:21:01 - CROSS_BUILD_TESTING=YES TB --- 2013-05-12 09:21:01 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-12 09:21:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-12 09:21:01 - SRCCONF=/dev/null TB --- 2013-05-12 09:21:01 - TARGET=arm TB --- 2013-05-12 09:21:01 - TARGET_ARCH=arm TB --- 2013-05-12 09:21:01 - TZ=UTC TB --- 2013-05-12 09:21:01 - __MAKE_CONF=/dev/null TB --- 2013-05-12 09:21:01 - cd /src TB --- 2013-05-12 09:21:01 - /usr/bin/make -B buildkernel KERNCONF=ATMEL >>> Kernel build for ATMEL started on Sun May 12 09:21:01 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert' #define __Static_assert(x, y) ___Static_assert(x, y) ^~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert' #define ___Static_assert(x, y) typedef char __assert_ ## y[(x) ? 1 : -1] ^~~~~~~~~~~~ 1 error generated. *** [vfs_subr.o] Error code 1 Stop in /obj/arm.arm/src/sys/ATMEL. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-12 09:23:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-12 09:23:14 - ERROR: failed to build ATMEL kernel TB --- 2013-05-12 09:23:14 - 9722.55 user 1748.41 system 12775.98 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Wed May 15 09:29:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CA83D8FA; Wed, 15 May 2013 09:29:37 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 18B02BEB; Wed, 15 May 2013 09:29:36 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPA id 8FDBEC4930; Wed, 15 May 2013 12:29:35 +0300 (EEST) Date: Wed, 15 May 2013 12:29:55 +0300 From: Aleksandr Rybalko To: Tom Everett Subject: Re: RS-232 driver for GPIO Message-Id: <20130515122955.4387631e9969ae460f6500c7@freebsd.org> In-Reply-To: References: <20130514192448.7b48e095.ray@freebsd.org> <20130515021751.8848a996.ray@freebsd.org> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Wed, 15 May 2013 09:29:37 -0000 On Tue, 14 May 2013 20:24:42 -0600 Tom Everett wrote: > Did you mean 14 &15, or 14 & 16? Yeah, right. > ok so given this, I've done some reading. I'm by no means a FreeBSD > expert, so forgive me if I'm completely wrong. I see this in the FDT: > > /* UART0 */ > pins_uart0_a: uart0_a { > broadcom,pins = <14>, <15>; > broadcom,function = "ALT0"; > }; If you satisfied by single UART, you no need change that. > > > and this: > > chosen { > bootargs = ""; /* Set by VideoCore */ > stdin = "uart0"; > stdout = "uart0"; > }; > But that stdin and stdout direct kernel console messages to air by your xbee :) So you need comment it or set different in/out device. > > So I interpret that to mean that uart0 is bound to pins 14, 15, and > furthermore that the serial device bound to uart0 is bound to stdin and > stdout. In my /dev/ I see: > > crw------- 1 root wheel 0x1f Apr 27 13:42 ttyu0 > crw------- 1 root wheel 0x20 Apr 27 21:42 ttyu0.init > crw------- 1 root wheel 0x21 Apr 27 21:42 ttyu0.lock > crw-rw---- 1 uucp dialer 0x22 Apr 27 21:42 cuau0 > crw-rw---- 1 uucp dialer 0x23 Apr 27 21:42 cuau0.init > crw-rw---- 1 uucp dialer 0x24 Apr 27 21:42 cuau0.lock > > So, that is telling me that sio0 is bound to uart0, which is a serial > console? Yep. > > If so, that means that I could use pins 14 & 15 for rs-232, but I would > have to chose b/t using those pins to talk to another device (xbee), or a > serial console? if you will disconnect serial console you will have to choose between control over network (SSH/telnet/etc) or graphic console (Display with HDMI + USB keyboard). > > > > > > On Tue, May 14, 2013 at 5:17 PM, Aleksandr Rybalko wrote: > > > On Tue, 14 May 2013 12:20:08 -0600 > > Tom Everett wrote: > > > > > ok so the FDT definition would have to be added here? > > > > > > > > http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup > > > > > > > Yeah, right. > > > > But I have bad news. Both UARTs can be connected to pairs(tx+rx) 14+16, > > 32+33, 40+41 and both UARTs can be connected to any of this pins. > > But only 14, 16 and 40(PWM0) wired to ext.pin. > > > > > > > > > > > On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko > > > wrote: > > > > > > > On Tue, 14 May 2013 09:06:44 -0700 > > > > Adrian Chadd wrote: > > > > > > > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's > > > > > only 3.3v but it's there. > > > > > > > > > > Someone just needs to write up an SIO driver for it and then put > > > > > the GPIO pins in question into RS232 "mode". > > > > > > > > we have it already :) (console works on uart) > > > > only FDT definition is required. > > > > And maybe some fixes for boudrate setting and/or format setup > > > > (bits/parity/stop bits/etc) > > > > > > > > > > > > > > Yay multi-function GPIO pins! > > > > > > > > > > > > > > > > > > > > adrian > > > > > > > > > > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > > > > Good morning ARM mailing list. > > > > > > > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee > > > > > > Pros which I hope to connect. XBee's communicate over RS-232. > > > > > > > > > > > > https://www.sparkfun.com/products/8742 > > > > > > > > > > > > I see from the source tree that it was possible to attach the > > > > > > iic driver to GPIO pins in software: > > > > > > > > > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > > > > > > > I'm wondering, it is possible to connect the FreeBSD serial > > > > > > driver for RS-2332 to GPIO in a similar way to how iic was > > > > > > connected? > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > A better world shall emerge based on faith and understanding - > > > > > > Douglas MacArthur > > > > > > _______________________________________________ > > > > > > freebsd-arm@freebsd.org mailing list > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > > > To unsubscribe, send any mail to > > > > > > "freebsd-arm-unsubscribe@freebsd.org" > > > > > _______________________________________________ > > > > > 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" > > > > > > > > > > > > -- > > > > Aleksandr Rybalko > > > > > > > > > > > > > > > > -- > > > A better world shall emerge based on faith and understanding - > > > Douglas MacArthur > > > > > > -- > > Aleksandr Rybalko > > > > > > -- > A better world shall emerge based on faith and understanding - Douglas > MacArthur Good luck! And let us know how things is going :) WBW -- Aleksandr Rybalko From owner-freebsd-arm@FreeBSD.ORG Wed May 15 13:40:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 75F852D2 for ; Wed, 15 May 2013 13:40:35 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 414E3E75 for ; Wed, 15 May 2013 13:40:35 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o17so2182050oag.13 for ; Wed, 15 May 2013 06:40:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=r4diEOzuIbuXsuUlNMcL/yAXjpv6EaXeaQPTyeNOEjI=; b=kUxrpi7dpLLjeRAcZRZ4nx2u6ol4RICyDpc5s2iy1xrIW3yEN3zvMJTQhN3RW0FDR9 XFpsIhYY8aHiZcrm5xtF+58JAVfPvmKcl11l3DFAPhqUbzwwrLvFBmO62LF3w9BGvpoJ 6hvATKHCLpaysDSxgmNo9YqqnoErN5a/Mg28udwQGVKxKSepv7LZqMHwF0/91v0+CfSI FTqCV5XtEztMYy+oVxr4L9nGmXTn0pVASS7TGb4L2T5+vPCyEusM4GhFDk9wONY2oDNu 48hqyo2fF0MeNUDpKwNAmRrql/nHepO7ZPCbrhy3/Ep0InIA/CJHcS9Ad4A3yoMmBAaO l5DQ== MIME-Version: 1.0 X-Received: by 10.60.131.104 with SMTP id ol8mr18955739oeb.104.1368625228876; Wed, 15 May 2013 06:40:28 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Wed, 15 May 2013 06:40:28 -0700 (PDT) In-Reply-To: <20130515122955.4387631e9969ae460f6500c7@freebsd.org> References: <20130514192448.7b48e095.ray@freebsd.org> <20130515021751.8848a996.ray@freebsd.org> <20130515122955.4387631e9969ae460f6500c7@freebsd.org> Date: Wed, 15 May 2013 07:40:28 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Aleksandr Rybalko X-Gm-Message-State: ALoCoQntrXxLJgvrRpUqtL4K1O1nkVHIo1UfvuoDeEUitUB0K8zsVq+IxCqJ6ijFY/fCMKReZ6E/ 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: Wed, 15 May 2013 13:40:35 -0000 ok, just one further question. It was basically guess work that enabled me to decypher that /dev/ttyu0 (sio0) was bound to uart0. I presume there must be some simple way from the command line to query the OS and find out which hardware devices are bound to which /dev/ entries? On Wed, May 15, 2013 at 3:29 AM, Aleksandr Rybalko wrote: > On Tue, 14 May 2013 20:24:42 -0600 > Tom Everett wrote: > > > Did you mean 14 &15, or 14 & 16? > Yeah, right. > > > > ok so given this, I've done some reading. I'm by no means a FreeBSD > > expert, so forgive me if I'm completely wrong. I see this in the FDT: > > > > /* UART0 */ > > pins_uart0_a: uart0_a { > > broadcom,pins = <14>, <15>; > > broadcom,function = "ALT0"; > > }; > > If you satisfied by single UART, you no need change that. > > > > > > > > and this: > > > > chosen { > > bootargs = ""; /* Set by VideoCore */ > > stdin = "uart0"; > > stdout = "uart0"; > > }; > > > > But that stdin and stdout direct kernel console messages to air by your > xbee :) > So you need comment it or set different in/out device. > > > > > > So I interpret that to mean that uart0 is bound to pins 14, 15, and > > furthermore that the serial device bound to uart0 is bound to stdin and > > stdout. In my /dev/ I see: > > > > crw------- 1 root wheel 0x1f Apr 27 13:42 ttyu0 > > crw------- 1 root wheel 0x20 Apr 27 21:42 ttyu0.init > > crw------- 1 root wheel 0x21 Apr 27 21:42 ttyu0.lock > > crw-rw---- 1 uucp dialer 0x22 Apr 27 21:42 cuau0 > > crw-rw---- 1 uucp dialer 0x23 Apr 27 21:42 cuau0.init > > crw-rw---- 1 uucp dialer 0x24 Apr 27 21:42 cuau0.lock > > > > So, that is telling me that sio0 is bound to uart0, which is a serial > > console? > > Yep. > > > > > If so, that means that I could use pins 14 & 15 for rs-232, but I would > > have to chose b/t using those pins to talk to another device (xbee), or a > > serial console? > > if you will disconnect serial console you will have to choose between > control over network (SSH/telnet/etc) or graphic console (Display with > HDMI + USB keyboard). > > > > > > > > > > > > > On Tue, May 14, 2013 at 5:17 PM, Aleksandr Rybalko > wrote: > > > > > On Tue, 14 May 2013 12:20:08 -0600 > > > Tom Everett wrote: > > > > > > > ok so the FDT definition would have to be added here? > > > > > > > > > > > > http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup > > > > > > > > > > Yeah, right. > > > > > > But I have bad news. Both UARTs can be connected to pairs(tx+rx) 14+16, > > > 32+33, 40+41 and both UARTs can be connected to any of this pins. > > > But only 14, 16 and 40(PWM0) wired to ext.pin. > > > > > > > > > > > > > > > On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko > > > > > wrote: > > > > > > > > > On Tue, 14 May 2013 09:06:44 -0700 > > > > > Adrian Chadd wrote: > > > > > > > > > > > ... the r-pi actually has an RS232 port exposed via GPIO. It's > > > > > > only 3.3v but it's there. > > > > > > > > > > > > Someone just needs to write up an SIO driver for it and then put > > > > > > the GPIO pins in question into RS232 "mode". > > > > > > > > > > we have it already :) (console works on uart) > > > > > only FDT definition is required. > > > > > And maybe some fixes for boudrate setting and/or format setup > > > > > (bits/parity/stop bits/etc) > > > > > > > > > > > > > > > > > Yay multi-function GPIO pins! > > > > > > > > > > > > > > > > > > > > > > > > adrian > > > > > > > > > > > > > > > > > > On 14 May 2013 08:58, Tom Everett wrote: > > > > > > > Good morning ARM mailing list. > > > > > > > > > > > > > > I've been running FreeBSD on my Pi, and I've now got two XBee > > > > > > > Pros which I hope to connect. XBee's communicate over RS-232. > > > > > > > > > > > > > > https://www.sparkfun.com/products/8742 > > > > > > > > > > > > > > I see from the source tree that it was possible to attach the > > > > > > > iic driver to GPIO pins in software: > > > > > > > > > > > > > > > > > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > > > > > > > > > > > > > > I'm wondering, it is possible to connect the FreeBSD serial > > > > > > > driver for RS-2332 to GPIO in a similar way to how iic was > > > > > > > connected? > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > A better world shall emerge based on faith and understanding - > > > > > > > Douglas MacArthur > > > > > > > _______________________________________________ > > > > > > > freebsd-arm@freebsd.org mailing list > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > > > > To unsubscribe, send any mail to > > > > > > > "freebsd-arm-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > > > > > > 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" > > > > > > > > > > > > > > > -- > > > > > Aleksandr Rybalko > > > > > > > > > > > > > > > > > > > > > -- > > > > A better world shall emerge based on faith and understanding - > > > > Douglas MacArthur > > > > > > > > > -- > > > Aleksandr Rybalko > > > > > > > > > > > -- > > A better world shall emerge based on faith and understanding - Douglas > > MacArthur > > Good luck! And let us know how things is going :) > > WBW > -- > Aleksandr Rybalko > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Wed May 15 13:46:06 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C1A656B3 for ; Wed, 15 May 2013 13:46:06 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-qa0-x234.google.com (mail-qa0-x234.google.com [IPv6:2607:f8b0:400d:c00::234]) by mx1.freebsd.org (Postfix) with ESMTP id 7E3E5ED0 for ; Wed, 15 May 2013 13:46:06 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id bn16so445907qab.11 for ; Wed, 15 May 2013 06:46:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=2nTuIWr+YzqDf9Bco/zBolQBU3tgj27gYJ9tsdFiX+A=; b=lFUEmLvtAPlMKQtlznkAJeMMPCj1g10ywhShyslQHZI/Wa/XcLwDjXvl5Ue6A43CCy kf7oDkAAV4ZLcFk4gqnD8YucT4lIMEuG63q6OfvZwcF7u3lm/EVJ7leaKxIyaQDSRxE8 OF2OI9doXYhAeo/+95pnq2yfl5yfUZRlIWAKvHaYsW6lXlSrH4te9C5Kz3tNN/37x/fJ Cq7ERwlng5DNsI4UlnKjNKzaFZSHzGMi7VfvsiTs4MTkgYR5ybGaVMWt3K4juAyQK2ok rZ8NzPKheiTdYXvytZ3jPLJgt6TGiZByJXRdlfdfpM6PjCvLxbrx+ct8qKp9DKnt1E75 CGzg== X-Received: by 10.224.80.70 with SMTP id s6mr28346837qak.27.1368625565968; Wed, 15 May 2013 06:46:05 -0700 (PDT) Received: from [10.137.210.141] ([137.122.64.58]) by mx.google.com with ESMTPSA id l13sm3201719qaj.9.2013.05.15.06.46.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 06:46:05 -0700 (PDT) Sender: Warner Losh Subject: Re: RS-232 driver for GPIO Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 15 May 2013 09:46:01 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130514192448.7b48e095.ray@freebsd.org> <20130515021751.8848a996.ray@freebsd.org> <20130515122955.4387631e9969ae460f6500c7@freebsd.org> To: Tom Everett X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkzpHM8SPnnSTAdxQ9xZaosKsS3zFPgY5lpJ7/rGfEr53DRYfF06BgBShwk8m20zDCAxscH Cc: Aleksandr Rybalko , "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: Wed, 15 May 2013 13:46:06 -0000 On May 15, 2013, at 9:40 AM, Tom Everett wrote: > ok, just one further question. It was basically guess work that = enabled me > to decypher that /dev/ttyu0 (sio0) was bound to uart0. I presume = there > must be some simple way from the command line to query the OS and find = out > which hardware devices are bound to which /dev/ entries? The unit numbers generally match the alias names in the FDT. However, we don't note what the names for the nodes we're attaching to = on FDT systems. We really should, but we don't... Warner > On Wed, May 15, 2013 at 3:29 AM, Aleksandr Rybalko = wrote: >=20 >> On Tue, 14 May 2013 20:24:42 -0600 >> Tom Everett wrote: >>=20 >>> Did you mean 14 &15, or 14 & 16? >> Yeah, right. >>=20 >>=20 >>> ok so given this, I've done some reading. I'm by no means a FreeBSD >>> expert, so forgive me if I'm completely wrong. I see this in the = FDT: >>>=20 >>> /* UART0 */ >>> pins_uart0_a: uart0_a { >>> broadcom,pins =3D <14>, <15>; >>> broadcom,function =3D "ALT0"; >>> }; >>=20 >> If you satisfied by single UART, you no need change that. >>=20 >>=20 >>>=20 >>>=20 >>> and this: >>>=20 >>> chosen { >>> bootargs =3D ""; /* Set by VideoCore = */ >>> stdin =3D "uart0"; >>> stdout =3D "uart0"; >>> }; >>>=20 >>=20 >> But that stdin and stdout direct kernel console messages to air by = your >> xbee :) >> So you need comment it or set different in/out device. >>=20 >>=20 >>>=20 >>> So I interpret that to mean that uart0 is bound to pins 14, 15, and >>> furthermore that the serial device bound to uart0 is bound to stdin = and >>> stdout. In my /dev/ I see: >>>=20 >>> crw------- 1 root wheel 0x1f Apr 27 13:42 ttyu0 >>> crw------- 1 root wheel 0x20 Apr 27 21:42 ttyu0.init >>> crw------- 1 root wheel 0x21 Apr 27 21:42 ttyu0.lock >>> crw-rw---- 1 uucp dialer 0x22 Apr 27 21:42 cuau0 >>> crw-rw---- 1 uucp dialer 0x23 Apr 27 21:42 cuau0.init >>> crw-rw---- 1 uucp dialer 0x24 Apr 27 21:42 cuau0.lock >>>=20 >>> So, that is telling me that sio0 is bound to uart0, which is a = serial >>> console? >>=20 >> Yep. >>=20 >>>=20 >>> If so, that means that I could use pins 14 & 15 for rs-232, but I = would >>> have to chose b/t using those pins to talk to another device (xbee), = or a >>> serial console? >>=20 >> if you will disconnect serial console you will have to choose between >> control over network (SSH/telnet/etc) or graphic console (Display = with >> HDMI + USB keyboard). >>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> On Tue, May 14, 2013 at 5:17 PM, Aleksandr Rybalko >> wrote: >>>=20 >>>> On Tue, 14 May 2013 12:20:08 -0600 >>>> Tom Everett wrote: >>>>=20 >>>>> ok so the FDT definition would have to be added here? >>>>>=20 >>>>>=20 >>>>=20 >> = http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?vie= w=3Dmarkup >>>>>=20 >>>>=20 >>>> Yeah, right. >>>>=20 >>>> But I have bad news. Both UARTs can be connected to pairs(tx+rx) = 14+16, >>>> 32+33, 40+41 and both UARTs can be connected to any of this pins. >>>> But only 14, 16 and 40(PWM0) wired to ext.pin. >>>>=20 >>>>>=20 >>>>>=20 >>>>> On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko = >>=20 >>>>> wrote: >>>>>=20 >>>>>> On Tue, 14 May 2013 09:06:44 -0700 >>>>>> Adrian Chadd wrote: >>>>>>=20 >>>>>>> ... the r-pi actually has an RS232 port exposed via GPIO. It's >>>>>>> only 3.3v but it's there. >>>>>>>=20 >>>>>>> Someone just needs to write up an SIO driver for it and then put >>>>>>> the GPIO pins in question into RS232 "mode". >>>>>>=20 >>>>>> we have it already :) (console works on uart) >>>>>> only FDT definition is required. >>>>>> And maybe some fixes for boudrate setting and/or format setup >>>>>> (bits/parity/stop bits/etc) >>>>>>=20 >>>>>>>=20 >>>>>>> Yay multi-function GPIO pins! >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> adrian >>>>>>>=20 >>>>>>>=20 >>>>>>> On 14 May 2013 08:58, Tom Everett wrote: >>>>>>>> Good morning ARM mailing list. >>>>>>>>=20 >>>>>>>> I've been running FreeBSD on my Pi, and I've now got two XBee >>>>>>>> Pros which I hope to connect. XBee's communicate over RS-232. >>>>>>>>=20 >>>>>>>> https://www.sparkfun.com/products/8742 >>>>>>>>=20 >>>>>>>> I see from the source tree that it was possible to attach the >>>>>>>> iic driver to GPIO pins in software: >>>>>>>>=20 >>>>>>>>=20 >>>> = http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=3Dmarkup >>>>>>>>=20 >>>>>>>> I'm wondering, it is possible to connect the FreeBSD serial >>>>>>>> driver for RS-2332 to GPIO in a similar way to how iic was >>>>>>>> connected? >>>>>>>>=20 >>>>>>>>=20 >>>>>>>>=20 >>>>>>>> -- >>>>>>>> A better world shall emerge based on faith and understanding - >>>>>>>> Douglas MacArthur >>>>>>>> _______________________________________________ >>>>>>>> freebsd-arm@freebsd.org mailing list >>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>>>>> To unsubscribe, send any mail to >>>>>>>> "freebsd-arm-unsubscribe@freebsd.org" >>>>>>> _______________________________________________ >>>>>>> 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" >>>>>>=20 >>>>>>=20 >>>>>> -- >>>>>> Aleksandr Rybalko >>>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> -- >>>>> A better world shall emerge based on faith and understanding - >>>>> Douglas MacArthur >>>>=20 >>>>=20 >>>> -- >>>> Aleksandr Rybalko >>>>=20 >>>=20 >>>=20 >>>=20 >>> -- >>> A better world shall emerge based on faith and understanding - = Douglas >>> MacArthur >>=20 >> Good luck! And let us know how things is going :) >>=20 >> WBW >> -- >> Aleksandr Rybalko >>=20 >=20 >=20 >=20 > --=20 > A better world shall emerge based on faith and understanding - = Douglas > MacArthur > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Wed May 15 13:48:24 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 06661732 for ; Wed, 15 May 2013 13:48:24 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id C3F7DEF2 for ; Wed, 15 May 2013 13:48:23 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id f4so2151068oah.24 for ; Wed, 15 May 2013 06:48:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=XSaPtaJthzK39Esma12rBiEEDbrcyzME1cit6nk6tvw=; b=jUf3qjAkzbldAa+F7xFeiohIfeTgQXwfy4KOor1UzLLb2yxFsvj0HkuxTQSI3chzNT l0GOzTre/JPuq3ZwSNUxUY4FnJfg3gybH8Dp9cqki+FNubFN+2DlkgUVjX9oV4/F2by/ UHVT+A1uGZofN/wog4nKtETeQEtMBKeCVwm50NHttZOETRJOW70aKRFJjCxmZLVobmbg NXXnISpGm9OGdLi5SfnGllI6vV6BhRXIwBm8G7HWL4N8eHa3duF/OEZgi5W6EqXGzbCl iReRc+Frx2LM8/ZCCAbAvUQdfRKQuzs5UQyI6RoEX8+UQQXhrzO+HiUwrX9QFnbG6Ugm +Uwg== MIME-Version: 1.0 X-Received: by 10.60.62.198 with SMTP id a6mr19785574oes.22.1368625703199; Wed, 15 May 2013 06:48:23 -0700 (PDT) Received: by 10.182.31.11 with HTTP; Wed, 15 May 2013 06:48:23 -0700 (PDT) In-Reply-To: References: <20130514192448.7b48e095.ray@freebsd.org> <20130515021751.8848a996.ray@freebsd.org> <20130515122955.4387631e9969ae460f6500c7@freebsd.org> Date: Wed, 15 May 2013 07:48:23 -0600 Message-ID: Subject: Re: RS-232 driver for GPIO From: Tom Everett To: Warner Losh X-Gm-Message-State: ALoCoQmpKi6imnoe0ydX5X8MVS8bjAZaxI3UrIYWjqWWuRViePByOOESJH18RJhuKfNzPckKDMPC Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Aleksandr Rybalko , "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: Wed, 15 May 2013 13:48:24 -0000 Thank-you! On Wed, May 15, 2013 at 7:46 AM, Warner Losh wrote: > > On May 15, 2013, at 9:40 AM, Tom Everett wrote: > > > ok, just one further question. It was basically guess work that enabled > me > > to decypher that /dev/ttyu0 (sio0) was bound to uart0. I presume there > > must be some simple way from the command line to query the OS and find > out > > which hardware devices are bound to which /dev/ entries? > > The unit numbers generally match the alias names in the FDT. > > However, we don't note what the names for the nodes we're attaching to on > FDT systems. We really should, but we don't... > > Warner > > > > On Wed, May 15, 2013 at 3:29 AM, Aleksandr Rybalko > wrote: > > > >> On Tue, 14 May 2013 20:24:42 -0600 > >> Tom Everett wrote: > >> > >>> Did you mean 14 &15, or 14 & 16? > >> Yeah, right. > >> > >> > >>> ok so given this, I've done some reading. I'm by no means a FreeBSD > >>> expert, so forgive me if I'm completely wrong. I see this in the FDT: > >>> > >>> /* UART0 */ > >>> pins_uart0_a: uart0_a { > >>> broadcom,pins = <14>, <15>; > >>> broadcom,function = "ALT0"; > >>> }; > >> > >> If you satisfied by single UART, you no need change that. > >> > >> > >>> > >>> > >>> and this: > >>> > >>> chosen { > >>> bootargs = ""; /* Set by VideoCore */ > >>> stdin = "uart0"; > >>> stdout = "uart0"; > >>> }; > >>> > >> > >> But that stdin and stdout direct kernel console messages to air by your > >> xbee :) > >> So you need comment it or set different in/out device. > >> > >> > >>> > >>> So I interpret that to mean that uart0 is bound to pins 14, 15, and > >>> furthermore that the serial device bound to uart0 is bound to stdin and > >>> stdout. In my /dev/ I see: > >>> > >>> crw------- 1 root wheel 0x1f Apr 27 13:42 ttyu0 > >>> crw------- 1 root wheel 0x20 Apr 27 21:42 ttyu0.init > >>> crw------- 1 root wheel 0x21 Apr 27 21:42 ttyu0.lock > >>> crw-rw---- 1 uucp dialer 0x22 Apr 27 21:42 cuau0 > >>> crw-rw---- 1 uucp dialer 0x23 Apr 27 21:42 cuau0.init > >>> crw-rw---- 1 uucp dialer 0x24 Apr 27 21:42 cuau0.lock > >>> > >>> So, that is telling me that sio0 is bound to uart0, which is a serial > >>> console? > >> > >> Yep. > >> > >>> > >>> If so, that means that I could use pins 14 & 15 for rs-232, but I would > >>> have to chose b/t using those pins to talk to another device (xbee), > or a > >>> serial console? > >> > >> if you will disconnect serial console you will have to choose between > >> control over network (SSH/telnet/etc) or graphic console (Display with > >> HDMI + USB keyboard). > >> > >>> > >>> > >>> > >>> > >>> > >>> On Tue, May 14, 2013 at 5:17 PM, Aleksandr Rybalko > >> wrote: > >>> > >>>> On Tue, 14 May 2013 12:20:08 -0600 > >>>> Tom Everett wrote: > >>>> > >>>>> ok so the FDT definition would have to be added here? > >>>>> > >>>>> > >>>> > >> > http://svnweb.freebsd.org/base/head/sys/boot/fdt/dts/bcm2835-rpi-b.dts?view=markup > >>>>> > >>>> > >>>> Yeah, right. > >>>> > >>>> But I have bad news. Both UARTs can be connected to pairs(tx+rx) > 14+16, > >>>> 32+33, 40+41 and both UARTs can be connected to any of this pins. > >>>> But only 14, 16 and 40(PWM0) wired to ext.pin. > >>>> > >>>>> > >>>>> > >>>>> On Tue, May 14, 2013 at 10:24 AM, Aleksandr Rybalko >>> > >>>>> wrote: > >>>>> > >>>>>> On Tue, 14 May 2013 09:06:44 -0700 > >>>>>> Adrian Chadd wrote: > >>>>>> > >>>>>>> ... the r-pi actually has an RS232 port exposed via GPIO. It's > >>>>>>> only 3.3v but it's there. > >>>>>>> > >>>>>>> Someone just needs to write up an SIO driver for it and then put > >>>>>>> the GPIO pins in question into RS232 "mode". > >>>>>> > >>>>>> we have it already :) (console works on uart) > >>>>>> only FDT definition is required. > >>>>>> And maybe some fixes for boudrate setting and/or format setup > >>>>>> (bits/parity/stop bits/etc) > >>>>>> > >>>>>>> > >>>>>>> Yay multi-function GPIO pins! > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> adrian > >>>>>>> > >>>>>>> > >>>>>>> On 14 May 2013 08:58, Tom Everett wrote: > >>>>>>>> Good morning ARM mailing list. > >>>>>>>> > >>>>>>>> I've been running FreeBSD on my Pi, and I've now got two XBee > >>>>>>>> Pros which I hope to connect. XBee's communicate over RS-232. > >>>>>>>> > >>>>>>>> https://www.sparkfun.com/products/8742 > >>>>>>>> > >>>>>>>> I see from the source tree that it was possible to attach the > >>>>>>>> iic driver to GPIO pins in software: > >>>>>>>> > >>>>>>>> > >>>> > http://svnweb.freebsd.org/base/head/sys/dev/gpio/gpioiic.c?view=markup > >>>>>>>> > >>>>>>>> I'm wondering, it is possible to connect the FreeBSD serial > >>>>>>>> driver for RS-2332 to GPIO in a similar way to how iic was > >>>>>>>> connected? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> -- > >>>>>>>> A better world shall emerge based on faith and understanding - > >>>>>>>> Douglas MacArthur > >>>>>>>> _______________________________________________ > >>>>>>>> freebsd-arm@freebsd.org mailing list > >>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-arm > >>>>>>>> To unsubscribe, send any mail to > >>>>>>>> "freebsd-arm-unsubscribe@freebsd.org" > >>>>>>> _______________________________________________ > >>>>>>> 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" > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> Aleksandr Rybalko > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> A better world shall emerge based on faith and understanding - > >>>>> Douglas MacArthur > >>>> > >>>> > >>>> -- > >>>> Aleksandr Rybalko > >>>> > >>> > >>> > >>> > >>> -- > >>> A better world shall emerge based on faith and understanding - Douglas > >>> MacArthur > >> > >> Good luck! And let us know how things is going :) > >> > >> WBW > >> -- > >> Aleksandr Rybalko > >> > > > > > > > > -- > > A better world shall emerge based on faith and understanding - Douglas > > MacArthur > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Thu May 16 08:26:26 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A08F5E83 for ; Thu, 16 May 2013 08:26:26 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton2.metanet.ch [80.74.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id F3B57762 for ; Thu, 16 May 2013 08:26:25 +0000 (UTC) Received: (qmail 3592 invoked from network); 16 May 2013 10:19:42 +0200 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 16 May 2013 10:19:42 +0200 Message-ID: <51949698.80205@thieprojects.ch> Date: Thu, 16 May 2013 10:19:36 +0200 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tim Kientzle Subject: Re: Git crash on EABI system. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm 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, 16 May 2013 08:26:26 -0000 > Has anyone else seen this from git on a clang/EABI system? > > Assertion failed: (attr_stack->origin), function prepare_attr_stack, file attr.c, line 630. > > Program received signal SIGABRT, Aborted. > [Switching to Thread 20c03300 (LWP 100076/git)] > 0x204b842c in thr_kill () from /lib/libc.so.7 > (gdb) bt > #0 0x204b842c in thr_kill () from /lib/libc.so.7 > #1 0x2044157c in raise () from /lib/libthr.so.3 > #2 0x20598130 in abort () from /lib/libc.so.7 > #3 0x20574630 in __assert () from /lib/libc.so.7 > #4 0x00076b28 in ?? () > > I'm planning to do a debug build and see if I can track down any > more details. Hi Tim just built git out of curiosity after your post on the BBone FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: Sat May 4 14:18:20 CEST 2013 root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/local/src/sys/BEAGLEBONE-NOWITNESS arm git crashes exactly as advertised when cloning a project in Assertion failed: (attr_stack->origin), function prepare_attr_stack, file attr.c, line 630. HTH, Werner From owner-freebsd-arm@FreeBSD.ORG Thu May 16 09:04:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 072E0DBA for ; Thu, 16 May 2013 09:04:33 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id CE72E921 for ; Thu, 16 May 2013 09:04:32 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id aq17so6042690iec.29 for ; Thu, 16 May 2013 02:04:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=Rqic+qNtHTjPnrt/0T1G9N3GyFcHDbLY+1EInAXnO4M=; b=I+ZeiKtb/UvYbBrlXDtzfFhzl5yHcXMVM+2ay6De2PD+Nnj/Yy57JdriVKanuk5lWm jzY24YcWCysfUR9M4zOgIAICho049XrTK26MFNHaiFe1i9bYHThflqIouun03ocIxFw3 cVcZaGFf8OmoW/FgCxB6JwPWyz8rPFJt9MUYMx5ysEzc3bZKedWEsrIw/KkBuhf6d3bW LDtRfq+0iTTyer8tpV1AAQoJZ8i+t6cDi6nHXMPh76JlUy7XzmFI3DrRiILhOiegdaRu RzIu2m8LgDR491iys7L4OBK5b/XT1VPPPco936T3vdTO+Scvi5CnmXoAtUz5O9Ks35Lo 2gIQ== X-Received: by 10.50.153.113 with SMTP id vf17mr8171321igb.101.1368695072271; Thu, 16 May 2013 02:04:32 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id qs4sm2595999igb.10.2013.05.16.02.04.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 02:04:31 -0700 (PDT) Sender: Tim Kientzle Subject: Re: Git crash on EABI system. Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Tim Kientzle In-Reply-To: <51949698.80205@thieprojects.ch> Date: Thu, 16 May 2013 05:04:29 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> References: <51949698.80205@thieprojects.ch> To: Werner Thie X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQnthzhP9P0dkzpbWEHI8RU9NEpxIFV3W39Eo/SJuJOA+tk6j/LChrRUo7dWIFfk2grSm6p1 Cc: freebsd-arm 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, 16 May 2013 09:04:33 -0000 On May 16, 2013, at 4:19 AM, Werner Thie wrote: >> Has anyone else seen this from git on a clang/EABI system? >>=20 >> Assertion failed: (attr_stack->origin), function prepare_attr_stack, = file attr.c, line 630. >>=20 >> Program received signal SIGABRT, Aborted. >> [Switching to Thread 20c03300 (LWP 100076/git)] >> 0x204b842c in thr_kill () from /lib/libc.so.7 >> (gdb) bt >> #0 0x204b842c in thr_kill () from /lib/libc.so.7 >> #1 0x2044157c in raise () from /lib/libthr.so.3 >> #2 0x20598130 in abort () from /lib/libc.so.7 >> #3 0x20574630 in __assert () from /lib/libc.so.7 >> #4 0x00076b28 in ?? () >>=20 >> I'm planning to do a debug build and see if I can track down any >> more details. >=20 > Hi Tim >=20 > just built git out of curiosity after your post on the BBone >=20 > FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: Sat = May 4 14:18:20 CEST 2013 = root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/lo= cal/src/sys/BEAGLEBONE-NOWITNESS arm >=20 > git crashes exactly as advertised when cloning a project in >=20 > Assertion failed: (attr_stack->origin), function prepare_attr_stack, = file attr.c, line 630. Thanks for verifying that. Unfortunately, a debug build (make -DWITH_DEBUG) does not crash for me. So I clearly have more work ahead of me to narrow this down. Tim From owner-freebsd-arm@FreeBSD.ORG Thu May 16 15:48:34 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 51DE7A15 for ; Thu, 16 May 2013 15:48:34 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by mx1.freebsd.org (Postfix) with ESMTP id DD5CAF39 for ; Thu, 16 May 2013 15:48:33 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id k14so3981645oag.36 for ; Thu, 16 May 2013 08:48:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=2lsLl9w0hUZOHzZvYG1VzngFdbH+0Wy5cw+HNSPZxPI=; b=oHTm4sGmZKwxXym1yPMh9R04oZGtGVQB5HHXCUzT8U24ZOsb7hsiNjGvJoB3Lddktz bd/DWoj1ZRurlR7xHsfQ9wv/gwcg/08F8Vvw/54WrPQy7S6BZOzASRO1fkGO43AV6sjT kdZxIZAlvS0CbCNjMo2AWxPsz+LM3VYTT6JWdtDFDpNcZDadyg97o919NiDcvuYPmYBm iTVIpRC2dMpr1XjvAWZK5RMxPR2hWFKZ/+knmzJ1RLm8xv5hiWn8dMyP7wVTN0svZdQ1 khxQ2/xRvwXVPoNjbDYiPa4/hc3PI/+8fRZ8W9PBM1EdmWOc9GjgvXyw7qboHONXYfXg rCwQ== MIME-Version: 1.0 X-Received: by 10.60.155.177 with SMTP id vx17mr22976311oeb.9.1368719307399; Thu, 16 May 2013 08:48:27 -0700 (PDT) Received: by 10.182.31.49 with HTTP; Thu, 16 May 2013 08:48:27 -0700 (PDT) Date: Thu, 16 May 2013 09:48:27 -0600 Message-ID: Subject: ARM SPI support From: Tom Everett To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQkNo3u3P5cVlF+0S6WgUO4/7bdPT9PH/q4xvOCw4oaGU5uh1aQS8iJEQlhPP8+tQi19Lafz 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, 16 May 2013 15:48:34 -0000 Good morning ARM list. So, having dove into UART support, I'm not learning a bit about SPI. I don't see a driver here: http://svnweb.freebsd.org/base/head/sys/conf/NOTES?view=markup and the SIO man page doesn't appear to mention it. Is there SPI support in FreeBSD? -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Thu May 16 17:05:02 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5E8C4BD1 for ; Thu, 16 May 2013 17:05:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 31DF2392 for ; Thu, 16 May 2013 17:05:02 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x12so6796760ief.26 for ; Thu, 16 May 2013 10:05:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=vA+V+LIqnnHZz9RmbZRikJ7yTKnZHTjUgJE51mnDPO8=; b=i+yWFfYmtOw8bQCNVsFL/3bGsdUVoqpqsg9yXFQjMg4InuoH/Mb89HTWy5yFwTv6Z/ vtX9lhHMjCMPEAmTI8PwLo+a2pVGUj/hjzJUJDyK3vP5du4jk2UgqJNtQE3HG21/NZkd p216Wmh+QR97jLmSt3eeDkySAfHWVvc8vbE+Mg4FQK2Xpe+u693r+5SSatn5bQmdUpJC sC0Hy8dVMreBFxTUIJpG63QQTAVj3rrBwoYWVqJfu2eLVt1DabBT+v3qWK1pEQRjEQ7w gCgot/DVVFYcbLhwUOQyGo8OGxu3LA/uIL9/RKtN5EMhH5fQt1QqWjj2aMkbfHWQKp1+ rLpw== X-Received: by 10.50.16.202 with SMTP id i10mr10287533igd.33.1368723901295; Thu, 16 May 2013 10:05:01 -0700 (PDT) Received: from [10.5.210.95] ([137.122.64.8]) by mx.google.com with ESMTPSA id ua6sm4865019igb.0.2013.05.16.10.04.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 May 2013 10:05:00 -0700 (PDT) Sender: Warner Losh Subject: Re: ARM SPI support Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Thu, 16 May 2013 13:04:58 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Tom Everett X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnu09oMpRpO9gtMUVOegBn/aeeaQp2b+25jM7FSkaQkKRd5RPbZnFhdAV/a4rzcT6vtJeDf 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: Thu, 16 May 2013 17:05:02 -0000 On May 16, 2013, at 11:48 AM, Tom Everett wrote: > Good morning ARM list. >=20 > So, having dove into UART support, I'm not learning a bit about SPI. = I > don't see a driver here: >=20 > http://svnweb.freebsd.org/base/head/sys/conf/NOTES?view=3Dmarkup >=20 > and the SIO man page doesn't appear to mention it. >=20 > Is there SPI support in FreeBSD? spi support isn't done through the UART in FreeBSD. There's some = support for SPI bus devices, but not a lot. Which chip and what are you = trying to accomplish? Warner From owner-freebsd-arm@FreeBSD.ORG Thu May 16 17:28:13 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EEBE1FD3 for ; Thu, 16 May 2013 17:28:13 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id BC358697 for ; Thu, 16 May 2013 17:28:13 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id f4so4024940oah.24 for ; Thu, 16 May 2013 10:28:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=dyFR6t1tGhfrspRkyN4YGqbxXSrGVUij5C3rYv05gMc=; b=MmVHvmE2haV6TiqxLpvldhLvrTINRuhN+gTARCHZsuWz76BdjgXssacrLIhHwM48s+ L7VSU7URSqTeaQok0m+goDHU8xba8GObjpa6asoIEm6VciJogYLWFERc7f+sE+K/xA5q CZhuwilEa8E1vfk3O4LpmJDwg2xG/VcxSmDQhuDcCbqidR6+KhuZg+H6sEls/b4lvxkr A8P9nb+xeeUAp00PME/V1BwmjyMGCJWH3lXXfXV7yGMGlSDKhRkdp7SWIwRqXfdJXmtC vOfp0dwUMNeXEsGe8jHmiMjGAH6DT5TzzxuV4scpuMh0xmlze/TyE91KIn8lmk26PZjB 5+kg== MIME-Version: 1.0 X-Received: by 10.60.155.177 with SMTP id vx17mr23129434oeb.9.1368725287185; Thu, 16 May 2013 10:28:07 -0700 (PDT) Received: by 10.182.31.49 with HTTP; Thu, 16 May 2013 10:28:07 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 May 2013 11:28:07 -0600 Message-ID: Subject: Re: ARM SPI support From: Tom Everett To: Warner Losh X-Gm-Message-State: ALoCoQm0+iwxD5ivnp8w5wV9NAMdJe1Fxr7W/ix8aFxwBjMBv4Kcewz8U4ofrDQyUuVGQQVKChmz 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: Thu, 16 May 2013 17:28:14 -0000 Well it would be the Pi, so that's a Broadcom BCM2835 . Here's the datasheet http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf On Thu, May 16, 2013 at 11:04 AM, Warner Losh wrote: > > On May 16, 2013, at 11:48 AM, Tom Everett wrote: > > > Good morning ARM list. > > > > So, having dove into UART support, I'm not learning a bit about SPI. I > > don't see a driver here: > > > > http://svnweb.freebsd.org/base/head/sys/conf/NOTES?view=markup > > > > and the SIO man page doesn't appear to mention it. > > > > Is there SPI support in FreeBSD? > > spi support isn't done through the UART in FreeBSD. There's some support > for SPI bus devices, but not a lot. Which chip and what are you trying to > accomplish? > > Warner > > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Thu May 16 18:51:06 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 892DFC17 for ; Thu, 16 May 2013 18:51:06 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) by mx1.freebsd.org (Postfix) with ESMTP id 221A0ABF for ; Thu, 16 May 2013 18:51:05 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id x12so2888927wgg.33 for ; Thu, 16 May 2013 11:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=O9hz2tqIrJB7nLG8odsV09f9sZGhyiqUIEinCRcEyGA=; b=ge3T+efNFFc0InR31l5URWOIm10DbS5TL394qjEnftTbVy6/zdS07lLolOVbndLDUJ LvPb36sWw+1ayNDscg6T5puWcWmKv1p407FnGYfNtyf0XWckfnv9YfnD5cAP1ADh/6Y/ KVJNRA0UTpN+6xcI9p8/fODSRV6h6fllMFjY+/Gq5FnylOm0vgPPUiC4b9xZc4T+FwBm SRX4vlMlSq0NN8z55zVPI2bvVZRUAY6i28gLkYy+u9BkhPez3alUhys4QTcCTdCT6Xla A5HA6apB9l3cGxwYmcG8cnubGdj1B+bF0W0kTYl9+4npNWj5uhFxsPg/kLcBNnZPcdok M3yA== MIME-Version: 1.0 X-Received: by 10.180.185.207 with SMTP id fe15mr26986108wic.33.1368730265221; Thu, 16 May 2013 11:51:05 -0700 (PDT) Received: by 10.217.117.202 with HTTP; Thu, 16 May 2013 11:51:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 May 2013 15:51:05 -0300 Message-ID: Subject: Re: ARM SPI support From: Luiz Otavio O Souza To: Tom Everett 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: Thu, 16 May 2013 18:51:06 -0000 On 16 May 2013 14:28, Tom Everett wrote: > Well it would be the Pi, so that's a Broadcom > BCM2835 > . > > Here's the datasheet > > > http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf > > We don't have the driver for the SPI controller on RPi yet. There is a gpiospi driver floating around but it need some modifications to work with FDT (the same with gpioiic, gpioled and so on). The basic support for SPI (bus support) is in the tree: http://svnweb.freebsd.org/base/head/sys/dev/spibus/ Luiz From owner-freebsd-arm@FreeBSD.ORG Thu May 16 19:43:56 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 674805F9 for ; Thu, 16 May 2013 19:43:56 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 34362D3E for ; Thu, 16 May 2013 19:43:56 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id wo10so2402437obc.6 for ; Thu, 16 May 2013 12:43:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=cQxkQvHGoNLTGuwqrJIe+rVooCbK9NRvoHMoInlj5QM=; b=nzuxDNHUTxiE5HN18A0TGuBLyDeVQFzoteLpqnfnogGD2AK7K/KtVwYsrKms4iUaZ9 ttvZc8MJhLluVtdKjR+KzyQTwhOM3lBxlbAG285phgMaY2Bn/mjm53Vq8Qqbw6aaaEvp rzDyfaTbQkn5d3i4w83m1xNu9IBEtDBNCEeuxa+54KVumOQl91TStfnBta01q9nVDIki XIUjpGaOjL1IHXtin0OeFIKt+Azb/GE/XldopUi2du5CTzUS9ocwN58ErZAYGtHhI/3X Mit77WS3duiF2FhEvbje22Tmh8L0F5Nqoc3t2wT8k5bc3w+IBnWjditp7kdZ/dOaFbZb 3ngw== MIME-Version: 1.0 X-Received: by 10.60.155.177 with SMTP id vx17mr23328884oeb.9.1368733435666; Thu, 16 May 2013 12:43:55 -0700 (PDT) Received: by 10.182.31.49 with HTTP; Thu, 16 May 2013 12:43:55 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 May 2013 13:43:55 -0600 Message-ID: Subject: Re: ARM SPI support From: Tom Everett To: Luiz Otavio O Souza X-Gm-Message-State: ALoCoQnEs4yqTa9At0pEdYjQdwhFTe810APLSZ5pGnTDI5QgcPlnNp9bzLQ7YV0brLCTT/QtVeZX 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: Thu, 16 May 2013 19:43:56 -0000 Thanks! On Thu, May 16, 2013 at 12:51 PM, Luiz Otavio O Souza wrote: > On 16 May 2013 14:28, Tom Everett wrote: > >> Well it would be the Pi, so that's a Broadcom >> BCM2835 >> >> . >> >> Here's the datasheet >> >> >> http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf >> >> > > We don't have the driver for the SPI controller on RPi yet. > > There is a gpiospi driver floating around but it need some modifications > to work with FDT (the same with gpioiic, gpioled and so on). > > The basic support for SPI (bus support) is in the tree: > http://svnweb.freebsd.org/base/head/sys/dev/spibus/ > > Luiz > > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Thu May 16 20:50:29 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AA32C429; Thu, 16 May 2013 20:50:29 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 73FBD85; Thu, 16 May 2013 20:50:29 +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 r4GKoN6Z008361; Thu, 16 May 2013 16:50:23 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GKoNuA008297; Thu, 16 May 2013 20:50:23 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 20:50:23 GMT Message-Id: <201305162050.r4GKoNuA008297@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: Thu, 16 May 2013 20:50:29 -0000 TB --- 2013-05-16 20:50:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 20:50: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-05-16 20:50:17 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 20:50:17 - cleaning the object tree TB --- 2013-05-16 20:50:17 - /usr/local/bin/svn stat /src TB --- 2013-05-16 20:50:21 - At svn revision 250716 TB --- 2013-05-16 20:50:22 - building world TB --- 2013-05-16 20:50:22 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 20:50:22 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 20:50:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 20:50:22 - SRCCONF=/dev/null TB --- 2013-05-16 20:50:22 - TARGET=arm TB --- 2013-05-16 20:50:22 - TARGET_ARCH=arm TB --- 2013-05-16 20:50:22 - TZ=UTC TB --- 2013-05-16 20:50:22 - __MAKE_CONF=/dev/null TB --- 2013-05-16 20:50:22 - cd /src TB --- 2013-05-16 20:50:22 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile", line 114: Malformed conditional (${MK_BMAKE} != "no") "Makefile", line 119: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 20:50:23 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 20:50:23 - ERROR: failed to build world TB --- 2013-05-16 20:50:23 - 1.61 user 2.65 system 5.46 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 21:00:21 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0A5BD4C0; Thu, 16 May 2013 21:00:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id CA6351DF; Thu, 16 May 2013 21:00:20 +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 r4GL0KN8009109; Thu, 16 May 2013 17:00:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GL0KSD009105; Thu, 16 May 2013 21:00:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 21:00:20 GMT Message-Id: <201305162100.r4GL0KSD009105@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: Thu, 16 May 2013 21:00:21 -0000 TB --- 2013-05-16 21:00:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 21:00:14 - 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-05-16 21:00:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 21:00:14 - cleaning the object tree TB --- 2013-05-16 21:00:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 21:00:18 - At svn revision 250717 TB --- 2013-05-16 21:00:19 - building world TB --- 2013-05-16 21:00:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 21:00:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 21:00:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 21:00:19 - SRCCONF=/dev/null TB --- 2013-05-16 21:00:19 - TARGET=arm TB --- 2013-05-16 21:00:19 - TARGET_ARCH=arm TB --- 2013-05-16 21:00:19 - TZ=UTC TB --- 2013-05-16 21:00:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 21:00:19 - cd /src TB --- 2013-05-16 21:00:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile", line 114: Malformed conditional (${MK_BMAKE} != "no") "Makefile", line 119: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 21:00:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 21:00:20 - ERROR: failed to build world TB --- 2013-05-16 21:00:20 - 1.66 user 2.77 system 5.50 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 21:10:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DBD2E567; Thu, 16 May 2013 21:10:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id A8415338; Thu, 16 May 2013 21:10:20 +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 r4GLAK1q009831; Thu, 16 May 2013 17:10:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GLAKcU009828; Thu, 16 May 2013 21:10:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 21:10:20 GMT Message-Id: <201305162110.r4GLAKcU009828@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: Thu, 16 May 2013 21:10:20 -0000 TB --- 2013-05-16 21:10:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 21:10:14 - 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-05-16 21:10:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 21:10:14 - cleaning the object tree TB --- 2013-05-16 21:10:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 21:10:18 - At svn revision 250718 TB --- 2013-05-16 21:10:19 - building world TB --- 2013-05-16 21:10:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 21:10:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 21:10:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 21:10:19 - SRCCONF=/dev/null TB --- 2013-05-16 21:10:19 - TARGET=arm TB --- 2013-05-16 21:10:19 - TARGET_ARCH=arm TB --- 2013-05-16 21:10:19 - TZ=UTC TB --- 2013-05-16 21:10:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 21:10:19 - cd /src TB --- 2013-05-16 21:10:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile", line 114: Malformed conditional (${MK_BMAKE} != "no") "Makefile", line 119: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 21:10:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 21:10:20 - ERROR: failed to build world TB --- 2013-05-16 21:10:20 - 1.82 user 2.59 system 5.48 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 21:20:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2F4B355C; Thu, 16 May 2013 21:20:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id EFC5A67E; Thu, 16 May 2013 21:20:19 +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 r4GLKJe0010568; Thu, 16 May 2013 17:20: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 r4GLKJqZ010564; Thu, 16 May 2013 21:20:19 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 21:20:19 GMT Message-Id: <201305162120.r4GLKJqZ010564@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: Thu, 16 May 2013 21:20:20 -0000 TB --- 2013-05-16 21:20:13 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 21:20:13 - 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-05-16 21:20:13 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 21:20:13 - cleaning the object tree TB --- 2013-05-16 21:20:13 - /usr/local/bin/svn stat /src TB --- 2013-05-16 21:20:17 - At svn revision 250718 TB --- 2013-05-16 21:20:18 - building world TB --- 2013-05-16 21:20:18 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 21:20:18 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 21:20:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 21:20:18 - SRCCONF=/dev/null TB --- 2013-05-16 21:20:18 - TARGET=arm TB --- 2013-05-16 21:20:18 - TARGET_ARCH=arm TB --- 2013-05-16 21:20:18 - TZ=UTC TB --- 2013-05-16 21:20:18 - __MAKE_CONF=/dev/null TB --- 2013-05-16 21:20:18 - cd /src TB --- 2013-05-16 21:20:18 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile", line 114: Malformed conditional (${MK_BMAKE} != "no") "Makefile", line 119: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 21:20:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 21:20:19 - ERROR: failed to build world TB --- 2013-05-16 21:20:19 - 1.68 user 2.77 system 5.52 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 21:30:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFE82902; Thu, 16 May 2013 21:30:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id AD7D1823; Thu, 16 May 2013 21:30:20 +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 r4GLUKJP011150; Thu, 16 May 2013 17:30:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GLUKuY011132; Thu, 16 May 2013 21:30:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 21:30:20 GMT Message-Id: <201305162130.r4GLUKuY011132@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: Thu, 16 May 2013 21:30:21 -0000 TB --- 2013-05-16 21:30:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 21:30:14 - 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-05-16 21:30:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 21:30:14 - cleaning the object tree TB --- 2013-05-16 21:30:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 21:30:18 - At svn revision 250720 TB --- 2013-05-16 21:30:19 - building world TB --- 2013-05-16 21:30:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 21:30:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 21:30:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 21:30:19 - SRCCONF=/dev/null TB --- 2013-05-16 21:30:19 - TARGET=arm TB --- 2013-05-16 21:30:19 - TARGET_ARCH=arm TB --- 2013-05-16 21:30:19 - TZ=UTC TB --- 2013-05-16 21:30:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 21:30:19 - cd /src TB --- 2013-05-16 21:30:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 10: Malformed conditional (${MK_BMAKE} != "no") "Makefile.inc", line 12: if-less endif "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 21:30:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 21:30:19 - ERROR: failed to build world TB --- 2013-05-16 21:30:19 - 1.55 user 2.71 system 5.34 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 21:40:21 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1ABB37F6; Thu, 16 May 2013 21:40:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id DC45493F; Thu, 16 May 2013 21:40:20 +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 r4GLeKj8011479; Thu, 16 May 2013 17:40:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GLeKW9011475; Thu, 16 May 2013 21:40:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 21:40:20 GMT Message-Id: <201305162140.r4GLeKW9011475@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: Thu, 16 May 2013 21:40:21 -0000 TB --- 2013-05-16 21:40:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 21:40:14 - 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-05-16 21:40:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 21:40:14 - cleaning the object tree TB --- 2013-05-16 21:40:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 21:40:18 - At svn revision 250720 TB --- 2013-05-16 21:40:19 - building world TB --- 2013-05-16 21:40:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 21:40:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 21:40:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 21:40:19 - SRCCONF=/dev/null TB --- 2013-05-16 21:40:19 - TARGET=arm TB --- 2013-05-16 21:40:19 - TARGET_ARCH=arm TB --- 2013-05-16 21:40:19 - TZ=UTC TB --- 2013-05-16 21:40:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 21:40:19 - cd /src TB --- 2013-05-16 21:40:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 10: Malformed conditional (${MK_BMAKE} != "no") "Makefile.inc", line 12: if-less endif "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 21:40:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 21:40:20 - ERROR: failed to build world TB --- 2013-05-16 21:40:20 - 1.52 user 2.81 system 5.36 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 21:50:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CAE79676; Thu, 16 May 2013 21:50:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 985F6A62; Thu, 16 May 2013 21:50:20 +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 r4GLoKbJ011798; Thu, 16 May 2013 17:50:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GLoK7J011794; Thu, 16 May 2013 21:50:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 21:50:20 GMT Message-Id: <201305162150.r4GLoK7J011794@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: Thu, 16 May 2013 21:50:20 -0000 TB --- 2013-05-16 21:50:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 21:50:14 - 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-05-16 21:50:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 21:50:14 - cleaning the object tree TB --- 2013-05-16 21:50:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 21:50:18 - At svn revision 250720 TB --- 2013-05-16 21:50:19 - building world TB --- 2013-05-16 21:50:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 21:50:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 21:50:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 21:50:19 - SRCCONF=/dev/null TB --- 2013-05-16 21:50:19 - TARGET=arm TB --- 2013-05-16 21:50:19 - TARGET_ARCH=arm TB --- 2013-05-16 21:50:19 - TZ=UTC TB --- 2013-05-16 21:50:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 21:50:19 - cd /src TB --- 2013-05-16 21:50:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 10: Malformed conditional (${MK_BMAKE} != "no") "Makefile.inc", line 12: if-less endif "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 21:50:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 21:50:20 - ERROR: failed to build world TB --- 2013-05-16 21:50:20 - 1.69 user 2.67 system 5.39 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 22:00:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E019F750; Thu, 16 May 2013 22:00:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id ADCAABEF; Thu, 16 May 2013 22:00:20 +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 r4GM0KiN012131; Thu, 16 May 2013 18:00:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GM0KQm012127; Thu, 16 May 2013 22:00:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 22:00:20 GMT Message-Id: <201305162200.r4GM0KQm012127@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: Thu, 16 May 2013 22:00:21 -0000 TB --- 2013-05-16 22:00:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 22:00:14 - 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-05-16 22:00:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 22:00:14 - cleaning the object tree TB --- 2013-05-16 22:00:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 22:00:18 - At svn revision 250720 TB --- 2013-05-16 22:00:19 - building world TB --- 2013-05-16 22:00:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 22:00:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 22:00:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 22:00:19 - SRCCONF=/dev/null TB --- 2013-05-16 22:00:19 - TARGET=arm TB --- 2013-05-16 22:00:19 - TARGET_ARCH=arm TB --- 2013-05-16 22:00:19 - TZ=UTC TB --- 2013-05-16 22:00:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 22:00:19 - cd /src TB --- 2013-05-16 22:00:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 10: Malformed conditional (${MK_BMAKE} != "no") "Makefile.inc", line 12: if-less endif "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 22:00:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 22:00:20 - ERROR: failed to build world TB --- 2013-05-16 22:00:20 - 1.70 user 2.66 system 5.38 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 22:10:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C7D3A604; Thu, 16 May 2013 22:10:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 946B5D99; Thu, 16 May 2013 22:10:20 +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 r4GMAKHe012436; Thu, 16 May 2013 18:10:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GMAKfa012431; Thu, 16 May 2013 22:10:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 22:10:20 GMT Message-Id: <201305162210.r4GMAKfa012431@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: Thu, 16 May 2013 22:10:20 -0000 TB --- 2013-05-16 22:10:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 22:10:14 - 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-05-16 22:10:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 22:10:14 - cleaning the object tree TB --- 2013-05-16 22:10:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 22:10:18 - At svn revision 250720 TB --- 2013-05-16 22:10:19 - building world TB --- 2013-05-16 22:10:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 22:10:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 22:10:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 22:10:19 - SRCCONF=/dev/null TB --- 2013-05-16 22:10:19 - TARGET=arm TB --- 2013-05-16 22:10:19 - TARGET_ARCH=arm TB --- 2013-05-16 22:10:19 - TZ=UTC TB --- 2013-05-16 22:10:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 22:10:19 - cd /src TB --- 2013-05-16 22:10:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 10: Malformed conditional (${MK_BMAKE} != "no") "Makefile.inc", line 12: if-less endif "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 22:10:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 22:10:20 - ERROR: failed to build world TB --- 2013-05-16 22:10:20 - 1.73 user 2.62 system 5.36 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 22:20:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C2C826F9; Thu, 16 May 2013 22:20:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 90051EFA; Thu, 16 May 2013 22:20:20 +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 r4GMKKIj012757; Thu, 16 May 2013 18:20:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GMKK0b012753; Thu, 16 May 2013 22:20:20 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 22:20:20 GMT Message-Id: <201305162220.r4GMKK0b012753@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: Thu, 16 May 2013 22:20:20 -0000 TB --- 2013-05-16 22:20:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 22:20:14 - 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-05-16 22:20:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 22:20:14 - cleaning the object tree TB --- 2013-05-16 22:20:14 - /usr/local/bin/svn stat /src TB --- 2013-05-16 22:20:18 - At svn revision 250720 TB --- 2013-05-16 22:20:19 - building world TB --- 2013-05-16 22:20:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 22:20:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 22:20:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 22:20:19 - SRCCONF=/dev/null TB --- 2013-05-16 22:20:19 - TARGET=arm TB --- 2013-05-16 22:20:19 - TARGET_ARCH=arm TB --- 2013-05-16 22:20:19 - TZ=UTC TB --- 2013-05-16 22:20:19 - __MAKE_CONF=/dev/null TB --- 2013-05-16 22:20:19 - cd /src TB --- 2013-05-16 22:20:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 10: Malformed conditional (${MK_BMAKE} != "no") "Makefile.inc", line 12: if-less endif "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 22:20:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 22:20:20 - ERROR: failed to build world TB --- 2013-05-16 22:20:20 - 1.55 user 2.77 system 5.36 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu May 16 22:30:21 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AC10D80A; Thu, 16 May 2013 22:30:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 7832A94; Thu, 16 May 2013 22:30:21 +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 r4GMULmc013074; Thu, 16 May 2013 18:30:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4GMULWK013070; Thu, 16 May 2013 22:30:21 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 16 May 2013 22:30:21 GMT Message-Id: <201305162230.r4GMULWK013070@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: Thu, 16 May 2013 22:30:21 -0000 TB --- 2013-05-16 22:30:15 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-16 22:30:15 - 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-05-16 22:30:15 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-16 22:30:15 - cleaning the object tree TB --- 2013-05-16 22:30:15 - /usr/local/bin/svn stat /src TB --- 2013-05-16 22:30:19 - At svn revision 250721 TB --- 2013-05-16 22:30:20 - building world TB --- 2013-05-16 22:30:20 - CROSS_BUILD_TESTING=YES TB --- 2013-05-16 22:30:20 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-16 22:30:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-16 22:30:20 - SRCCONF=/dev/null TB --- 2013-05-16 22:30:20 - TARGET=arm TB --- 2013-05-16 22:30:20 - TARGET_ARCH=arm TB --- 2013-05-16 22:30:20 - TZ=UTC TB --- 2013-05-16 22:30:20 - __MAKE_CONF=/dev/null TB --- 2013-05-16 22:30:20 - cd /src TB --- 2013-05-16 22:30:20 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "Makefile.inc", line 14: Malformed conditional (${MK_SHARED_TOOLCHAIN} == "no") "Makefile.inc", line 16: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-16 22:30:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-16 22:30:20 - ERROR: failed to build world TB --- 2013-05-16 22:30:20 - 1.57 user 2.74 system 5.34 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 01:46:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CEAD5AFA for ; Fri, 17 May 2013 01:46:33 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by mx1.freebsd.org (Postfix) with ESMTP id 9C4A2B7E for ; Fri, 17 May 2013 01:46:33 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id k14so4621929oag.36 for ; Thu, 16 May 2013 18:46:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=kByJRpOUFmAb/wCreUWSJ1LOmVKprPz4kTc8LdMPcsQ=; b=opOplbKYN4iq/ANjqEhwHKUD/RDDbiwaBZrnVhFHH3gi48gmlrIrIWV8AoZRYGa78C 5+e+J+XaHeWE7f0dRTOPjL/I4dbtBwqMbiql7NU8eF/DFmWdvA1Cc+6oAE26lYrZjkS/ Id0lNdVrgyAB33kg0NQ4j5FoVZ8CcYPnEXeGSH8f8+QSgaBtgNIB9QKO+IWispaWuSU5 8WPlJqRguP0aIVZclI12Jg9l7ZYu7j0V7L+jXNfjYQt6MCaJzAS46d1U+sHMQdggRe17 uwxN5Zf+XjtvtGQSEa9jW3pG0g2Cgr1f47rpbeJMg1f7vCJCRRZW9qBuLKLRDOvMETTE eDKg== MIME-Version: 1.0 X-Received: by 10.60.155.177 with SMTP id vx17mr23736114oeb.9.1368755192509; Thu, 16 May 2013 18:46:32 -0700 (PDT) Received: by 10.182.31.49 with HTTP; Thu, 16 May 2013 18:46:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 May 2013 19:46:32 -0600 Message-ID: Subject: Re: ARM SPI support From: Tom Everett To: Luiz Otavio O Souza X-Gm-Message-State: ALoCoQnS8pZ5dETFh97WAa5MaJlGegTSQnH12VlSoHuyWTTkS5VH8G6cH22LHYJAA+P7RxijjJDO 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: Fri, 17 May 2013 01:46:33 -0000 ok cool, what about I2C; same thing? Sorry for what may appear to be lame question; I'm not a kernel expert. On Thu, May 16, 2013 at 12:51 PM, Luiz Otavio O Souza wrote: > On 16 May 2013 14:28, Tom Everett wrote: > >> Well it would be the Pi, so that's a Broadcom >> BCM2835 >> >> . >> >> Here's the datasheet >> >> >> http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf >> >> > > We don't have the driver for the SPI controller on RPi yet. > > There is a gpiospi driver floating around but it need some modifications > to work with FDT (the same with gpioiic, gpioled and so on). > > The basic support for SPI (bus support) is in the tree: > http://svnweb.freebsd.org/base/head/sys/dev/spibus/ > > Luiz > > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Fri May 17 09:05: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]) by hub.freebsd.org (Postfix) with ESMTP id 637E6B02 for ; Fri, 17 May 2013 09:05:23 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton2.metanet.ch [80.74.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id CFE11E88 for ; Fri, 17 May 2013 09:05:22 +0000 (UTC) Received: (qmail 28112 invoked from network); 17 May 2013 11:05:15 +0200 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 17 May 2013 11:05:15 +0200 Message-ID: <5195F2CA.2090103@thieprojects.ch> Date: Fri, 17 May 2013 11:05:14 +0200 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tim Kientzle Subject: Re: Git crash on EABI system. References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> In-Reply-To: <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm 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, 17 May 2013 09:05:23 -0000 On 5/16/13 11:04 AM, Tim Kientzle wrote: > > On May 16, 2013, at 4:19 AM, Werner Thie wrote: > >>> Has anyone else seen this from git on a clang/EABI system? >>> >>> Assertion failed: (attr_stack->origin), function prepare_attr_stack, file attr.c, line 630. >>> >>> Program received signal SIGABRT, Aborted. >>> [Switching to Thread 20c03300 (LWP 100076/git)] >>> 0x204b842c in thr_kill () from /lib/libc.so.7 >>> (gdb) bt >>> #0 0x204b842c in thr_kill () from /lib/libc.so.7 >>> #1 0x2044157c in raise () from /lib/libthr.so.3 >>> #2 0x20598130 in abort () from /lib/libc.so.7 >>> #3 0x20574630 in __assert () from /lib/libc.so.7 >>> #4 0x00076b28 in ?? () >>> >>> I'm planning to do a debug build and see if I can track down any >>> more details. >> >> Hi Tim >> >> just built git out of curiosity after your post on the BBone >> >> FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: Sat May 4 14:18:20 CEST 2013 root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/local/src/sys/BEAGLEBONE-NOWITNESS arm >> >> git crashes exactly as advertised when cloning a project in >> >> Assertion failed: (attr_stack->origin), function prepare_attr_stack, file attr.c, line 630. > > Thanks for verifying that. Tim Maybe you or somebody else can shed some light onto how compiler-rt is used for the ARM platform, specifically why am I getting a missing symbol __clear_cache when building ctypes for Python. I tried several ways to preset WITH_ARM_EABI on make.conf but the def never shows up when compiling Python nor one of the other extension modules. I assume the def is generally set and the missing symbol is courtesy of some other error/omission. Thxs, Werner From owner-freebsd-arm@FreeBSD.ORG Fri May 17 11:24:57 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E04472A; Fri, 17 May 2013 11:24:57 +0000 (UTC) (envelope-from kwhite@site.uottawa.ca) Received: from courriel.site.uottawa.ca (eecsmail.engineering.uottawa.ca [137.122.24.224]) by mx1.freebsd.org (Postfix) with ESMTP id 3BED561D; Fri, 17 May 2013 11:24:56 +0000 (UTC) Received: from [10.0.2.15] (dsl-74-51-49-9.vianet.ca [74.51.49.9]) (authenticated bits=0) by courriel.site.uottawa.ca (8.14.5/8.14.4) with ESMTP id r4HBOlI1093005 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 17 May 2013 07:24:49 -0400 (EDT) (envelope-from kwhite@site.uottawa.ca) Date: Fri, 17 May 2013 07:25:07 -0400 (EDT) From: Keith White X-X-Sender: kwhite@localhost.my.domain To: Werner Thie Subject: Re: Git crash on EABI system. In-Reply-To: <5195F2CA.2090103@thieprojects.ch> Message-ID: References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <5195F2CA.2090103@thieprojects.ch> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-arm 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, 17 May 2013 11:24:57 -0000 On Fri, 17 May 2013, Werner Thie wrote: > On 5/16/13 11:04 AM, Tim Kientzle wrote: >> >> On May 16, 2013, at 4:19 AM, Werner Thie wrote: >> >>>> Has anyone else seen this from git on a clang/EABI system? >>>> >>>> Assertion failed: (attr_stack->origin), function prepare_attr_stack, file >>>> attr.c, line 630. >>>> >>>> Program received signal SIGABRT, Aborted. >>>> [Switching to Thread 20c03300 (LWP 100076/git)] >>>> 0x204b842c in thr_kill () from /lib/libc.so.7 >>>> (gdb) bt >>>> #0 0x204b842c in thr_kill () from /lib/libc.so.7 >>>> #1 0x2044157c in raise () from /lib/libthr.so.3 >>>> #2 0x20598130 in abort () from /lib/libc.so.7 >>>> #3 0x20574630 in __assert () from /lib/libc.so.7 >>>> #4 0x00076b28 in ?? () >>>> >>>> I'm planning to do a debug build and see if I can track down any >>>> more details. >>> >>> Hi Tim >>> >>> just built git out of curiosity after your post on the BBone >>> >>> FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: Sat May >>> 4 14:18:20 CEST 2013 >>> root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/local/src/sys/BEAGLEBONE-NOWITNESS >>> arm >>> >>> git crashes exactly as advertised when cloning a project in >>> >>> Assertion failed: (attr_stack->origin), function prepare_attr_stack, file >>> attr.c, line 630. >> >> Thanks for verifying that. > > Tim > > Maybe you or somebody else can shed some light onto how compiler-rt is used > for the ARM platform, specifically why am I getting a > > missing symbol __clear_cache > > when building ctypes for Python. > > I tried several ways to preset WITH_ARM_EABI on make.conf but the def never > shows up when compiling Python nor one of the other extension modules. I > assume the def is generally set and the missing symbol is courtesy of some > other error/omission. > > Thxs, Werner > > _______________________________________________ > 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" To successfully build ctypes for python on arm I have found that the following "works for me": =================================================================== --- contrib/compiler-rt/lib/clear_cache.c (revision 250739) +++ contrib/compiler-rt/lib/clear_cache.c (working copy) @@ -21,6 +21,23 @@ * specified range. */ +/* python ffi routines call it too */ + +#if defined(__arm__) && defined(__clang__) +#pragma redefine_extname __clear_cache_c __clear_cache +void __clear_cache_c(void* start, void* end) +{ + extern int sysarch(int number, void *args); + struct + { + unsigned int addr; + int len; + } s; + s.addr = (unsigned int)(start) & ~0x1f; + s.len = (int)((((unsigned int)end + 0x1f) & ~0x1f) - ((unsigned int)start & ~0x1f)); + (void) sysarch (0, &s); +} +#else void __clear_cache(void* start, void* end) { #if __i386__ || __x86_64__ @@ -37,4 +54,5 @@ #endif #endif } +#endif ...keith From owner-freebsd-arm@FreeBSD.ORG Fri May 17 12:22:19 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B22EC355 for ; Fri, 17 May 2013 12:22:19 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 81D2A97C for ; Fri, 17 May 2013 12:22:19 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id 16so9123119iea.31 for ; Fri, 17 May 2013 05:22:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer :x-gm-message-state; bh=YiKO4KPE+gQZIs3nsX8LSODG+5HKmv29duAXVOzAXzw=; b=oN/ncKMZG8FgdC3ujZVmfqIpy+Vlm6pAOqaXzC8TqCGP+wDXEawztqrtUTzJnZzMfH TlaZXWvSPYy6+yQqaA7U2hcr9wIwBObCm5DSQ7aghnpuRyg1VWNlhyY1TCpoyOYAu0Ym wZcW2iI2s+7qHwklZ470MHPDYp6N+0ELOufd+5SWo+a1GIam7mfOnjlhfqV0oIST2YTR j2fiKEKxA0r2/15n754ZjPmD8nAzDhclrAqNR+ZMQoX/1Q0XxJbtrmaqVLRa1a2IuYTu WN/KeHASNFp21gA3qlEZ4DVyrp9ItUZunmjIaGBXmfHPhn1zVSuUs+RPi28oglKoE+RJ CsHA== X-Received: by 10.42.144.2 with SMTP id z2mr14320421icu.50.1368793339160; Fri, 17 May 2013 05:22:19 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id d9sm9293468igr.4.2013.05.17.05.22.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 05:22:18 -0700 (PDT) Sender: Tim Kientzle Subject: clear_cache and clang (was Re: Git crash on EABI system.) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <5195F2CA.2090103@thieprojects.ch> Date: Fri, 17 May 2013 08:22:14 -0400 Message-Id: <6FEBBFCD-C698-48E6-B9CA-D9FCB6A5AD5A@freebsd.org> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <5195F2CA.2090103@thieprojects.ch> To: Werner Thie X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQn6GVTUp+yAgyeSZGRtVeOAOLz3hjjezf/utmwDUVOV6U3QDhsMJ+j6f/OopRcMKAf/7fE5 Cc: freebsd-arm 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, 17 May 2013 12:22:19 -0000 --Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On May 17, 2013, at 5:05 AM, Werner Thie wrote: > Tim >=20 > Maybe you or somebody else can shed some light onto how compiler-rt is = used for the ARM platform, specifically why am I getting a >=20 > missing symbol __clear_cache I suspect it's somehow related to this (from libcompiler_rt/Makefile): # Don't build clear_cache on ARM with clang as it is a builtin there. .if ${MACHINE_CPUARCH} !=3D "arm" || ${COMPILER_TYPE} !=3D "clang" SRCF+=3D clear_cache .endif Do you know what code in ctypes for Python is referring to that symbol? There may be some oddity in how that symbol is being referenced that's incompatible with the clang built-in. Tim --Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRliD3AAoJEGMNyGo0rfFBVHMH/2bmB0NfiEqIAB+otW0ZJScQ B3lGKZqfUKXKVJLvS2TNOD98/TgKy0+1E/M+C95Abw3Fx0b+EiYEg7oF4VDiJ0C1 ln9w8R60W95R4p+flQ401TF3etdYa8PsakP3GZBo+T+NUocFx+UKCUOVYJFh1ZW+ AY3makMah+gLj0jk15lmlfyHuOgzv+vjcSk5us2xxUp+40PyZCJwZ9zHHo3OhsV+ XNcH4Vcdwc6qrr6pVIxRK5bSdlaalZYRuMTtE+CCpNPZ9EDcg+maVNcIqhidbPNU y5KyiSC/pZwJls7x4gVbh1dlZKpzgkCll/cva9CyQYe0GUapstl3nalJVFJCERQ= =nF2q -----END PGP SIGNATURE----- --Apple-Mail=_C24B5B9F-8CA8-4223-AAF7-A8462F686C0D-- From owner-freebsd-arm@FreeBSD.ORG Fri May 17 12:26:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 378BC3D8 for ; Fri, 17 May 2013 12:26:33 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 0A66199D for ; Fri, 17 May 2013 12:26:33 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id k5so9078565iea.4 for ; Fri, 17 May 2013 05:26:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=wB/6MFybLTfxVmy/bJdIkPxH5nq/+vb7bfv033IqYVw=; b=iiBpISoh71pc1Upkfu0/VuZR4draVLeBBBJUqhMOEYE7P4+lHkXjMe/JLlmDOCQrUO mw/79skRq+zUM1BJhV60iS3G5wRv1lPcvr4Pg57IaKZP6bH3y20h6LklvXSpCK3tKa6N WESNQyPdoKrExQ/DyQfEKqMYp2wPRs8HisEZrodZ0HEB9DoRQIv/1RpnZ7BD9nS1SIfU 7S5ef86erRfRxr84TdLbrJiLhv4OAwgMUa2h8r0wRN7/PoYieHArHWkJSu4FPR4/JtOR rMSmWvwYYGTqZvZOJBZjK6eqDCj5lrrg+MEx9eA6S0WOixYWVyLmmcUUBf8j3R/I+L73 +m9g== X-Received: by 10.50.108.104 with SMTP id hj8mr12550614igb.62.1368793592754; Fri, 17 May 2013 05:26:32 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id ua6sm9354029igb.0.2013.05.17.05.26.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 05:26:32 -0700 (PDT) Sender: Tim Kientzle Subject: Checking EABI support (was Re: Git crash on EABI system.) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: <5195F2CA.2090103@thieprojects.ch> Date: Fri, 17 May 2013 08:26:30 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <5195F2CA.2090103@thieprojects.ch> To: Werner Thie X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQktmpQaEZpOH/bpZ8w8/WpO+KtCpWvQ54SpMSqLlyPsrToJmtKeCsWiLYrgLZrt8TzL63dl Cc: freebsd-arm 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, 17 May 2013 12:26:33 -0000 On May 17, 2013, at 5:05 AM, Werner Thie wrote: > I tried several ways to preset WITH_ARM_EABI on make.conf but the def = never shows up when compiling Python nor one of the other extension = modules. I assume the def is generally set and the missing symbol is = courtesy of some other error/omission. If you've built an EABI system with an EABI compiler, then you don't = have to set WITH_ARM_EABI inside it. You can test this: $ touch foo.h $ cc -E -dM foo.h =85 #define __ARM_EABI__ 1 =85 I'm certain this is unrelated to your missing symbol issue. Tim From owner-freebsd-arm@FreeBSD.ORG Fri May 17 12:43:53 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2D98F78C for ; Fri, 17 May 2013 12:43:53 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id F3974A3C for ; Fri, 17 May 2013 12:43:52 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id e11so9110403iej.2 for ; Fri, 17 May 2013 05:43:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=TZqNkDHCU2mEpuw7AXdbhS5UGVNufWryManL9+yzTgo=; b=fprVHEd+Cwk+g22elLhG9GZXDO+KOeMA+7GRWFJHAdLaIJPwNYCKeKkWkZ7V3ze++g FHGk8gm+mtpyVY8XfvsyjK3ZVfbFM6DHZCe2xyT52EUqjtL+6QI04kpTlDQUXaKPYPIU dgyVOYT7OUONOId1bB1XXrPHecQkhRNeZLZedkFO2jknoItNPTeYZOTLsFGUMPh9Tt5h ACVxw53X/TqBYlQSW60yez4j95DNM/2IjoE+GvEbIuvnb1yCUSXSjFLSAci1LGJaDwMA uAr+DGvCZzWFjGOYw4MzlIneFwbUo9snBC+WCewicc3cRKa80bp+4iFHrS0oAzEkfwah kFdw== X-Received: by 10.50.130.3 with SMTP id oa3mr13015274igb.69.1368794632623; Fri, 17 May 2013 05:43:52 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id kc10sm4274077igb.0.2013.05.17.05.43.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 05:43:51 -0700 (PDT) Sender: Warner Losh Subject: Re: clear_cache and clang (was Re: Git crash on EABI system.) Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <6FEBBFCD-C698-48E6-B9CA-D9FCB6A5AD5A@freebsd.org> Date: Fri, 17 May 2013 08:43:47 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <46D3F1AB-52DC-442D-B777-6B493C20B2B5@bsdimp.com> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <5195F2CA.2090103@thieprojects.ch> <6FEBBFCD-C698-48E6-B9CA-D9FCB6A5AD5A@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlOcMXF5XoejruKZs+NhHaTDfSmeFq6WEhtX62Uvoo/O7OzqhQTDL9oZBjQVvMCFyfqiqBr Cc: freebsd-arm 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, 17 May 2013 12:43:53 -0000 On May 17, 2013, at 8:22 AM, Tim Kientzle wrote: >=20 > On May 17, 2013, at 5:05 AM, Werner Thie wrote: >=20 >> Tim >>=20 >> Maybe you or somebody else can shed some light onto how compiler-rt = is used for the ARM platform, specifically why am I getting a >>=20 >> missing symbol __clear_cache >=20 > I suspect it's somehow related to this (from libcompiler_rt/Makefile): >=20 > # Don't build clear_cache on ARM with clang as it is a builtin there. > .if ${MACHINE_CPUARCH} !=3D "arm" || ${COMPILER_TYPE} !=3D "clang" > SRCF+=3D clear_cache > .endif >=20 > Do you know what code in ctypes for Python is referring to > that symbol? There may be some oddity in how that symbol is > being referenced that's incompatible with the clang built-in. So why would the compiler type matter for libcompiler_rt? Warner From owner-freebsd-arm@FreeBSD.ORG Fri May 17 12:49:26 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 27E96A08; Fri, 17 May 2013 12:49:26 +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 0CC0EA74; Fri, 17 May 2013 12:49:25 +0000 (UTC) Received: from bender (176-35-57-122.xdsl.murphx.net [176.35.57.122]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 1A1495E1F1; Fri, 17 May 2013 12:39:50 +0000 (UTC) Date: Fri, 17 May 2013 13:39:27 +0100 From: Andrew Turner To: Tim Kientzle Subject: Re: clear_cache and clang (was Re: Git crash on EABI system.) Message-ID: <20130517133927.62575abe@bender> In-Reply-To: <6FEBBFCD-C698-48E6-B9CA-D9FCB6A5AD5A@freebsd.org> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> <5195F2CA.2090103@thieprojects.ch> <6FEBBFCD-C698-48E6-B9CA-D9FCB6A5AD5A@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm 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, 17 May 2013 12:49:26 -0000 On Fri, 17 May 2013 08:22:14 -0400 Tim Kientzle wrote: > > On May 17, 2013, at 5:05 AM, Werner Thie wrote: > > > Tim > > > > Maybe you or somebody else can shed some light onto how compiler-rt > > is used for the ARM platform, specifically why am I getting a > > > > missing symbol __clear_cache > > I suspect it's somehow related to this (from libcompiler_rt/Makefile): > > # Don't build clear_cache on ARM with clang as it is a builtin there. > .if ${MACHINE_CPUARCH} != "arm" || ${COMPILER_TYPE} != "clang" > SRCF+= clear_cache > .endif > > Do you know what code in ctypes for Python is referring to > that symbol? There may be some oddity in how that symbol is > being referenced that's incompatible with the clang built-in. __clear_cache is a builtin function in clang and it will complain if we have a function with it's name because of this. There may be issues when linking with objects built with gcc, however I don't know the state of gcc from the ports tree. The only known working version of gcc for FreeBSD ARM EABI is in base. Andrew From owner-freebsd-arm@FreeBSD.ORG Fri May 17 16:16:18 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A83E464A for ; Fri, 17 May 2013 16:16:18 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-we0-x233.google.com (mail-we0-x233.google.com [IPv6:2a00:1450:400c:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 40570976 for ; Fri, 17 May 2013 16:16:18 +0000 (UTC) Received: by mail-we0-f179.google.com with SMTP id t59so3692125wes.24 for ; Fri, 17 May 2013 09:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=8s3QaHy/F6SdnDJTJ+tL+TAZ6a9NHQ2VQ7KUYwDg1Yk=; b=gkE9D0nNGOqeK4D4omymKD3ra852gQT8OjxpRvnWUa13nlpMrPWMK0AUqxT+shb9e3 9qvJcwUePx4LqnleoJZ1CmwsSxKG2VU0M3xu+rCLLUr3DMnM816T7D3sdy35tGvNuPB2 MoIdL8ynM+A3BynwqurxRKgfiNLgWN3Lw2WUv+mdUmYticLAf3q9RuIZibLfqZCYv3/e w8vhvxKbH+zC+9x7ks0h39ioIIdYxWKKg0akyEQc77y2k/lrILwwJe0jXSAbKKpQBPDP oSPE2IIhrkyBaTYAtYrS68I4hiAtYOrON6qHdsUXzJSIh89IDGTHFObRRyxNk325QqZw qg9Q== MIME-Version: 1.0 X-Received: by 10.180.39.233 with SMTP id s9mr35233615wik.25.1368807377396; Fri, 17 May 2013 09:16:17 -0700 (PDT) Received: by 10.217.117.202 with HTTP; Fri, 17 May 2013 09:16:17 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 May 2013 13:16:17 -0300 Message-ID: Subject: Re: ARM SPI support From: Luiz Otavio O Souza To: Tom Everett 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: Fri, 17 May 2013 16:16:18 -0000 On 16 May 2013 22:46, Tom Everett wrote: > ok cool, what about I2C; same thing? > > Sorry for what may appear to be lame question; I'm not a kernel expert. > Unfortunately we're on the situation there... :( I want to spent some time on the GPIO support soon and i hope i can address all those issues (my RPis are just collecting dust ATM. :-/) Regards, Luiz From owner-freebsd-arm@FreeBSD.ORG Fri May 17 19:24: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]) by hub.freebsd.org (Postfix) with ESMTP id 9A5F5ACA; Fri, 17 May 2013 19:24:18 +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 7F66D181; Fri, 17 May 2013 19:24:18 +0000 (UTC) Received: from bender (176-35-57-122.xdsl.murphx.net [176.35.57.122]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 6A5215E1D8; Fri, 17 May 2013 19:24:15 +0000 (UTC) Date: Fri, 17 May 2013 20:23:52 +0100 From: Andrew Turner To: Tim Kientzle Subject: Re: Git crash on EABI system. Message-ID: <20130517202352.2d28c764@bender> In-Reply-To: <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> References: <51949698.80205@thieprojects.ch> <2290084B-D302-4489-BB01-817497901E2B@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm 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, 17 May 2013 19:24:18 -0000 On Thu, 16 May 2013 05:04:29 -0400 Tim Kientzle wrote: > > On May 16, 2013, at 4:19 AM, Werner Thie wrote: > > >> Has anyone else seen this from git on a clang/EABI system? > >> > >> Assertion failed: (attr_stack->origin), function > >> prepare_attr_stack, file attr.c, line 630. > >> > >> Program received signal SIGABRT, Aborted. > >> [Switching to Thread 20c03300 (LWP 100076/git)] > >> 0x204b842c in thr_kill () from /lib/libc.so.7 > >> (gdb) bt > >> #0 0x204b842c in thr_kill () from /lib/libc.so.7 > >> #1 0x2044157c in raise () from /lib/libthr.so.3 > >> #2 0x20598130 in abort () from /lib/libc.so.7 > >> #3 0x20574630 in __assert () from /lib/libc.so.7 > >> #4 0x00076b28 in ?? () > >> > >> I'm planning to do a debug build and see if I can track down any > >> more details. > > > > Hi Tim > > > > just built git out of curiosity after your post on the BBone > > > > FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250144M: > > Sat May 4 14:18:20 CEST 2013 > > root@xtools:/usr/home/wthie/proj/crochet-freebsd/work/obj/arm.armv6/usr/local/src/sys/BEAGLEBONE-NOWITNESS > > arm > > > > git crashes exactly as advertised when cloning a project in > > > > Assertion failed: (attr_stack->origin), function > > prepare_attr_stack, file attr.c, line 630. > > Thanks for verifying that. > > Unfortunately, a debug build (make -DWITH_DEBUG) does > not crash for me. So I clearly have more work ahead of me > to narrow this down. Can you send me the working and broken object files or the asm from objdump? I'll have a look to see if I can see anything obviously wrong. Andrew From owner-freebsd-arm@FreeBSD.ORG Fri May 17 20:23:01 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E22FA43C for ; Fri, 17 May 2013 20:23:01 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id B4D0E395 for ; Fri, 17 May 2013 20:23:01 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x12so10091492ief.40 for ; Fri, 17 May 2013 13:23:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:content-type:subject:date:message-id:cc:to :mime-version:x-mailer:x-gm-message-state; bh=gkeNpfR5iS2ap7vzpdw68XAAmBp0iDqa3ii3RrJrdq0=; b=iewe/I8YkFQY/ICnIdvjSiXqNWGc3fbfr91TKBfG3vxqYtMtl1ODEdX03z/d2EzHxC mmW1T3QTYqcAo9oh1ccjdvmfh1Phfu2uaSePGRaTqhCNf6c02o5sLsqnDaoETdRUjPGX htttlso7ZZOOZdaMqVHYfb5LcTMQjy944S8yGbx6maQOpYohhzwPLRe4IMqvkztxd3f1 XuDuyMMMFKpF4h7qebNVmi8B0vDvafbmlyV77+ZxbHFhRS5/U18CEaxRXIldb0UMnE/l za10mdXKFWK7hMmI1pXk2zrWHqYGWzhtCfFYsxa1fuOUsWv0dPFA79SOrSFhDpDl8XGs cNZg== X-Received: by 10.50.16.202 with SMTP id i10mr14307775igd.33.1368822180694; Fri, 17 May 2013 13:23:00 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id qn10sm11263452igc.6.2013.05.17.13.22.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 13:23:00 -0700 (PDT) Sender: Tim Kientzle From: Tim Kientzle Content-Type: multipart/signed; boundary="Apple-Mail=_A8FD7406-0D6E-46CC-99E8-97F518A0C5BF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Port: U-Boot for BeagleBone Date: Fri, 17 May 2013 16:22:56 -0400 Message-Id: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> To: freebsd-arm Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQnRcu1YD2qTiy7GCGPJjWBVSJNrMOW5xfZhmgDTMJLNgpHhjQfAZ1nWvQuKwlDV+WcMj6Uf Cc: db@freebsd.org, David Chisnall 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, 17 May 2013 20:23:01 -0000 --Apple-Mail=_A8FD7406-0D6E-46CC-99E8-97F518A0C5BF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I'm trying to move the actual building of boot loaders out of Crochet = and into FreeBSD ports. Here's the first attempt at such a port (many thanks to Diane Bruce for = patiently tutoring me through this): http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz I'd appreciate any feedback: * Can you build this? * Suggestions for improving it? If this works, I plan to use it as a template for U-Boot for other = platforms (RaspberryPi, Pandaboard, etc.). Crochet would then rely on = these ports instead of building boot loaders itself. Even better, these = will eventually be built by the package system and available through = packages. Tim P.S. Looking for a ports committer to work with me on getting these = into the ports tree. --Apple-Mail=_A8FD7406-0D6E-46CC-99E8-97F518A0C5BF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRlpGhAAoJEGMNyGo0rfFBNVYH/iZTNpzRuCnt9dXKsvrKwTWx UNACeSg4OaHCJbK6S9WSux1nNfDiv1H8hVM8qJIIX56vCUVhVaLg6WgaALxRPaoq vQNvIYkSuejo8l+nlVR8eNK6Lp5qo50saO1XhyFgulBU6jfLnPeJOFdlpVVGOnNw yFPE+iO4czXh/YQtxEpS73tWNx6ETvqUMKERWjhAOyrNDqM64MxoQFYDBPwRVnyN GsqDykCrI9CQXHxTN2Oof/UHR6dJ7StXjkUhUtggEy3mCfOTUpRTks3pKBEholl9 BJ8iAECEAX7IrgeboKB1cWt9HxxE8YGxe6ZHhvoOidtLFUetoUqmySOO2W5mCy0= =KXuV -----END PGP SIGNATURE----- --Apple-Mail=_A8FD7406-0D6E-46CC-99E8-97F518A0C5BF-- From owner-freebsd-arm@FreeBSD.ORG Fri May 17 20:41: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]) by hub.freebsd.org (Postfix) with ESMTP id 10B116CE; Fri, 17 May 2013 20:41:36 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x233.google.com (mail-ea0-x233.google.com [IPv6:2a00:1450:4013:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 23B43623; Fri, 17 May 2013 20:41:34 +0000 (UTC) Received: by mail-ea0-f179.google.com with SMTP id z16so2728983ead.10 for ; Fri, 17 May 2013 13:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=F5aIkYmkFDTbCHav637Hi4ICDNP7twJTWIHPJyUP9QA=; b=tFzjAKDrk4Q0ls0lj/gxafKYlMIaRMI9ySm59axus4s+PEJdxUnOkXLqP5vwH3iKYr s0ecxj+P+Cr4FlVbCzPascySZcNW/nnHKsGRRVPfR5SlC1MWV8OZ0Ik5KKbDOPMmiXR6 QxiNBStZSvkx+sI9802Vx6zCqsaIaoqx4WB/2+LjERZZfT3dZ7IARy5+yxIyBBUFsMTb reeaE9F0lkhdhQsv1Hd0bqtVUGdUKQnfBxKz6ICeXw8oGXh/3zdNQKbhPfLU+F5Svkxf Bm+0MhfAV8gLOCfytOiSMY7RyDafF2G7U9fEEG/r9ic548kiS8nFWFNoN7ziA0EsB82s B0MQ== MIME-Version: 1.0 X-Received: by 10.15.94.78 with SMTP id ba54mr35556221eeb.36.1368823294073; Fri, 17 May 2013 13:41:34 -0700 (PDT) Received: by 10.14.130.66 with HTTP; Fri, 17 May 2013 13:41:33 -0700 (PDT) In-Reply-To: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> Date: Fri, 17 May 2013 13:41:33 -0700 Message-ID: Subject: Re: Port: U-Boot for BeagleBone From: hiren panchasara To: Tim Kientzle Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: db@freebsd.org, freebsd-arm , David Chisnall 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, 17 May 2013 20:41:36 -0000 On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle wrote: > I'm trying to move the actual building of boot loaders out of Crochet and= into FreeBSD ports. > > Here's the first attempt at such a port (many thanks to Diane Bruce for p= atiently tutoring me through this): > > http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz > > I'd appreciate any feedback: > * Can you build this? Yes. Its fetching things and I can see uboot generated in work/u-boot-2013.04/ > * Suggestions for improving it? > > If this works, I plan to use it as a template for U-Boot for other platfo= rms (RaspberryPi, Pandaboard, etc.). Crochet would then rely on these port= s instead of building boot loaders itself. Even better, these will eventua= lly be built by the package system and available through packages. sweet! cheers, Hiren > > Tim > > P.S. Looking for a ports committer to work with me on getting these into= the ports tree. > From owner-freebsd-arm@FreeBSD.ORG Fri May 17 21:08:15 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7145FD1D; Fri, 17 May 2013 21:08:15 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 484EB75E; Fri, 17 May 2013 21:08:15 +0000 (UTC) Received: from [137.122.64.60] (port=18505 helo=punk.neville-neil.com.neville-neil.com) by vps.hungerhost.com with esmtpa (Exim 4.80) (envelope-from ) id 1UdRss-0003fk-53; Fri, 17 May 2013 17:08:14 -0400 Date: Fri, 17 May 2013 17:08:16 -0400 Message-ID: <86vc6hpb5r.wl%gnn@neville-neil.com> From: gnn@freebsd.org To: hiren panchasara Subject: Re: Port: U-Boot for BeagleBone In-Reply-To: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.2 (amd64-portbld-freebsd10.0) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: db@freebsd.org, freebsd-arm , David Chisnall 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, 17 May 2013 21:08:15 -0000 At Fri, 17 May 2013 13:41:33 -0700, hiren panchasara wrote: > > On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle wrote: > > I'm trying to move the actual building of boot loaders out of Crochet and into FreeBSD ports. > > > > Here's the first attempt at such a port (many thanks to Diane Bruce for patiently tutoring me through this): > > > > http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz > > > > I'd appreciate any feedback: > > * Can you build this? > > Yes. > > Its fetching things and I can see uboot generated in > work/u-boot-2013.04/ It claims to require a cross building compiler in /usr/obj so I'm waiting for that to build on my laptop. > > * Suggestions for improving it? > > > > If this works, I plan to use it as a template for U-Boot for other > > platforms (RaspberryPi, Pandaboard, etc.). Crochet would then > > rely on these ports instead of building boot loaders itself. Even > > better, these will eventually be built by the package system and > > available through packages. > > sweet! > Works for me. Thanks to both of you. Best, George From owner-freebsd-arm@FreeBSD.ORG Fri May 17 21:20:34 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E83CBF8E; Fri, 17 May 2013 21:20:34 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id B27AA7E3; Fri, 17 May 2013 21:20:34 +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 r4HLKRHL012081; Fri, 17 May 2013 17:20:27 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4HLKRWN012038; Fri, 17 May 2013 21:20:27 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 17 May 2013 21:20:27 GMT Message-Id: <201305172120.r4HLKRWN012038@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: Fri, 17 May 2013 21:20:35 -0000 TB --- 2013-05-17 21:20:21 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-17 21:20:21 - 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-05-17 21:20:21 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-17 21:20:21 - cleaning the object tree TB --- 2013-05-17 21:20:21 - /usr/local/bin/svn stat /src TB --- 2013-05-17 21:20:25 - At svn revision 250753 TB --- 2013-05-17 21:20:26 - building world TB --- 2013-05-17 21:20:26 - CROSS_BUILD_TESTING=YES TB --- 2013-05-17 21:20:26 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-17 21:20:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-17 21:20:26 - SRCCONF=/dev/null TB --- 2013-05-17 21:20:26 - TARGET=arm TB --- 2013-05-17 21:20:26 - TARGET_ARCH=arm TB --- 2013-05-17 21:20:26 - TZ=UTC TB --- 2013-05-17 21:20:26 - __MAKE_CONF=/dev/null TB --- 2013-05-17 21:20:26 - cd /src TB --- 2013-05-17 21:20:26 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "../../share/mk/bsd.own.mk", line 600: Could not find bsd.compiler.mk "../../share/mk/bsd.own.mk", line 609: Malformed conditional (${COMPILER_FEATURES:Mc++11}) "Makefile.inc", line 8: if-less endif "/usr/share/mk/bsd.libnames.mk", line 95: Malformed conditional (${MK_NCP} != "no") "/usr/share/mk/bsd.libnames.mk", line 97: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-17 21:20:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-17 21:20:27 - ERROR: failed to build world TB --- 2013-05-17 21:20:27 - 1.63 user 2.65 system 5.37 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 21:27: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]) by hub.freebsd.org (Postfix) with ESMTP id B6989ED1; Fri, 17 May 2013 21:27:36 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx1.freebsd.org (Postfix) with ESMTP id 821CD8E4; Fri, 17 May 2013 21:27:36 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id kp6so3952511pab.35 for ; Fri, 17 May 2013 14:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Gwmo9TFaR54qfnCCob2CfslUVWbeq9zr6bfkz5pnf/s=; b=td3xoISXVQL9ELniATwSvNFO/LMsar9kpjNKpMQsg0YNjQLIjaUkKbsuKKO4IzFe6v UmBZWafWhqiyUxs6HfQVuU5B3upl4i/1y7PuQKK/HquxH0D387z1QO3oQCpUDfwuZknQ /Womyph9rb1on1hN9plKlT2t64a5zYHgwbcgK2QoZEHnwtFmAPjbdrIB5fUlKdoSAyMx tlEEwtTsQVLcEjPCJKmFaRwLjL2ePWzB5DMml5TMBcQ1TNCkve+xpnWPd5BOcCyWe93X tQ534JFDWlgVCgJWPYoGhk8NhOyfvd1CPrBblmwJECVWfYc1Y6FH4lpiCuUALcgJm8vL +e8A== MIME-Version: 1.0 X-Received: by 10.66.240.70 with SMTP id vy6mr51462596pac.70.1368825603002; Fri, 17 May 2013 14:20:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.70.85.73 with HTTP; Fri, 17 May 2013 14:20:02 -0700 (PDT) In-Reply-To: <86vc6hpb5r.wl%gnn@neville-neil.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <86vc6hpb5r.wl%gnn@neville-neil.com> Date: Fri, 17 May 2013 14:20:02 -0700 X-Google-Sender-Auth: y7JvfNpoUr2cQpADepHymVe6XY0 Message-ID: Subject: Re: Port: U-Boot for BeagleBone From: Adrian Chadd To: gnn@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: db@freebsd.org, freebsd-arm , David Chisnall 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, 17 May 2013 21:27:36 -0000 ... so how do I do a userland build of a bootloader? :-) Does crochet have extra stuff in it to build ports with alternate roots and install-as-user options set? Or does it now require you have them installed before you can build images? Thanks, adrian On 17 May 2013 14:08, wrote: > At Fri, 17 May 2013 13:41:33 -0700, > hiren panchasara wrote: >> >> On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle wrote: >> > I'm trying to move the actual building of boot loaders out of Crochet and into FreeBSD ports. >> > >> > Here's the first attempt at such a port (many thanks to Diane Bruce for patiently tutoring me through this): >> > >> > http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >> > >> > I'd appreciate any feedback: >> > * Can you build this? >> >> Yes. >> >> Its fetching things and I can see uboot generated in >> work/u-boot-2013.04/ > > It claims to require a cross building compiler in /usr/obj so I'm > waiting for that to build on my laptop. > >> > * Suggestions for improving it? >> > >> > If this works, I plan to use it as a template for U-Boot for other >> > platforms (RaspberryPi, Pandaboard, etc.). Crochet would then >> > rely on these ports instead of building boot loaders itself. Even >> > better, these will eventually be built by the package system and >> > available through packages. >> >> sweet! >> > > Works for me. Thanks to both of you. > > Best, > George > _______________________________________________ > 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 Fri May 17 21:30:23 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BFAB8F25; Fri, 17 May 2013 21:30:23 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 899B68F1; Fri, 17 May 2013 21:30:23 +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 r4HLUNKM012407; Fri, 17 May 2013 17:30:23 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4HLUNq6012403; Fri, 17 May 2013 21:30:23 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 17 May 2013 21:30:23 GMT Message-Id: <201305172130.r4HLUNq6012403@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: Fri, 17 May 2013 21:30:23 -0000 TB --- 2013-05-17 21:30:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-17 21:30: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-05-17 21:30:17 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-17 21:30:17 - cleaning the object tree TB --- 2013-05-17 21:30:17 - /usr/local/bin/svn stat /src TB --- 2013-05-17 21:30:21 - At svn revision 250753 TB --- 2013-05-17 21:30:22 - building world TB --- 2013-05-17 21:30:22 - CROSS_BUILD_TESTING=YES TB --- 2013-05-17 21:30:22 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-17 21:30:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-17 21:30:22 - SRCCONF=/dev/null TB --- 2013-05-17 21:30:22 - TARGET=arm TB --- 2013-05-17 21:30:22 - TARGET_ARCH=arm TB --- 2013-05-17 21:30:22 - TZ=UTC TB --- 2013-05-17 21:30:22 - __MAKE_CONF=/dev/null TB --- 2013-05-17 21:30:22 - cd /src TB --- 2013-05-17 21:30:22 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "../../share/mk/bsd.own.mk", line 600: Could not find bsd.compiler.mk "../../share/mk/bsd.own.mk", line 609: Malformed conditional (${COMPILER_FEATURES:Mc++11}) "Makefile.inc", line 8: if-less endif "/usr/share/mk/bsd.libnames.mk", line 95: Malformed conditional (${MK_NCP} != "no") "/usr/share/mk/bsd.libnames.mk", line 97: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-17 21:30:23 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-17 21:30:23 - ERROR: failed to build world TB --- 2013-05-17 21:30:23 - 1.72 user 2.63 system 5.37 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 21:40:19 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EFE90C1; Fri, 17 May 2013 21:40:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id BB5D0A41; Fri, 17 May 2013 21:40:19 +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 r4HLeJUe012735; Fri, 17 May 2013 17:40: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 r4HLeJlm012730; Fri, 17 May 2013 21:40:19 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 17 May 2013 21:40:19 GMT Message-Id: <201305172140.r4HLeJlm012730@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: Fri, 17 May 2013 21:40:20 -0000 TB --- 2013-05-17 21:40:13 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-17 21:40:13 - 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-05-17 21:40:13 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-17 21:40:13 - cleaning the object tree TB --- 2013-05-17 21:40:13 - /usr/local/bin/svn stat /src TB --- 2013-05-17 21:40:17 - At svn revision 250753 TB --- 2013-05-17 21:40:18 - building world TB --- 2013-05-17 21:40:18 - CROSS_BUILD_TESTING=YES TB --- 2013-05-17 21:40:18 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-17 21:40:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-17 21:40:18 - SRCCONF=/dev/null TB --- 2013-05-17 21:40:18 - TARGET=arm TB --- 2013-05-17 21:40:18 - TARGET_ARCH=arm TB --- 2013-05-17 21:40:18 - TZ=UTC TB --- 2013-05-17 21:40:18 - __MAKE_CONF=/dev/null TB --- 2013-05-17 21:40:18 - cd /src TB --- 2013-05-17 21:40:18 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "../../share/mk/bsd.own.mk", line 600: Could not find bsd.compiler.mk "../../share/mk/bsd.own.mk", line 609: Malformed conditional (${COMPILER_FEATURES:Mc++11}) "Makefile.inc", line 8: if-less endif "/usr/share/mk/bsd.libnames.mk", line 95: Malformed conditional (${MK_NCP} != "no") "/usr/share/mk/bsd.libnames.mk", line 97: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-17 21:40:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-17 21:40:19 - ERROR: failed to build world TB --- 2013-05-17 21:40:19 - 1.76 user 2.59 system 5.36 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 21:50:22 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E2D131B; Fri, 17 May 2013 21:50:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 85538BF2; Fri, 17 May 2013 21:50:21 +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 r4HLoLYC013056; Fri, 17 May 2013 17:50:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4HLoLkE013052; Fri, 17 May 2013 21:50:21 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 17 May 2013 21:50:21 GMT Message-Id: <201305172150.r4HLoLkE013052@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: Fri, 17 May 2013 21:50:22 -0000 TB --- 2013-05-17 21:50:15 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-17 21:50:15 - 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-05-17 21:50:15 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-17 21:50:15 - cleaning the object tree TB --- 2013-05-17 21:50:15 - /usr/local/bin/svn stat /src TB --- 2013-05-17 21:50:19 - At svn revision 250754 TB --- 2013-05-17 21:50:20 - building world TB --- 2013-05-17 21:50:20 - CROSS_BUILD_TESTING=YES TB --- 2013-05-17 21:50:20 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-17 21:50:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-17 21:50:20 - SRCCONF=/dev/null TB --- 2013-05-17 21:50:20 - TARGET=arm TB --- 2013-05-17 21:50:20 - TARGET_ARCH=arm TB --- 2013-05-17 21:50:20 - TZ=UTC TB --- 2013-05-17 21:50:20 - __MAKE_CONF=/dev/null TB --- 2013-05-17 21:50:20 - cd /src TB --- 2013-05-17 21:50:20 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "../../share/mk/bsd.own.mk", line 600: Could not find bsd.compiler.mk "../../share/mk/bsd.own.mk", line 609: Malformed conditional (${COMPILER_FEATURES:Mc++11}) "Makefile.inc", line 8: if-less endif "/usr/share/mk/bsd.libnames.mk", line 95: Malformed conditional (${MK_NCP} != "no") "/usr/share/mk/bsd.libnames.mk", line 97: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-17 21:50:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-17 21:50:21 - ERROR: failed to build world TB --- 2013-05-17 21:50:21 - 1.55 user 2.77 system 5.36 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 22:00:19 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BCD087DE; Fri, 17 May 2013 22:00:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 86B15E32; Fri, 17 May 2013 22:00:19 +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 r4HM0JNw013386; Fri, 17 May 2013 18:00: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 r4HM0Jm1013382; Fri, 17 May 2013 22:00:19 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 17 May 2013 22:00:19 GMT Message-Id: <201305172200.r4HM0Jm1013382@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: Fri, 17 May 2013 22:00:19 -0000 TB --- 2013-05-17 22:00:13 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-17 22:00:13 - 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-05-17 22:00:13 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-17 22:00:13 - cleaning the object tree TB --- 2013-05-17 22:00:13 - /usr/local/bin/svn stat /src TB --- 2013-05-17 22:00:17 - At svn revision 250754 TB --- 2013-05-17 22:00:18 - building world TB --- 2013-05-17 22:00:18 - CROSS_BUILD_TESTING=YES TB --- 2013-05-17 22:00:18 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-17 22:00:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-17 22:00:18 - SRCCONF=/dev/null TB --- 2013-05-17 22:00:18 - TARGET=arm TB --- 2013-05-17 22:00:18 - TARGET_ARCH=arm TB --- 2013-05-17 22:00:18 - TZ=UTC TB --- 2013-05-17 22:00:18 - __MAKE_CONF=/dev/null TB --- 2013-05-17 22:00:18 - cd /src TB --- 2013-05-17 22:00:18 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "../../share/mk/bsd.own.mk", line 600: Could not find bsd.compiler.mk "../../share/mk/bsd.own.mk", line 609: Malformed conditional (${COMPILER_FEATURES:Mc++11}) "Makefile.inc", line 8: if-less endif "/usr/share/mk/bsd.libnames.mk", line 95: Malformed conditional (${MK_NCP} != "no") "/usr/share/mk/bsd.libnames.mk", line 97: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-17 22:00:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-17 22:00:19 - ERROR: failed to build world TB --- 2013-05-17 22:00:19 - 1.70 user 2.65 system 5.37 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 22:10:20 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B71178FA; Fri, 17 May 2013 22:10:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 82149F71; Fri, 17 May 2013 22:10:20 +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 r4HMAKlw013691; Fri, 17 May 2013 18:10:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4HMAKCR013687; Fri, 17 May 2013 22:10:20 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 17 May 2013 22:10:20 GMT Message-Id: <201305172210.r4HMAKCR013687@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: Fri, 17 May 2013 22:10:20 -0000 TB --- 2013-05-17 22:10:14 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-17 22:10:14 - 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-05-17 22:10:14 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-17 22:10:14 - cleaning the object tree TB --- 2013-05-17 22:10:14 - /usr/local/bin/svn stat /src TB --- 2013-05-17 22:10:18 - At svn revision 250754 TB --- 2013-05-17 22:10:19 - building world TB --- 2013-05-17 22:10:19 - CROSS_BUILD_TESTING=YES TB --- 2013-05-17 22:10:19 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-17 22:10:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-17 22:10:19 - SRCCONF=/dev/null TB --- 2013-05-17 22:10:19 - TARGET=arm TB --- 2013-05-17 22:10:19 - TARGET_ARCH=arm TB --- 2013-05-17 22:10:19 - TZ=UTC TB --- 2013-05-17 22:10:19 - __MAKE_CONF=/dev/null TB --- 2013-05-17 22:10:19 - cd /src TB --- 2013-05-17 22:10:19 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) -------------------------------------------------------------- "../../share/mk/bsd.own.mk", line 600: Could not find bsd.compiler.mk "../../share/mk/bsd.own.mk", line 609: Malformed conditional (${COMPILER_FEATURES:Mc++11}) "Makefile.inc", line 8: if-less endif "/usr/share/mk/bsd.libnames.mk", line 95: Malformed conditional (${MK_NCP} != "no") "/usr/share/mk/bsd.libnames.mk", line 97: if-less endif make: fatal errors encountered -- cannot continue *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2013-05-17 22:10:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-17 22:10:20 - ERROR: failed to build world TB --- 2013-05-17 22:10:20 - 1.68 user 2.65 system 5.34 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 17 23:01:52 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A33D97D9 for ; Fri, 17 May 2013 23:01:52 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 720522A5 for ; Fri, 17 May 2013 23:01:52 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id e11so10532597iej.2 for ; Fri, 17 May 2013 16:01:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer :x-gm-message-state; bh=np8qol6Y4fWLZIMeJAFVBQ/jcNE3nQnk3JWgqIxtSPI=; b=fhARaxfS/kfcW5PiqGVH24g427Tk3YUDmKyuh4f+1wWODKqdFhwRPRstJZRhOQ5Bu/ qyaDaHOOdDbSpWIKfepdes/e3h7r96vWVzvqn//1xx7yafC13gxGeyJtgzoSL1L12Ihm SS8sWz6VKX/dgH+QWjPLOHWI4rumrBFIiK1wNuyWsC4poPC0CAxGJbJRtxDll/rLWHYw vQjOPC5+zIUwSKSbSG0hro8SA7FS7JKMgQWvXgW19Ddj45HIqlctebki/uurFk9YVXhs f+4t4VNeVSKpipxx6fQZLwwZT8eJzEIEUjddwmKe3oaZEyL+5ki7TPRXH/Pv1puOh43i CMkA== X-Received: by 10.43.147.137 with SMTP id kc9mr27945309icc.9.1368831712094; Fri, 17 May 2013 16:01:52 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id qr3sm978417igb.1.2013.05.17.16.01.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 May 2013 16:01:51 -0700 (PDT) Sender: Tim Kientzle Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_5067653B-79DB-4003-A5BA-4E9E4B44DE79"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: Date: Fri, 17 May 2013 19:01:48 -0400 Message-Id: <8DC27DAB-FC30-4152-A408-4D666AD15875@freebsd.org> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <86vc6hpb5r.wl%gnn@neville-neil.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQnelFcIsBxDi8HGd1Gm2BKGhc1x57CiGB7niWXf72KWtaPGtzZLH4RmqOKEp456WuMrho9u Cc: freebsd-arm 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, 17 May 2013 23:01:52 -0000 --Apple-Mail=_5067653B-79DB-4003-A5BA-4E9E4B44DE79 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On May 17, 2013, at 5:20 PM, Adrian Chadd wrote: > ... so how do I do a userland build of a bootloader? :-) > Does crochet have extra stuff in it to build ports with alternate > roots and install-as-user options set? Or does it now require you have > them installed before you can build images? This is still pretty experimental, so feel free to chime in with better ideas. My thinking right now is essentially that: * Port/package creates = /usr/local/share/u-boot/u-boot-beaglebone/ * Crochet uses these files when it builds the image So yes, the port or package containing the boot bits would be a prerequisite. For the interim, this is not much worse than the current "you have to download the source and run crochet as root." This is basically driven from the observation that Crochet's current logic to build a boot loader contains essentially the same information (place to download source, patches, etc) that go into a FreeBSD port. So it avoids a chunk of duplication to make the boot loader builds be ports. I haven't thought through the non-root build case yet: Obviously, once the port/package is installed, using it as a non-root user is no problem. I suspect this is the common case. Building/installing the port as a non-root user should be feasible, but I haven't tinkered with that yet. Downloading/installing the package as a non-root user may also be feasible. Any suggestions? Tim > Thanks, >=20 >=20 > adrian >=20 >=20 > On 17 May 2013 14:08, wrote: >> At Fri, 17 May 2013 13:41:33 -0700, >> hiren panchasara wrote: >>>=20 >>> On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle = wrote: >>>> I'm trying to move the actual building of boot loaders out of = Crochet and into FreeBSD ports. >>>>=20 >>>> Here's the first attempt at such a port (many thanks to Diane Bruce = for patiently tutoring me through this): >>>>=20 >>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>>=20 >>>> I'd appreciate any feedback: >>>> * Can you build this? >>>=20 >>> Yes. >>>=20 >>> Its fetching things and I can see uboot generated in >>> work/u-boot-2013.04/ >>=20 >> It claims to require a cross building compiler in /usr/obj so I'm >> waiting for that to build on my laptop. >>=20 >>>> * Suggestions for improving it? >>>>=20 >>>> If this works, I plan to use it as a template for U-Boot for other >>>> platforms (RaspberryPi, Pandaboard, etc.). Crochet would then >>>> rely on these ports instead of building boot loaders itself. Even >>>> better, these will eventually be built by the package system and >>>> available through packages. >>>=20 >>> sweet! >>>=20 >>=20 >> Works for me. Thanks to both of you. >>=20 >> Best, >> George >> _______________________________________________ >> 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" > _______________________________________________ > 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" --Apple-Mail=_5067653B-79DB-4003-A5BA-4E9E4B44DE79 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRlrbdAAoJEGMNyGo0rfFBn1kIAOqUFfNHmjceX+HF0dawWY9B gqV9J9J5YqFCSQpNoyZ2YTitH3eJz/lwkXCIT/QqmiACYQYF3zgz85C47PjNxwO6 eUdX6RGapDD30EMBzfTy6oSwX8wUteeYC582PShiu0u+JAjZNMOT5H9J9B0+55mD tUmRMzMIigiDWVKwP4+2TDfjKrrCyWhUdoy7ztGL0fBJOpQF8BADYKnASX9IRCUB bK6olkoRqNFn32Mji106FkjueuGXPR+dkkmdGlGi85bDqVug8UFg3L/fjjLTA3Hd V27EozdXDOpJ7tTSnhbnEyct9Srou/W/Vyg/m/uSNCRRMbJS+EMxO2ELzlNcoK4= =HrS5 -----END PGP SIGNATURE----- --Apple-Mail=_5067653B-79DB-4003-A5BA-4E9E4B44DE79-- From owner-freebsd-arm@FreeBSD.ORG Sat May 18 03:48:16 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 15C77811; Sat, 18 May 2013 03:48:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) by mx1.freebsd.org (Postfix) with ESMTP id 54E6CE05; Sat, 18 May 2013 03:48:15 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id c10so801591wiw.3 for ; Fri, 17 May 2013 20:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=6rFbWPeT4VHPlBcmw8g1z3Radlc/SlBwd9OdHDcH1K4=; b=hEaQyAEzo3d6+pKC6Vi8UpJxnp6VnmvOH4eUJEmZMUVtNbCH5gfclNpOEbGvkuIEUF mDoHbEdcb0cx9ftZSNb8F57SOQARm3qSB9bjkhe+2lzGrbPV1AvIUv7V1OqWETtASytp 2eToJ0ai/4+PyqtnlzhlsK2QTYHXFdbUVHojjAeXufvskRXU2k8Sic4irpWvRN+vIJXw dko3z77SZZTYSxpeXB+H9wExi8gvXMCicy214/Cz7FfA/TVks2nQsOfG1NTJ4WqsSNIy /MA5iaR6O5/Fndo9SY/XBsWzHyRDrFu/A8iJVsT0ha9z7yRyyPQLS+SwNQNz9wGKMOtN /f5w== MIME-Version: 1.0 X-Received: by 10.194.21.101 with SMTP id u5mr3577727wje.56.1368848893990; Fri, 17 May 2013 20:48:13 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.58.138 with HTTP; Fri, 17 May 2013 20:48:13 -0700 (PDT) In-Reply-To: <8DC27DAB-FC30-4152-A408-4D666AD15875@freebsd.org> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <86vc6hpb5r.wl%gnn@neville-neil.com> <8DC27DAB-FC30-4152-A408-4D666AD15875@freebsd.org> Date: Fri, 17 May 2013 20:48:13 -0700 X-Google-Sender-Auth: K4ZmGqmFjq2v87nmeocmVuO592o Message-ID: Subject: Re: Port: U-Boot for BeagleBone From: Adrian Chadd To: Tim Kientzle Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm 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: Sat, 18 May 2013 03:48:16 -0000 This makes it really difficult to potentially support building FreeBSD images on non-FreeBSD platforms. It also means that people can do things like have out of date builds of things like bootloaders, mkuboot/mkuzimage, etc. That's why I'm kind of a bit worried about this trend. I'm likely going to go the opposite way with my stuff. Ie, if I do need bootloaders and such, I'll be packaging either the source trees, or ports themselves, as part of the "freebsd-wifi-image" build environment. I'll try to reuse the port build infrastructure as much as possible but I won't rely on many tools and external support software trees that aren't in /usr/src or the build environment itself. Thanks, adrian On 17 May 2013 16:01, Tim Kientzle wrote: > > On May 17, 2013, at 5:20 PM, Adrian Chadd wrote: > >> ... so how do I do a userland build of a bootloader? :-) > >> Does crochet have extra stuff in it to build ports with alternate >> roots and install-as-user options set? Or does it now require you have >> them installed before you can build images? > > This is still pretty experimental, so feel free to chime > in with better ideas. > > My thinking right now is essentially that: > > * Port/package creates /usr/local/share/u-boot/u-boot-beaglebone/ > * Crochet uses these files when it builds the image > > So yes, the port or package containing the boot bits > would be a prerequisite. For the interim, this is not > much worse than the current "you have to download > the source and run crochet as root." > > This is basically driven from the observation that Crochet's > current logic to build a boot loader contains essentially > the same information (place to download source, patches, etc) > that go into a FreeBSD port. So it avoids a chunk of duplication > to make the boot loader builds be ports. > > I haven't thought through the non-root build case yet: > > Obviously, once the port/package is installed, using it > as a non-root user is no problem. I suspect this is the > common case. > > Building/installing the port as a non-root user should > be feasible, but I haven't tinkered with that yet. > > Downloading/installing the package as a non-root user > may also be feasible. > > Any suggestions? > > Tim > > > >> Thanks, >> >> >> adrian >> >> >> On 17 May 2013 14:08, wrote: >>> At Fri, 17 May 2013 13:41:33 -0700, >>> hiren panchasara wrote: >>>> >>>> On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle wrote: >>>>> I'm trying to move the actual building of boot loaders out of Crochet and into FreeBSD ports. >>>>> >>>>> Here's the first attempt at such a port (many thanks to Diane Bruce for patiently tutoring me through this): >>>>> >>>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>>> >>>>> I'd appreciate any feedback: >>>>> * Can you build this? >>>> >>>> Yes. >>>> >>>> Its fetching things and I can see uboot generated in >>>> work/u-boot-2013.04/ >>> >>> It claims to require a cross building compiler in /usr/obj so I'm >>> waiting for that to build on my laptop. >>> >>>>> * Suggestions for improving it? >>>>> >>>>> If this works, I plan to use it as a template for U-Boot for other >>>>> platforms (RaspberryPi, Pandaboard, etc.). Crochet would then >>>>> rely on these ports instead of building boot loaders itself. Even >>>>> better, these will eventually be built by the package system and >>>>> available through packages. >>>> >>>> sweet! >>>> >>> >>> Works for me. Thanks to both of you. >>> >>> Best, >>> George >>> _______________________________________________ >>> 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" >> _______________________________________________ >> 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 Sat May 18 09:05: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]) by hub.freebsd.org (Postfix) with ESMTP id 458DDBAB; Sat, 18 May 2013 09:05:41 +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 2A3CE8A4; Sat, 18 May 2013 09:05:40 +0000 (UTC) Received: from bender (176-35-57-122.xdsl.murphx.net [176.35.57.122]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id C0CB05E1D8; Sat, 18 May 2013 09:05:38 +0000 (UTC) Date: Sat, 18 May 2013 10:05:12 +0100 From: Andrew Turner To: Tim Kientzle Subject: Re: Port: U-Boot for BeagleBone Message-ID: <20130518100512.57c47fe6@bender> In-Reply-To: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: db@freebsd.org, freebsd-arm , David Chisnall 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: Sat, 18 May 2013 09:05:41 -0000 On Fri, 17 May 2013 16:22:56 -0400 Tim Kientzle wrote: > I'm trying to move the actual building of boot loaders out of Crochet > and into FreeBSD ports. > > Here's the first attempt at such a port (many thanks to Diane Bruce > for patiently tutoring me through this): > > http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz > > I'd appreciate any feedback: > * Can you build this? > * Suggestions for improving it? Could you try installing devel/cross-binutils and devel/cross-gcc using TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It would mean the user doesn't need to have xdev set up. Andrew From owner-freebsd-arm@FreeBSD.ORG Sat May 18 09:29:01 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 84D8BF3A for ; Sat, 18 May 2013 09:29:01 +0000 (UTC) (envelope-from werner@thieprojects.ch) Received: from newton.metanet.ch (newton2.metanet.ch [80.74.158.131]) by mx1.freebsd.org (Postfix) with ESMTP id EA22A93E for ; Sat, 18 May 2013 09:29:00 +0000 (UTC) Received: (qmail 26216 invoked from network); 18 May 2013 11:28:53 +0200 Received: from 217-071-083-008.ip-tech.ch (HELO ?192.168.11.88?) (217.71.83.8) by newton.metanet.ch with ESMTPSA (DHE-RSA-AES256-SHA encrypted, authenticated); 18 May 2013 11:28:53 +0200 Message-ID: <519749D4.2070100@thieprojects.ch> Date: Sat, 18 May 2013 11:28:52 +0200 From: Werner Thie User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Port: U-Boot for BeagleBone References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <86vc6hpb5r.wl%gnn@neville-neil.com> <8DC27DAB-FC30-4152-A408-4D666AD15875@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm 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: Sat, 18 May 2013 09:29:01 -0000 Hi all On 5/18/13 5:48 AM, Adrian Chadd wrote: > This makes it really difficult to potentially support building FreeBSD > images on non-FreeBSD platforms. Hmm, but wasn't that the case for a long time, I remember failing to do a full rebuild of FreeBSD on the Mac a year ago, after lots of hand waving and hair scrathcing. I gave in to do everything on VM's running FreeBSD for now. Although now with clang/LLVM in the picture on FreeBSD too, I would probably have a better time now > It also means that people can do things like have out of date builds > of things like bootloaders, mkuboot/mkuzimage, etc. At least all the parts you have to worry about are in one place, somebody has to look after the system in some way Werner > That's why I'm kind of a bit worried about this trend. > > I'm likely going to go the opposite way with my stuff. Ie, if I do > need bootloaders and such, I'll be packaging either the source trees, > or ports themselves, as part of the "freebsd-wifi-image" build > environment. I'll try to reuse the port build infrastructure as much > as possible but I won't rely on many tools and external support > software trees that aren't in /usr/src or the build environment > itself. > > Thanks, > > > adrian > > On 17 May 2013 16:01, Tim Kientzle wrote: >> >> On May 17, 2013, at 5:20 PM, Adrian Chadd wrote: >> >>> ... so how do I do a userland build of a bootloader? :-) >> >>> Does crochet have extra stuff in it to build ports with alternate >>> roots and install-as-user options set? Or does it now require you have >>> them installed before you can build images? >> >> This is still pretty experimental, so feel free to chime >> in with better ideas. >> >> My thinking right now is essentially that: >> >> * Port/package creates /usr/local/share/u-boot/u-boot-beaglebone/ >> * Crochet uses these files when it builds the image >> >> So yes, the port or package containing the boot bits >> would be a prerequisite. For the interim, this is not >> much worse than the current "you have to download >> the source and run crochet as root." >> >> This is basically driven from the observation that Crochet's >> current logic to build a boot loader contains essentially >> the same information (place to download source, patches, etc) >> that go into a FreeBSD port. So it avoids a chunk of duplication >> to make the boot loader builds be ports. >> >> I haven't thought through the non-root build case yet: >> >> Obviously, once the port/package is installed, using it >> as a non-root user is no problem. I suspect this is the >> common case. >> >> Building/installing the port as a non-root user should >> be feasible, but I haven't tinkered with that yet. >> >> Downloading/installing the package as a non-root user >> may also be feasible. >> >> Any suggestions? >> >> Tim >> >> >> >>> Thanks, >>> >>> >>> adrian >>> >>> >>> On 17 May 2013 14:08, wrote: >>>> At Fri, 17 May 2013 13:41:33 -0700, >>>> hiren panchasara wrote: >>>>> >>>>> On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle wrote: >>>>>> I'm trying to move the actual building of boot loaders out of Crochet and into FreeBSD ports. >>>>>> >>>>>> Here's the first attempt at such a port (many thanks to Diane Bruce for patiently tutoring me through this): >>>>>> >>>>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>>>> >>>>>> I'd appreciate any feedback: >>>>>> * Can you build this? >>>>> >>>>> Yes. >>>>> >>>>> Its fetching things and I can see uboot generated in >>>>> work/u-boot-2013.04/ >>>> >>>> It claims to require a cross building compiler in /usr/obj so I'm >>>> waiting for that to build on my laptop. >>>> >>>>>> * Suggestions for improving it? >>>>>> >>>>>> If this works, I plan to use it as a template for U-Boot for other >>>>>> platforms (RaspberryPi, Pandaboard, etc.). Crochet would then >>>>>> rely on these ports instead of building boot loaders itself. Even >>>>>> better, these will eventually be built by the package system and >>>>>> available through packages. >>>>> >>>>> sweet! >>>>> >>>> >>>> Works for me. Thanks to both of you. >>>> >>>> Best, >>>> George >>>> _______________________________________________ >>>> 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" >>> _______________________________________________ >>> 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" >> > _______________________________________________ > 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 Sat May 18 11:58:54 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 30EE0345 for ; Sat, 18 May 2013 11:58:54 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 01A20DC8 for ; Sat, 18 May 2013 11:58:53 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id ar20so10957963iec.39 for ; Sat, 18 May 2013 04:58:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=PBK5i86SlSjX6E2HucuEZVbgyNJviX8XMmBuNs9+q8o=; b=UNj+VHcTApoidhOy1WkZ9k9cutEVYGBDkejYj9c4876Q7P6nUQDtO3TtXGiYgT5rbk Kfs0n9+y52DoAN7pfKB8INOrE6pSdf1y6/TtnsLrjcUL4welaAxxeuERFe1lkC7HgjjX 1w2b8n56O5xaNtuMuYZxr57eyj88HVHXinbRakwgxCSXiILJlEwMv2ezTeDT31WNV17X 4EuerkaW5T9DcfShCPdJIH50c98o0w9DKTBz2sBTCmMotT87ZkIPYrrTDgOaTdpvvqbG kyIve+jWcN+jgeGRqz8v7gUa1KoF5JGt+sXGM4TH0/QenAp7Boex0v3vszj2O5W9S0TO /ong== X-Received: by 10.50.130.98 with SMTP id od2mr949629igb.21.1368878333602; Sat, 18 May 2013 04:58:53 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id ua6sm1990052igb.0.2013.05.18.04.58.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 04:58:52 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sat, 18 May 2013 07:58:50 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <4C0D8A36-DBFC-46D4-9BED-81782BB35668@bsdimp.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <86vc6hpb5r.wl%gnn@neville-neil.com> <8DC27DAB-FC30-4152-A408-4D666AD15875@freebsd.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlxxYMDYiiYN78g9FyjDxjXSwpXuBsGyHFP1o6f57HQaPrB0+prkmvk5MCZDGruQdmqiSxq Cc: freebsd-arm 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: Sat, 18 May 2013 11:58:54 -0000 On May 17, 2013, at 11:48 PM, Adrian Chadd wrote: > This makes it really difficult to potentially support building FreeBSD > images on non-FreeBSD platforms. >=20 > It also means that people can do things like have out of date builds > of things like bootloaders, mkuboot/mkuzimage, etc. >=20 > That's why I'm kind of a bit worried about this trend. >=20 > I'm likely going to go the opposite way with my stuff. Ie, if I do > need bootloaders and such, I'll be packaging either the source trees, > or ports themselves, as part of the "freebsd-wifi-image" build > environment. I'll try to reuse the port build infrastructure as much > as possible but I won't rely on many tools and external support > software trees that aren't in /usr/src or the build environment > itself. Actually the notion is that you'd always fetch the latest port/package = and build/install it before moving onto the image creation phase. Things = are still just as integrated, but we have a unified framework to do them = that doesn't reinvent wheels (badly). Warner > On 17 May 2013 16:01, Tim Kientzle wrote: >>=20 >> On May 17, 2013, at 5:20 PM, Adrian Chadd wrote: >>=20 >>> ... so how do I do a userland build of a bootloader? :-) >>=20 >>> Does crochet have extra stuff in it to build ports with alternate >>> roots and install-as-user options set? Or does it now require you = have >>> them installed before you can build images? >>=20 >> This is still pretty experimental, so feel free to chime >> in with better ideas. >>=20 >> My thinking right now is essentially that: >>=20 >> * Port/package creates = /usr/local/share/u-boot/u-boot-beaglebone/ >> * Crochet uses these files when it builds the image >>=20 >> So yes, the port or package containing the boot bits >> would be a prerequisite. For the interim, this is not >> much worse than the current "you have to download >> the source and run crochet as root." >>=20 >> This is basically driven from the observation that Crochet's >> current logic to build a boot loader contains essentially >> the same information (place to download source, patches, etc) >> that go into a FreeBSD port. So it avoids a chunk of duplication >> to make the boot loader builds be ports. >>=20 >> I haven't thought through the non-root build case yet: >>=20 >> Obviously, once the port/package is installed, using it >> as a non-root user is no problem. I suspect this is the >> common case. >>=20 >> Building/installing the port as a non-root user should >> be feasible, but I haven't tinkered with that yet. >>=20 >> Downloading/installing the package as a non-root user >> may also be feasible. >>=20 >> Any suggestions? >>=20 >> Tim >>=20 >>=20 >>=20 >>> Thanks, >>>=20 >>>=20 >>> adrian >>>=20 >>>=20 >>> On 17 May 2013 14:08, wrote: >>>> At Fri, 17 May 2013 13:41:33 -0700, >>>> hiren panchasara wrote: >>>>>=20 >>>>> On Fri, May 17, 2013 at 1:22 PM, Tim Kientzle = wrote: >>>>>> I'm trying to move the actual building of boot loaders out of = Crochet and into FreeBSD ports. >>>>>>=20 >>>>>> Here's the first attempt at such a port (many thanks to Diane = Bruce for patiently tutoring me through this): >>>>>>=20 >>>>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>>>>=20 >>>>>> I'd appreciate any feedback: >>>>>> * Can you build this? >>>>>=20 >>>>> Yes. >>>>>=20 >>>>> Its fetching things and I can see uboot generated in >>>>> work/u-boot-2013.04/ >>>>=20 >>>> It claims to require a cross building compiler in /usr/obj so I'm >>>> waiting for that to build on my laptop. >>>>=20 >>>>>> * Suggestions for improving it? >>>>>>=20 >>>>>> If this works, I plan to use it as a template for U-Boot for = other >>>>>> platforms (RaspberryPi, Pandaboard, etc.). Crochet would then >>>>>> rely on these ports instead of building boot loaders itself. = Even >>>>>> better, these will eventually be built by the package system and >>>>>> available through packages. >>>>>=20 >>>>> sweet! >>>>>=20 >>>>=20 >>>> Works for me. Thanks to both of you. >>>>=20 >>>> Best, >>>> George >>>> _______________________________________________ >>>> 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" >>> _______________________________________________ >>> 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" >>=20 > _______________________________________________ > 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 Sat May 18 11:59:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 914B046D for ; Sat, 18 May 2013 11:59:36 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 65772DE0 for ; Sat, 18 May 2013 11:59:36 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x12so10954398ief.40 for ; Sat, 18 May 2013 04:59:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=VI7auycmvuuD/ii1dCdstq5LdG4eWBCaq/FYE6Eg7wE=; b=Faj/mKXXNT4JEILDS53Z0MwLvNWAh//y2WiZ22MDmCdv9jJX1MX8TFo+fw/e6BpEgZ 4m301TVY1SFukZC6x9scgZVDA39ne5B3ps8e720bJdgGFrfrhuRRYx3A17NaO6L+I/FE MHLMCv9uZ0m+huWIzajGqQInvCPd7Bbv8gkQDERybduUC6b9LtdLheL0uAqRVZjspabJ oHpfNlfsU+A4Bs61KIDAo6pRp9Rsptc4QYSnjd9mUMZsyfGZaOU3zqaeO2oyPSxB0qk7 Rtro4HiYeUocFFTUqeBn+lBN5al2/7z2mcoMKG9R+A6oIVFx6IgFv9VlFK8Bzjt0oaAi 8w5A== X-Received: by 10.50.117.42 with SMTP id kb10mr919217igb.78.1368878376153; Sat, 18 May 2013 04:59:36 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id ua6sm1990052igb.0.2013.05.18.04.59.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 04:59:35 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20130518100512.57c47fe6@bender> Date: Sat, 18 May 2013 07:59:34 -0400 Content-Transfer-Encoding: 7bit Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> To: Andrew Turner X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmheVMnlKFOss8x9ExGZslXizNC46/HIYelCIBMRzZu8wi0jv7hDGkIredDksoZrs/WHPhi Cc: db@freebsd.org, freebsd-arm , David Chisnall 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: Sat, 18 May 2013 11:59:36 -0000 On May 18, 2013, at 5:05 AM, Andrew Turner wrote: > On Fri, 17 May 2013 16:22:56 -0400 > Tim Kientzle wrote: > >> I'm trying to move the actual building of boot loaders out of Crochet >> and into FreeBSD ports. >> >> Here's the first attempt at such a port (many thanks to Diane Bruce >> for patiently tutoring me through this): >> >> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >> >> I'd appreciate any feedback: >> * Can you build this? >> * Suggestions for improving it? > > Could you try installing devel/cross-binutils and devel/cross-gcc using > TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It > would mean the user doesn't need to have xdev set up. And might mean fewer patches... Warner From owner-freebsd-arm@FreeBSD.ORG Sat May 18 12:52:34 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 09EA0FA1; Sat, 18 May 2013 12:52:34 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [66.113.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id E9840FB9; Sat, 18 May 2013 12:52:33 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id D0DE72AA380; Sat, 18 May 2013 06:52:31 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 8EB471CC0E; Sat, 18 May 2013 07:52:30 -0500 (EST) Date: Sat, 18 May 2013 07:52:30 -0500 From: Diane Bruce To: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Message-ID: <20130518125230.GA70638@night.db.net> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arm , David Chisnall 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: Sat, 18 May 2013 12:52:34 -0000 On Sat, May 18, 2013 at 07:59:34AM -0400, Warner Losh wrote: > > On May 18, 2013, at 5:05 AM, Andrew Turner wrote: > > > On Fri, 17 May 2013 16:22:56 -0400 > > Tim Kientzle wrote: > > > >> I'm trying to move the actual building of boot loaders out of Crochet > >> and into FreeBSD ports. > >> > >> Here's the first attempt at such a port (many thanks to Diane Bruce > >> for patiently tutoring me through this): > >> > >> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz > >> > >> I'd appreciate any feedback: > >> * Can you build this? > >> * Suggestions for improving it? > > > > Could you try installing devel/cross-binutils and devel/cross-gcc using > > TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It > > would mean the user doesn't need to have xdev set up. > > And might mean fewer patches... It would then be trivial to integrate that into the port itself. Or depending on what is needed, only use the devel/cross* tools on < FreeBSD 10 etc. P.S. I'm now on FreeBSD-arm, no need to cc me specifically. Hopefully Tim and I will meet up again today. > > Warner > > _______________________________________________ > 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" - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:17:49 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CDB22F43 for ; Sat, 18 May 2013 14:17:49 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id A0B642A9 for ; Sat, 18 May 2013 14:17:49 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id s9so10895001iec.6 for ; Sat, 18 May 2013 07:17:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=NSoDcfhxFKRi7MEd5XmOmu3X/KWRFjclp1bZ+7Gazjg=; b=p3DfyjtfA84RN/C6VUSPOBwfXeBKfgMfP+PkQSwltNrM5PlcnAfyR9BYrNryj1iP4o csQeIAy+H/0qYn909J7TC9pHTHsp2Tup3kRW5YAV2Ys4MSOQPuWQXCopDgCQkx88KS7C zG33EiaeXp4ZoPtrK/AXXAT7bDLTS4ZgjC6dZkqMMlwJxqog4AIL3DZSV7zXbUO3PocL N7OFSbQ2b2USQzrbLqnktZLJGcucrXMmRLsbfT5JvYOL43J6tvMZd4y/sOc/MrR9Oaq3 LQrbMuOIw5yE0RlZvoJl9UrBGF2r9+tu3QHGiGQ3mIIdV000hdJqLHZX2pLeA2PWmUUL InXg== X-Received: by 10.50.213.41 with SMTP id np9mr1139404igc.79.1368886669329; Sat, 18 May 2013 07:17:49 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id o10sm2428598igh.2.2013.05.18.07.17.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:17:48 -0700 (PDT) Sender: Tim Kientzle Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20130518100512.57c47fe6@bender> Date: Sat, 18 May 2013 10:17:44 -0400 Content-Transfer-Encoding: 7bit Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> To: Andrew Turner X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQllQG/j1skI9j3i+wOuyPeHxIHS60W/qqrCZDrdIMWbCuXq7dEbI3LEJuRUy38rreYgt2sv Cc: db@freebsd.org, freebsd-arm , David Chisnall 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: Sat, 18 May 2013 14:17:49 -0000 On May 18, 2013, at 5:05 AM, Andrew Turner wrote: > On Fri, 17 May 2013 16:22:56 -0400 > Tim Kientzle wrote: > >> I'm trying to move the actual building of boot loaders out of Crochet >> and into FreeBSD ports. >> >> Here's the first attempt at such a port (many thanks to Diane Bruce >> for patiently tutoring me through this): >> >> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >> >> I'd appreciate any feedback: >> * Can you build this? >> * Suggestions for improving it? > > Could you try installing devel/cross-binutils and devel/cross-gcc using > TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It > would mean the user doesn't need to have xdev set up. I'll definitely give that a try. More importantly than the user, I'm concerned about the package-building cluster. One of the goals here is to get the packages built automatically so that not everybody has to build the boot loaders themselves. I've not used the devel/cross-ZZZ tools before, so it will take me a little while to experiment. Ideally, the U-Boot port would just require the cross tools. Tim From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:28:14 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F1BAFFC for ; Sat, 18 May 2013 14:28:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 41AC82EC for ; Sat, 18 May 2013 14:28:14 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id k5so11296972iea.4 for ; Sat, 18 May 2013 07:28:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=O5oD/c6VPH2WehcBnNx07xX1pwZN8q3u9gC7jxhn1XI=; b=f58LMzaDu8r4/GaqUhYM0HSV4a+es3cvE0wVelXlDUBbRCY5mkr+vlRwJH+aElzR+d 3n/Fs/sVTM0xUxn989p4vyvWWMTlqHI78btCzofsDXpT57KLf8zbD6FaWBb0U/K24lzV CpO/iBSSxz5h4onTNoUY8crXCnhI1A5r5fc5K3udx7/Rw/qqTKW0Xf8ZOhYNF6hHVVow PEIBjJCSN586tNRNwR9+1JGza9qQoPFGkKOjhoD+BVqY1gtLPFFKUEiZNN5rRNAIjuiV BrVRdt9fTx13e8xH0oB2wxuLa0hSw72LcDJGoumnKmQYEb/6gQZWZfTUmZ+tmVbhmkVG aa/A== X-Received: by 10.50.114.106 with SMTP id jf10mr1140657igb.111.1368887293583; Sat, 18 May 2013 07:28:13 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id ct8sm2423518igb.7.2013.05.18.07.28.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:28:12 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sat, 18 May 2013 10:28:10 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkGKlraK5bBr7bNvBmGHa7+bLTYyiJBvSvYimhQzcJjqcxd/NZnkWzr/WtJBXIX0syLmNaN Cc: db@freebsd.org, freebsd-arm , David Chisnall 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: Sat, 18 May 2013 14:28:14 -0000 On May 18, 2013, at 10:17 AM, Tim Kientzle wrote: >=20 > On May 18, 2013, at 5:05 AM, Andrew Turner wrote: >=20 >> On Fri, 17 May 2013 16:22:56 -0400 >> Tim Kientzle wrote: >>=20 >>> I'm trying to move the actual building of boot loaders out of = Crochet >>> and into FreeBSD ports. >>>=20 >>> Here's the first attempt at such a port (many thanks to Diane Bruce >>> for patiently tutoring me through this): >>>=20 >>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>=20 >>> I'd appreciate any feedback: >>> * Can you build this? >>> * Suggestions for improving it? >>=20 >> Could you try installing devel/cross-binutils and devel/cross-gcc = using >> TGTARCH=3Darm and TGTABI=3Dnone-eabi and using these to build u-boot? = It >> would mean the user doesn't need to have xdev set up. >=20 > I'll definitely give that a try. >=20 > More importantly than the user, I'm concerned about the > package-building cluster. One of the goals here is to > get the packages built automatically so that not everybody > has to build the boot loaders themselves. >=20 > I've not used the devel/cross-ZZZ tools before, so > it will take me a little while to experiment. Ideally, > the U-Boot port would just require the cross tools. A long time ago I was able to build u-boot using the cross-* ports... = They even have wrapper ports so you can get the write dependencies. Make = sure these are build-time dependencies not run-time dependencies and all = that will be installed will be the u-boot images... Warner From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:38:39 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BBDD234A for ; Sat, 18 May 2013 14:38:39 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 9008A355 for ; Sat, 18 May 2013 14:38:39 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at1so10874852iec.7 for ; Sat, 18 May 2013 07:38:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:content-type:x-gm-message-state; bh=EoMFzh4rFYbaRy8m4mhr5nWE9FDXVS0RYPC3pkAhAgk=; b=LCZn4DU5I1EFX3vIEx+IqDd6LuF79tkY/5bi2SjASDvY1esKwSYrnqA/YMHHOnfenG upwoDki54/HRCA3I2FRdv80hqk7y5g8pLTRjioDSeqwWB/E3Olb9WfQQ9JRtIcHlfD2E q4f8zpC7+U1mE5ZknPunL/rk0eX+XrrAK8+FtE5es58uLHdEyky5w+t2gTDUKbjlNKW9 eYPyyQT8/Uum34C48mE63jlB7pHiHfJghv1vpBy8kCvu6gwYUjv4IYAgYEekQceSUaRk Y8PrDlocTU1cebZCUOEyhaaNtb0408Be1ZDTvArk6tyj6rGxYyuuf8NmEDcX40Yh19kP VzDQ== MIME-Version: 1.0 X-Received: by 10.50.92.69 with SMTP id ck5mr1124616igb.107.1368887919135; Sat, 18 May 2013 07:38:39 -0700 (PDT) Received: by 10.42.211.133 with HTTP; Sat, 18 May 2013 07:38:39 -0700 (PDT) X-Originating-IP: [120.148.193.158] In-Reply-To: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> Date: Sun, 19 May 2013 00:38:39 +1000 Message-ID: Subject: Re: Port: U-Boot for BeagleBone From: Jason Birch To: freebsd-arm X-Gm-Message-State: ALoCoQn/TTMgeeV0oXQV5QmnwAQpvmRQhVcqVyMCwZ6HVKzDsuDrQWLeB2II6nJ4mkz3qcNxxHlq 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: Sat, 18 May 2013 14:38:39 -0000 I'm not sure how it'd work internally in the ports tree (I'm a ports consumer, not a contributor), but I'd find it weird if a U-Boot port required me to get any devel/cross-* ports if U-Boot was able to be built by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, CXX. I don't know the solution to this, given that it's probably not acceptable to have a port configuration item that says "[X] Use Clang" - that sort of compiler configuration is 'external' to the ports tree, if you get my meaning. What I mean by that is it's generally a world configuration in /etc/make.conf or set as an environmental variable before invoking make, rather than explicit port configuration. It might be enough to just have a note in the ports tree that it will require devel/cross- - I'm unaware of any other examples you could use for precedent, but I'm sure they would exist. On Sun, May 19, 2013 at 12:28 AM, Warner Losh wrote: > > On May 18, 2013, at 10:17 AM, Tim Kientzle wrote: > > > > > On May 18, 2013, at 5:05 AM, Andrew Turner wrote: > > > >> On Fri, 17 May 2013 16:22:56 -0400 > >> Tim Kientzle wrote: > >> > >>> I'm trying to move the actual building of boot loaders out of Crochet > >>> and into FreeBSD ports. > >>> > >>> Here's the first attempt at such a port (many thanks to Diane Bruce > >>> for patiently tutoring me through this): > >>> > >>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz > >>> > >>> I'd appreciate any feedback: > >>> * Can you build this? > >>> * Suggestions for improving it? > >> > >> Could you try installing devel/cross-binutils and devel/cross-gcc using > >> TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It > >> would mean the user doesn't need to have xdev set up. > > > > I'll definitely give that a try. > > > > More importantly than the user, I'm concerned about the > > package-building cluster. One of the goals here is to > > get the packages built automatically so that not everybody > > has to build the boot loaders themselves. > > > > I've not used the devel/cross-ZZZ tools before, so > > it will take me a little while to experiment. Ideally, > > the U-Boot port would just require the cross tools. > > A long time ago I was able to build u-boot using the cross-* ports... They > even have wrapper ports so you can get the write dependencies. Make sure > these are build-time dependencies not run-time dependencies and all that > will be installed will be the u-boot images... > > Warner > > _______________________________________________ > 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 Sat May 18 14:39:15 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E000387 for ; Sat, 18 May 2013 14:39:15 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ia0-x22d.google.com (mail-ia0-x22d.google.com [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 3C07C35B for ; Sat, 18 May 2013 14:39:15 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id k20so5995589iak.4 for ; Sat, 18 May 2013 07:39:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=GmkY83iXxFKIN0IjrBkVfWlQab1AAa13qgdhHKxy8V0=; b=e+kQRwDeWlh7WZuwwDJsOXG/1bHtEIBILsOXytr8eYe9pryqeJlf/gIStwroIlwZWA b+/USiHsYJgeRbY7k+Q8g+vuDsdMukkqFFkAsI1Uug2yt9IB8HTvQ+Jviiq1gtJJAh0e 0eP87Re9ZIVs6XhHAwwEvCgaI0NW528+hBCO7DU5BhUW7Qf6qr8vCA7W6LExOvP3iWrM 6SrgNkj9t4ABfxe1F48Dwm6Wj6Wp1WaJZxys6RTk9Z+AI96W43mvh3HIlCQRh5xuErgY XMPsAYRy8Jw+xR0U/iPy4mY3RLhz9lJmkbKNGHMsqS/2o9LnlQA4AmTuFR5R3TwXyjfF tPNQ== X-Received: by 10.50.117.7 with SMTP id ka7mr1125237igb.107.1368887954865; Sat, 18 May 2013 07:39:14 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id 9sm2454169igy.7.2013.05.18.07.39.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:39:14 -0700 (PDT) Sender: Tim Kientzle Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_3A88E57E-E54A-4F9A-B4B2-142891E34F9B"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: Date: Sat, 18 May 2013 10:39:11 -0400 Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <86vc6hpb5r.wl%gnn@neville-neil.com> <8DC27DAB-FC30-4152-A408-4D666AD15875@freebsd.org> To: Adrian Chadd X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQkHEqagrwhsndOKVKojKztB5puX2evBKeZwwNCyCXZwt8JFClJ7YJqC0w9Rk4IEGG1rqT0L Cc: freebsd-arm 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: Sat, 18 May 2013 14:39:15 -0000 --Apple-Mail=_3A88E57E-E54A-4F9A-B4B2-142891E34F9B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On May 17, 2013, at 11:48 PM, Adrian Chadd wrote: > This makes it really difficult to potentially support building FreeBSD > images on non-FreeBSD platforms. Maybe not. Even non-FreeBSD platforms should be able to download the FreeBSD package from an HTTP server somewhere. That package file is ultimately just a tar archive with the boot bits inside it. > It also means that people can do things like have out of date builds > of things like bootloaders, mkuboot/mkuzimage, etc. Building from source doesn't protect you from being out of date. I've been bitten several times by having several-months-old U-Boot or FreeBSD sources on my system. > I'm likely going to go the opposite way with my stuff. Ie, if I do > need bootloaders and such, I'll be packaging ... Great! It's always good to have different people trying different approaches to see how they work. Have you given any thought to how to keep bundled sources up-to-date? For example, U-Boot support for new platforms can evolve very quickly sometimes. Tim --Apple-Mail=_3A88E57E-E54A-4F9A-B4B2-142891E34F9B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRl5KQAAoJEGMNyGo0rfFBft8IANTyJTQukAF4MqHIpFFFF57u t1ymIofZbO9l7Ko9sfsP/xsLu5rbTrIFKuPge8u426LHrGGVU4unGCvVZyy1DVGF aGquQ7gBr4WUL/fkTCXtz6+ICQNNG00oncIy7dXtu21nXWN0lHUELhLE6hVtiWe8 h76kJzFJvH+YXQVXnu+1Zm9W49T6Uqfd0tSox6kaMfw9AFmUcGVx9RQBA0e9knf3 xwxyWQjGQry8cKGoTS7otJZiDUyWwLMfyZv/MF1PH0M/5DAxVAam5efIzIjsDZYP wKTwnUxRaWyQeIK1bpQTWEZvp9EoxG8RIC2JUm00hDnyJCOBcsl8HwuGp+VroBo= =jamg -----END PGP SIGNATURE----- --Apple-Mail=_3A88E57E-E54A-4F9A-B4B2-142891E34F9B-- From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:41:52 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E83C23D9 for ; Sat, 18 May 2013 14:41:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id BA0DA367 for ; Sat, 18 May 2013 14:41:52 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id e11so11347415iej.30 for ; Sat, 18 May 2013 07:41:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=pZFsy9Amyeq+HiOaEJ40qnO5VYKck18pc7femSbWCig=; b=To9HTQH3tUr5RwbiiyZIqBYWxT226cN4zxNSGDGxHU3ejMfv5B95pIYmg+huvvBsbd dFnUy205x6wH4/xqpAoK6V9pVMAzDGQGMX9wsRkPsQtrFRWVfaBhoNjbuT3SshBnMWnu 9YFDatJ8/+al6d4m9ribLX0G56aUTOyZ/Vr0xT9PIJJE0xtPlUt8hpbp3Kl4kwg7nwFl OeTlQYtl6SLeojTQuxD31+tPTQHMvVMW/NXbxRy+Cnsy6+fS5HkWvdFjuRdlGRPpQfnW Uu/pUyOHd6akvMyVB8R4DIucZHzpChDCWT+OWfWlgJ91GiPPnHGHR818cEEUChCo6RSi vRBg== X-Received: by 10.50.13.100 with SMTP id g4mr1240703igc.73.1368888112445; Sat, 18 May 2013 07:41:52 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id 9sm2464030igy.7.2013.05.18.07.41.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:41:51 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sat, 18 May 2013 10:41:48 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> To: Jason Birch X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQkr4B40QssGHiKoez/MAUZ0yz5HDtHACqWlk+Fvx9p82vzZKI8X2VX28c84EyTClHjDqiLf Cc: freebsd-arm 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: Sat, 18 May 2013 14:41:53 -0000 On May 18, 2013, at 10:38 AM, Jason Birch wrote: > I'm not sure how it'd work internally in the ports tree (I'm a ports > consumer, not a contributor), but I'd find it weird if a U-Boot port > required me to get any devel/cross-* ports if U-Boot was able to be = built > by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, = CXX. u-boot can't be built with clang. This will likely not change in the = foreseeable future. > I don't know the solution to this, given that it's probably not = acceptable > to have a port configuration item that says "[X] Use Clang" - that = sort of > compiler configuration is 'external' to the ports tree, if you get my > meaning. What I mean by that is it's generally a world configuration = in > /etc/make.conf or set as an environmental variable before invoking = make, > rather than explicit port configuration. >=20 > It might be enough to just have a note in the ports tree that it will > require devel/cross- - I'm unaware of any other examples you > could use for precedent, but I'm sure they would exist. There are many ports in the tree that just use a newer version of gcc to = compile, regardless of what options you have set. Warner > On Sun, May 19, 2013 at 12:28 AM, Warner Losh wrote: >=20 >>=20 >> On May 18, 2013, at 10:17 AM, Tim Kientzle wrote: >>=20 >>>=20 >>> On May 18, 2013, at 5:05 AM, Andrew Turner wrote: >>>=20 >>>> On Fri, 17 May 2013 16:22:56 -0400 >>>> Tim Kientzle wrote: >>>>=20 >>>>> I'm trying to move the actual building of boot loaders out of = Crochet >>>>> and into FreeBSD ports. >>>>>=20 >>>>> Here's the first attempt at such a port (many thanks to Diane = Bruce >>>>> for patiently tutoring me through this): >>>>>=20 >>>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>>>=20 >>>>> I'd appreciate any feedback: >>>>> * Can you build this? >>>>> * Suggestions for improving it? >>>>=20 >>>> Could you try installing devel/cross-binutils and devel/cross-gcc = using >>>> TGTARCH=3Darm and TGTABI=3Dnone-eabi and using these to build = u-boot? It >>>> would mean the user doesn't need to have xdev set up. >>>=20 >>> I'll definitely give that a try. >>>=20 >>> More importantly than the user, I'm concerned about the >>> package-building cluster. One of the goals here is to >>> get the packages built automatically so that not everybody >>> has to build the boot loaders themselves. >>>=20 >>> I've not used the devel/cross-ZZZ tools before, so >>> it will take me a little while to experiment. Ideally, >>> the U-Boot port would just require the cross tools. >>=20 >> A long time ago I was able to build u-boot using the cross-* ports... = They >> even have wrapper ports so you can get the write dependencies. Make = sure >> these are build-time dependencies not run-time dependencies and all = that >> will be installed will be the u-boot images... >>=20 >> Warner >>=20 >> _______________________________________________ >> 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" >>=20 > _______________________________________________ > 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 Sat May 18 14:43:58 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8AFF4426 for ; Sat, 18 May 2013 14:43:58 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD4C371 for ; Sat, 18 May 2013 14:43:58 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id c13so11409373ieb.10 for ; Sat, 18 May 2013 07:43:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=Xlo4w0S0Delf+ySntPFfqnrJvslvCXIQkfhmaCKywkU=; b=HA4s0M19YEGKn8Wdigrqe6spBRxZ7CVHgAX85n3rqbq/ND6Cb4YFWnpDOqUCX4B6Vt 6+fsaVryuSNuEfHNdh4Sg6s0nTUGGty3jAzIOBqqrlw76xGOaShueFFAg8NxHPkrMOLz TcNID1W2bEVqbLv0M1wuMQk77hnPcxvHefbhT9FuiPbuLohgM7Inn/d7LqyXmmavBslf O28x2yL1gVZNlU/CRQYhoFLOz12LCXVh4Gi2ezMZaWlDJf8Cz66viaitV5FxeulM4Xsa 8oll+b9P77ozZkYGUrK0OrKnEagQBKDdRXEqYkMJoFRXHCjYiPMZ4TLzoofkymG7K6w9 soTg== X-Received: by 10.50.13.100 with SMTP id g4mr1244713igc.73.1368888238071; Sat, 18 May 2013 07:43:58 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id qs4sm2455943igb.10.2013.05.18.07.43.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:43:57 -0700 (PDT) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Sat, 18 May 2013 10:43:54 -0400 Content-Transfer-Encoding: 7bit Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> To: Jason Birch X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQnu1fYjAnF9vpSiQZ5As4J6n90bAua/Vx7dzkXGj6Z1sODcGV8Do5qHFXD9NpA0vZsEQgZg Cc: freebsd-arm 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: Sat, 18 May 2013 14:43:58 -0000 For now, having it rely on devel/cross-* ports should work. Yes, the clang cross-compilers should allow us to get rid of that dependency someday. There are two obstacles: * The clang cross-compilers aren't fully exposed yet (E.g., there is no arm-freebsd-cc symlink installed by default). * binutils -- promising stuff is in the works, but it's at least a few months out. On May 18, 2013, at 10:38 AM, Jason Birch wrote: > I'm not sure how it'd work internally in the ports tree (I'm a ports > consumer, not a contributor), but I'd find it weird if a U-Boot port > required me to get any devel/cross-* ports if U-Boot was able to be built > by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, CXX. > > I don't know the solution to this, given that it's probably not acceptable > to have a port configuration item that says "[X] Use Clang" - that sort of > compiler configuration is 'external' to the ports tree, if you get my > meaning. What I mean by that is it's generally a world configuration in > /etc/make.conf or set as an environmental variable before invoking make, > rather than explicit port configuration. > > It might be enough to just have a note in the ports tree that it will > require devel/cross- - I'm unaware of any other examples you > could use for precedent, but I'm sure they would exist. > > > On Sun, May 19, 2013 at 12:28 AM, Warner Losh wrote: > >> >> On May 18, 2013, at 10:17 AM, Tim Kientzle wrote: >> >>> >>> On May 18, 2013, at 5:05 AM, Andrew Turner wrote: >>> >>>> On Fri, 17 May 2013 16:22:56 -0400 >>>> Tim Kientzle wrote: >>>> >>>>> I'm trying to move the actual building of boot loaders out of Crochet >>>>> and into FreeBSD ports. >>>>> >>>>> Here's the first attempt at such a port (many thanks to Diane Bruce >>>>> for patiently tutoring me through this): >>>>> >>>>> http://people.freebsd.org/~kientzle/u-boot-beaglebone.tgz >>>>> >>>>> I'd appreciate any feedback: >>>>> * Can you build this? >>>>> * Suggestions for improving it? >>>> >>>> Could you try installing devel/cross-binutils and devel/cross-gcc using >>>> TGTARCH=arm and TGTABI=none-eabi and using these to build u-boot? It >>>> would mean the user doesn't need to have xdev set up. >>> >>> I'll definitely give that a try. >>> >>> More importantly than the user, I'm concerned about the >>> package-building cluster. One of the goals here is to >>> get the packages built automatically so that not everybody >>> has to build the boot loaders themselves. >>> >>> I've not used the devel/cross-ZZZ tools before, so >>> it will take me a little while to experiment. Ideally, >>> the U-Boot port would just require the cross tools. >> >> A long time ago I was able to build u-boot using the cross-* ports... They >> even have wrapper ports so you can get the write dependencies. Make sure >> these are build-time dependencies not run-time dependencies and all that >> will be installed will be the u-boot images... >> >> Warner >> >> _______________________________________________ >> 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" >> > _______________________________________________ > 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 Sat May 18 14:46:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 132FF46F for ; Sat, 18 May 2013 14:46:20 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id D9A3537D for ; Sat, 18 May 2013 14:46:19 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id a14so11279151iee.13 for ; Sat, 18 May 2013 07:46:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=4WUVsxBmu1R9c9d7MoNxMjcDA5MjXK5Tdp+5k/ReVVE=; b=KP2dKI+AM4NvY/St77nlYmk6ahgAWot0NSi7AXOLk77eZWmGU0Kh0VUzlRQYg6vD2U a9HNyDWJkOyvssmHxQKHZQF4d45aJ5eejEI1nuM1jefGQqIU7IPSY/mLGpvByck7vLY1 ltEAsZuL/fQAmxalD0ZHM+Zag5CpfsVQE7HdHh0H79qQ4Fvm7p5my0Tivocl2rszeRC1 eX1l5D2fBScN+PFTH0AadBgqpNk173ScMn002MepAl0MnOUZRvU/FpRrJ+ZYBGH6Nj0I KLNHqGFlHRxTGeZQFMNVqNgq60aGFLqrNEFSgiy/eUxdxsHFH3vghRIB/+L/IcIPI/8m tA5Q== X-Received: by 10.50.72.18 with SMTP id z18mr1242328igu.0.1368888379657; Sat, 18 May 2013 07:46:19 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id o10sm2532608igh.2.2013.05.18.07.46.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:46:19 -0700 (PDT) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> Date: Sat, 18 May 2013 10:46:16 -0400 Content-Transfer-Encoding: 7bit Message-Id: <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQlyLMXn71TX8JOcvw9Fg5zrgPmRp/Mtt89+CefzV4Y7te85hKmCdbv1x6MExsm84y0m5vFF Cc: freebsd-arm 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: Sat, 18 May 2013 14:46:20 -0000 On May 18, 2013, at 10:41 AM, Warner Losh wrote: > > On May 18, 2013, at 10:38 AM, Jason Birch wrote: > >> I'm not sure how it'd work internally in the ports tree (I'm a ports >> consumer, not a contributor), but I'd find it weird if a U-Boot port >> required me to get any devel/cross-* ports if U-Boot was able to be built >> by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, CXX. > > u-boot can't be built with clang. Yes, it can. Since the ARM clang switch was thrown, the xdev tools now build clang (unnecessarily, of course). U-Boot builds just fine with it: $ armv6-freebsd-cc --version FreeBSD clang version 3.3 (trunk 178860) 20130405 Target: armv6--freebsd Thread model: posix Tim From owner-freebsd-arm@FreeBSD.ORG Sat May 18 14:54:42 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 51E84593 for ; Sat, 18 May 2013 14:54:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x233.google.com (mail-ia0-x233.google.com [IPv6:2607:f8b0:4001:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id 22E4F3DC for ; Sat, 18 May 2013 14:54:42 +0000 (UTC) Received: by mail-ia0-f179.google.com with SMTP id i20so4657188ian.24 for ; Sat, 18 May 2013 07:54:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=P9VzoSBHO+km3zX3VXIXtuCIN2vrH2IzMG3vziaaijU=; b=VnjBIRE3EeTvqsOfedm0ePbezE9yPiwRKBMlXztMYOkkiKKpGlGvB15iynBU/layiC /D+2MoONWtTmc58o18HE+xd8tuGtZX3a+vU5lANybsdR8EhLhoIpBJGsXnPfwMlu4eIl vg9T9ahF0tNAYVzBHwm4X4mRveYAF+ZGq0wB80Pn0OeasO/6cnPnFaT5aTt86sI4VQcu ATU47LIHCLUpflJRIPux9irJqUzWiQpOVA+vnYP4tmjeUGyk7l1r4YldDsCV8T6dY2No IVEgB3JFUasBmFroZMyoqsDX2WGRS7CAent4ZosINnyBytkVnh2//1ZQ7Kcktwoec1Q+ WI4g== X-Received: by 10.50.93.72 with SMTP id cs8mr1235284igb.18.1368888881810; Sat, 18 May 2013 07:54:41 -0700 (PDT) Received: from [172.24.136.228] ([137.122.64.56]) by mx.google.com with ESMTPSA id l14sm2502697igf.9.2013.05.18.07.54.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 07:54:40 -0700 (PDT) Sender: Warner Losh Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> Date: Sat, 18 May 2013 10:54:38 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> To: Tim Kientzle X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnrdNsWLAzDfjtsrADBWXrjWHHX144QusfVWUSeKlW30OKjV7IPg+POgTpLy59YwmG5mN0i Cc: freebsd-arm 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: Sat, 18 May 2013 14:54:42 -0000 On May 18, 2013, at 10:46 AM, Tim Kientzle wrote: > On May 18, 2013, at 10:41 AM, Warner Losh wrote: >>=20 >> On May 18, 2013, at 10:38 AM, Jason Birch wrote: >>=20 >>> I'm not sure how it'd work internally in the ports tree (I'm a ports >>> consumer, not a contributor), but I'd find it weird if a U-Boot port >>> required me to get any devel/cross-* ports if U-Boot was able to be = built >>> by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, = CXX. >>=20 >> u-boot can't be built with clang. >=20 > Yes, it can. Since the ARM clang switch was thrown, > the xdev tools now build clang (unnecessarily, of course). > U-Boot builds just fine with it: >=20 > $ armv6-freebsd-cc --version > FreeBSD clang version 3.3 (trunk 178860) 20130405 > Target: armv6--freebsd > Thread model: posix Do these boot? I was under the impression that u-boot used global = register flags in gcc that clang wasn't going to support... I'd be happy = if I'm wrong though... Warner From owner-freebsd-arm@FreeBSD.ORG Sat May 18 15:30:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 09015A9B for ; Sat, 18 May 2013 15:30:35 +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 E65526CC for ; Sat, 18 May 2013 15:30:34 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id DF8D72AA471; Sat, 18 May 2013 09:30:32 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 9B7A71CC0E; Sat, 18 May 2013 10:30:31 -0500 (EST) Date: Sat, 18 May 2013 10:30:31 -0500 From: Diane Bruce To: Jason Birch Subject: Re: Port: U-Boot for BeagleBone Message-ID: <20130518153031.GA64682@night.db.net> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arm 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: Sat, 18 May 2013 15:30:35 -0000 On Sun, May 19, 2013 at 12:38:39AM +1000, Jason Birch wrote: > I'm not sure how it'd work internally in the ports tree (I'm a ports > consumer, not a contributor), but I'd find it weird if a U-Boot port > required me to get any devel/cross-* ports if U-Boot was able to be built > by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, CXX. If src flip the bit to always build xcross in HEAD it's trivial to add an OSVERSION test to use native rather than use a xcross port. I am on freebsd-arm now. - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-arm@FreeBSD.ORG Sat May 18 15:36:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 866D3C0F for ; Sat, 18 May 2013 15:36:33 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (diana.db.net [66.113.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7598F75A for ; Sat, 18 May 2013 15:36:33 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id 7E4E52AA49F for ; Sat, 18 May 2013 09:36:32 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 4A8231CC0E; Sat, 18 May 2013 10:36:31 -0500 (EST) Date: Sat, 18 May 2013 10:36:31 -0500 From: Diane Bruce To: freebsd-arm@freebsd.org Subject: RPi builds Message-ID: <20130518153631.GB64682@night.db.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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: Sat, 18 May 2013 15:36:33 -0000 Hi, I'm not sure how I forgot to sub here. In any case I have been building RPi images for a while and putting them on http://www.db.net/downloads/ I saw Hiren's beagleboard and now I want one of these too. ;-) - Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-arm@FreeBSD.ORG Sat May 18 17:59:46 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AF1E1719 for ; Sat, 18 May 2013 17:59:46 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 7CEE1B49 for ; Sat, 18 May 2013 17:59:46 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id 16so11650095iea.3 for ; Sat, 18 May 2013 10:59:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=u3FyZzEPVup5NkSzOHgiVZuuEKFaDoFfEG3aeffdo6Q=; b=jS7J2eLQeYkXH+NNVdJZQN5+U0kHz1xFexKjum/gaTp5ofqpLnpzYJQVd5r7Y7gejk Iulh2CQfL6KqpeYuqL8rg9BFerAUpriw8Gfeqpj272NwhpVxx4eWR2SgKBeCj+ho3aO4 UtazKVrqwhFxobdoka5NDXk6MYNfew96TBp8xhKey6hahvixGUiWMRi821OZ3f/qbuso 9F9BXYc+4nKzdUCcZCuq/1lqT5yzAGmpbDXLzkkyqXbIAJr9/dsA5tH6L0J0MgmfiTNi 3nMU87COzA3F7R8qJzx3Vd1nv9YQgAQn6oEkv4eqJeywhc82qU3BOLKPW0tnHRFhPvpw Km3Q== X-Received: by 10.50.2.6 with SMTP id 6mr1546410igq.89.1368899985908; Sat, 18 May 2013 10:59:45 -0700 (PDT) Received: from [10.69.210.74] ([137.122.64.51]) by mx.google.com with ESMTPSA id a18sm3254229ign.4.2013.05.18.10.59.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 10:59:45 -0700 (PDT) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> Date: Sat, 18 May 2013 13:59:45 -0400 Message-Id: <90152894-5643-4189-B6DF-394E4F463FA3@kientzle.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQmKyUpw75hkoAMjwVstWPOGAPnXF4Ji3DQ4kp8/OrVt2rRsRr6fNh4j+l01XjLpeDPMSxAP Cc: freebsd-arm 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: Sat, 18 May 2013 17:59:46 -0000 --Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On May 18, 2013, at 10:54 AM, Warner Losh wrote: >=20 > On May 18, 2013, at 10:46 AM, Tim Kientzle wrote: >=20 >> On May 18, 2013, at 10:41 AM, Warner Losh wrote: >>>=20 >>> On May 18, 2013, at 10:38 AM, Jason Birch wrote: >>>=20 >>>> I'm not sure how it'd work internally in the ports tree (I'm a = ports >>>> consumer, not a contributor), but I'd find it weird if a U-Boot = port >>>> required me to get any devel/cross-* ports if U-Boot was able to be = built >>>> by Clang native to FreeBSD 9.X+ and I had Clang set as my CC, CPP, = CXX. >>>=20 >>> u-boot can't be built with clang. >>=20 >> Yes, it can. Since the ARM clang switch was thrown, >> the xdev tools now build clang (unnecessarily, of course). >> U-Boot builds just fine with it: >>=20 >> $ armv6-freebsd-cc --version >> FreeBSD clang version 3.3 (trunk 178860) 20130405 >> Target: armv6--freebsd >> Thread model: posix >=20 > Do these boot? Gosh. Now you've made me nervous that I might still be using old GCC-compiled versions. Just a sec =85. $ rm -rf u-boot-2013.04 $ tar xf u-boot-2013.04.tar.bz2 $ sudo ./crochet.sh -c beagleblack.sh Copy to SD card =85 Yep. It boots. ;-) > I was under the impression that u-boot used global register flags in = gcc that clang wasn't going to support... I'd be happy if I'm wrong = though=85 Don't know the details. Maybe Andrew knows what has changed? Tim --Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRl8GSAAoJEGMNyGo0rfFB4uAH/irqoAb7YsYDLU/YRbU4+vxr DPkO9otEYCBi0LVuFdD2aviOHxx4wFpSBezNkP+k7p/6ghtiNPhRUvYDhsAkyRkO CvEo+qW5SydSl5QUMS13TpAVJa7YLHBIDJU54dgoTvoage+zYpi/Gz82foHTqQhu nk2LEtUJOjya1/Ob6Jn1hLGptOlUO0Ul/XKmyyUFT2/7qLCgkKRW239SRYZ0QLK2 bPpGCIZFYtyef9H29QPqmCLX3PBQDkk18Ey1P/fU1U8P3MMSzmQ4iYUId0A+DuT+ kziG/NRQd5vb3ISftIkLFhwffUSCG1DGqD8al6J2YZZYH+U4gzAQWydjBSQ2KFs= =UNRr -----END PGP SIGNATURE----- --Apple-Mail=_8544E387-CB5D-4780-96F2-EBAEDF6F5574-- From owner-freebsd-arm@FreeBSD.ORG Sat May 18 21:44:04 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E3B9A51E for ; Sat, 18 May 2013 21:44:04 +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 C7C32604 for ; Sat, 18 May 2013 21:44:04 +0000 (UTC) Received: from bender.Home (unknown [176.252.108.73]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 114B65E1DA; Sat, 18 May 2013 21:43:57 +0000 (UTC) Date: Sat, 18 May 2013 22:43:35 +0100 From: Andrew Turner To: Tim Kientzle Subject: Re: Port: U-Boot for BeagleBone Message-ID: <20130518224335.16aa88de@bender.Home> In-Reply-To: <90152894-5643-4189-B6DF-394E4F463FA3@kientzle.com> References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> <90152894-5643-4189-B6DF-394E4F463FA3@kientzle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: freebsd-arm 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: Sat, 18 May 2013 21:44:05 -0000 On Sat, 18 May 2013 13:59:45 -0400 Tim Kientzle wrote: > > On May 18, 2013, at 10:54 AM, Warner Losh wrote: > > > > > On May 18, 2013, at 10:46 AM, Tim Kientzle wrote: > > > >> On May 18, 2013, at 10:41 AM, Warner Losh wrote: > >>> > >>> On May 18, 2013, at 10:38 AM, Jason Birch wrote: > >>> > >>>> I'm not sure how it'd work internally in the ports tree (I'm a > >>>> ports consumer, not a contributor), but I'd find it weird if a > >>>> U-Boot port required me to get any devel/cross-* ports if U-Boot > >>>> was able to be built by Clang native to FreeBSD 9.X+ and I had > >>>> Clang set as my CC, CPP, CXX. > >>> > >>> u-boot can't be built with clang. > >> > >> Yes, it can. Since the ARM clang switch was thrown, > >> the xdev tools now build clang (unnecessarily, of course). > >> U-Boot builds just fine with it: > >> > >> $ armv6-freebsd-cc --version > >> FreeBSD clang version 3.3 (trunk 178860) 20130405 > >> Target: armv6--freebsd > >> Thread model: posix > > > > Do these boot? > > Gosh. Now you've made me nervous that > I might still be using old GCC-compiled versions. > > Just a sec …. > $ rm -rf u-boot-2013.04 > $ tar xf u-boot-2013.04.tar.bz2 > $ sudo ./crochet.sh -c beagleblack.sh > > Copy to SD card … > > Yep. It boots. ;-) > > > I was under the impression that u-boot used global register flags > > in gcc that clang wasn't going to support... I'd be happy if I'm > > wrong though… My understanding is clang doesn't support it. I have removed the only one in our kernel when adding support for clang. > Don't know the details. Maybe Andrew knows what has changed? The variable in question is in a macro in arch/arm/include/asm/global_data.h. There is a pointer to a global data structure in register r8. This register is reserved through the use of the -ffixed-r8 compiler flag. I'm not sure if clang supports the -ffixed-* flag or not. Given this if you manage to get clang to build U-Boot is is unlikely to work as it could change r8 within some functions unless there is some way to tell it otherwise. Andrew From owner-freebsd-arm@FreeBSD.ORG Sat May 18 22:34: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]) by hub.freebsd.org (Postfix) with ESMTP id BF48E416 for ; Sat, 18 May 2013 22:34:36 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 8B24C7EB for ; Sat, 18 May 2013 22:34:36 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id 10so11509228ied.19 for ; Sat, 18 May 2013 15:34:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer:x-gm-message-state; bh=9Aeye0aj9OaJwcFEt/tF91KCBW4dV/grrDsHxWIhAzI=; b=hdBP1x6VtfxQhy3CahYMXc1L8JFkb3j3P7pvgPf1nvp1CbQ4VGanyUWwFRWi34kyWq YCdT+lv4SSSEcYdroDajJ/VN3Zql7J13GtnBzYJphx4PQ1gpIjXUd1Nu9fOH3dzrZecD L8o3kZJPIbCytFKdbd1wgStfZxWGeKgaD+JRYnXoCiCuQZ4fRwTyrXjpJaKOi8jm63Oh vTzY3Cnv7qmmMjWWyeus5f9YNmqawenQyTrjYw57FaIfj3I77BQIZz2oniacmFTEfNLv ZNDa+acsBMdLq9FwOu5aVh9G3n712aSdHajMHsjWg/8nFTkQpyDs3xfSv3CBlmbupCQE obNw== X-Received: by 10.50.16.202 with SMTP id i10mr1997484igd.33.1368916476290; Sat, 18 May 2013 15:34:36 -0700 (PDT) Received: from [172.24.137.243] ([137.122.64.8]) by mx.google.com with ESMTPSA id kc10sm6808183igb.0.2013.05.18.15.34.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 15:34:35 -0700 (PDT) Subject: Re: Port: U-Boot for BeagleBone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: multipart/signed; boundary="Apple-Mail=_09B759BD-7495-40CD-A68C-37E5BA6CC2AB"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: Tim Kientzle In-Reply-To: <20130518224335.16aa88de@bender.Home> Date: Sat, 18 May 2013 18:34:32 -0400 Message-Id: References: <3B16A2E5-C92B-4248-BE98-DD5C1194CB05@freebsd.org> <20130518100512.57c47fe6@bender> <8D318315-A18E-4B16-B37A-1073CB36CA66@bsdimp.com> <695C0935-9AFC-4C99-B6FE-E7B6F260FB59@kientzle.com> <9A15C7DB-BC23-40DC-8059-CDCE3CFD5CEB@bsdimp.com> <90152894-5643-4189-B6DF-394E4F463FA3@kientzle.com> <20130518224335.16aa88de@bender.Home> To: Andrew Turner X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQlUeaFYU3iAdlU4yv1O1QlQ/zoF52OmAKH3Uesck2tHgTICOIwLNNrwVSrZEZoherhVB8xi Cc: freebsd-arm 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: Sat, 18 May 2013 22:34:36 -0000 --Apple-Mail=_09B759BD-7495-40CD-A68C-37E5BA6CC2AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On May 18, 2013, at 5:43 PM, Andrew Turner wrote: > On Sat, 18 May 2013 13:59:45 -0400 > Tim Kientzle wrote: >=20 >>=20 >> On May 18, 2013, at 10:54 AM, Warner Losh wrote: >>=20 >>>=20 >>> On May 18, 2013, at 10:46 AM, Tim Kientzle wrote: >>>=20 >>>> On May 18, 2013, at 10:41 AM, Warner Losh wrote: >>>>>=20 >>>>> On May 18, 2013, at 10:38 AM, Jason Birch wrote: >>>>>=20 >>>>>> I'm not sure how it'd work internally in the ports tree (I'm a >>>>>> ports consumer, not a contributor), but I'd find it weird if a >>>>>> U-Boot port required me to get any devel/cross-* ports if U-Boot >>>>>> was able to be built by Clang native to FreeBSD 9.X+ and I had >>>>>> Clang set as my CC, CPP, CXX. >>>>>=20 >>>>> u-boot can't be built with clang. >>>>=20 >>>> Yes, it can. Since the ARM clang switch was thrown, >>>> the xdev tools now build clang (unnecessarily, of course). >>>> U-Boot builds just fine with it: >>>>=20 >>>> $ armv6-freebsd-cc --version >>>> FreeBSD clang version 3.3 (trunk 178860) 20130405 >>>> Target: armv6--freebsd >>>> Thread model: posix >>>=20 >>> Do these boot? >>=20 >> Gosh. Now you've made me nervous that >> I might still be using old GCC-compiled versions. >>=20 >> Just a sec =85. >> $ rm -rf u-boot-2013.04 >> $ tar xf u-boot-2013.04.tar.bz2 >> $ sudo ./crochet.sh -c beagleblack.sh >>=20 >> Copy to SD card =85 >>=20 >> Yep. It boots. ;-) >>=20 >>> I was under the impression that u-boot used global register flags >>> in gcc that clang wasn't going to support... I'd be happy if I'm >>> wrong though=85 > My understanding is clang doesn't support it. I have removed the only > one in our kernel when adding support for clang. >=20 >> Don't know the details. Maybe Andrew knows what has changed? >=20 > The variable in question is in a macro in > arch/arm/include/asm/global_data.h. There is a pointer to a global = data > structure in register r8. This register is reserved through the use of > the -ffixed-r8 compiler flag. I'm not sure if clang supports the > -ffixed-* flag or not. >=20 > Given this if you manage to get clang to build U-Boot is is unlikely = to > work as it could change r8 within some functions unless there is some > way to tell it otherwise. Hmmm=85. Maybe I've just been lucky, and certainly my memory isn't what it should be, but I recall switching my U-Boot builds to use clang shortly after clang was made the default for ARM and I've been booting real systems with the result ever since. Doesn't clang complain about unsupported options? My U-Boot build logs definitely show this option in the compiler invocations and there are no warnings about it. (Plenty of warnings about other things, but none about this option.) Maybe --fixed- was added some time recently? I found a thread from back in October where some clang developers were discussing how to implement it: https://groups.google.com/forum/?fromgroups#!topic/llvm-dev/FKw1fWqwcW0 Tim --Apple-Mail=_09B759BD-7495-40CD-A68C-37E5BA6CC2AB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQEcBAEBAgAGBQJRmAH5AAoJEGMNyGo0rfFBKWQIAN1eNLPoOa5gV3jsWvNPNkxy JUM+LTcCw/TdhIM21XBxYzyj0SksOHND3tSt7bNriXkBAJHpE2YTuyc7ZZaASQl2 rI+ohqrb5prL7OB6bUGc+CwlPABdI+oPe9OrQ6KBYVhW+FI8UJW4/ywWW4SFibLR 2ljzi3euCGuf2YmsI46vY7QFGpg2apF2i0gt8kHUb/YSh44Cc3Y3DOx6IEi5q9i6 QyWNwie6s7EI3P96amoQQyWGqGx5f4yJPjBrffBiXmpAKRLko4CVi2aNXkPf05B8 d1qb7O063Ea5agFKSahD0q9FHl9qSBskw1+5nUy7xyutEJDbmwFMmm1lQ1CcHmM= =l/Pc -----END PGP SIGNATURE----- --Apple-Mail=_09B759BD-7495-40CD-A68C-37E5BA6CC2AB-- From owner-freebsd-arm@FreeBSD.ORG Sat May 18 23:42:33 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 482B7724; Sat, 18 May 2013 23:42:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0679C9BA; Sat, 18 May 2013 23:42:32 +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 r4INgPJj046321; Sat, 18 May 2013 19:42:25 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r4INgPQQ046292; Sat, 18 May 2013 23:42:25 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 18 May 2013 23:42:25 GMT Message-Id: <201305182342.r4INgPQQ046292@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: Sat, 18 May 2013 23:42:33 -0000 TB --- 2013-05-18 20:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-05-18 20:40: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-05-18 20:40:17 - starting HEAD tinderbox run for arm/arm TB --- 2013-05-18 20:40:17 - cleaning the object tree TB --- 2013-05-18 20:40:17 - /usr/local/bin/svn stat /src TB --- 2013-05-18 20:40:22 - At svn revision 250788 TB --- 2013-05-18 20:40:23 - building world TB --- 2013-05-18 20:40:23 - CROSS_BUILD_TESTING=YES TB --- 2013-05-18 20:40:23 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-18 20:40:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-18 20:40:23 - SRCCONF=/dev/null TB --- 2013-05-18 20:40:23 - TARGET=arm TB --- 2013-05-18 20:40:23 - TARGET_ARCH=arm TB --- 2013-05-18 20:40:23 - TZ=UTC TB --- 2013-05-18 20:40:23 - __MAKE_CONF=/dev/null TB --- 2013-05-18 20:40:23 - cd /src TB --- 2013-05-18 20:40:23 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat May 18 20:40:29 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 >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat May 18 23:36:55 UTC 2013 TB --- 2013-05-18 23:36:55 - generating LINT kernel config TB --- 2013-05-18 23:36:55 - cd /src/sys/arm/conf TB --- 2013-05-18 23:36:55 - /usr/bin/make -B LINT TB --- 2013-05-18 23:36:55 - cd /src/sys/arm/conf TB --- 2013-05-18 23:36:55 - /usr/sbin/config -m LINT TB --- 2013-05-18 23:36:55 - building LINT kernel TB --- 2013-05-18 23:36:55 - CROSS_BUILD_TESTING=YES TB --- 2013-05-18 23:36:55 - MAKEOBJDIRPREFIX=/obj TB --- 2013-05-18 23:36:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-05-18 23:36:55 - SRCCONF=/dev/null TB --- 2013-05-18 23:36:55 - TARGET=arm TB --- 2013-05-18 23:36:55 - TARGET_ARCH=arm TB --- 2013-05-18 23:36:55 - TZ=UTC TB --- 2013-05-18 23:36:55 - __MAKE_CONF=/dev/null TB --- 2013-05-18 23:36:55 - cd /src TB --- 2013-05-18 23:36:55 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat May 18 23:36:56 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] *** Error code 1 Stop. make: stopped in /obj/arm.arm/src/sys/LINT *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-05-18 23:42:25 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-05-18 23:42:25 - ERROR: failed to build LINT kernel TB --- 2013-05-18 23:42:25 - 8732.20 user 1542.68 system 10927.86 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full