From owner-freebsd-arm@FreeBSD.ORG Sun Sep 22 07:09:14 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B7AFB654 for ; Sun, 22 Sep 2013 07:09:14 +0000 (UTC) (envelope-from david.cheney@canonical.com) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 42F7E2EE7 for ; Sun, 22 Sep 2013 07:09:13 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id eo20so1551298lab.6 for ; Sun, 22 Sep 2013 00:09:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RGjFeNgmLGPvzhbPVc1b/tOTxa48CRwMC6BX3Wl7rjI=; b=UWSe9JS2+iSgDDr6DRaKlUrOHdwvl/qxeFeM0UfudI0b4miFa+beSHk5uxEo6eghTN NsNHEY+sFOLhiAt78p8cOwDv3pJ2GzKaS9H7aD7tZDpqefWn6tOtRB3fDUHZfnt2Rv9/ 3JNlab6Rpw5oRlzXWELIvsMt0zUMH67kvqHg7q+VZOEWQgzQkcxcJ7gGcqgRL54bW/ky PfGVKv7VIZ0OcD9k7VyiRR016OiyqR7ePGcWK5ush3uXxZKzw0y4CZzy07rbXlwIcRaZ NHc/IF3FVR+Vcj9bO7c9cA3IrrZT5PP4vwsSpdMuB5w9OoltFHLxhWF0cGohtNcrgde2 /lbw== X-Gm-Message-State: ALoCoQlI8RxeW7x916Fa/+whe3QQ0HMq1EN8wnkw3C00HhxslTB+JJabZfU1QF+DsNDrRRioz3rd MIME-Version: 1.0 X-Received: by 10.112.29.147 with SMTP id k19mr14249033lbh.9.1379833746530; Sun, 22 Sep 2013 00:09:06 -0700 (PDT) Received: by 10.114.183.47 with HTTP; Sun, 22 Sep 2013 00:09:06 -0700 (PDT) In-Reply-To: <23F2AC2E-E8C2-4C2E-8E0E-4F1A31DDA6FA@kientzle.com> References: <23F2AC2E-E8C2-4C2E-8E0E-4F1A31DDA6FA@kientzle.com> Date: Sun, 22 Sep 2013 17:09:06 +1000 Message-ID: Subject: Re: freebsd on beaglebone black, lock reversal panic shortly after first boot From: David Cheney To: Tim Kientzle Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org, Ronald Klop 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, 22 Sep 2013 07:09:14 -0000 Thanks to all that have replied. I've been able to build the few ports that I need to achieve my goal of a fresh builder for our Go build dashboard [1]. As an experiment i'm going to rebuild the image with WITNESS disabled. I notice when building that the compilation process is single threaded. Is there a way of passing an analog of gmake's -j2 to the build process ? Cheers Dave [1] build.golang.org On Sun, Sep 22, 2013 at 4:35 AM, Tim Kientzle wrote: > > On Sep 21, 2013, at 2:53 AM, David Cheney wrote: > >> Ronald, >> >> Thanks for your reply. I'm sorry, I am inexperienced with this sort of >> thing, the machine has not crash, in fact it still building a port >> now. From my linux background, if I saw that much output, the host >> would be kerput. > > FreeBSD on BBB is running a development kernel right now. > As a result, it has some internal check code that reports > "possible errors" very verbosely. Not all of the things reported > by these checks are real problems. > > When FreeBSD-10 is officially released later this year we > will have production versions of FreeBSD. If you build > your own FreeBSD image, you can also disable these additional > checks. > > In particular, development FreeBSD kernels include a > subsystem called "WITNESS" which verifies how the various > parts of the kernel use locks. WITNESS is normally not > enabled on production kernels because the additional checks > do slow the system down significantly. > > A "Lock-order reversal" (LoR) is a common problem with complex > multi-threaded code (such as operating system kernels) which > can *sometimes* cause the system to freeze or crash. LoRs are > one of several issues that WITNESS was designed to check for. > > In FreeBSD terminology a "panic" is a kernel crash. On development > kernels, this will usually drop you immediately into the kernel > debugger. On production kernels, a panic usually leads the system to > immediately reboot. > > The two LoRs you saw here are: > > 1) bufwait/dirhash reversal. > > lock order reversal: > 1st 0xcd1299d0 bufwait (bufwait) @ > /root/crochet-freebsd/src/sys/kern/vfs_bio.c:3059 > 2nd 0xc2a8f600 dirhash (dirhash) @ > /root/crochet-freebsd/src/sys/ufs/ufs/ufs_dirhash.c:284 > > 2) ufs/bufwait reversal. > > lock order reversal: > 1st 0xc2c06814 ufs (ufs) @ /root/crochet-freebsd/src/sys/kern/vfs_subr.c:2099 > 2nd 0xcd1299d0 bufwait (bufwait) @ > /root/crochet-freebsd/src/sys/ufs/ffs/ffs_vnops.c:262 > 3rd 0xc2cb9154 ufs (ufs) @ /root/crochet-freebsd/src/sys/kern/vfs_subr.c:2099 > > I believe both of these are "false positives". They are not a real > problem but WITNESS doesn't have quite enough context > to know that. If I understand correctly, filesystem locks are > claimed in a particular order determined by the filesystem > structure; WITNESS only knows the names of the locks, > not what filesystem objects they refer to, so it can't really > tell if the order is correct or not. > > There are a couple of other pretty common LoR false > positives. You'll start to recognize those pretty soon. > > If you see *new* LoRs, we're very interested. > > Tim > From owner-freebsd-arm@FreeBSD.ORG Sun Sep 22 10:54:45 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 98B08EBB for ; Sun, 22 Sep 2013 10:54:45 +0000 (UTC) (envelope-from david.cheney@canonical.com) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 272B32839 for ; Sun, 22 Sep 2013 10:54:40 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id w7so1816060lbi.8 for ; Sun, 22 Sep 2013 03:54:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=JZ53bjPE0PoINswJkyYOnJFsoDEXNGL+eYjBlfm5K1s=; b=H4GuJNFB2DV7Q7izTqozrbJD/jvZRlkA6ny6A0Mj6vjoCtWux6yF44XcHZ4KwNLhfa VFyoITdnlHhYzqMPs97wzw2DMzMDtsc4QmxsCWsmYGfa0uBJ2VBb0/SUvANF48/JVFjf sz+Wteni4VWiHSsyjIqbzxD4D2ZjPbRwfNAvVAzh6/Z/sjdY9Cq+eVZ8f3cvEkkq7VPJ pRIEs/SoofYV1SifxI9IR4nLNmlYrEUj9Nn8sMivevZ7m0JImfcnCjOvrgFNYllC6+i2 +H5ZhklTd0ZluwlMUDDNvbPL1t1Yjss3ULh+CkHavTeuLt+SKzFRTH+wdPfRKJ6E7DTL 7zfA== X-Gm-Message-State: ALoCoQmjyB2iE9B6ygo+SMPFax+HeJqLOEriTFjG8+XCb2HYVtB/lRBfNLnZvZux/E0T5cydXzuh MIME-Version: 1.0 X-Received: by 10.152.3.42 with SMTP id 10mr15274863laz.22.1379846822121; Sun, 22 Sep 2013 03:47:02 -0700 (PDT) Received: by 10.114.183.47 with HTTP; Sun, 22 Sep 2013 03:47:02 -0700 (PDT) Date: Sun, 22 Sep 2013 20:47:02 +1000 Message-ID: Subject: BBB hangs when debugging options removed from kernel config From: David Cheney To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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, 22 Sep 2013 10:54:45 -0000 I'd like to add my report that removing the debugging options from the kernel config produces an image which hangs at the same point as previously reported here http://lists.freebsd.org/pipermail/freebsd-arm/2013-September/006610.html This host is powered by a capable 5volt supply, not the usb cable. Cheers Dave From owner-freebsd-arm@FreeBSD.ORG Mon Sep 23 05:36:22 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id DB82A97B for ; Mon, 23 Sep 2013 05:36:22 +0000 (UTC) (envelope-from juliakimball7@gmail.com) Received: from mail-ie0-x24d.google.com (mail-ie0-x24d.google.com [IPv6:2607:f8b0:4001:c03::24d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AB8642F00 for ; Mon, 23 Sep 2013 05:36:22 +0000 (UTC) Received: by mail-ie0-f205.google.com with SMTP id qd12so171105ieb.0 for ; Sun, 22 Sep 2013 22:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=ic3UOK9NhQYTAj6ATRjxI2yGkgWdDXJ/7LjYf3N8I/U=; b=mOQlZ68AY2g8yoGQuEvzV/NxChmWED3MxmDYE5kpz+Kgk/GTH6ces9w2gcswLt2s83 9J7zd+qQafDbzJEgLEvMOv5aqzUc/VPxLn6X7cIEtZHMIa9ZzFJPRrPf0j8ta4gy/LZQ 4djSLjUNP2KUShsTdK5C8MPuXzch5h3TurPiiJ1H1pZVTWey7HtvKHdXjSRlEaUlXm0n MCDvJy35Eje/FrNC9nGgY3IdwXjXO+/kWxwIn1uPzIc+drO4TF2ls2Stk8S/giUv1f3j 0o6vlyBtxbpkwUeP//QiZVuwFxilTlsjdAYlkXb/PR3M87ecdRYDLdYGGZsA7gJFBMrb OfZg== MIME-Version: 1.0 X-Received: by 10.50.109.193 with SMTP id hu1mr10224617igb.6.1379914582146; Sun, 22 Sep 2013 22:36:22 -0700 (PDT) Message-ID: <089e0122f7a67d92d104e7066646@google.com> Date: Mon, 23 Sep 2013 05:36:22 +0000 Subject: www.freebsd.org From: Julia kimball To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 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: Mon, 23 Sep 2013 05:36:22 -0000 PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+PGRpdiAgDQpkaXI9 Imx0ciI+PGRpdj48ZGl2PkhpLDxicj48YnI+PC9kaXY+PGRpdj5JIGNhbWUgYWNyb3NzIHlvdXIg d2Vic2l0ZSBhbmQgIA0Kd2FudGVkIHRvDQogIHNlbmQgeW91IGEgcXVpY2sgbm90ZS4gV2l0aCBh IGZldyBzaW1wbGUgY2hhbmdlcyB0byBtYWtlIHlvdXIgc2l0ZSBtb3JlDQogIFNFTy1mcmllbmRs eSBJkm0gc3VyZSB5b3UgY2FuIGNvbnZlcnQgbW9yZSB2aXNpdG9ycyBpbnRvIGxlYWRzIGFuZCBn ZXQNCml0IHBsYWNlZCBoaWdoZXIgaW4gdGhlIG9yZ2FuaWMgc2VhcmNoIHJlc3VsdHMsIGZvciBr ZXl3b3JkcyB0aGF0IG1hdHRlcg0KICB0byB5b3UgdGhlIG1vc3QuPC9kaXY+DQo8ZGl2Pjxicj48 L2Rpdj48ZGl2PldlknJlIGFuIEF1c3RyYWxpYW4gYmFzZWQgY29tcGFueSB3aXRoIGEgZ3JlYXQN CmluLWhvdXNlIHRlY2huaWNhbCB0ZWFtIHdobyByZWFsbHkga25vdyB0aGVpciBzdHVmZiBhYm91 dCBzZWFyY2ggZW5naW5lDQpvcHRpbWl6YXRpb24uoDwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+ V291bGQNCiAgeW91IGxpa2UgYSBiaXQgbW9yZSBpbmZvcm1hdGlvbiBhYm91dCBob3cgdG8gZ2l2 ZSB5b3VyIHdlYnNpdGUgYSBib29zdA0Kd2l0aCBiZXR0ZXIgU0VPPyBQbGVhc2UgZmVlbCBmcmVl IHRvIGRyb3AgbWUgYW4gZW1haWwgb3IgeW91IGNhbiBjb250YWN0DQogIG1lIHZpYSBvdXIgd2Vi c2l0ZS48L2Rpdj4NCjxkaXY+PGJyPjwvZGl2PjxkaXY+QmVzdCBSZWdhcmRzPC9kaXY+PGRpdj5K dWxpYSAgDQpLaW1iYWxsPGJyPjwvZGl2PjxkaXY+PGI+PGZvbnQgc2l6ZT0iMSI+PGEgIA0KaHJl Zj0ibWFpbHRvOmFuZ2VsaWNhQGltbWFjdWxhdGVzZW8uY29tIiAgDQp0YXJnZXQ9Il9ibGFuayI+ c2VvQGltbWFjdWxhdGVzZW8uY29tPC9hPjxicj48L2ZvbnQ+PC9iPjwvZGl2Pg0KDQoNCjxkaXY+ DQo8Zm9udCBzaXplPSIxIj48Yj48aW1nIGFsdD0iSW5saW5lIGltYWdlIDIiIHNyYz0iY2lkOmlu bGluZUltYWdlczAiPjxicj4NCg0KDQo8L2I+PC9mb250PjwvZGl2PjxkaXY+PGZvbnQgc2l6ZT0i MSI+PGI+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOnJnYig2MSwxMzMsMTk4KSI+PGJyPkFVUyAgDQpI ZWFkcXVhcnRlcjxicj48L3NwYW4+PC9iPjwvZm9udD48Zm9udCBzaXplPSIxIj48c3BhbiAgDQpz dHlsZT0iY29sb3I6cmdiKDYxLDEzMywxOTgpIj48Zm9udCBzaXplPSIxIj48c3BhbiAgDQpzdHls ZT0iY29sb3I6cmdiKDYxLDEzMywxOTgpIj5BdXN0cmFsaWFuIFRlY2hub2xvZ3kgUGFyaywgTG9j b21vdGl2ZSAgDQpTdHJlZXQsIEV2ZWxlaWdoIDxicj4NCg0KDQoNCg0KDQpOU1cgMjAxNTwvc3Bh bj48L2ZvbnQ+PGJyPjwvc3Bhbj48Yj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDYxLDEzMywx OTgpIj48YnI+SW50ZXJuYXRpb25hbCAgDQpIZWFkcXVhcnRlcjxicj48L3NwYW4+PC9iPjwvZm9u dD48Zm9udCBzaXplPSIxIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDYxLDEzMywxOTgpIj48 Zm9udCBzaXplPSIxIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDYxLDEzMywxOTgpIj41MDEg MTl0aCBTdHJlZXQsIE4uVy4sIFdhc2hpbmd0b24sIEQuQy4gIA0KMjA0MzE8YnI+DQoNCg0KDQoN Cg0KPC9zcGFuPjwvZm9udD48L3NwYW4+PC9mb250PjxkaXY+PGZvbnQgc2l6ZT0iMSI+PHNwYW4g IA0Kc3R5bGU9ImNvbG9yOnJnYig2MSwxMzMsMTk4KSI+T2ZmaWNlIFBob25lOiAgDQoyMDYtMjAy LTI5MDc8L3NwYW4+PC9mb250PjxiPjxmb250IHNpemU9IjEiPjxzcGFuICANCnN0eWxlPSJjb2xv cjpyZ2IoNjEsMTMzLDE5OCkiPjxicj4NCg0KDQo8L3NwYW4+PC9mb250PjwvYj48L2Rpdj48ZGl2 Pjxmb250IHNpemU9IjEiPjxiPjxzcGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoNjEsMTMzLDE5OCki Pjwvc3Bhbj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDYxLDEzMywxOTgpIj48YnI+PC9zcGFu PjwvYj48L2ZvbnQ+PC9kaXY+PGZvbnQgIA0Kc2l6ZT0iMSI+PGI+PHNwYW4gc3R5bGU9ImNvbG9y OnJnYig2MSwxMzMsMTk4KSI+PC9zcGFuPjwvYj48L2ZvbnQ+PC9kaXY+DQoNCg0KDQoNCg0KPGRp dj48Zm9udCBzaXplPSIxIj48YnI+DQoNCg0KPC9mb250PjwvZGl2PjwvZGl2PjwvZGl2Pg0KPC9k aXY+DQo8L2Rpdj4NCjwvZGl2Pg0K From owner-freebsd-arm@FreeBSD.ORG Mon Sep 23 11:06: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02DC9BDE for ; Mon, 23 Sep 2013 11:06:42 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC7992127 for ; Mon, 23 Sep 2013 11:06:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8NB6f2r069388 for ; Mon, 23 Sep 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8NB6fve069386 for freebsd-arm@FreeBSD.org; Mon, 23 Sep 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 23 Sep 2013 11:06:41 GMT Message-Id: <201309231106.r8NB6fve069386@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, 23 Sep 2013 11:06:42 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/182060 arm make buildworld fails on Raspberry PI o arm/181722 arm gdb on ARM unable to sensibly debug core file from ass o arm/181718 arm threads caused hung on ARM/RPI o arm/181601 arm Sporadic failure of root mount on ARM/Raspberry o arm/180080 arm Unmapped buffers on ARMv7 big-RAM boards o arm/179688 arm [patch] [rpi] serial console eats some characters at m o arm/179532 arm wireless networking on ARM o arm/178495 arm buildworld fail on arm/raspberry pi o arm/177687 arm gdb gets installed but does not know the EABI version o arm/177686 arm assertion failed in ld-elf.so.1 when invoking telnet w o arm/177685 arm [kernel] [patch] Correct return type and usage of at91 o arm/177538 arm tunefs(8) and mount(8) can not access a newfs(8)'d fil o arm/175803 arm building xdev for arm failing o arm/175605 arm please fix build binutils-2.23.1 in raspberry pi o arm/173617 arm Dreamplug exhibits eSATA file corruption using network o kern/171096 arm [arm][xscale][ixp]Allow 16bit access on PCI bus o arm/166256 arm build fail in pmap.c o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) p arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/134368 arm [new driver] [patch] nslu2_led driver for the LEDs on 27 problems total. From owner-freebsd-arm@FreeBSD.ORG Tue Sep 24 13:43:02 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A90D7E90 for ; Tue, 24 Sep 2013 13:43:02 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 38BC12E61 for ; Tue, 24 Sep 2013 13:43:01 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r8ODbTqn020200; Tue, 24 Sep 2013 13:37:29 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id w4qhehvp5thtayei4yet4rqtja; Tue, 24 Sep 2013 13:37:29 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: freebsd on beaglebone black, lock reversal panic shortly after first boot From: Tim Kientzle In-Reply-To: Date: Tue, 24 Sep 2013 06:37:29 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <46CCC733-179C-43E3-BDA4-78B3261F8CFF@kientzle.com> References: <23F2AC2E-E8C2-4C2E-8E0E-4F1A31DDA6FA@kientzle.com> To: David Cheney X-Mailer: Apple Mail (2.1510) Cc: freebsd-arm@freebsd.org, Ronald Klop 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, 24 Sep 2013 13:43:02 -0000 On Sep 22, 2013, at 12:09 AM, David Cheney = wrote: > I notice when building that the compilation process > is single threaded. Is there a way of passing an analog of gmake's -j2 > to the build process ? FreeBSD's make supports -j for parallel builds. How are you building? Tim From owner-freebsd-arm@FreeBSD.ORG Tue Sep 24 17:38:50 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 83027B0F for ; Tue, 24 Sep 2013 17:38:50 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from mx.bsdtec.net (mx.bsdtec.net [174.34.171.65]) by mx1.freebsd.org (Postfix) with ESMTP id 54AAD2CFB for ; Tue, 24 Sep 2013 17:38:49 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 06CF2489876 for ; Tue, 24 Sep 2013 17:31:40 +0000 (UTC) Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10032) with ESMTP id 8KhRM9TOzNiD for ; Tue, 24 Sep 2013 17:31:38 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 30E7D48A155 for ; Tue, 24 Sep 2013 17:31:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at bsdtec.net Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10026) with ESMTP id ETQgv3L0sqVc for ; Tue, 24 Sep 2013 17:31:37 +0000 (UTC) Received: from [192.168.1.3] (bsdtec.plus.com [84.92.41.141]) by mx.bsdtec.net (Postfix) with ESMTPSA id 3BBDE489876 for ; Tue, 24 Sep 2013 17:31:37 +0000 (UTC) Subject: help compiling ports post crochet build (BeagleBoneBlack) From: Craig Butler To: freebsd-arm@freebsd.org Date: Tue, 24 Sep 2013 18:33:39 +0100 Message-ID: <1380044019.2126.16.camel@zbox> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="iso8859-1" Content-Transfer-Encoding: 7bit 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, 24 Sep 2013 17:38:50 -0000 Hello Folks I'm stuck compiling webcamd and dependent ports native on the the BeagleBoneBlack If I try and compile normally using clang/llvm then devel/gettext kicks out with - 1. /usr/include/c++/4.2/bits/basic_string.tcc:979:43: current parser token ';' 2. /usr/include/c++/4.2/bits/basic_string.tcc:49:1 : parsing namespace 'std' c++: error: unable to execute command: Bus error (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: armv6-unknown-freebsd10.0 Thread model: posix with gcc -- build gets further but devel/glib20 port build kicks out with - gmake[4]: Entering directory `/var/ports/usr/ports/devel/glib20/work/glib-2.36.3/glib' CCLD gtester ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_xor_4' ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_sub_4' ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_add_4' ./.libs/libglib-2.0.so: undefined reference to `__sync_bool_compare_and_swap_4' ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_or_4' ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_and_4' gmake[4]: *** [gtester] Error 1 gmake[4]: Leaving directory `/var/ports/usr/ports/devel/glib2 root@beaglebone:~ # uname -a FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r+044c45e: Tue Jul 9 08:55:47 BST 2013 root@xxxx:/un/git/crochet-freebsd/work/obj/arm.armv6/un/git/crochet-freebsd/src/sys/BEAGLEBONE arm I am a bit stuck and unsure where to look next. Has anyone else experienced the same problem ?? Kind Regards Craig Butler From owner-freebsd-arm@FreeBSD.ORG Tue Sep 24 19:47:58 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ACCB1119 for ; Tue, 24 Sep 2013 19:47:58 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from cpsmtpb-ews01.kpnxchange.com (cpsmtpb-ews01.kpnxchange.com [213.75.39.4]) by mx1.freebsd.org (Postfix) with ESMTP id 12D7724C8 for ; Tue, 24 Sep 2013 19:47:57 +0000 (UTC) Received: from cpsps-ews19.kpnxchange.com ([10.94.84.185]) by cpsmtpb-ews01.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 24 Sep 2013 21:47:47 +0200 Received: from CPSMTPM-TLF104.kpnxchange.com ([195.121.3.7]) by cpsps-ews19.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 24 Sep 2013 21:47:47 +0200 Received: from sjakie.klop.ws ([212.182.167.131]) by CPSMTPM-TLF104.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 24 Sep 2013 21:47:47 +0200 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 72A2E1B733 for ; Tue, 24 Sep 2013 21:47:47 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Subject: Re: help compiling ports post crochet build (BeagleBoneBlack) References: <1380044019.2126.16.camel@zbox> Date: Tue, 24 Sep 2013 21:47:45 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <1380044019.2126.16.camel@zbox> User-Agent: Opera Mail/12.16 (FreeBSD) X-OriginalArrivalTime: 24 Sep 2013 19:47:48.0033 (UTC) FILETIME=[F21C5310:01CEB95E] X-RcptDomain: 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, 24 Sep 2013 19:47:58 -0000 On Tue, 24 Sep 2013 19:33:39 +0200, Craig Butler wrote: > Hello Folks > > I'm stuck compiling webcamd and dependent ports native on the the > BeagleBoneBlack > > If I try and compile normally using clang/llvm then devel/gettext kicks > out with - > 1. /usr/include/c++/4.2/bits/basic_string.tcc:979:43: current > parser token ';' > 2. /usr/include/c++/4.2/bits/basic_string.tcc:49:1 > : parsing > namespace 'std' > c++: error: unable to execute command: Bus error (core dumped) > c++: error: clang frontend command failed due to signal (use -v to see > invocation) > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > Target: armv6-unknown-freebsd10.0 > Thread model: posix > > with gcc -- build gets further but devel/glib20 port build kicks out > with - > gmake[4]: Entering directory > `/var/ports/usr/ports/devel/glib20/work/glib-2.36.3/glib' > CCLD gtester > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_xor_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_sub_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_add_4' > ./.libs/libglib-2.0.so: undefined reference to > `__sync_bool_compare_and_swap_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_or_4' > ./.libs/libglib-2.0.so: undefined reference to `__sync_fetch_and_and_4' > gmake[4]: *** [gtester] Error 1 > gmake[4]: Leaving directory `/var/ports/usr/ports/devel/glib2 Hi, Maybe this commit fixed your problem with gcc. http://svnweb.freebsd.org/changeset/base/255738 It mentions the same variables at least. NB: a kernel/system from July is fairly old in terms of ARM development. A lot of problems with the gcc/clang and OABI/EABI switch are solved in the mean time. Ronald. > > root@beaglebone:~ # uname -a > FreeBSD beaglebone 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r+044c45e: Tue > Jul 9 08:55:47 BST 2013 > root@xxxx:/un/git/crochet-freebsd/work/obj/arm.armv6/un/git/crochet-freebsd/src/sys/BEAGLEBONE > arm > > I am a bit stuck and unsure where to look next. Has anyone else > experienced the same problem ?? > > Kind Regards > > Craig Butler > > _______________________________________________ > 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 Sep 25 01:08:22 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 672E48B8 for ; Wed, 25 Sep 2013 01:08:22 +0000 (UTC) (envelope-from david.cheney@canonical.com) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E63D72986 for ; Wed, 25 Sep 2013 01:08:21 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id u14so4607866lbd.30 for ; Tue, 24 Sep 2013 18:08:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Aa38/WQt6uRJqvdQExdLMQ2vFGQu5H/QuCEIlC9ajFo=; b=E/YDmi/7I+U56Uk2t5lfZqGs/gJGBsZd6fmZIkCEgPVtTEyPofMfp59dt4J1djAY2m 7f86BTcMVk7zQGt6w/W59XYM0WZpl8DW/lN4ZMPof8mKccBDeRt9/5b2R9PHHaDbZhSh /j8yoCq1gbcidooWu3N2Fbs7dpjelD2e1OFlZBsqrsKHHRvImS/qUfQmoxS+WfTnlUH3 sRqRJArYeDSl0Jc7haUgZk9CAffTjqMoRfZkgm77LegLK3Q2M5e+Hx7Jhqe82ZK/gheV vCh3W371xb+JA1xsC0Yj91KwOkXw0CeBx4fvOvLHSnJitO0hNGQDtBxZza3URWRP8dMv dvZw== X-Gm-Message-State: ALoCoQkjTCbTEy1GVe7fqIZDXVVD60mapojyvdLjtKKBbcjFyJjpfUn1IuIGQu97tI9l/DmajCjW MIME-Version: 1.0 X-Received: by 10.112.126.37 with SMTP id mv5mr26680833lbb.20.1380070990248; Tue, 24 Sep 2013 18:03:10 -0700 (PDT) Received: by 10.114.183.47 with HTTP; Tue, 24 Sep 2013 18:03:10 -0700 (PDT) In-Reply-To: <46CCC733-179C-43E3-BDA4-78B3261F8CFF@kientzle.com> References: <23F2AC2E-E8C2-4C2E-8E0E-4F1A31DDA6FA@kientzle.com> <46CCC733-179C-43E3-BDA4-78B3261F8CFF@kientzle.com> Date: Wed, 25 Sep 2013 11:03:10 +1000 Message-ID: Subject: Re: freebsd on beaglebone black, lock reversal panic shortly after first boot From: David Cheney To: Tim Kientzle Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org, Ronald Klop 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, 25 Sep 2013 01:08:22 -0000 sh crotchet.sh -c config.sh. I didn't really make myself clear, is there a way to pass the analog of make -jN when using crotchet ? On Tue, Sep 24, 2013 at 11:37 PM, Tim Kientzle wrote: > > On Sep 22, 2013, at 12:09 AM, David Cheney wrote: > >> I notice when building that the compilation process >> is single threaded. Is there a way of passing an analog of gmake's -j2 >> to the build process ? > > FreeBSD's make supports -j for parallel builds. > > How are you building? > > Tim > From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 01:32:11 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9824411E; Wed, 25 Sep 2013 01:32:11 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 469892AF0; Wed, 25 Sep 2013 01:32:10 +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 r8P1W3lG060361; Tue, 24 Sep 2013 21:32:03 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r8P1W3Qu060341; Wed, 25 Sep 2013 01:32:03 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 25 Sep 2013 01:32:03 GMT Message-Id: <201309250132.r8P1W3Qu060341@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: Wed, 25 Sep 2013 01:32:11 -0000 TB --- 2013-09-24 22:40:17 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-09-24 22: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-09-24 22:40:17 - starting HEAD tinderbox run for arm/arm TB --- 2013-09-24 22:40:17 - cleaning the object tree TB --- 2013-09-24 22:40:17 - /usr/local/bin/svn stat /src TB --- 2013-09-24 22:40:22 - At svn revision 255864 TB --- 2013-09-24 22:40:23 - building world TB --- 2013-09-24 22:40:23 - CROSS_BUILD_TESTING=YES TB --- 2013-09-24 22:40:23 - MAKEOBJDIRPREFIX=/obj TB --- 2013-09-24 22:40:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-09-24 22:40:23 - SRCCONF=/dev/null TB --- 2013-09-24 22:40:23 - TARGET=arm TB --- 2013-09-24 22:40:23 - TARGET_ARCH=arm TB --- 2013-09-24 22:40:23 - TZ=UTC TB --- 2013-09-24 22:40:23 - __MAKE_CONF=/dev/null TB --- 2013-09-24 22:40:23 - cd /src TB --- 2013-09-24 22:40:23 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue Sep 24 22:40:30 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] /obj/arm.arm/src/tmp/usr/include/cam/cam_compat.h:98:36: error: use of undeclared identifier 'PATHINQ_SETTINGS_SIZE' char ccb_pathinq_settings_opaque[PATHINQ_SETTINGS_SIZE]; ^ In file included from ioctl.c:48: /obj/arm.arm/src/tmp/usr/include/dev/lmc/if_lmc.h:939:13: warning: no previous extern declaration for non-static variable 'ssi_cables' [-Wmissing-variable-declarations] const char *ssi_cables[] = ^ 1 warning and 17 errors generated. *** Error code 1 Stop. bmake[3]: stopped in /src/usr.bin/kdump *** Error code 1 Stop. bmake[2]: stopped in /src/usr.bin *** Error code 1 Stop. bmake[1]: stopped in /src *** Error code 1 Stop. bmake: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-09-25 01:32:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-09-25 01:32:03 - ERROR: failed to build world TB --- 2013-09-25 01:32:03 - 8341.33 user 1486.75 system 10306.59 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 11:49:51 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 94E596DF for ; Wed, 25 Sep 2013 11:49:51 +0000 (UTC) (envelope-from army.of.root@gmail.com) Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 295972EC5 for ; Wed, 25 Sep 2013 11:49:51 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id c41so3152595eek.11 for ; Wed, 25 Sep 2013 04:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=mMEI3hPdpQjZNy24qxNFvPewVqQXZkuulh8/CNz9Vqo=; b=FnrwE5yxm6xcjwxidjlQn95rJPnyoq9cNV09cFdQ7OtPELQ40Hv3BNvn8baiP86jrs LlBv7PfZoPIf1NZ7yJdCF67hjH7Xgtg7TSQG1YuEkXti/YExog8ncu8kDtSd7WmnG2OP YwiNHLHQ0SZX0XwpsgmvYCseFx8XTvDsCqGanki1AB2DPTPr9pvM9zOEX6GPRRfBBGCg JacbwwLl75W2sYw1KebcM/Yc69vwK646OzkCLqiPe3nJu/+9XF4/maO3nANGgFQZ83kE FJtZjo8dHYgRoV0bzQqvv9onw1rMM94mOFrODvyvhXoJLMb0wpIlYZD2JSJxhOC5w9am esKg== X-Received: by 10.15.35.196 with SMTP id g44mr54973884eev.18.1380109789532; Wed, 25 Sep 2013 04:49:49 -0700 (PDT) Received: from titanium-3.local (ip-176-199-214-162.unitymediagroup.de. [176.199.214.162]) by mx.google.com with ESMTPSA id bn13sm64656746eeb.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Sep 2013 04:49:48 -0700 (PDT) Message-ID: <5242CDD9.9080508@googlemail.com> Date: Wed, 25 Sep 2013 13:49:45 +0200 From: "army.of.root" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: David Cheney Subject: Re: freebsd on beaglebone black, lock reversal panic shortly after first boot References: <23F2AC2E-E8C2-4C2E-8E0E-4F1A31DDA6FA@kientzle.com> <46CCC733-179C-43E3-BDA4-78B3261F8CFF@kientzle.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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, 25 Sep 2013 11:49:51 -0000 Am 13-9-25 03:03 , schrieb David Cheney: > sh crotchet.sh -c config.sh. > > I didn't really make myself clear, is there a way to pass the analog > of make -jN when using crotchet ? > I had the same question some time ago and found that WORLDJOBS=5 in the sonfig.sh sets the -j5 parameter. From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 13:54:13 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5E3D33F2; Wed, 25 Sep 2013 13:54:13 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from cpsmtpb-ews08.kpnxchange.com (cpsmtpb-ews08.kpnxchange.com [213.75.39.13]) by mx1.freebsd.org (Postfix) with ESMTP id CAFFD2761; Wed, 25 Sep 2013 13:54:12 +0000 (UTC) Received: from cpsps-ews22.kpnxchange.com ([10.94.84.188]) by cpsmtpb-ews08.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 25 Sep 2013 15:53:02 +0200 Received: from CPSMTPM-TLF101.kpnxchange.com ([195.121.3.4]) by cpsps-ews22.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 25 Sep 2013 15:53:01 +0200 Received: from sjakie.klop.ws ([212.182.167.131]) by CPSMTPM-TLF101.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 25 Sep 2013 15:53:01 +0200 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id DC011604; Wed, 25 Sep 2013 15:53:00 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org, freebsd-arm@freebsd.org, "Mateusz Guzik" Date: Wed, 25 Sep 2013 15:52:59 +0200 Subject: nandfs fills up without activity MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: User-Agent: Opera Mail/12.16 (FreeBSD) X-OriginalArrivalTime: 25 Sep 2013 13:53:01.0472 (UTC) FILETIME=[8CBEA200:01CEB9F6] X-RcptDomain: 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, 25 Sep 2013 13:54:13 -0000 Hello, I still have this issue on an up-to-date 10-ALPHA2 Sheevaplug. My / is on nandfs with tmpfs as /tmp and /var symlinked to an ufs usb-stick. So there is almost no activity on /. This is the table from a periodic cron. Filesystem 1024-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/gnand0s.root 515328 416896 98432 81% 12612 0 100% / /dev/gnand0s.root 515328 417536 97792 81% 12612 0 100% / /dev/gnand0s.root 515328 417792 97536 81% 12612 0 100% / Du does not give a difference in allocated space for reachable files. A reboot does not free space so I don't suspect a deleted file. In the mentioned thread (about a year ago) Mateusz said he can reproduce the problem. So I cc him. Ronald. -- old info about the same issue is copy-pasted below -- On Sun, 30 Dec 2012 15:17:56 +0100, Ronald Klop wrote: > Mateusz, > > I found this similar issue from last november. > http://freebsd.1045724.n5.nabble.com/NANDFS-eats-itself-up-td5764878.html > Do you have anything new about this? I'm willing to test anything. > > Regards, > Ronald. > > On Sun, 30 Dec 2012 13:55:02 +0100, Ronald Klop > wrote: > >> Hi, >> >> I just noticed my nandfs is filling up on a clean install. >> Running a sheevaplug. >> FreeBSD sh10.klop.ws 10.0-CURRENT FreeBSD 10.0-CURRENT #10: Sat Dec 15 >> 18:26:46 CET 2012 >> root@mailjail.klop.ws:/usr/obj/arm.arm/usr/src/sys/SHEEVAPLUG arm >> >> From the daily messages to root. >> Disk status: >> Filesystem Size Used Avail Capacity Mounted on >> root@sh10:/var/mail # grep gnand root >> /dev/gnand0s.root 503M 286M 216M 57% / >> /dev/gnand0s.root 503M 299M 203M 59% / >> /dev/gnand0s.root 503M 316M 187M 63% / >> /dev/gnand0s.root 503M 329M 173M 65% / >> /dev/gnand0s.root 503M 341M 161M 68% / >> /dev/gnand0s.root 503M 341M 161M 68% / >> /dev/gnand0s.root 503M 353M 149M 70% / >> /dev/gnand0s.root 503M 363M 139M 72% / >> /dev/gnand0s.root 503M 375M 127M 75% / >> /dev/gnand0s.root 503M 388M 114M 77% / >> /dev/gnand0s.root 503M 399M 103M 79% / >> /dev/gnand0s.root 503M 412M 91M 82% / >> /dev/gnand0s.root 503M 423M 79M 84% / >> /dev/gnand0s.root 503M 435M 68M 86% / >> /dev/gnand0s.root 503M 446M 57M 89% / >> >> I did not activate any useful daemons. >> root@sh10:/var/mail # cat /etc/rc.conf >> hostname="sh10.klop.ws" >> ifconfig_DEFAULT="DHCP" >> >> fsck_y_enable="YES" >> background_fsck="NO" >> >> sshd_enable="YES" >> ntpd_enable="YES" >> ntpd_sync_on_start="YES" >> >> I just rebooted the machine to make sure no deleted files are still >> open. >> Df still shows 51MB available while du only shows 227MB in use. >> What can be happening here? >> >> Ronald. >> _______________________________________________ >> 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 Wed Sep 25 14:42:34 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BE11950A for ; Wed, 25 Sep 2013 14:42:34 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (ip-2-1-0-2.r03.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FFE62AA0 for ; Wed, 25 Sep 2013 14:42:34 +0000 (UTC) Received: from m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.5/8.14.5) with ESMTP id r8PEgR5Y028647 for ; Wed, 25 Sep 2013 10:42:32 -0400 (EDT) (envelope-from george@m5p.com) Received: (from george@localhost) by m5p.com (8.14.7/8.13.7/Submit) id r8PEgRun013363; Wed, 25 Sep 2013 10:42:27 -0400 (EDT) Date: Wed, 25 Sep 2013 10:42:27 -0400 (EDT) Message-Id: <201309251442.r8PEgRun013363@m5p.com> From: george+freebsd@m5p.com To: freebsd-arm@freebsd.org Subject: Raspberry Pi crashes in random() X-Scanned-By: MIMEDefang 2.73 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 25 Sep 2013 10:42:32 -0400 (EDT) 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, 25 Sep 2013 14:42:34 -0000 From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 14:42:59 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 22EFC54F for ; Wed, 25 Sep 2013 14:42:59 +0000 (UTC) (envelope-from george@m5p.com) Received: from mailhost.m5p.com (ip-2-1-0-2.r03.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B74AC2AA9 for ; Wed, 25 Sep 2013 14:42:58 +0000 (UTC) Received: from m5p.com (wonderland.m5p.com [IPv6:2001:418:3fd::19]) by mailhost.m5p.com (8.14.5/8.14.5) with ESMTP id r8PEgqOu028653 for ; Wed, 25 Sep 2013 10:42:57 -0400 (EDT) (envelope-from george@m5p.com) Received: (from george@localhost) by m5p.com (8.14.7/8.13.7/Submit) id r8PEgq5J013369; Wed, 25 Sep 2013 10:42:52 -0400 (EDT) Date: Wed, 25 Sep 2013 10:42:52 -0400 (EDT) Message-Id: <201309251442.r8PEgq5J013369@m5p.com> From: george+freebsd@m5p.com To: freebsd-arm@freebsd.org Subject: Raspberry Pi crashes in random() X-Scanned-By: MIMEDefang 2.73 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 25 Sep 2013 10:42:57 -0400 (EDT) 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, 25 Sep 2013 14:42:59 -0000 I'm getting segmentation faults in libc's "random" when called from fc-cache and fc-list and friends from the x11/fontconfig port. Is anyone else seeing this? Would copies of the core dumps help? Separately, my RPi is getting regular fatal kernel mode prefetch abort at 0x201dcab0 crashes while I'm trying to build print/cups. You can see a whole bunch of them at http://www.m5p.com/~george/pi/. They all have the same call traceback and crash at the same address, though with different register values. -- George /usr/src svn info: Path: . Working Copy Root Path: /ad4s1/usr/src URL: svn://svnmirror/base/head Relative URL: ^/head Repository Root: svn://svnmirror/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 255361 Node Kind: directory Schedule: normal Last Changed Author: andrew Last Changed Rev: 255361 Last Changed Date: 2013-09-07 10:04:10 -0400 (Sat, 07 Sep 2013) /usr/src svn diff: Index: sys/arm/conf/RPI-B =================================================================== --- sys/arm/conf/RPI-B (revision 255361) +++ sys/arm/conf/RPI-B (working copy) @@ -66,11 +66,11 @@ device pty # Comment following lines for boot console on serial port -device sc -device kbdmux -options SC_DFLT_FONT # compile font in -makeoptions SC_DFLT_FONT=cp437 -device ukbd +# device sc +# device kbdmux +# options SC_DFLT_FONT # compile font in +# makeoptions SC_DFLT_FONT=cp437 +# device ukbd device sdhci device mmc Index: sys/boot/common/dev_net.c =================================================================== --- sys/boot/common/dev_net.c (revision 255361) +++ sys/boot/common/dev_net.c (working copy) @@ -325,7 +325,7 @@ #endif d = socktodesc(sock); - sprintf(temp, "%6D", d->myea, ":"); + sprintf(temp, "%02x:%02x:%02x:%02x:%02x:%02x", d->myea[0], d->myea[1], d->myea[2], d->myea[3], d->myea[4], d->myea[5]); setenv("boot.netif.ip", inet_ntoa(myip), 1); setenv("boot.netif.netmask", intoa(netmask), 1); setenv("boot.netif.gateway", inet_ntoa(gateip), 1); /etc/src.conf: MALLOC_PRODUCTION=yes /etc/make.conf: WITH_PKGNG=yes MALLOC_PRODUCTION=yes # added by use.perl 2013-08-20 10:11:49 PERL_VERSION=5.14.4 /usr/ports svn info: Path: . Working Copy Root Path: /usr/local/pi/ports URL: svn://svnmirror/ports/head Relative URL: ^/head Repository Root: svn://svnmirror/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 326306 Node Kind: directory Schedule: normal Last Changed Author: tj Last Changed Rev: 326306 Last Changed Date: 2013-09-04 14:04:48 -0400 (Wed, 04 Sep 2013) From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 14:52:36 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3238D6AE for ; Wed, 25 Sep 2013 14:52:36 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09A0F2B32 for ; Wed, 25 Sep 2013 14:52:35 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VOqS4-000BUA-Vr; Wed, 25 Sep 2013 14:52:29 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r8PEqQv4003029; Wed, 25 Sep 2013 08:52:26 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19GomjSbjGbntE+C8z2k1Ds Subject: Re: Raspberry Pi crashes in random() From: Ian Lepore To: george+freebsd@m5p.com In-Reply-To: <201309251442.r8PEgq5J013369@m5p.com> References: <201309251442.r8PEgq5J013369@m5p.com> Content-Type: text/plain; charset="us-ascii" Date: Wed, 25 Sep 2013 08:52:26 -0600 Message-ID: <1380120746.1197.196.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 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, 25 Sep 2013 14:52:36 -0000 On Wed, 2013-09-25 at 10:42 -0400, george+freebsd@m5p.com wrote: > You can see a whole bunch of them at http://www.m5p.com/~george/pi/. Forbidden You don't have permission to access /~george/pi/ on this server. -- Ian From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 16:00:40 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 75671914; Wed, 25 Sep 2013 16:00:40 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [IPv6:2607:f8b0:400c:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 235822F9E; Wed, 25 Sep 2013 16:00:40 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id h11so4706198vbh.30 for ; Wed, 25 Sep 2013 09:00:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=V7BZCrdx6bJoQwqv2qe1HSdC0usvBMAbNLr1dlf5HXQ=; b=ra6j6wt9hV7X2d3+N7UoE3kkJ77nMd5lKRg5M/q3Z+N2pQVn1oe82HOXAULsGwnj05 RqBlch7Dgtu46AZqVTvLwUh1y9nv0Hiu9NPOPJ1Xj50xzTXLGF2Pxsg9EvTWKMYSmptB hgF/CuZtO5td98rlU0vqUk/4leJW2Klj2ofqKvz7mej5l1nKnALIb5t998kX8w2tL+qn IHVmfU6ECXMFqY6CVnOcvEHw4BjW6mP5rAIhbxvhFBwp5n4OCGP3bOvlx4ZD24SjYMVZ AYkDRPxHJNh06VKnSOnrqcriJBoXzqFdPzHbj1/I/WseWZWjgztSetmz2gFBtQOmwlHV GL/w== X-Received: by 10.220.173.134 with SMTP id p6mr724765vcz.36.1380124839128; Wed, 25 Sep 2013 09:00:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.225.34 with HTTP; Wed, 25 Sep 2013 09:00:09 -0700 (PDT) In-Reply-To: References: <1378243520.1111.376.camel@revolution.hippie.lan> From: Jia-Shiun Li Date: Thu, 26 Sep 2013 00:00:09 +0800 Message-ID: Subject: Re: recend freebsd-current doesn't boot in RPi with "Translation Fault" error To: Subbsd Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm , Ian Lepore 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, 25 Sep 2013 16:00:40 -0000 On Thu, Sep 5, 2013 at 12:59 AM, Subbsd wrote: > update: this panic arises at the stage of working /etc/rc.d/root. In single > mode this panic occurs on any write operation, for example re-mount root in > RW, tunefs -j disable/enable and so on.. a me-too. With system built as of yesterday it still happens. Hit 3 times in 6~7 boots. Is it possible something is not properly init/reset? jsli@raspberry-pi:~ % uname -a FreeBSD raspberry-pi 10.0-ALPHA2 FreeBSD 10.0-ALPHA2 #0 r255817: Tue Sep 24 02:26:57 CST 2013 jsli@4cbsd:/rpi/obj/arm.armv6/usr/src/sys/RPI-B arm Jia-Shiun. From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 17:35: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3B22690D for ; Wed, 25 Sep 2013 17:35:24 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id DF5B225C8 for ; Wed, 25 Sep 2013 17:35:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 5B957150796 for ; Wed, 25 Sep 2013 19:35:14 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -2.98 X-Spam-Level: X-Spam-Status: No, score=-2.98 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_KHOP_THREADED=-0.01, T_NICE_REPLY_A=0.01, T_UNKNOWN_ORIGIN=0.01, T_UPPERCASE_URI=0.01] autolearn=ham Authentication-Results: galore.get.c.bitbit.net (amavisd-new); dkim=pass (1024-bit key) header.d=getmail.no Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id oMa8ruAv88rR for ; Wed, 25 Sep 2013 19:35:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id CEBC415079B for ; Wed, 25 Sep 2013 19:35:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.7.1 galore.getmail.no CEBC415079B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1380130513; bh=3zCXLUuvdMTUUvloH3SBCFI4S01V7eq9iEi3fI3wwmU=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=5UmmZk7T6Kez6NONNdVkRuBHvlrI67gPGA1ShBLWmbf3a9VIzl1ckaNtqohAz0rqM sHX6qGmzcGUfT1YGHXlcG0oSdQ+/3ihqYn4S6TJ2f+pF3tbd1EPiYvvQM1gPUUwr1B nmFabs56fH0/oKPxA8tjA0vbcj+tg3YZlU4OS0zs= X-Virus-Scanned: amavisd-new at Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5K0jxZNNlw06 for ; Wed, 25 Sep 2013 19:35:13 +0200 (CEST) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by galore.getmail.no (Postfix) with ESMTPSA id A008415079A for ; Wed, 25 Sep 2013 19:35:13 +0200 (CEST) Date: Wed, 25 Sep 2013 19:35:13 +0200 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Raspberry Pi crashes in random() Message-Id: <20130925193513.649b7480b767b4cc0c8b3b93@getmail.no> In-Reply-To: <1380120746.1197.196.camel@revolution.hippie.lan> References: <201309251442.r8PEgq5J013369@m5p.com> <1380120746.1197.196.camel@revolution.hippie.lan> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 17:35:24 -0000 On Wed, 25 Sep 2013 08:52:26 -0600 Ian Lepore wrote: > On Wed, 2013-09-25 at 10:42 -0400, george+freebsd@m5p.com wrote: > > You can see a whole bunch of them at http://www.m5p.com/~george/pi/. > > Forbidden > > You don't have permission to access /~george/pi/ on this server. It works now. -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Wed Sep 25 21:39: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E2F6F9B0 for ; Wed, 25 Sep 2013 21:39:08 +0000 (UTC) (envelope-from usenet@ulrich-grey.de) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7ACDB2699 for ; Wed, 25 Sep 2013 21:39:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1380145146; l=542; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=6qeD14PMgGvlufXlYTxblWT+L7Q=; b=eLKLnf35XFZgAySaD98qIqe/mkVDMmK7NWXLB0S5N3Mh14+uVT0Mng5onjt9gMQL4ru 7qkmYofO2TDUvHQnlj//aWuc9Xqle6Qik6OINgYkg9ZTsCMpnuigSzZK1JZs2Dd9l79t8 gXU+pbCM87N/8e1iwJBri7jsSFyy2bcnkyg= X-RZG-AUTH: :OX8Be0W8W+pMC3rDLL/lo2xV/LZTbZkYhOcjg8suic3iYr/B8J9Lzp3TJg4/sMv/5jgw X-RZG-CLASS-ID: mo00 Received: from ap-fbsd.privat (p5486B2B1.dip0.t-ipconnect.de [84.134.178.177]) by smtp.strato.de (RZmta 32.6 DYNA|AUTH) with ESMTPA id L01974p8PLDZrW for ; Wed, 25 Sep 2013 23:39:05 +0200 (CEST) Date: Wed, 25 Sep 2013 23:38:22 +0200 From: Ulrich Grey To: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi crashes in random() Message-Id: <20130925233822.563e344b.usenet@ulrich-grey.de> In-Reply-To: <201309251442.r8PEgq5J013369@m5p.com> References: <201309251442.r8PEgq5J013369@m5p.com> Organization: - X-Mailer: Sylpheed 2.4.0beta7 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 21:39:08 -0000 On Wed, 25 Sep 2013 10:42:52 -0400 (EDT) george+freebsd@m5p.com wrote: > I'm getting segmentation faults in libc's "random" when called > from fc-cache and fc-list and friends from the x11/fontconfig > port. Is anyone else seeing this? Would copies of the core > dumps help? I had the same problem with fontconfig2 and sylpheed. This works for me: /etc/make.conf USE_GCC=4.2 # MAKE_JOBS_UNSAFE=yes MALLOC_PRODUCTION=yes CFLAGS=-O0 #!!! CXXFLAGS=-O0 #!!! # added by use.perl 2013-09-21 01:05:57 PERL_VERSION=5.14.4 From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 01:45:09 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0E1C3731 for ; Thu, 26 Sep 2013 01:45:09 +0000 (UTC) (envelope-from mail@ulrich-grey.de) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99F7D23F2 for ; Thu, 26 Sep 2013 01:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1380159906; l=1862; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Subject:To:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=g9YRu6zHrA5ggLtaAxEpbJXRCWg=; b=fvv8kBIe/WB4l1UxdyIYGidm+rT6koDqxi2EXqLNE4ztROUzBGVJ46NAPJY7FnGM9Or nYOE6+1IIpHFQupNziMOTRKyJZQn6W6y4JmBx2c1D5MJmU1FmE2IymoLKY1ZixqMzZ07x ZXQhSvJNxM2YYirMhujyjwUUmlCIZCM3vmc= X-RZG-AUTH: :IW0NeWC9d+23PiEq86kL/mFhzTzQPHCnsKfrZbl0TenHYOqlOZag9BfGbkS9iFReDA== X-RZG-CLASS-ID: mo00 Received: from ap-fbsd.privat (p5486B2B1.dip0.t-ipconnect.de [84.134.178.177]) by smtp.strato.de (RZmta 32.6 DYNA|AUTH) with ESMTPA id 6077bcp8Q1U2Ve for ; Thu, 26 Sep 2013 03:44:59 +0200 (CEST) Date: Thu, 26 Sep 2013 03:44:16 +0200 From: Ulrich Grey To: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi crashes in random() Message-Id: <20130926034416.c2977781.mail@ulrich-grey.de> In-Reply-To: <20130925233822.563e344b.usenet@ulrich-grey.de> References: <201309251442.r8PEgq5J013369@m5p.com> <20130925233822.563e344b.usenet@ulrich-grey.de> Organization: - X-Mailer: Sylpheed 2.4.0beta7 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 01:45:09 -0000 Here some additional infos: #16 bugdro...@chromium.org Commit: d2127269301823f547129ac486f4fa5f0d2e0d2a Email: cwolfe@chromium.org fontconfig: Reduce optimization level This fixes a failure to generate the fontconfig cache for ARM targets. Unfortunately the cache is platform-specific, so fc-cache is run under qemu-arm. A recent change resulted in the -O2-compiled fc-cache causing a segfault and failing in some scenarios. Because this reduces the optimization level on the entire fontconfig package it is a temporary fix. BUG=chromium-os:21493 TEST=Manual emerge-arm-generic chromeos no longer fails on qemu-arm. cbuildbot for x86 and arm generates a valid cache. Change-Id: I1bc8e3dbbc6896c0ea9881a6557fe4d085b857da Reviewed-on: http://gerrit.chromium.org/gerrit/10014 Reviewed-by: Mike Frysinger Tested-by: Chris Wolfe D media-libs/fontconfig/fontconfig-2.7.1-r1.ebuild D media-libs/fontconfig/fontconfig-2.7.1-r2.ebuild D media-libs/fontconfig/fontconfig-2.7.1-r22.ebuild A media-libs/fontconfig/fontconfig-2.7.1-r23.ebuild Oct 19, 2011 #17 raymes@chromium.org Update: this is due to a linker bug. It only showed up by chance with the new compiler because it changed the generated code slightly, resulting in a branch instruction crossing a page boundary. This triggered the linker to use the cortex-a8 workaround, which had a bug when using thumb-mode branches to plt. I've backported the patch (http://sourceware.org/ml/binutils-cvs/2011-05/msg00030.html). We are also rolling in a couple of other binutils patches and will release a new binutils with this bug fix in the next week or so. I'll remove this workaround following that. http://code.google.com/p/chromium/issues/detail?id=204552 --------------------------------------------------------- From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 08:39: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86C1AD8C for ; Thu, 26 Sep 2013 08:39:37 +0000 (UTC) (envelope-from fabient@freebsd.org) Received: from work.netasq.com (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id 322652865 for ; Thu, 26 Sep 2013 08:39:36 +0000 (UTC) Received: from work.netasq.com (localhost [127.0.0.1]) by work.netasq.com (Postfix) with ESMTP id 4FA91270624D for ; Thu, 26 Sep 2013 10:39:26 +0200 (CEST) Received: from [10.2.1.1] (unknown [91.212.116.2]) by work.netasq.com (Postfix) with ESMTPSA id 2DC0D2706233 for ; Thu, 26 Sep 2013 10:39:26 +0200 (CEST) From: Fabien Thomas Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD 9.2 ARM dma bug Date: Thu, 26 Sep 2013 10:39:29 +0200 References: <7BA67ED8-2F3C-4B9F-8816-2D294A973CAF@freebsd.org> To: freebsd-arm@freebsd.org Message-Id: <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> 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: Thu, 26 Sep 2013 08:39:37 -0000 Hi, I've been trying to boot a recent FreeBSD 9.2 on kirkwood but it seems = that dma code is broken. Is there a known problem on this? I've found that r251874 seems to introduce the problem. Fabien Failed boot (the error message is about number of segment but in fact = the dma subsystem return EFBIG): Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-STABLE #23 r251874+3a840b9-dirty: Wed Sep 11 12:21:33 CEST = 2013 = fabient@refbench:/home/fabient/obj/arm.arm/data/usr/home/fabient/fabient-f= reebsd/sys/X10 arm gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. CPU: Feroceon 88FR131 rev 1 (Marvell core) DC enabled IC enabled WB enabled EABT branch prediction enabled 16KB/32B 4-way Instruction cache 16KB/32B 4-way write-back-locking-C Data cache real memory =3D 536870912 (512 MB) avail memory =3D 516317184 (492 MB) SOC: Marvell 88F6281 rev A1, TClock 200MHz simplebus0: on fdtbus0 ic0: mem 0xf1020200-0xf102023b = on simplebus0 timer0: mem 0xf1020300-0xf102032f irq 1 on = simplebus0 Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 gpio0: mem 0xf1010100-0xf101011f = irq 35,36,37,38,39,40,41 on simplebus0 device_attach: gpio0 attach returned 6 gpio0: on simplebus0 simplebus0: no default resources for rid =3D 0, type =3D 3 gpio0: could not allocate resources device_attach: gpio0 attach returned 6 rtc0: mem 0xf1010300-0xf1010307 on simplebus0 twsi0: mem 0xf1011000-0xf101101f = irq 43 on simplebus0 iicbus0: on twsi0 iic0: on iicbus0 iicbus0: at addr 0 mge0: mem 0xf1072000-0xf1073fff = irq 12,13,14,11,46 on simplebus0 panic: wrong number of segments, should be 1 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at $d: ldrb r15, [r15, r15, ror r15]! db> bt Tracing pid 0 tid 100000 td 0xc0cab420 kdb_enter() at kdb_enter+0x14 scp=3D0xc0a0cebc rlv=3D0xc09dc73c (panic+0x128) rsp=3D0xc0f32b2c rfp=3D0xc0f32b40 r5=3D0xc0cba8cc r4=3D0x00000100 panic() at panic+0x18 scp=3D0xc09dc62c rlv=3D0xc0bc7914 ($d) rsp=3D0xc0f32b54 rfp=3D0xc0f32b60 mge_get_dma_addr() at mge_get_dma_addr+0x18 scp=3D0xc0bc7908 rlv=3D0xc0a094ec (bus_dmamap_load+0x100) rsp=3D0xc0f32b64 rfp=3D0xc0f32bc4 bus_dmamap_load() at bus_dmamap_load+0x10 scp=3D0xc0a093fc rlv=3D0xc0bc8fe8 (mge_alloc_desc_dma+0x7c) rsp=3D0xc0f32bc8 rfp=3D0xc0f32c24 r10=3D0x00000100 r9=3D0x00001000 r8=3D0x00000000 r7=3D0x00000000 r6=3D0xc3853000 r5=3D0x000000ff r4=3D0xc38544cc mge_alloc_desc_dma() at mge_alloc_desc_dma+0x10 scp=3D0xc0bc8f7c rlv=3D0xc0bc9528 (mge_attach+0x284) rsp=3D0xc0f32c28 rfp=3D0xc0f32cac= From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 12:31:46 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 450D03AA; Thu, 26 Sep 2013 12:31:46 +0000 (UTC) (envelope-from rrs@lakerest.net) Received: from lakerest.net (lakerest.net [70.155.160.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B8C5726CA; Thu, 26 Sep 2013 12:31:45 +0000 (UTC) Received: from [10.61.38.164] ([38.122.72.170]) (authenticated bits=0) by lakerest.net (8.14.4/8.14.3) with ESMTP id r8QCVacI041733 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 26 Sep 2013 08:31:37 -0400 (EDT) (envelope-from rrs@lakerest.net) Subject: Re: FreeBSD 9.2 ARM dma bug Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Randall Stewart In-Reply-To: <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> Date: Thu, 26 Sep 2013 08:31:36 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <85242180-A39F-49BB-B726-752D2F8F9B1F@lakerest.net> References: <7BA67ED8-2F3C-4B9F-8816-2D294A973CAF@freebsd.org> <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> To: Fabien Thomas X-Mailer: Apple Mail (2.1283) 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, 26 Sep 2013 12:31:46 -0000 Fabien: Hmm, I am not sure whats different but I have a DreamPlug with a kirkwood and I have it up now without an issue. Of course I am using Head not 9.2 You might want to take a look at the changes in the arm/mv directory between head and 9.2 and see if there is anything you can back-port (if you don't want to run head/10.0) R On Sep 26, 2013, at 4:39 AM, Fabien Thomas wrote: > Hi, >=20 > I've been trying to boot a recent FreeBSD 9.2 on kirkwood but it seems = that dma code is broken. > Is there a known problem on this? >=20 > I've found that r251874 seems to introduce the problem. >=20 > Fabien >=20 >=20 > Failed boot (the error message is about number of segment but in fact = the dma subsystem return EFBIG): >=20 > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-STABLE #23 r251874+3a840b9-dirty: Wed Sep 11 12:21:33 CEST = 2013 > = fabient@refbench:/home/fabient/obj/arm.arm/data/usr/home/fabient/fabient-f= reebsd/sys/X10 arm > gcc version 4.2.1 20070831 patched [FreeBSD] > WARNING: WITNESS option enabled, expect reduced performance. > WARNING: DIAGNOSTIC option enabled, expect reduced performance. > CPU: Feroceon 88FR131 rev 1 (Marvell core) > DC enabled IC enabled WB enabled EABT branch prediction enabled > 16KB/32B 4-way Instruction cache > 16KB/32B 4-way write-back-locking-C Data cache > real memory =3D 536870912 (512 MB) > avail memory =3D 516317184 (492 MB) > SOC: Marvell 88F6281 rev A1, TClock 200MHz > simplebus0: on fdtbus0 > ic0: mem = 0xf1020200-0xf102023b on simplebus0 > timer0: mem 0xf1020300-0xf102032f irq 1 on = simplebus0 > Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 > Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 > gpio0: mem 0xf1010100-0xf101011f = irq 35,36,37,38,39,40,41 on simplebus0 > device_attach: gpio0 attach returned 6 > gpio0: on simplebus0 > simplebus0: no default resources for rid =3D 0, type =3D 3 > gpio0: could not allocate resources > device_attach: gpio0 attach returned 6 > rtc0: mem 0xf1010300-0xf1010307 on simplebus0 > twsi0: mem = 0xf1011000-0xf101101f irq 43 on simplebus0 > iicbus0: on twsi0 > iic0: on iicbus0 > iicbus0: at addr 0 > mge0: mem 0xf1072000-0xf1073fff = irq 12,13,14,11,46 on simplebus0 > panic: wrong number of segments, should be 1 > KDB: enter: panic > [ thread pid 0 tid 100000 ] > Stopped at $d: ldrb r15, [r15, r15, ror r15]! >=20 > db> bt > Tracing pid 0 tid 100000 td 0xc0cab420 > kdb_enter() at kdb_enter+0x14 > scp=3D0xc0a0cebc rlv=3D0xc09dc73c (panic+0x128) > rsp=3D0xc0f32b2c rfp=3D0xc0f32b40 > r5=3D0xc0cba8cc r4=3D0x00000100 > panic() at panic+0x18 > scp=3D0xc09dc62c rlv=3D0xc0bc7914 ($d) > rsp=3D0xc0f32b54 rfp=3D0xc0f32b60 > mge_get_dma_addr() at mge_get_dma_addr+0x18 > scp=3D0xc0bc7908 rlv=3D0xc0a094ec (bus_dmamap_load+0x100) > rsp=3D0xc0f32b64 rfp=3D0xc0f32bc4 > bus_dmamap_load() at bus_dmamap_load+0x10 > scp=3D0xc0a093fc rlv=3D0xc0bc8fe8 (mge_alloc_desc_dma+0x7c) > rsp=3D0xc0f32bc8 rfp=3D0xc0f32c24 > r10=3D0x00000100 r9=3D0x00001000 > r8=3D0x00000000 r7=3D0x00000000 r6=3D0xc3853000 r5=3D0x000000ff > r4=3D0xc38544cc > mge_alloc_desc_dma() at mge_alloc_desc_dma+0x10 > scp=3D0xc0bc8f7c rlv=3D0xc0bc9528 (mge_attach+0x284) > rsp=3D0xc0f32c28 rfp=3D0xc0f32cac > _______________________________________________ > 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 ------------------------------ Randall Stewart 803-317-4952 (cell) From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 13:07:13 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A8551162 for ; Thu, 26 Sep 2013 13:07:13 +0000 (UTC) (envelope-from fabient@freebsd.org) Received: from work.netasq.com (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6D2AF28BC for ; Thu, 26 Sep 2013 13:07:13 +0000 (UTC) Received: from work.netasq.com (localhost [127.0.0.1]) by work.netasq.com (Postfix) with ESMTP id 18B8E270638E; Thu, 26 Sep 2013 15:07:12 +0200 (CEST) Received: from fabient.netasq.com (unknown [91.212.116.2]) by work.netasq.com (Postfix) with ESMTPSA id BA0622706362; Thu, 26 Sep 2013 15:07:11 +0200 (CEST) Subject: Re: FreeBSD 9.2 ARM dma bug Mime-Version: 1.0 (Apple Message framework v1283) From: Fabien Thomas In-Reply-To: <85242180-A39F-49BB-B726-752D2F8F9B1F@lakerest.net> Date: Thu, 26 Sep 2013 15:07:03 +0200 Message-Id: <5E6D4E01-8FD1-4BE4-A379-EB455E2D1BDD@freebsd.org> References: <7BA67ED8-2F3C-4B9F-8816-2D294A973CAF@freebsd.org> <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> <85242180-A39F-49BB-B726-752D2F8F9B1F@lakerest.net> To: Randall Stewart X-Mailer: Apple Mail (2.1283) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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, 26 Sep 2013 13:07:13 -0000 Le 26 sept. 2013 =E0 14:31, Randall Stewart a =E9crit : > Fabien: >=20 > Hmm, I am not sure whats different but I have a DreamPlug with > a kirkwood and I have it up now without an issue. >=20 > Of course I am using Head not 9.2 >=20 > You might want to take a look at the changes in > the arm/mv >=20 > directory between head and 9.2 and see if there is anything > you can back-port (if you don't want to run head/10.0) This one seems to be a good candidate :) = http://svnweb.freebsd.org/base/head/sys/arm/arm/busdma_machdep.c?r1=3D2468= 81&r2=3D246880&pathrev=3D246881 Thanks, Fabien From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 14:40:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A7D38399 for ; Thu, 26 Sep 2013 14:40:20 +0000 (UTC) (envelope-from fabient@freebsd.org) Received: from work.netasq.com (gwlille.netasq.com [91.212.116.1]) by mx1.freebsd.org (Postfix) with ESMTP id 551FE2E64 for ; Thu, 26 Sep 2013 14:40:20 +0000 (UTC) Received: from work.netasq.com (localhost [127.0.0.1]) by work.netasq.com (Postfix) with ESMTP id 47DDB2706638 for ; Thu, 26 Sep 2013 16:40:15 +0200 (CEST) Received: from fabient.netasq.com (unknown [91.212.116.2]) by work.netasq.com (Postfix) with ESMTPSA id 2DA1C270661F for ; Thu, 26 Sep 2013 16:40:15 +0200 (CEST) From: Fabien Thomas Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: FreeBSD 9.2 ARM dma bug Date: Thu, 26 Sep 2013 16:40:14 +0200 In-Reply-To: <5E6D4E01-8FD1-4BE4-A379-EB455E2D1BDD@freebsd.org> To: freebsd-arm@freebsd.org References: <7BA67ED8-2F3C-4B9F-8816-2D294A973CAF@freebsd.org> <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> <85242180-A39F-49BB-B726-752D2F8F9B1F@lakerest.net> <5E6D4E01-8FD1-4BE4-A379-EB455E2D1BDD@freebsd.org> Message-Id: X-Mailer: Apple Mail (2.1283) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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, 26 Sep 2013 14:40:20 -0000 Le 26 sept. 2013 =E0 15:07, Fabien Thomas a =E9crit : >=20 > Le 26 sept. 2013 =E0 14:31, Randall Stewart a =E9crit : >=20 >> Fabien: >>=20 >> Hmm, I am not sure whats different but I have a DreamPlug with >> a kirkwood and I have it up now without an issue. >>=20 >> Of course I am using Head not 9.2 >>=20 >> You might want to take a look at the changes in >> the arm/mv >>=20 >> directory between head and 9.2 and see if there is anything >> you can back-port (if you don't want to run head/10.0) >=20 > This one seems to be a good candidate :) > = http://svnweb.freebsd.org/base/head/sys/arm/arm/busdma_machdep.c?r1=3D2468= 81&r2=3D246880&pathrev=3D246881 For others, it works...but now panic on USB with ehci0: mem 0xf1050000-0xf1050fff = irq 48,19 on simplebus0 usbus0: EHCI version 1.0 usbus0: stop timeout usbus0: set host controller mode usbus0 on ehci0 panic: Bad tailq NEXT(0xc0e5c5ec->tqh_last) !=3D NULL =09 >=20 > Thanks, > Fabien >=20 From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 16:46:09 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 18EBA1A1; Thu, 26 Sep 2013 16:46:09 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E07A228CE; Thu, 26 Sep 2013 16:46:08 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VPEhW-0008G2-In; Thu, 26 Sep 2013 16:46:02 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r8QGjxjc005740; Thu, 26 Sep 2013 10:45:59 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/j1gO/ivlTyomLbaLYVpgT Subject: Re: FreeBSD 9.2 ARM dma bug From: Ian Lepore To: Fabien Thomas In-Reply-To: References: <7BA67ED8-2F3C-4B9F-8816-2D294A973CAF@freebsd.org> <8B549CBC-A933-460B-8EB7-DD6019757492@freebsd.org> <85242180-A39F-49BB-B726-752D2F8F9B1F@lakerest.net> <5E6D4E01-8FD1-4BE4-A379-EB455E2D1BDD@freebsd.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Thu, 26 Sep 2013 10:45:59 -0600 Message-ID: <1380213959.1197.218.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by damnhippie.dyndns.org id r8QGjxjc005740 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, 26 Sep 2013 16:46:09 -0000 On Thu, 2013-09-26 at 16:40 +0200, Fabien Thomas wrote: > Le 26 sept. 2013 =E0 15:07, Fabien Thomas a =E9crit : >=20 > >=20 > > Le 26 sept. 2013 =E0 14:31, Randall Stewart a =E9crit : > >=20 > >> Fabien: > >>=20 > >> Hmm, I am not sure whats different but I have a DreamPlug with > >> a kirkwood and I have it up now without an issue. > >>=20 > >> Of course I am using Head not 9.2 > >>=20 > >> You might want to take a look at the changes in > >> the arm/mv > >>=20 > >> directory between head and 9.2 and see if there is anything > >> you can back-port (if you don't want to run head/10.0) > >=20 > > This one seems to be a good candidate :) > > http://svnweb.freebsd.org/base/head/sys/arm/arm/busdma_machdep.c?r1=3D= 246881&r2=3D246880&pathrev=3D246881 >=20 > For others, it works...but now panic on USB with >=20 > ehci0: mem 0xf1050000-0xf1050ff= f irq 48,19 on simplebus0 > usbus0: EHCI version 1.0 > usbus0: stop timeout > usbus0: set host controller mode > usbus0 on ehci0 > panic: Bad tailq NEXT(0xc0e5c5ec->tqh_last) !=3D NULL > =09 Make sure you've got option USB_HOST_ALIGN=3D32 in your kernel config. Sad to say, but I'm afraid arm support on the 9.x branches may be a bit weak. I know there's things that have been fixed on head and not MFC'd to older branches. -- Ian From owner-freebsd-arm@FreeBSD.ORG Thu Sep 26 22:59: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9DF968FE; Thu, 26 Sep 2013 22:59:42 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 170E2207C; Thu, 26 Sep 2013 22:59:41 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8QMVVLa095904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 27 Sep 2013 00:31:32 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8QMVKNX009780 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Sep 2013 00:31:20 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8QMVKQK078060; Fri, 27 Sep 2013 00:31:20 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8QMVK95078059; Fri, 27 Sep 2013 00:31:20 +0200 (CEST) (envelope-from ticso) Date: Fri, 27 Sep 2013 00:31:20 +0200 From: Bernd Walter To: Ian Lepore Subject: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). Message-ID: <20130926223120.GM65622@cicely7.cicely.de> References: <1378866956.1111.608.camel@revolution.hippie.lan> <1379101800.1111.642.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1379101800.1111.642.camel@revolution.hippie.lan> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: Christoph Roland Murauer , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Sep 2013 22:59:42 -0000 On Fri, Sep 13, 2013 at 01:50:00PM -0600, Ian Lepore wrote: > On Fri, 2013-09-13 at 20:51 +0200, Christoph Roland Murauer wrote: > > Thanks for your answers ! > > > > Am 11.09.2013 um 04:35 schrieb Ian Lepore : > > > > >>> or the comming UDOO board (http://shop.udoo.org/pre-order/udoo-quad.html) > > >>> to have a gateway / firewall on this device and between the other 2 devices > > >>> ? > > >> > > >> UDOO seems to have i.MX6 SoC which support is not in src tree yet, although > > >> ian@ is working on it iirc. > > > > > > I have a single-core i.mx6 (wandboard) booting to multiuser mode with > > > sdcard and ethernet drivers working. I don't have usb going yet, but > > > someone else has it working on a quad-core, so that's more done than > > > not. If we weren't in a code freeze I'd be thinking about getting this > > > bare-bones support checked in so others can hack on it too. > > > > > > -- Ian > > > > I am not a developer / programmer (maybe planned to learn some C) but what do you mean with ?code freeze" ? What could be done to get some progress at this topic ? > > > > FreeBSD is getting close to releasing 10.0, so right now we can't make > major changes to the source base, only fixes and changes that tend to > stabilize things for the upcoming release. Overall it's a great way to > get a solid release on existing platforms, but it's a bit hard to work > with right now in the ARM world where we have a lot of innovation > happening and suddenly we can't check in anything for a few weeks. > > I've got USB up and running on my solo, btw, and I'm working on some > clock-and-power support that's a bit less of a hack than the ugly stuff > I did to get the board to boot at all. In a few days I think I'll be > able to publish a patchset anyone can use, even if I can't check it in > for a while. > > I also ordered a wandboard quad, so in a couple weeks I'll have figured > out what things I've foolishly done in a imx6-solo-specific way and > rework them to work right on the whole imx6 family. This is very exciting news. I have two dual and one quad Wandboard waiting for FreeBSD to get installed. Is also bought a dual core MarS-Board, since it has switches for Bootoptions. What is the SMP status anyway? Today I'd used crochet to get some tests done on Beaglebone Black, RasberryPI and Zedboard. So far all booted without problems, just the Raspi needed comconsole setup added. The Zedboard has dual core, but FreeBSD only used one. I also noted that the Beaglebone Black seems to run at 550MHz only. I've found out from NetBSD mailinglist, that the PLL must be reprogrammed for higer frequency and the core voltage needs adjustment too. Of those 3 boards the BBB was the only board mention CPU frequency at all. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 00:19:26 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 76101FE2 for ; Fri, 27 Sep 2013 00:19:26 +0000 (UTC) (envelope-from leishen2345@sina.com) Received: from smtp2911-211.mail.sina.com.cn (mail2-160.sinamail.sina.com.cn [60.28.2.160]) by mx1.freebsd.org (Postfix) with SMTP id BD0582431 for ; Fri, 27 Sep 2013 00:19:21 +0000 (UTC) Received: from unknown( HELO webmail.sinamail.sina.com.cn)([172.16.201.22]) by sina.com with SMTP 27 Sep 2013 08:19:16 +0800 (CST) X-Sender: leishen2345@sina.com X-SMAIL-MID: 8022728668126 Received: by webmail.sinamail.sina.com.cn (Postfix, from userid 80) id 183D8D00001; Fri, 27 Sep 2013 08:19:16 +0800 (CST) Date: Fri, 27 Sep 2013 08:19:15 +0800 Received: from leishen2345@sina.com([221.217.30.28]) by m0.mail.sina.com.cn via HTTP; Fri, 27 Sep 2013 08:19:15 +0800 (CST) From: To: "freebsd-arm" Subject: clothes, wigs, accessories and coffee MIME-Version: 1.0 X-Priority: 3 X-MessageID: 1380241155.9106.24251 X-Originating-IP: [172.16.201.22] X-Mailer: Sina WebMail 4.0 X-Sina-Sendseparate: 1 Message-Id: <20130927001916.183D8D00001@webmail.sinamail.sina.com.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: leishen2345@sina.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 00:19:26 -0000 IAoNCgoNCg0KLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQpGcm9tOiA8bGVpc2hlbjIzNDVA c2luYS5jb20+ClRvOiAidmFndmFtcGlyZSIgPHZhZ3ZhbXBpcmVAeWFuZGV4LnJ1PiwgImxhdGlu IiA8bGF0aW5AaWNzLnRyYT4sICJlZmkiIDxlZmlAaWNzLnRyYT4sICJla3IxIiA8ZWtyMUBpY3Mu dHJhPiwgImluZm8iIDxpbmZvQHBjLWVybGVybmVuLmRlPiwgInByZXNzIiA8cHJlc3NAb3BlbnNv dXJjZS5vcmc+LCAiaW5mbyIgPGluZm9AbmV0c2NhcGUuY29tPiwgIndpcmUtc2VydmljZSIgPHdp cmUtc2VydmljZUBvcGVuc291cmNlLm9yZz4sICJlc3IiIDxlc3JAdGh5cnN1cy5jb20+LCAid2Vi bWFzdGVyIiA8d2VibWFzdGVyQG9wZW5zb3VyY2Uub3JnPiwgImVzciIgPGVzckBzbmFyay50aHly c3VzLmNvbT4sICJzaG9sZGVuIiA8c2hvbGRlbkB0aGVvcGVuYmFzdGlvbi5jb20+LCAid2VibWFz dGVyIiA8d2VibWFzdGVyQGRlYmlhbi5vcmc+LCAib3NpIiA8b3NpQG9wZW5zb3VyY2Uub3JnPiwg ImluZm8iIDxpbmZvQHRoZW9wZW5iYXN0aW9uLmNvbT4sICJwZG0iIDxwZG1AYWZ1bC5vcmc+LCAi aW5mbyIgPGluZm9Ab3N1b3NsLm9yZz4sICJsaWNlbnNlLXJldmlldyIgPGxpY2Vuc2UtcmV2aWV3 QG9wZW5zb3VyY2Uub3JnPiwgImxpY2Vuc2UtZGlzY3VzcyIgPGxpY2Vuc2UtZGlzY3Vzc0BvcGVu c291cmNlLm9yZz4sICJvc2ktZWR1LWRpc2N1c3MiIDxvc2ktZWR1LWRpc2N1c3NAbWVtYmVycy5v cGVuc291cmNlPiwgImluZm8iIDxpbmZvQGFydG9mbW9kZXJucm9jay5jb20+LCAiaW5mbyIgPGlu Zm9AZGllc2VsZnVlbHByaW50cy5jbz4sICJnaXZpbmciIDxnaXZpbmdAd2lraW1lZGlhLm9yZz4s ICJmcmVlYnNkLWRvYyIgPGZyZWVic2QtZG9jQEZyZWVCU0Qub3JnPiwKU3ViamVjdDogY2xvdGhl cywgd2lncywgYWNjZXNzb3JpZXMgYW5kIGNvZmZlZQpEYXRlOiAyMDEzLTA5LTI3IDA4OjE1Cg0K Cg0KIAoNCgoNCg0KLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLQpGcm9tOiA8bGVpc2hlbjIz NDVAc2luYS5jb20+ClRvOiAiZG9uYXRlIiA8ZG9uYXRlQG9wZW5jYXJ0LmNvbT4sICJ2YWd2YW1w aXJlIiA8dmFndmFtcGlyZUB5YW5kZXgucnU+LCAiZG9taW5pY2FuYSIgPGRvbWluaWNhbmFAaWNz LnRyYT4sICJsYXRpbiIgPGxhdGluQGljcy50cmE+LCAiZWZpIiA8ZWZpQGljcy50cmE+LCAiZWty MSIgPGVrcjFAaWNzLnRyYT4sICJpbmZvIiA8aW5mb0BwYy1lcmxlcm5lbi5kZT4sICJwcmVzcyIg PHByZXNzQG9wZW5zb3VyY2Uub3JnPiwgImluZm8iIDxpbmZvQG5ldHNjYXBlLmNvbT4sICJ3aXJl LXNlcnZpY2UiIDx3aXJlLXNlcnZpY2VAb3BlbnNvdXJjZS5vcmc+LCAiZXNyIiA8ZXNyQHRoeXJz dXMuY29tPiwgImVzciIgPGVzckBzbmFyay50aHlyc3VzLmNvbT4sICJ3ZWJtYXN0ZXIiIDx3ZWJt YXN0ZXJAb3BlbnNvdXJjZS5vcmc+LCAiZGViYnJ5YW50IiA8ZGViYnJ5YW50QG9wZW5zb3VyY2Uu b3JnPiwgInNob2xkZW4iIDxzaG9sZGVuQHRoZW9wZW5iYXN0aW9uLmNvbT4sICJ3ZWJtYXN0ZXIi IDx3ZWJtYXN0ZXJAZGViaWFuLm9yZz4sICJkZWJpYW4td3d3IiA8ZGViaWFuLXd3d0BsaXN0cy5k ZWJpYW4ub3JnPiwgIm9zaSIgPG9zaUBvcGVuc291cmNlLm9yZz4sICJpbmZvIiA8aW5mb0B0aGVv cGVuYmFzdGlvbi5jb20+LCAicGRtIiA8cGRtQGFmdWwub3JnPiwKU3ViamVjdDogRnc6IGNsb3Ro ZXMsIHdpZ3MsIGFjY2Vzc29yaWVzIGFuZCBjb2ZmZWUKRGF0ZTogMjAxMy0wOS0yNyAwODoxMAoN CgoNCiAKDQoKDQoNCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KRnJvbTogPGxlaXNoZW4y MzQ1QHNpbmEuY29tPgpUbzogIjI2Njk1OTQyIiA8MjY2OTU5NDJATjAwLmpwZz4sICI0NDEyNDQz MTg0NyIgPDQ0MTI0NDMxODQ3QE4wMS5qcGc+LCAiNjY4OTcyODYiIDw2Njg5NzI4NkBOMDAuanBn PiwgIjc1NTYyMDQiIDw3NTU2MjA0QE4wNS5qcGc+LCAiTGFzdFRvdWNoIiA8TGFzdFRvdWNoQGhh Y2tlcm1haWwuY29tPiwgImFjaGUiIDxhY2hlQEZyZWVCU0Qub3JnPiwgImFjbSIgPGFjbUBGcmVl QlNELm9yZz4sICJhZHJpYW4iIDxhZHJpYW5ARnJlZUJTRC5vcmc+LCAiYWUiIDxhZUBGcmVlQlNE Lm9yZz4sICJhaHplIiA8YWh6ZUBGcmVlQlNELm9yZz4sICJha2l5YW1hIiA8YWtpeWFtYUBGcmVl QlNELm9yZz4sICJhbGMiIDxhbGNARnJlZUJTRC5vcmc+LCAiYWxlIiA8YWxlQEZyZWVCU0Qub3Jn PiwgImFtYnJpc2tvIiA8YW1icmlza29ARnJlZUJTRC5vcmc+LCAiYW50b2luZSIgPGFudG9pbmVA RnJlZUJTRC5vcmc+LCAiYXJhdWpvIiA8YXJhdWpvQEZyZWVCU0Qub3JnPiwgImFydmVkIiA8YXJ2 ZWRARnJlZUJTRC5vcmc+LCAiYXZnIiA8YXZnQEZyZWVCU0Qub3JnPiwgImF6diIgPGF6dkBpY3Mu dHJhPiwKU3ViamVjdDogY2xvdGhlcywgd2lncywgYWNjZXNzb3JpZXMgYW5kIGNvZmZlZQpEYXRl OiAyMDEzLTA5LTI3IDA4OjA3Cg0KCg0KaHR0cDovL3d3dy5hbGlleHByZXNzLmNvbS9pdGVtLWlt Zy9PbGQtdG93bi1vbGR0b3duMy0xLWhvcnNlLXBsYW50LWluc3RhbnQtd2hpdGUtY29mZmVlLXN1 Z2FyLWZyZWUvMTMyNDk5NzE5OS5odG1sDQogDQogDQogDQpEZWFyIGZyaWVuZCEgSSBhbSBhIG5l dw0KaW50ZXJuYXRpb25hbCBzdG9yZSAoRnJlZSBjbHViKSBsb2NhdGVkIGluIENoYW5ncGluZyBk aXN0cmljdCBvZiBCZWlqaW5nIHdoZXJlDQpjYXJnbyB0cmFuc3BvcnRhdGlvbiBpcyBjb252ZW5p ZW50Lg0KIA0KT3VyIGhhdmUgcGxlbnR5IG9mDQpwcm9kdWN0cyBzdWNoIGFzIGNsb3RoZXMsIHdp Z3MsIGFjY2Vzc29yaWVzIGFuZCBjb2ZmZWUuIFRoZSBwcm9kdWN0c+KAmSBxdWFsaXR5DQphcmUg YXNzdXJlZC4NCiANCkJlY2F1c2UgdGhlIHN0b3JlIGhhcyBiZWVuIGZvdW5kZWQgcmVjZW50bHks IG91cg0KcHJvZHVjdHMgd2lsbCBoYXZlIGEgbG93ZXIgZGlzY291bnQuIA0KTWF5YmUgd2UgY2Fu IHByb3ZpZGUgc21hbGwgZ2lmdHMgdG8gc2hvdyBvdXINCnNpbmNlcml0eS4NClRvIHNhdmUgeW91 ciBtb25leSwgd2Ugd2lsbCBjaG9vc2UgU21hbGwgcGFja2FnZSBmb3INCmFpciBwYXJjZWwgYXMg dGhlIGZpcnN0IHNoaXBwaW5nIHdheS4NCjEuIENvbnRhY3QgdXMNCkEuICAgICBQbGVhc2UgY2xp Y2sgdGhlIGxpbmsgYmVsb3cgKCB0aGUgRnJlZSBjbHViKQ0KICAgaHR0cDovL3d3dy5hbGlleHBy ZXNzLmNvbS9zdG9yZS8yMzY1NzINCkIuICAgICBQbGVhc2Ugc2VuZCBsZXR0ZXJzIHRvIHVzLCB0 aGUgZW1haWwgYWRkcmVzczoNCnN1bWFpdG9uZ2Jlc3RAaG90bWFpbC5jb20NCkMuICAgICBQbGVh c2UgY29udGFjdCB3aXRoIHVzIGJ5IHRoZSBUcmFkZU1hbmFnZXINCm9ubGluZQ0KICAgVHJhZGVN YW5hZ2VyIG51bWJlcjogY24xNTEwMDQ4OTEzDQogDQoyLiBUaGUgbWV0aG9kIG9mIHBheW1lbnQN CldlIHdpbGwgdmVyeSBhcHByZWNpYXRlIGl0IGlmIHlvdSBjaG9zZSBXZXN0IFVuaW9uLg0KT3Vy IGFjY291bnQgaW5mb3JtYXRpb24gaXMgYXMgYmVsb3cgLCBwbGVhc2UNCnRyYW5zZmVyIHRoZSBw YXltZW50IHRvOg0KIA0KRmlyc3QgbmFtZe+8mldBTkcgDQpDaXR577yaQ0hJTkENCiANCkRlYXIg Y3VzdG9tZXIsIGlmIHlvdQ0KYXJlIHdpbGxpbmcgdG8gYmUgb3VyIHBhcnRuZXIsIHdlIHdpbGwg bGV0IHlvdSBmZWVsIHNhdGlzZmllZCBieSBvdXIgcHJhY3RpY2FsDQphY3Rpb24uDQpJZiB5b3Ug aGF2ZSBhbnkNCnF1ZXN0aW9ucywgcGxlYXNlIHJlcGx5IHRvIHVzIQ0KSSB3aXNoIHlvdSBhIGhh cHB5IGxpZmUuDQogDQpXZSBjYW4gYmUgeW91ciBUYW9iYW8NCmFnZW50IHRvbyENCiANCiANCmh0 dHA6Ly93d3cudGFvYmFvLmNvbS8/c3BtPTEuMTAwMDM4Ni5hMzEyNS4xLnhxWHl5OA0KIA0KIA0K RnJlZSBDbHViIHNlcnZpY2UNCiANCiANCiANCg0KDQo= From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 02:43:49 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7871E576 for ; Fri, 27 Sep 2013 02:43:49 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 52BA32B59 for ; Fri, 27 Sep 2013 02:43:49 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r8R2heZp035235; Fri, 27 Sep 2013 02:43:40 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 99j7gwtz7uvxtyps6tm259msyw; Fri, 27 Sep 2013 02:43:40 +0000 (UTC) (envelope-from kientzle@freebsd.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). From: Tim Kientzle In-Reply-To: <20130926223120.GM65622@cicely7.cicely.de> Date: Thu, 26 Sep 2013 19:43:39 -0700 Content-Transfer-Encoding: 7bit Message-Id: <8F8B0558-4B7A-4BC6-BF93-A89E5533C567@freebsd.org> References: <1378866956.1111.608.camel@revolution.hippie.lan> <1379101800.1111.642.camel@revolution.hippie.lan> <20130926223120.GM65622@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.1510) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 02:43:49 -0000 On Sep 26, 2013, at 3:31 PM, Bernd Walter wrote: > I also noted that the Beaglebone Black seems to run at 550MHz only. > I've found out from NetBSD mailinglist, that the PLL must be > reprogrammed for higer frequency and the core voltage needs adjustment > too. > Of those 3 boards the BBB was the only board mention CPU frequency at all. I've not looked into the code required, but I know some of the issues: * For the older "white" Beaglebone, at least, the CPU frequency needs to be set properly depending on the power supply. So "someone" needs to read the PMIC and determine whether power is coming from the 5V input or from USB. In the latter case, I believe the lower frequency may be appropriate. * For BB White, I believe the "someone" was U-Boot; the FreeBSD kernel just assumed the CPU was already properly initialized. I haven't looked to see if the U-Boot we're using now does power config for BBB. * We should add a PMIC driver and do this setting in our kernel. Tim From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 17:03:14 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EACBF19B for ; Fri, 27 Sep 2013 17:03:14 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 628362DF7 for ; Fri, 27 Sep 2013 17:03:13 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8RH308W025414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 27 Sep 2013 19:03:00 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8RH2l7n022731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Sep 2013 19:02:47 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8RH2l6f083348; Fri, 27 Sep 2013 19:02:47 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8RH2lI6083347; Fri, 27 Sep 2013 19:02:47 +0200 (CEST) (envelope-from ticso) Date: Fri, 27 Sep 2013 19:02:47 +0200 From: Bernd Walter To: Martin Laabs Subject: Re: Raspberry PI sporadically fails to mount mmc card Message-ID: <20130927170246.GA82284@cicely7.cicely.de> References: <521D92CA.8050008@martinlaabs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521D92CA.8050008@martinlaabs.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 17:03:15 -0000 On Wed, Aug 28, 2013 at 08:03:54AM +0200, Martin Laabs wrote: > Hi, > > Sporadically the raspberry pi fails to mount its root mmc card. After power > off and power on again it works most of the time. However there seem to be > also configurations that fail permanently. Unfortunately I have no image of > a sd card that fails on every boot. I see a similar very strange thing. 6 Raspi (256MB Eth Version) bought at the same time from same batch. 6 identic 8GB Transcent SD cards bought at the same time and likely also same batch. Used one card to copy crochet build image from r255729 source. Booting fine, but identified as 1bit: mmcsd0: 8GB at mmc0 25.0MHz/1bit/65535-block On reboot it fails, but works on next boot without power down. I'd tuned the installation and copy'ed the card to the 5 others. None of the others were booting in the other raspi boards, but the original card still worked in the original raspi. All systems are running with power from same USB-hub. Then I'd placed the working card in anther raspi and it failed as well: mmcsd0: 8GB at mmc0 50.0MHz/4bit/65535-block mmcsd0: Error indicated: 1 Timeout However it is probed with 4bit and higher bitrate. This must be a very marginal problem when identic systems either work or not. Since the working condition is probed as 1 bit I wonder if there is a generel 4 bit problem and addtional this single combo probes wrong as 1 bit? -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 17:11:57 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1B7892E0 for ; Fri, 27 Sep 2013 17:11:57 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8722E2E94 for ; Fri, 27 Sep 2013 17:11:56 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8RHBs4L025489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 27 Sep 2013 19:11:54 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8RHBhCJ022805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Sep 2013 19:11:43 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8RHBhmk083393; Fri, 27 Sep 2013 19:11:43 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8RHBhPv083392; Fri, 27 Sep 2013 19:11:43 +0200 (CEST) (envelope-from ticso) Date: Fri, 27 Sep 2013 19:11:43 +0200 From: Bernd Walter To: Martin Laabs Subject: Re: Raspberry PI sporadically fails to mount mmc card Message-ID: <20130927171142.GB82284@cicely7.cicely.de> References: <521D92CA.8050008@martinlaabs.de> <20130927170246.GA82284@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130927170246.GA82284@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 17:11:57 -0000 On Fri, Sep 27, 2013 at 07:02:47PM +0200, Bernd Walter wrote: > On Wed, Aug 28, 2013 at 08:03:54AM +0200, Martin Laabs wrote: > > Hi, > > > > Sporadically the raspberry pi fails to mount its root mmc card. After power > > off and power on again it works most of the time. However there seem to be > > also configurations that fail permanently. Unfortunately I have no image of > > a sd card that fails on every boot. > > I see a similar very strange thing. > > 6 Raspi (256MB Eth Version) bought at the same time from same batch. > 6 identic 8GB Transcent SD cards bought at the same time and likely > also same batch. > > Used one card to copy crochet build image from r255729 source. > Booting fine, but identified as 1bit: > mmcsd0: 8GB at mmc0 25.0MHz/1bit/65535-block > On reboot it fails, but works on next boot without power down. > > I'd tuned the installation and copy'ed the card to the 5 others. > None of the others were booting in the other raspi boards, but the > original card still worked in the original raspi. > All systems are running with power from same USB-hub. > Then I'd placed the working card in anther raspi and it failed as > well: > mmcsd0: 8GB at mmc0 50.0MHz/4bit/65535-block > mmcsd0: Error indicated: 1 Timeout > However it is probed with 4bit and higher bitrate. > This must be a very marginal problem when identic systems either > work or not. > Since the working condition is probed as 1 bit I wonder if there > is a generel 4 bit problem and addtional this single combo probes > wrong as 1 bit? Another combo is working. This time with 4bit and 25MHz: mmcsd0: 8GB at mmc0 25.0MHz/4bit/65535-block -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 19:59: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F0AC96F1 for ; Fri, 27 Sep 2013 19:59:33 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF3D27E9 for ; Fri, 27 Sep 2013 19:59:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 59150154113 for ; Fri, 27 Sep 2013 21:59:20 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -2.95 X-Spam-Level: X-Spam-Status: No, score=-2.95 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_FB_WORD2_END_DOLLAR=0.01, T_KHOP_THREADED=-0.01, T_NICE_REPLY_A=0.01, T_TVD_SUBJ_NUM_OBFU=0.01, T_TVD_SUBJ_NUM_OBFU2=0.01, T_TVD_SUBJ_NUM_OBFU3=0.01, T_UNKNOWN_ORIGIN=0.01] autolearn=ham Authentication-Results: galore.get.c.bitbit.net (amavisd-new); dkim=pass (1024-bit key) header.d=getmail.no Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id F2ypilsMnJXH for ; Fri, 27 Sep 2013 21:59:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 9D5B9154111 for ; Fri, 27 Sep 2013 21:59:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.7.1 galore.getmail.no 9D5B9154111 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1380311959; bh=v7RWTn7bjcqCS1Zgdss8KmuhCMaDyY1/dKGdSzZfpQQ=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=sYulNaqw8pT27YYTI5UBHZ/yoWOot0+lHkip4bE/DUo/ltOye6jb2hed7gt9EbSmv N89p2leDgyp6cgmlpsyZkdrSTb/sHtt7L18e7IYMrsywFwCdYqYt+b2zvkHMwh+26W q8b0ynhyi87osorLbqBOmAvz6Z/+QK6RwCiToc1o= X-Virus-Scanned: amavisd-new at Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i62pllKdZL7J for ; Fri, 27 Sep 2013 21:59:19 +0200 (CEST) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by galore.getmail.no (Postfix) with ESMTPSA id 78FF6154110 for ; Fri, 27 Sep 2013 21:59:19 +0200 (CEST) Date: Fri, 27 Sep 2013 21:59:14 +0200 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: stm32flash under FreeBSD? Message-Id: <20130927215914.7e93129302efbfafc678994d@getmail.no> In-Reply-To: <20130919212900.5A46A97324E@macavity.inf.ed.ac.uk> References: <20130919212900.5A46A97324E@macavity.inf.ed.ac.uk> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 19:59:34 -0000 On Thu, 19 Sep 2013 22:29:00 +0100 (BST) Richard Tobin wrote: > > The log shows open, fcntl, tcgettatr, tcgettatr, tcflush, > tcsetattr, tcgettatr. The NLS stuff is inside perror(). > > serial_open() does open, fcntl, tcgettatr, tcgettatr. > > serial_setup() does tcflush, tcsetattr, tcgettatr, and then fails if > the tcgettatr doesn't match the tcsetattr. Presumably that's what's > happening. You were correct. :-) > I would put some debugging printf()s in to see what the settings > returned by the tcgettattr in serial_setup() are. A quick test, printing the flags in hex shows this: tingo@kg-core1$ ./stm32flash /dev/cuaU0 stm32flash - http://stm32flash.googlecode.com/ (read, written) iflag: 1, 1 (read, written) oflag: 0, 0 (read, written) cflag: db00, db10 (read, written) lflag: 0, 0 /dev/cuaU0: No such file or directory So the control flags differ, hmm. The code does this: switch(parity) { case SERIAL_PARITY_NONE: port_parity = 0; break; case SERIAL_PARITY_EVEN: port_parity = INPCK | PARENB; break; case SERIAL_PARITY_ODD : port_parity = INPCK | PARENB | PARODD; break; According to the man page INPCK is an input flag. But then they push that into the control flags here: h->newtio.c_cflag |= port_parity | port_bits | port_stop | CLOCAL | CREAD; which looks wrong to me. Comments? I wonder what happens if I just remove that flag in the code i the switch statement. Ok, it gets a bit further: tingo@kg-core1$ ./stm32flash /dev/cuaU0 stm32flash - http://stm32flash.googlecode.com/ (read, written) iflag: 1, 1 (read, written) oflag: 0, 0 (read, written) cflag: db00, db00 (read, written) lflag: 0, 0 Serial Config: 57600 8E1 read_byte: No such file or directory Assertion failed: (0), function stm32_read_byte, file stm32.c, line 90. Abort trap (core dumped) Truss output (in case it helps): tingo@kg-core1$ LANG=C truss ./stm32flash /dev/cuaU0 __sysctl(0x7fffffffe080,0x2,0x7fffffffe09c,0x7fffffffe090,0x0,0x0) = 0 (0x0) mmap(0x0,688,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365198336 (0x800535000) munmap(0x800535000,688) = 0 (0x0) __sysctl(0x7fffffffe0f0,0x2,0x80063f408,0x7fffffffe0e8,0x0,0x0) = 0 (0x0) mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34365198336 (0x800535000) issetugid(0x800536015,0x800530684,0x80064bb10,0x80064bae0,0x5991,0x0) = 0 (0x0) open("/etc/libmap.conf",O_RDONLY,0666) ERR#2 'No such file or directory' open("/var/run/ld-elf.so.hints",O_RDONLY,057) = 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0002\^A\0"...,128) = 128 (0x80) lseek(3,0x80,SEEK_SET) = 128 (0x80) read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,306) = 306 (0x132) close(3) = 0 (0x0) access("/lib/libc.so.7",0) = 0 (0x0) open("/lib/libc.so.7",O_RDONLY,030771340) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=5537727,size=1298464,blksize=32768 }) = 0 (0x0) pread(0x3,0x80063e2c0,0x1000,0x0,0x101010101010101,0x8080808080808080) = 4096 (0x1000) mmap(0x0,2371584,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 34366341120 (0x80064c000) mmap(0x80064c000,1085440,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 34366341120 (0x80064c000) mmap(0x800855000,126976,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x109000) = 34368475136 (0x800855000) mmap(0x800874000,110592,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 34368602112 (0x800874000) close(3) = 0 (0x0) mmap(0x0,656,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365231104 (0x80053d000) munmap(0x80053d000,656) = 0 (0x0) mmap(0x0,43904,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 34365231104 (0x80053d000) munmap(0x80053d000,43904) = 0 (0x0) sysarch(0x81,0x7fffffffe170,0x800539088,0x0,0xffffffffffcde450,0x8080808080808080) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffe100,0x2,0x80087a780,0x7fffffffe0f8,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) fstat(1,{ mode=crw--w---- ,inode=147,size=0,blksize=4096 }) = 0 (0x0) __sysctl(0x7fffffffe0c0,0x2,0x800879dc8,0x7fffffffe0b8,0x0,0x0) = 0 (0x0) __sysctl(0x7fffffffdfe0,0x2,0x7fffffffdf70,0x7fffffffdfd8,0x8007478c0,0xc) = 0 (0x0) __sysctl(0x7fffffffdf70,0x2,0x800879fd0,0x7fffffffe038,0x0,0x0) = 0 (0x0) readlink("/etc/malloc.conf",0x7fffffffe0e0,1024) ERR#2 'No such file or directory' issetugid(0x800746581,0x7fffffffe0e0,0xffffffffffffffff,0x0,0x2,0x0) = 0 (0x0) break(0x600000) = 0 (0x0) __sysctl(0x7fffffffe370,0x2,0x7fffffffe38c,0x7fffffffe380,0x0,0x0) = 0 (0x0) mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34368712704 (0x80088f000) mmap(0x800a8f000,1511424,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 34370809856 (0x800a8f000) munmap(0x80088f000,1511424) = 0 (0x0) ioctl(1,TIOCGETA,0xffffe550) = 0 (0x0) stm32flash - http://stm32flash.googlecode.com/ write(1,"stm32flash - http://stm32flash.g"...,47) = 47 (0x2f) write(1,"\n",1) = 1 (0x1) open("/dev/cuaU0",O_RDWR|O_NONBLOCK|O_NOCTTY,00) = 3 (0x3) fcntl(3,F_SETFL,0x0) = 0 (0x0) ioctl(3,TIOCGETA,0xa07084) = 0 (0x0) ioctl(3,TIOCGETA,0xa070b0) = 0 (0x0) ioctl(3,TIOCFLUSH,0xffffe5d4) = 0 (0x0) ioctl(3,TIOCSETA,0xa070b0) = 0 (0x0) ioctl(3,TIOCGETA,0xffffe630) = 0 (0x0) (read, written) iflag: 1, 1 write(2,"(read, written) iflag: 1, 1\n",28) = 28 (0x1c) (read, written) oflag: 0, 0 write(2,"(read, written) oflag: 0, 0\n",28) = 28 (0x1c) (read, written) cflag: db00, db00 write(2,"(read, written) cflag: db00, db0"...,34) = 34 (0x22) (read, written) lflag: 0, 0 write(2,"(read, written) lflag: 0, 0\n",28) = 28 (0x1c) Serial Config: 57600 8E1 write(1,"Serial Config: 57600 8E1\n",25) = 25 (0x19) write(3,"\^?",1) = 1 (0x1) read(3,0x7fffffffe62b,1) = 0 (0x0) stat("/usr/share/nls/C/libc.cat",0x7fffffffd850) ERR#2 'No such file or directory' stat("/usr/share/nls/libc/C",0x7fffffffd850) ERR#2 'No such file or directory' stat("/usr/local/share/nls/C/libc.cat",0x7fffffffd850) ERR#2 'No such file or directory' stat("/usr/local/share/nls/libc/C",0x7fffffffd850) ERR#2 'No such file or directory' read_byte: No such file or directory writev(0x2,0x7fffffffdd90,0x4,0x19,0x1b6664,0x800a00158) = 37 (0x25) Assertion failed: (0), function stm32_read_byte, file stm32.c, line 90. write(2,"Assertion failed: (0), function "...,72) = 72 (0x48) sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) getpid() = 19636 (0x4cb4) kill(19636,SIGABRT) = 0 (0x0) SIGNAL 6 (SIGABRT) process exit, rval = 0 -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 21:07: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4E8F9CC2 for ; Fri, 27 Sep 2013 21:07:54 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id C7E312B34 for ; Fri, 27 Sep 2013 21:07:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 511124253D for ; Fri, 27 Sep 2013 23:02:23 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: -2.95 X-Spam-Level: X-Spam-Status: No, score=-2.95 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_FB_WORD2_END_DOLLAR=0.01, T_KHOP_THREADED=-0.01, T_NICE_REPLY_A=0.01, T_TVD_SUBJ_NUM_OBFU=0.01, T_TVD_SUBJ_NUM_OBFU2=0.01, T_TVD_SUBJ_NUM_OBFU3=0.01, T_UNKNOWN_ORIGIN=0.01] autolearn=ham Authentication-Results: bouvier.get.c.bitbit.net (amavisd-new); dkim=pass (1024-bit key) header.d=getmail.no Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tk965OK-X9PX for ; Fri, 27 Sep 2013 23:02:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id DCC0142447 for ; Fri, 27 Sep 2013 23:02:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.7.1 bouvier.getmail.no DCC0142447 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1380315742; bh=kDlxIBPP/JBsihOp5eOVQYNT6GcaqUd1dCGhgzBKc2w=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=Qf/HP3vHfoT9XBc/MQdvVdq2Twfj9gwzKK7qM+6lBT4Xbp2+ySkJhpvZqDJq3Qs3E 2D4cA6y34lFVE8M++YxDFj1taOXS3xuVTfTqoi0wrfcKgcO8e1TktqytWTS4/XeF6a xFi0RNM5GHOPIQMtQVHDbBWwXnBPAhhkDXLezywA= X-Virus-Scanned: amavisd-new at Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tzCK9w7mDm60 for ; Fri, 27 Sep 2013 23:02:22 +0200 (CEST) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by bouvier.getmail.no (Postfix) with ESMTPSA id ACF2942549 for ; Fri, 27 Sep 2013 23:02:22 +0200 (CEST) Date: Fri, 27 Sep 2013 23:02:22 +0200 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: stm32flash under FreeBSD? Message-Id: <20130927230222.93f96eef8475cdf5e609d9ec@getmail.no> In-Reply-To: <20130927215914.7e93129302efbfafc678994d@getmail.no> References: <20130919212900.5A46A97324E@macavity.inf.ed.ac.uk> <20130927215914.7e93129302efbfafc678994d@getmail.no> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd8.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 21:07:54 -0000 Update - works (and breaks) as designed. On Fri, 27 Sep 2013 21:59:14 +0200 Torfinn Ingolfsen wrote: > Ok, it gets a bit further: > tingo@kg-core1$ ./stm32flash /dev/cuaU0 > stm32flash - http://stm32flash.googlecode.com/ > > (read, written) iflag: 1, 1 > (read, written) oflag: 0, 0 > (read, written) cflag: db00, db00 > (read, written) lflag: 0, 0 > Serial Config: 57600 8E1 > read_byte: No such file or directory > Assertion failed: (0), function stm32_read_byte, file stm32.c, line 90. > Abort trap (core dumped) Upon checking my notes, this is exactly the way stm32flash works on Linux, unless you put it into the right mode by holding down the BOOT0 button, then pressing and releasing the RESET button on the board. After doing that I get this: tingo@kg-core1$ ./stm32flash /dev/cuaU0 stm32flash - http://stm32flash.googlecode.com/ (read, written) iflag: 1, 1 (read, written) oflag: 0, 0 (read, written) cflag: db00, db00 (read, written) lflag: 0, 0 Serial Config: 57600 8E1 Version : 0x22 Option 1 : 0x00 Option 2 : 0x00 Device ID : 0x0410 (Medium-density) RAM : 20KiB (512b reserved by bootloader) Flash : 128KiB (sector size: 4x1024) Option RAM : 15b System RAM : 2KiB Resetting device... done. So now stm32flash works - Yay! -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 23:05:55 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 34F5DC85 for ; Fri, 27 Sep 2013 23:05:55 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BC8BC20F3 for ; Fri, 27 Sep 2013 23:05:54 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8RN5fQa027621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 28 Sep 2013 01:05:41 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8RN5cnN028956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Sep 2013 01:05:39 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8RN5cSC084856; Sat, 28 Sep 2013 01:05:38 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8RN5cSL084855; Sat, 28 Sep 2013 01:05:38 +0200 (CEST) (envelope-from ticso) Date: Sat, 28 Sep 2013 01:05:38 +0200 From: Bernd Walter To: freebsd-arm@freebsd.org Subject: Instable ethernet with ZedBoard Message-ID: <20130927230538.GE82284@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: Bernd Walter X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 23:05:55 -0000 It seems the MAC locks up when PHY-probing results in 100MBit/s. Sometimes - at least intemediate it probes 100MBit/s on my TP-Link Switch, so I might end up without working ethernet. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 23:11:48 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AB314DB6 for ; Fri, 27 Sep 2013 23:11:48 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3F65F214A for ; Fri, 27 Sep 2013 23:11:47 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8RNBjfC027668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 28 Sep 2013 01:11:46 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8RNBh00028985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Sep 2013 01:11:43 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8RNBhmT084894; Sat, 28 Sep 2013 01:11:43 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8RNBhsq084893; Sat, 28 Sep 2013 01:11:43 +0200 (CEST) (envelope-from ticso) Date: Sat, 28 Sep 2013 01:11:43 +0200 From: Bernd Walter To: freebsd-arm@freebsd.org Subject: Own PL code on ZedBoard Message-ID: <20130927231143.GF82284@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: Bernd Walter X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 23:11:48 -0000 Did anyone already setup own logic on ZedBoard with FreeBSD? Where do I need to place my bitstream to have the FPGA part configured at boot? Can I change PL configuration at runtime, or does FreeBSD require some preconfigured logic to work. I have expirience with Xilinx FPGA, but this is first time with Zynq. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Fri Sep 27 23:18:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 66F68EBD; Fri, 27 Sep 2013 23:18:12 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6CCC2177; Fri, 27 Sep 2013 23:18:11 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id r8RNI9F7027700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 28 Sep 2013 01:18:10 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id r8RNI7tA029018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Sep 2013 01:18:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id r8RNI7ro084910; Sat, 28 Sep 2013 01:18:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id r8RNI7Ea084909; Sat, 28 Sep 2013 01:18:07 +0200 (CEST) (envelope-from ticso) Date: Sat, 28 Sep 2013 01:18:07 +0200 From: Bernd Walter To: Tim Kientzle Subject: Re: FreeBSD on Cubieboard 2, UDOO and Galaxy Note 10.1 (Exynos). Message-ID: <20130927231807.GG82284@cicely7.cicely.de> References: <1378866956.1111.608.camel@revolution.hippie.lan> <1379101800.1111.642.camel@revolution.hippie.lan> <20130926223120.GM65622@cicely7.cicely.de> <8F8B0558-4B7A-4BC6-BF93-A89E5533C567@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F8B0558-4B7A-4BC6-BF93-A89E5533C567@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org, ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 23:18:12 -0000 On Thu, Sep 26, 2013 at 07:43:39PM -0700, Tim Kientzle wrote: > > On Sep 26, 2013, at 3:31 PM, Bernd Walter wrote: > > > I also noted that the Beaglebone Black seems to run at 550MHz only. > > I've found out from NetBSD mailinglist, that the PLL must be > > reprogrammed for higer frequency and the core voltage needs adjustment > > too. > > Of those 3 boards the BBB was the only board mention CPU frequency at all. > > I've not looked into the code required, but I know some of the issues: > > * For the older "white" Beaglebone, at least, the CPU frequency > needs to be set properly depending on the power supply. So > "someone" needs to read the PMIC and determine whether > power is coming from the 5V input or from USB. In the latter > case, I believe the lower frequency may be appropriate. > > * For BB White, I believe the "someone" was U-Boot; the FreeBSD > kernel just assumed the CPU was already properly initialized. > I haven't looked to see if the U-Boot we're using now does power > config for BBB. > > * We should add a PMIC driver and do this setting in our kernel. This matches with what I got from reading some mails on a NetBSD list: http://mail-index.netbsd.org/port-arm/2013/08/01/msg001932.html I didn't find any definitive answer about barrel plug vs. USB supply. It seems that via USB the performance is to be reduced. However using a lab supply I measured via barrel plug supply 270mA with 550MHz FreBSD and 320mA with preinstalled Linux at unknown frequency. Maybe precaution for higher load, or USB devices sucking power. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 16:48:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9EA6B28C for ; Sat, 28 Sep 2013 16:48:33 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 639E02605 for ; Sat, 28 Sep 2013 16:48:33 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id k4so1287205qaq.12 for ; Sat, 28 Sep 2013 09:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+C8gF53BS2DsCwhvSFqeJaBcaWBuLRFxzLfbSb5m37E=; b=QWyeuy3vXlnGfsIOLaqYDL3R+lAthDFF/PMqK2DNMYaQZpWKVgLgWSNG0BxSyBGcyJ dn1WNZP9j6qcOz4bw/qUyYyaS+Mzrv9zX4KYw+vqdP5cqYk/R3j89P4B4YOpJiMNoJTD bGuTxeqr3QwaKKL7MccogECAy8zJ2lipTMISJNPcZZDI/wxDWCpmG1I17rC7F+Q5BsSN 4bdeuQAWS/lu/Ba2ifkQ/KZ0mtDHZwZA+gsW/lMSrSpZFHHQyda1Sy4w81ZX2qdupuYB 8N+l/clM0b64eK/118TZofyK5TRKkCfZetVW2lGnc1b5vk3wjs2DxhJQwkYOloNdItBP ObpQ== MIME-Version: 1.0 X-Received: by 10.49.30.66 with SMTP id q2mr17231190qeh.38.1380386912563; Sat, 28 Sep 2013 09:48:32 -0700 (PDT) Received: by 10.49.101.13 with HTTP; Sat, 28 Sep 2013 09:48:32 -0700 (PDT) Date: Sat, 28 Sep 2013 18:48:32 +0200 Message-ID: Subject: avila boot2 problem ? From: Berislav Purgar To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 16:48:33 -0000 Hello .. i have tryed to build boot2 for avila GW2345 board but i got err from LD about missing __aeabi_llsl from boot2.o ? freebsd -HEAD ... i have build buildworld and buildenv .. make ixp425/boot2 runs Ok but when trying to link these object i got these error undefined __aeabi_llsl from boot2.o .. sorry for my english .. here is image for this error http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:05:11 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F1144F7A for ; Sat, 28 Sep 2013 18:05:11 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B4B642A40 for ; Sat, 28 Sep 2013 18:05:11 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id k15so1310948qaq.2 for ; Sat, 28 Sep 2013 11:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HqtpOnwWFx0MSQwd4nmIHO2gDTEXdv3Qap3bGBMRtt4=; b=L96VpQyuKuSzTRDZ54auT6bN+CjEERFFLODVaRPPkByujVDraZx2hrKXvdQSVqVKCd xvpeRytj1t4Lfzc87K8YxeWe4166fzYAqPMBF/ATVYmHX/1WKaQQGI7kztd8HpysMh6D F3heCD5mZIvrCdf0z8cShkKgNJYz9NRV7s7xyTRg0EdTy1s+X/mhughwYMpxSKzmqdzs 7+M3dIEkuaQSDEg6FffBkbuw4epFgpOxtd4DakLOplIUdNedGz2Z2hIUtdQ01Kbb/vZt klW2l0aC+03gw2YLGdPBomVtyZiblpYNzdsstGijBOZaIjznpFwtvzSmCKcPyf4JjMkh C2WA== MIME-Version: 1.0 X-Received: by 10.49.84.6 with SMTP id u6mr17241906qey.79.1380391510895; Sat, 28 Sep 2013 11:05:10 -0700 (PDT) Received: by 10.49.101.13 with HTTP; Sat, 28 Sep 2013 11:05:10 -0700 (PDT) In-Reply-To: References: Date: Sat, 28 Sep 2013 20:05:10 +0200 Message-ID: Subject: Re: avila boot2 problem ? From: Berislav Purgar To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 18:05:12 -0000 On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar wrote: > Hello .. i have tryed to build boot2 for avila GW2345 board but i got err > from LD > about missing __aeabi_llsl from boot2.o ? > > freebsd -HEAD ... i have build buildworld and buildenv .. make > ixp425/boot2 runs Ok but when trying to link these object i got these error > undefined __aeabi_llsl from boot2.o .. > > > sorry for my english .. > > here is image for this error > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > just tested on 9.0 and evrething is OK .. From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:23:25 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0B364316 for ; Sat, 28 Sep 2013 18:23:25 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8BE82B35 for ; Sat, 28 Sep 2013 18:23:24 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r8SINNlp015476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Sep 2013 11:23:24 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r8SINNOH015475; Sat, 28 Sep 2013 11:23:23 -0700 (PDT) (envelope-from jmg) Date: Sat, 28 Sep 2013 11:23:23 -0700 From: John-Mark Gurney To: Berislav Purgar Subject: Re: avila boot2 problem ? Message-ID: <20130928182323.GG56872@funkthat.com> Mail-Followup-To: Berislav Purgar , freebsd-arm@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 28 Sep 2013 11:23:24 -0700 (PDT) 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: Sat, 28 Sep 2013 18:23:25 -0000 Berislav Purgar wrote this message on Sat, Sep 28, 2013 at 20:05 +0200: > On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar wrote: > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i got err > > from LD > > about missing __aeabi_llsl from boot2.o ? > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > ixp425/boot2 runs Ok but when trying to link these object i got these error > > undefined __aeabi_llsl from boot2.o .. > > > > > > sorry for my english .. > > > > here is image for this error > > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > > > > > just tested on 9.0 and evrething is OK .. That's about as helpful as saying you tested it on Linux... He said HEAD and there have been lots of changes in HEAD that could cause this, EABI switch and clang switch... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:26:25 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C341D391 for ; Sat, 28 Sep 2013 18:26:25 +0000 (UTC) (envelope-from bpurgar@gmail.com) Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com [IPv6:2607:f8b0:400d:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 833502B4B for ; Sat, 28 Sep 2013 18:26:25 +0000 (UTC) Received: by mail-qc0-f175.google.com with SMTP id v2so2581457qcr.34 for ; Sat, 28 Sep 2013 11:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/aKrixuFZIdn58oAiizpKdSwuWOt8+b985Yr+deYqCA=; b=DhkPNIq9wO2Y9WQN9VvQTOm+/LnwernUU8mbi3fyy6joKPsJif2Pq7BL8kxGCD7N5u MyJqMqQ6FCE7IZsPfK3WRXkny/n7JykgLiG1I9XSxPAYaDLx7JBAiPCe9M5nrqLQ08zs Snz+MdHOU37G5ratyC2M7CiHCYV0T8+gW9OjMzQn8/uan3GuNzW9OzAlEh7OhTji4K4M AldsnAm0BvNe09zPmZwcXqaE9bQibcKub3WrkT+5+sEq0UPs8swzvhyTDh5ccwCS5EX4 UQxGKlcHCHGVQPIFep1o41roU+R8qDLkQEP2iMMEAVpgdlhN2bFXZ1qTSCaADd/yps5e yzMQ== MIME-Version: 1.0 X-Received: by 10.49.49.133 with SMTP id u5mr17298215qen.19.1380392784693; Sat, 28 Sep 2013 11:26:24 -0700 (PDT) Received: by 10.49.101.13 with HTTP; Sat, 28 Sep 2013 11:26:24 -0700 (PDT) In-Reply-To: <20130928182323.GG56872@funkthat.com> References: <20130928182323.GG56872@funkthat.com> Date: Sat, 28 Sep 2013 20:26:24 +0200 Message-ID: Subject: Re: avila boot2 problem ? From: Berislav Purgar To: Berislav Purgar , freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Sep 2013 18:26:25 -0000 On Sat, Sep 28, 2013 at 8:23 PM, John-Mark Gurney wrote: > Berislav Purgar wrote this message on Sat, Sep 28, 2013 at 20:05 +0200: > > On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar > wrote: > > > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i got > err > > > from LD > > > about missing __aeabi_llsl from boot2.o ? > > > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > > ixp425/boot2 runs Ok but when trying to link these object i got these > error > > > undefined __aeabi_llsl from boot2.o .. > > > > > > > > > sorry for my english .. > > > > > > here is image for this error > > > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > > > > > > > > > just tested on 9.0 and evrething is OK .. > > That's about as helpful as saying you tested it on Linux... > > He said HEAD and there have been lots of changes in HEAD that could > cause this, EABI switch and clang switch... > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > if you're so smart then tell me how I can help to solve this .. ? From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:26:50 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 008903CA for ; Sat, 28 Sep 2013 18:26:49 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C9D582B4E for ; Sat, 28 Sep 2013 18:26:49 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VPzE8-000OlN-D9; Sat, 28 Sep 2013 18:26:48 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r8SIQiMJ007921; Sat, 28 Sep 2013 12:26:44 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18qQe2an5q0KG9paS2hoAWi Subject: Re: avila boot2 problem ? From: Ian Lepore To: Berislav Purgar In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Sat, 28 Sep 2013 12:26:44 -0600 Message-ID: <1380392804.1197.339.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 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: Sat, 28 Sep 2013 18:26:50 -0000 On Sat, 2013-09-28 at 20:05 +0200, Berislav Purgar wrote: > On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar wrote: > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i got err > > from LD > > about missing __aeabi_llsl from boot2.o ? > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > ixp425/boot2 runs Ok but when trying to link these object i got these error > > undefined __aeabi_llsl from boot2.o .. > > > > > > sorry for my english .. > > > > here is image for this error > > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > > > > > just tested on 9.0 and evrething is OK .. On 9.x the default compiler is gcc using OABI. On 10 the default compiler is clang and the default ABI is EABI. The ABI is what's causing the problem in building boot2. On 10 you could set WITHOUT_ARM_EABI=yes in your make.conf to work around it for now. The real fix is to figure out what we need to do to make eabi work in standalone(ish) build environments like the bootloaders. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:28: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C176F432 for ; Sat, 28 Sep 2013 18:28:35 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 961872B5D for ; Sat, 28 Sep 2013 18:28:35 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VPzFq-000EQn-Cv; Sat, 28 Sep 2013 18:28:34 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r8SISVhw007930; Sat, 28 Sep 2013 12:28:31 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/3S5HIw7l4HuL/KeGqlHJB Subject: Re: avila boot2 problem ? From: Ian Lepore To: Berislav Purgar In-Reply-To: <1380392804.1197.339.camel@revolution.hippie.lan> References: <1380392804.1197.339.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Sat, 28 Sep 2013 12:28:31 -0600 Message-ID: <1380392911.1197.340.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port 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: Sat, 28 Sep 2013 18:28:35 -0000 On Sat, 2013-09-28 at 12:26 -0600, Ian Lepore wrote: > On Sat, 2013-09-28 at 20:05 +0200, Berislav Purgar wrote: > > On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar wrote: > > > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i got err > > > from LD > > > about missing __aeabi_llsl from boot2.o ? > > > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > > ixp425/boot2 runs Ok but when trying to link these object i got these error > > > undefined __aeabi_llsl from boot2.o .. > > > > > > > > > sorry for my english .. > > > > > > here is image for this error > > > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > > > > > > > > > just tested on 9.0 and evrething is OK .. > > On 9.x the default compiler is gcc using OABI. On 10 the default > compiler is clang and the default ABI is EABI. The ABI is what's > causing the problem in building boot2. On 10 you could set > WITHOUT_ARM_EABI=yes in your make.conf to work around it for now. > > The real fix is to figure out what we need to do to make eabi work in > standalone(ish) build environments like the bootloaders. > > -- Ian I should mention also that when you change compiler and/or abi using teh WITH/WITHOUT controls, you must recompile the entire world and kernel, or you'll get all kinds of strange errors at runtime. -- Ian