From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 11:53:01 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 81D815B3 for ; Sun, 4 Jan 2015 11:53:01 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68A8A394F for ; Sun, 4 Jan 2015 11:53:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t04Br1kx016344 for ; Sun, 4 Jan 2015 11:53:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 194635] Speed optimisation for framebuffer console driver on Raspberry Pi Date: Sun, 04 Jan 2015 11:53:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: stefan.berndt@imoriath.com X-Bugzilla-Status: Open X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 11:53:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194635 --- Comment #9 from Stefan Berndt --- It's no surprice one 32bit operation is faster than four 8bit operations, since computers having data bus systems wider than 8bit. Even the ~35 years old 8086 already has a 16bit wide data bus... I have got the 11.0-CURRENT on my raspberry, and made the speedtest again. (time taken to print and sroll 1 milion lines at 1440x900 in VT mode) 16 Bit per Pixel: 918 Secends 24 Bit per Pixel: 1133 Secends 32 Bit per Pixel: 903 Secends It seems there is some space for optimisations. I will show at the vt code in near future. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 12:34:19 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCB159CC for ; Sun, 4 Jan 2015 12:34:19 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 701C0113D for ; Sun, 4 Jan 2015 12:34:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id AF925A9B11; Sun, 4 Jan 2015 13:26:28 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Tt9HTV69XVai; Sun, 4 Jan 2015 13:26:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id C1255A9B4C; Sun, 4 Jan 2015 13:26:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no C1255A9B4C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420374384; bh=3dIsEvWqZfFDByLkd3fofx0ZjSbQnOwYp/2bu1CqA2s=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=4BZdwTGJZQRnpqB05Etlp+2XldCrIcf+8ZnrL+dYp/qJsTNmaqAiZw70wxcYGnaGt YTaK2VFjsIEn2DLmUrK4s/TdklevG88eSgm3gHvAZmN1IAzyQcqKSnOgvzlnnzK8xa fMddoEul7OrGdC717tgJ2bn3nC3Sd4Co3V16uVdg= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AdiQyW3zhBMA; Sun, 4 Jan 2015 13:26:24 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id 8F2B0A9B1E; Sun, 4 Jan 2015 13:26:24 +0100 (CET) Date: Sun, 4 Jan 2015 13:26:21 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Updated Chromebook ARM Wiki Page Message-Id: <20150104132621.96c6041f440414f2cb0cd001@getmail.no> In-Reply-To: <549E58CE.9000103@callfortesting.org> References: <549E58CE.9000103@callfortesting.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Michael Dexter X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 12:34:19 -0000 Hello, On Fri, 26 Dec 2014 22:59:26 -0800 Michael Dexter wrote: > I have rewritten the Chromebook ARM wiki page to focus on USB boot which > allows for self-hosing: > > https://wiki.freebsd.org/FreeBSD/arm/Chromebook > I'm not sure what you mean by "self-hosting" in this context. Are you saying that you do the initial build of FreeBSD on the Chromebook itself? From ChromeOS? -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 17:19:35 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D7A55AD for ; Sun, 4 Jan 2015 17:19:35 +0000 (UTC) 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)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2302C29DF for ; Sun, 4 Jan 2015 17:19:34 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id hz20so16727617lab.20 for ; Sun, 04 Jan 2015 09:19:26 -0800 (PST) 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:from:date :message-id:subject:to:cc:content-type; bh=de0UvpEfSdYVZR3DuxxDgnqk06ulHZtleKXlFG0H53Q=; b=CJW4K8Nr3Tl0z2E/KdjGjKD7mS3vJMzisNHYcXXm7Mb2U0DAdwFDNamYXKMdsL/44Q GTjYyZ+o4DYyrBJsaFQz/NdENfeSkwg/ifXHzaokIml1u505fYlo84vuRxiYPESOHDck uCCAa5wdf1Ibj6/RrGxrNlstw0qy5dBVJC98LPyx9MMhW/ZqMMoKYgIr4vqKDScDsGsQ jWILkm6k3L9Cgjt94BtBY1I/IgrqLKnAuikPni7AuKYffL7PLlO92uEqLDue8KVcJszg 50XP/uwIySCv6CctxJy2DNDnnnVj4jbuJbgPzDatux1LrU1Ma/jenLPW1liCU5R7yTn0 Jw/Q== X-Gm-Message-State: ALoCoQkEYtytC1Y/Gssks0eurGFrKjwxK4a3d3RMiZJavEIhwkjoUb1p/P31oNoXp2w+5WRiV17z X-Received: by 10.152.3.100 with SMTP id b4mr84314786lab.68.1420391966868; Sun, 04 Jan 2015 09:19:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.142.198 with HTTP; Sun, 4 Jan 2015 09:18:46 -0800 (PST) X-Originating-IP: [74.60.193.70] In-Reply-To: <02C43C8A-E9BB-4E59-8442-FC382689D941@kientzle.com> References: <02C43C8A-E9BB-4E59-8442-FC382689D941@kientzle.com> From: Jeremy Brown Date: Sun, 4 Jan 2015 12:18:46 -0500 Message-ID: Subject: Re: Cross-Compiling RPi Ports From amd64 Using Native Toolchain To: Tim Kientzle Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 17:19:35 -0000 Okay, so I've run make toolchain, copied it over to my chroot and tried to run make configure again, but the make still fails at the "checking whether we are cross compiling" stage; I've checked config.log and it seems that the cross-compiler can compile the test file (the return code is 0), but when it tries to execute it the return code is 134 and I get the ELF interpreter error again. I tried symlinking /libexec to /usr/obj/usr/src/tmp/usr/libexec, with no success. Is it possible that the toolchain isn't targeting the correct architecture? Won't env -u TARGET -u TARGET_ARCH keep make from knowing what it's supposed to target and build for x64 instead? -Jeremy On Sat, Jan 3, 2015 at 2:39 PM, Tim Kientzle wrote: > > > On Jan 2, 2015, at 7:42 PM, Jeremy Brown wrote= : > > > > One additional thing: I checked my toolchain and did see that some of m= y > > programs (ar, as, cc, gcc, ld, ranlib) are statically linked, whereas t= he > > rest are dynamically linked, including cpp and nm which also gave me th= e > > ELF interpreter error. So I'll change my question somewhat - if I use t= he > > command given on the qemu page (env -u TARGET -u TARGET_ARCH make -j 4 > > toolchain) instead of the one provided by crochet (make XDEV=3D${XDEV} > > XDEV_ARCH=3D${XDEV_ARCH} WITH_GCC=3D1 WITH_GCC_BOOTSTRAP=3D1 WITHOUT_CL= ANG=3D1 > > WITHOUT_CLANG_BOOTSTRAP=3D1 WITHOUT_CLANG_IS_CC=3D1 WITHOUT_TESTS=3D1 x= dev), > > would I be more likely to succeed in cross-compiling my ports and will = I > be > > able to use this toolchain to build the kernel and world with crochet? > > You should install both and use them for different purposes: > > Crochet uses the =E2=80=98xdev=E2=80=99 tools *only* for compiling the U-= Boot boot > loader. (It does *not* use it for building kernel and world. The > standard FreeBSD build infrastructure automatically builds appropriate > cross-compilers as needed for kernel and world.) > > Tim > > From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 18:03:29 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9028461 for ; Sun, 4 Jan 2015 18:03:29 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA4E3163 for ; Sun, 4 Jan 2015 18:03:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 081A3C16A1; Sun, 4 Jan 2015 19:03:07 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id XXpUEHjkzpLG; Sun, 4 Jan 2015 19:03:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id CBE3EC1A71; Sun, 4 Jan 2015 19:02:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no CBE3EC1A71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420394573; bh=YdYVgNbjJ2L8PyP3DWyLLb0OlUIzU9EmuvKaeFzuAqQ=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=w97jTWt8s68fqXfaVIJwnD80tn7S2Q8dqzQDgvjh0RMmbyH51FMoMCcbSnG9Jymo4 8oWxs0Cik5tpMRFUMj01nJaGM6Z8IuJw1k4Aw+BbKLkyUfzg8lqvtbO8HrltHRafnm zLSxKdP5BitTnjzLuxsGFUfGD22RCM4rnCrjXfdc= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id turbG2dEf1Df; Sun, 4 Jan 2015 19:02:53 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id 8BD03C1A89; Sun, 4 Jan 2015 19:02:45 +0100 (CET) Date: Sun, 4 Jan 2015 19:02:43 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Updated Chromebook ARM Wiki Page Message-Id: <20150104190243.2c11f11a9fcb7e98f24c2223@getmail.no> In-Reply-To: <54A97645.9040704@callfortesting.org> References: <549E58CE.9000103@callfortesting.org> <20150104132621.96c6041f440414f2cb0cd001@getmail.no> <54A97645.9040704@callfortesting.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Michael Dexter X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 18:03:29 -0000 On Sun, 04 Jan 2015 09:20:05 -0800 Michael Dexter wrote: > > Torfinn, > > On 1/4/15 4:26 AM, Torfinn Ingolfsen wrote: > > I'm not sure what you mean by "self-hosting" in this context. > > By this I mean that one can build and install world and kernel from the > booted system. I am open to suggestions for rephrasing it or you may > make a change if you have Wiki access. Ah, ok. Well, you could write that initial build must happen on a FreeBSD machine, if other people are confused like I was. If it is just me, it is probably not worth it. :) No, I don't have wiki access. -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 18:17:21 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00706673 for ; Sun, 4 Jan 2015 18:17:20 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id DFD6932E for ; Sun, 4 Jan 2015 18:17:20 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id F2E6BF78968 for ; Sun, 4 Jan 2015 10:17:15 -0800 (PST) Date: Sun, 4 Jan 2015 11:17:14 -0700 (MST) From: Scott Ellis To: freebsd-arm@freebsd.org Message-ID: <1420395434556-5978251.post@n5.nabble.com> Subject: New ports for Pandaboard and Duovero u-boot 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 18:17:21 -0000 Both based on the u-boot-beaglebone port. I did disable DCACHE. Without that either board fails to reboot fairly regularly. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196486 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196488 -- View this message in context: http://freebsd.1045724.n5.nabble.com/New-ports-for-Pandaboard-and-Duovero-u-boot-tp5978251.html Sent from the freebsd-arm mailing list archive at Nabble.com. From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 18:32:46 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97A71B52 for ; Sun, 4 Jan 2015 18:32:46 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id 3B5DA8F8 for ; Sun, 4 Jan 2015 18:32:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 9C5765A1FB for ; Sun, 4 Jan 2015 19:24:46 +0100 (CET) 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 fYnI01q5twFA for ; Sun, 4 Jan 2015 19:24:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id C886045BE8 for ; Sun, 4 Jan 2015 19:24:42 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no C886045BE8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420395882; bh=r759LtS6oX77wDTv48Kg+S85cwfJIxcswyMifTQFbBI=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=dkoO/DgNLEuxoY8pjAaCG2M8sloI+DyEF7WiRydg/TFUC25DU5ocaFMGsNk+J4ViT CBmfuWRVc2q0fHz0RQIGp3RFEXkncXOze37mDip9phWsKnsXgn7S/8NLSVXCq4Dmj7 TiTfsceX1s2uQnwyL1z6515BXp6Wk4xR8dejGwe0= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net 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 BZJVYjJq6muQ for ; Sun, 4 Jan 2015 19:24:42 +0100 (CET) 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 92FE3456D3 for ; Sun, 4 Jan 2015 19:24:42 +0100 (CET) Date: Sun, 4 Jan 2015 19:24:42 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: How to turn off -Werror for kernel build? Message-Id: <20150104192442.3eab6a92c51a51094dbd5121@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 18:32:46 -0000 I am trying to build an image for a Samsung Chromebook 2 (model XE503C32, "Peach Pi")[4]. I am following this[1] wiki page. And I'm using the build script[2] Ian Lepore shared with us last year. The build machine runs FreeBSD 9.3-stable: tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 I am trying to build latest -current (revision 276660). Initially, config/make.conf and config/src.conf are empty. The kernel config file looks like this: tingo@kg-core1$ more config/CB2 # kernel config file for Chromebook 2 Peach Pi include "CHROMEBOOK-PEACH-PIT" ident CHROMEBOOK-PEACH-PI #hints "CHROMEBOOK-PEACH-PIT.hints" options ROOTDEVNAME=\"ufs:/dev/da0p3\" ./mk buildworld works ./mk buildkernel fails with this: tingo@kg-core1$ ./mk buildkernel [... snipped for brevity ...] --- trap-v6.o --- cc -c -O -pipe -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -nostdinc -I. -I/zs/tingo/work/chromebook/cb2/src/sys -I/zs/tingo/work/chromebook/cb2/src/sys/contrib/altq -I/zs/tingo/work/chromebook/cb2/src/sys/contrib/libfdt -I/zs/tingo/work/chromebook/cb2/src/sys/gnu/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -march=armv7a -funwind-tables -ffreestanding -gdwarf-2 -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-thumb-interwork -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Werror /zs/tingo/wor k/chromebook/cb2/src/sys/arm/arm/trap-v6.c cc1: warnings being treated as errors /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c: In function 'abort_handler': /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c:280: warning: 'rv' may be used uninitialized in this function *** [trap-v6.o] Error code 1 bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 1 error bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 *** [buildkernel] Error code 2 bmake: stopped in /zs/tingo/work/chromebook/cb2/src 1 error bmake: stopped in /zs/tingo/work/chromebook/cb2/src *** [buildkernel] Error code 2 1 error 39.78 real 82.19 user 13.60 sys so I try to "fix" it by turning off -Werror for kernel builds. According to this page[3], you can do that either in src.conf or in make.conf. I try src.conf first: tingo@kg-core1$ more config/src.conf # build world without -Werror NO_WERROR= # build kernel without -Werror WERROR= (yes, I also tried NO_WERROR, but that didn't help either). but warnings are still treated as errors? tingo@kg-core1$ ./mk buildkernel [...] --- trap-v6.o --- cc1: warnings being treated as errors /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c: In function 'abort_handler': /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c:280: warning: 'rv' may be used uninitialized in this function *** [trap-v6.o] Error code 1 bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 1 error bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 *** [buildkernel] Error code 2 bmake: stopped in /zs/tingo/work/chromebook/cb2/src 1 error bmake: stopped in /zs/tingo/work/chromebook/cb2/src *** [buildkernel] Error code 2 1 error 38.41 real 82.90 user 13.57 sys I also tried it in config/make.conf. Any hints? References: 1) https://wiki.freebsd.org/FreeBSD/arm/Chromebook 2) http://lists.freebsd.org/pipermail/freebsd-arm/2014-January/007249.html 3) https://wiki.freebsd.org/BuildingFreeBSDWithClang 4) http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-chromebook-2 -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 20:22:00 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC7157A5 for ; Sun, 4 Jan 2015 20:22:00 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E8D937C2 for ; Sun, 4 Jan 2015 20:21:59 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Y7rgP-000HzK-6Y; Sun, 04 Jan 2015 20:21:53 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t04KLpDY018095; Sun, 4 Jan 2015 13:21:51 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 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+3WUNg47l6t9aplCPby5nw Message-ID: <1420402911.85983.32.camel@freebsd.org> Subject: Re: How to turn off -Werror for kernel build? From: Ian Lepore To: Torfinn Ingolfsen Date: Sun, 04 Jan 2015 13:21:51 -0700 In-Reply-To: <20150104192442.3eab6a92c51a51094dbd5121@getmail.no> References: <20150104192442.3eab6a92c51a51094dbd5121@getmail.no> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 20:22:00 -0000 On Sun, 2015-01-04 at 19:24 +0100, Torfinn Ingolfsen wrote: > I am trying to build an image for a Samsung Chromebook 2 (model XE503C32, "Peach Pi")[4]. > I am following this[1] wiki page. And I'm using the build script[2] Ian Lepore shared with us last year. > The build machine runs FreeBSD 9.3-stable: > tingo@kg-core1$ uname -a > FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 > root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 > I am trying to build latest -current (revision 276660). > Initially, config/make.conf and config/src.conf are empty. > The kernel config file looks like this: > tingo@kg-core1$ more config/CB2 > # kernel config file for Chromebook 2 Peach Pi > > include "CHROMEBOOK-PEACH-PIT" > ident CHROMEBOOK-PEACH-PI > > #hints "CHROMEBOOK-PEACH-PIT.hints" > > options ROOTDEVNAME=\"ufs:/dev/da0p3\" > > ./mk buildworld works > ./mk buildkernel fails with this: > tingo@kg-core1$ ./mk buildkernel > [... snipped for brevity ...] > --- trap-v6.o --- > cc -c -O -pipe -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -nostdinc -I. -I/zs/tingo/work/chromebook/cb2/src/sys -I/zs/tingo/work/chromebook/cb2/src/sys/contrib/altq -I/zs/tingo/work/chromebook/cb2/src/sys/contrib/libfdt -I/zs/tingo/work/chromebook/cb2/src/sys/gnu/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -march=armv7a -funwind-tables -ffreestanding -gdwarf-2 -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-thumb-interwork -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Werror /z! s/t > ingo/wor > k/chromebook/cb2/src/sys/arm/arm/trap-v6.c > cc1: warnings being treated as errors > /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c: In function 'abort_handler': > /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c:280: warning: 'rv' may be used uninitialized in this function > *** [trap-v6.o] Error code 1 > > bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 > 1 error > > bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 > *** [buildkernel] Error code 2 > > bmake: stopped in /zs/tingo/work/chromebook/cb2/src > 1 error > > bmake: stopped in /zs/tingo/work/chromebook/cb2/src > *** [buildkernel] Error code 2 > 1 error > 39.78 real 82.19 user 13.60 sys > so I try to "fix" it by turning off -Werror for kernel builds. According to this page[3], you can do that either in src.conf or in make.conf. > I try src.conf first: > tingo@kg-core1$ more config/src.conf > # build world without -Werror > NO_WERROR= > # build kernel without -Werror > WERROR= > (yes, I also tried NO_WERROR, but that didn't help either). > > but warnings are still treated as errors? > tingo@kg-core1$ ./mk buildkernel > [...] > --- trap-v6.o --- > cc1: warnings being treated as errors > /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c: In function 'abort_handler': > /zs/tingo/work/chromebook/cb2/src/sys/arm/arm/trap-v6.c:280: warning: 'rv' may be used uninitialized in this function > *** [trap-v6.o] Error code 1 > > bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 > 1 error > > bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/sys/CB2 > *** [buildkernel] Error code 2 > > bmake: stopped in /zs/tingo/work/chromebook/cb2/src > 1 error > > bmake: stopped in /zs/tingo/work/chromebook/cb2/src > *** [buildkernel] Error code 2 > 1 error > 38.41 real 82.90 user 13.57 sys > > I also tried it in config/make.conf. > Any hints? > > > References: > 1) https://wiki.freebsd.org/FreeBSD/arm/Chromebook > 2) http://lists.freebsd.org/pipermail/freebsd-arm/2014-January/007249.html > 3) https://wiki.freebsd.org/BuildingFreeBSDWithClang > 4) http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-chromebook-2 I'm not sure why the WERROR= override didn't work, but there have been several calls recently to eliminate that warning when building with gcc, because it just gets the warning wrong way too often (as it's doing in this case). So I did that in r276666, it should solve your problem. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 21:32:19 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15356A43 for ; Sun, 4 Jan 2015 21:32:19 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id B9E271482 for ; Sun, 4 Jan 2015 21:32:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 8DCD942D95 for ; Sun, 4 Jan 2015 22:26:18 +0100 (CET) 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 I34PlSb7uil7 for ; Sun, 4 Jan 2015 22:26:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 3C33844C3E for ; Sun, 4 Jan 2015 22:26:14 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no 3C33844C3E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420406774; bh=f4V/1ph7Cs1ZXjqr+dOX5cod8KtGC2yimO7nbLWq3nw=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=KTislIuxsPVeE+cHesYbhoenxMWWepcEWj87UYogMqzbV+9HjVl0xicggSazcCuSK DN0EBO4yoVjQlz2ZHYIcIBTJGGKuYkn6y+BTb2jZu07BNqDQLMLjxr+Gi70dgwtbV0 1LTXj2r+Nu0TcShTNUZ5KlWp0X0jQobS7nVXGEM4= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net 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 0AX8esmgW_hD for ; Sun, 4 Jan 2015 22:26:14 +0100 (CET) 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 085AA44C29 for ; Sun, 4 Jan 2015 22:26:14 +0100 (CET) Date: Sun, 4 Jan 2015 22:26:07 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: How to turn off -Werror for kernel build? Message-Id: <20150104222607.c2185ac00a08251761d31709@getmail.no> In-Reply-To: <1420402911.85983.32.camel@freebsd.org> References: <20150104192442.3eab6a92c51a51094dbd5121@getmail.no> <1420402911.85983.32.camel@freebsd.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 21:32:19 -0000 On Sun, 04 Jan 2015 13:21:51 -0700 Ian Lepore wrote: > I'm not sure why the WERROR= override didn't work, but there have been > several calls recently to eliminate that warning when building with gcc, > because it just gets the warning wrong way too often (as it's doing in > this case). So I did that in r276666, it should solve your problem. and r276666 let me build the kernel too: -------------------------------------------------------------- >>> Kernel build for CB2 completed on Sun Jan 4 22:21:50 CET 2015 -------------------------------------------------------------- 69.34 real 143.00 user 20.95 sys Thanks! -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Sun Jan 4 22:43:54 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 67856C5D for ; Sun, 4 Jan 2015 22:43:54 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 08CCB2F55 for ; Sun, 4 Jan 2015 22:43:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 14BA844C58 for ; Sun, 4 Jan 2015 23:43:38 +0100 (CET) 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 5LAiWAmA87Bw for ; Sun, 4 Jan 2015 23:43:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id C6DED44AC6 for ; Sun, 4 Jan 2015 23:43:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no C6DED44AC6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420411413; bh=j0n+h0A0zxH8/TzaPkH08aDdD2Wo0vsNS5juIRWjDkw=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=0NkSHF1Ia+ti/ABEBDPfig+nHdEKw6zS0hvKUG9UptaKFTrJdPNRTgAxMxsF1zZRL QYmJAcMHI+OypFDa0xncycolroYbZPnsHv32ir1Z1TSzifmAFeK/X+0bnYCu1N1jkV zZANhA+swoELQOINoq1KbkpPOisKTbKRjX3mub7Y= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net 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 uj2obGete8oL for ; Sun, 4 Jan 2015 23:43:33 +0100 (CET) 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 9A77C44C85 for ; Sun, 4 Jan 2015 23:43:33 +0100 (CET) Date: Sun, 4 Jan 2015 23:43:31 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Chromebook image - install fails Message-Id: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 22:43:54 -0000 Continuation of this[1] thread. Thanks to Ian Lepore, I now have built world an kernel for my Chromebook 2, using r276666 of -current. Now I'm trying to install it, by following instructions here[2]. and I'm still using Ian's script[3]. When I try to install world, it fails: tingo@kg-core1$ ./mk DESTDIR=/mnt installworld distribution + kernel=CB2 + MAX_JOBS=4 + [ -r config/CB2 ] + ln -fs ../../../../config/CB2 src/sys/arm/conf/CB2 + pwd + srcconf=/home/tingo/work/chromebook/cb2/config/src.conf + pwd + makeconf=/home/tingo/work/chromebook/cb2/config/make.conf + pwd + objdir=/home/tingo/work/chromebook/cb2/obj + pwd + tobjdir=/home/tingo/work/chromebook/cb2/obj/arm.armv6//home/tingo/work/chromebook/cb2/src + kobjdir=/home/tingo/work/chromebook/cb2/obj/arm.armv6//home/tingo/work/chromebook/cb2/src/sys/CB2 + export MAKEOBJDIRPREFIX=/home/tingo/work/chromebook/cb2/obj + cd ./src + time nice -15 sudo make -j 4 TARGET_ARCH=armv6 DESTDIR= __MAKE_CONF=/home/tingo/work/chromebook/cb2/config/make.conf SRCCONF=/home/tingo/work/chromebook/cb2/config/src.conf KERNCONF=CB2 DESTDIR=/mnt installworld distribution Password: cd /zs/tingo/work/chromebook/cb2/src/etc; MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/sbin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make METALOG= distribution mkdir -p /tmp/install.QTdUhm6l progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep id install ln lockf make mkdir mtree mv pwd_mkdb rm sed services_mkdb sh strip sysctl test true uname wc zic tzsetup makewhatis; do if progpath=`which $prog`; then echo $progpath; else echo "Required tool $prog not found in PATH." >&2; exit 1; fi; done); libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u | while read line; do $line; if [ "$2 $3" != "not found" ]; then echo $2; else echo "Required library $1 not found." >&2; exit 1; fi; done); cp $libs $progs /tmp/install.QTdUhm6l cd /zs/tingo/work/chromebook/cb2/src/etc; install -o root -g wheel -m 644 auto_master crontab devd.conf devfs.conf ddb.conf dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv inetd.conf libalias.conf libmap.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf nsswitch.conf phones profile protocols rc rc.bsdextended rc.firewall rc.initdiskless rc.sendmail rc.shutdown rc.subr remote rpc services shells sysctl.conf syslog.conf termcap.small etc.arm/ttys amd.map apmd.conf snmpd.config freebsd-update.conf /zs/tingo/work/chromebook/cb2/src/etc/../usr.bin/locate/locate/locate.rc hosts.lpd printcap /zs/tingo/work/chromebook/cb2/src/etc/../usr.bin/mail/misc/mail.rc ntp.conf nscd.conf portsnap.conf pf.os csh.cshrc csh.login csh.logout regdomain.xml /mnt/etc; cap_mkdb -l /mnt/etc/login.conf; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /mnt/etc; insta ll -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /mnt/etc; install: target directory `/mnt/etc' does not exist usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] [-B suffix] [-l linkflags] [-N dbdir] file1 file2 install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] [-B suffix] [-l linkflags] [-N dbdir] file1 ... fileN directory install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] directory ... *** [distribution] Error code 64 1 error *** [distribution] Error code 2 1 error *** [distribution] Error code 2 cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.QTdUhm6l/locale cd /zs/tingo/work/chromebook/cb2/src; MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/sbin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/games:/tmp/install.QTdUhm6l LD_LIBRARY_PATH=/tmp/install.QTdUhm6l PATH_LOCALE=/tmp/install.QTdUhm6l/locale make -f Makefile.i nc1 __MAKE_SHELL=/tmp/install.QTdUhm6l/sh reinstall; MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/legacy/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/sbin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/bin:/usr/obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/games:/tmp/install.QTdUhm6l LD_LIBRARY_PATH=/tmp/install.QTdUhm6l PATH_LOCALE=/tmp/install.QTdUhm6l/local e rm -rf /tmp/install.QTdUhm6l "/zs/tingo/work/chromebook/cb2/src/share/mk/bsd.compiler.mk", line 42: Unable to determine compiler type for cc. Consider setting COMPILER_TYPE. *** [installworld] Error code 1 1 error *** [installworld] Error code 2 2 errors 5.51 real 0.11 user 0.15 sys even if I set compiler type it fails: tingo@kg-core1$ grep COMPILER_TYPE config/make.conf COMPILER_TYPE=clang tingo@kg-core1$ ./mk DESTDIR=/mnt installworld distribution [...] install -l s usr/src/sys /mnt/sys cd /mnt/usr/share/man; for mandir in man*; do install -l s ../$mandir /mnt/usr/share/man/en.ISO8859-1/; install -l s ../$mandir /mnt/usr/share/man/en.UTF-8/; done cd /mnt/usr/share/openssl/man; for mandir in man*; do install -l s ../$mandir /mnt/usr/share/openssl/man/en.ISO8859-1/; done `grep "^[a-zA-Z]" /zs/tingo/work/chromebook/cb2/src/etc/man.alias`; while [ $# -gt 0 ] ; do install -l s "$2" "/mnt/usr/share/man/$1"; install -l s "$2" "/mnt/usr/share/openssl/man/$1"; shift; shift; done -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- cd /zs/tingo/work/chromebook/cb2/src; make -f Makefile.inc1 install ===> share/info (install) install -o root -g wheel -m 644 dir-tmpl /mnt/usr/share/info/dir ===> lib (install) ===> lib/csu/arm (install) install -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /mnt/usr/lib install: crt1.o: No such file or directory *** [realinstall] Error code 71 1 error *** [_sub.realinstall] Error code 2 1 error *** [_sub.realinstall] Error code 2 1 error *** [reinstall] Error code 2 1 error *** [installworld] Error code 2 1 error *** [installworld] Error code 2 2 errors 4.79 real 0.25 user 0.31 sys I'm afraid I am going to need more hints / help. References: 1) http://lists.freebsd.org/pipermail/freebsd-arm/2015-January/009907.html 2) https://wiki.freebsd.org/FreeBSD/arm/Chromebook 3) http://lists.freebsd.org/pipermail/freebsd-arm/2014-January/007249.html -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Mon Jan 5 17:41:00 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B122FC55 for ; Mon, 5 Jan 2015 17:41:00 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 62ECD372E for ; Mon, 5 Jan 2015 17:41:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 75D5441EAB for ; Mon, 5 Jan 2015 18:40:40 +0100 (CET) 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 6kxfbNHVfcEt for ; Mon, 5 Jan 2015 18:40:36 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 2512743CD0 for ; Mon, 5 Jan 2015 18:40:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no 2512743CD0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420479636; bh=tNCmtTtXXNLGPSOfx0Ms2xZOtOjC1YtvV//kEF9/I/o=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=5hy7GAmqV2i4Mwlb6cjVREIRv0uCpHdeUvLzv1lyyXD/XMqXgUQQVtRsrd6cdtfjU oXy9H01hoFL7uhYhDJNXm1XI+ClXeT8z+dK9f+GyQYygeWhboz6un3IDEMbmetrH0j NU6sqvvXuRFcrgiwiz76WFScLrwoIokqCjMYeaEs= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net 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 TfUrkyOoiP3y for ; Mon, 5 Jan 2015 18:40:36 +0100 (CET) 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 F17C140E2F for ; Mon, 5 Jan 2015 18:40:35 +0100 (CET) Date: Mon, 5 Jan 2015 18:40:29 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Chromebook image - install fails Message-Id: <20150105184029.477525b19eb9eab6a55b8d03@getmail.no> In-Reply-To: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> References: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2015 17:41:00 -0000 FWIW, I tried dowing it manually as well, like so: su cd src export MAKEOBJDIRPREFIX=/home/tingo/work/chromebook/cb2/obj time nice -15 make -DNO_CLEAN TARGET_ARCH=armv6 DESTDIR=/mnt __MAKE_CONF=/home/tingo/work/chromebook/cb2/config/make.conf SRCCONF=/home/tingo/work/chromebook/cb2/config/src.conf KERNCONF=CB2 installworld distribution it gets a bit further, but still fails: ===> lib/libc_nonshared (install) install -C -o root -g wheel -m 444 libc_nonshared.a /mnt/usr/lib ===> lib/libcompiler_rt (install) install -C -o root -g wheel -m 444 libcompiler_rt.a /mnt/usr/lib install -C -o root -g wheel -m 444 libcompiler_rt_p.a /mnt/usr/lib /mnt/usr/lib/libgcc.a -> libcompiler_rt.a /mnt/usr/lib/libgcc_p.a -> libcompiler_rt_p.a ===> lib/libc++ (install) install -C -o root -g wheel -m 444 libc++.a /mnt/usr/lib install: libc++.a: No such file or directory *** Error code 71 Stop. bmake[4]: stopped in /zs/tingo/work/chromebook/cb2/src/lib/libc++ *** Error code 1 Stop. bmake[3]: stopped in /zs/tingo/work/chromebook/cb2/src/lib *** Error code 1 Stop. bmake[2]: stopped in /zs/tingo/work/chromebook/cb2/src *** Error code 1 Stop. bmake[1]: stopped in /zs/tingo/work/chromebook/cb2/src *** Error code 1 Stop. bmake: stopped in /zs/tingo/work/chromebook/cb2/src *** [installworld] Error code 1 Stop in /zs/tingo/work/chromebook/cb2/src. 9.21 real 0.60 user 1.01 sys looks like libc++.a isn't built: root@kg-core1# pwd /home/tingo/work/chromebook/cb2/src root@kg-core1# find ../obj -name 'libc++.a' -print root@kg-core1# find ../obj -name 'libc++*' -print it is in source: root@kg-core1# find ../src -name 'libc++*' -print ../src/contrib/libc++ ../src/lib/libc++ ../src/lib/libc++/libc++.ldscript -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Tue Jan 6 23:07:19 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0212821B for ; Tue, 6 Jan 2015 23:07:19 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id A77B1D0C for ; Tue, 6 Jan 2015 23:07:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 56CAE5DBBB for ; Wed, 7 Jan 2015 00:07:00 +0100 (CET) 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 9n6QSmRrp9Rc for ; Wed, 7 Jan 2015 00:06:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 02A1B5DB9E for ; Wed, 7 Jan 2015 00:06:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no 02A1B5DB9E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420585616; bh=HLsHKtAPvbUiLI/F1OYBH5m7VbOJbZO+BHMJ4jgJNso=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=FdsCrE2R6VXz+B239f4FMonZhbiZ4fJyrDeDeYHfsVtNbzDKG7ZK3tF8q2CU3sA2i 0YkcJx7hAYRPOJAR+pRBQN6VaOurK2AbnLylEfAH/vZGDeLhAofl/hVKg62wb6l9kb r9jD2a4rnswlIy3JQHMDTrD/zlLQ6sVTawSYYwZw= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net 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 GKQYXAD7Un4E for ; Wed, 7 Jan 2015 00:06:55 +0100 (CET) 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 D2D3C5DBB3 for ; Wed, 7 Jan 2015 00:06:55 +0100 (CET) Date: Wed, 7 Jan 2015 00:06:53 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Chromebook image - install fails Message-Id: <20150107000653.619bc2f3bda8be8ea2307f17@getmail.no> In-Reply-To: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> References: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 23:07:19 -0000 On Sun, 4 Jan 2015 23:43:31 +0100 Torfinn Ingolfsen wrote: > Continuation of this[1] thread. > -------------------------------------------------------------- > >>> Installing everything > -------------------------------------------------------------- > cd /zs/tingo/work/chromebook/cb2/src; make -f Makefile.inc1 install > ===> share/info (install) > install -o root -g wheel -m 644 dir-tmpl /mnt/usr/share/info/dir > ===> lib (install) > ===> lib/csu/arm (install) > install -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /mnt/usr/lib > install: crt1.o: No such file or directory > *** [realinstall] Error code 71 > 1 error > *** [_sub.realinstall] Error code 2 > 1 error > *** [_sub.realinstall] Error code 2 > 1 error > *** [reinstall] Error code 2 > 1 error > *** [installworld] Error code 2 > 1 error > *** [installworld] Error code 2 > 2 errors I don't understand why it fails to find crt1.o: tingo@kg-core1$ pwd /zs/tingo/work/chromebook/cb2 tingo@kg-core1$ find obj -name crt1.o -print obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/tmp/usr/lib/crt1.o obj/arm.armv6/zs/tingo/work/chromebook/cb2/src/lib/csu/arm/crt1.o -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 16:08:41 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D584AB63 for ; Wed, 7 Jan 2015 16:08:41 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id C0CEE1BF6 for ; Wed, 7 Jan 2015 16:08:41 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 04847FCA2E8 for ; Wed, 7 Jan 2015 08:08:36 -0800 (PST) Date: Wed, 7 Jan 2015 09:08:35 -0700 (MST) From: Scott Ellis To: freebsd-arm@freebsd.org Message-ID: <1420646915323-5979090.post@n5.nabble.com> Subject: Proposed patch for omap443x.dtsi 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 16:08:41 -0000 This would be for the PandaBoard and Duovero if it gets accepted. https://github.com/scottellis/duovero-freebsd/blob/master/patches/0007-omap4-add-omap443x-dtsi.patch This patch is dependent on getting applied after the other patches in that repo. It's not a big deal to rework the patch series so they apply in a different order. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Proposed-patch-for-omap443x-dtsi-tp5979090.html Sent from the freebsd-arm mailing list archive at Nabble.com. From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 20:04:42 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C008567A for ; Wed, 7 Jan 2015 20:04:42 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2461577 for ; Wed, 7 Jan 2015 20:04:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 3F22A5BCFB for ; Wed, 7 Jan 2015 21:04:21 +0100 (CET) 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 YVMJ-ubf0FWc for ; Wed, 7 Jan 2015 21:04:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id B33625BD2F for ; Wed, 7 Jan 2015 21:04:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no B33625BD2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420661060; bh=r0/uSHyS4n6YD4N9NJKmYaVX1UJY2FHsai5j5MJZWZs=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=JILtBVexHC/ZKy1HV6KACNhNoP5qA9ZvjcesEokchtaagQYUw1iA0FZOhVB1oe8SQ oCK6Rq9Jn1rzNFrf/t/n9Vh242nnNdFoT7C83XWxzeWeIa1JV2ZmVDGrjGXW0csWMw YOvZgF/6dYD6J5GW83lJH4JWHJkHY6cd2mcDg47w= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net 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 4sTnAWQWR60R for ; Wed, 7 Jan 2015 21:04:20 +0100 (CET) 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 8CF5C5BCFB for ; Wed, 7 Jan 2015 21:04:20 +0100 (CET) Date: Wed, 7 Jan 2015 21:04:19 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Chromebook image - install fails Message-Id: <20150107210419.4a6709276e70f8520b60acdb@getmail.no> In-Reply-To: <20150107000653.619bc2f3bda8be8ea2307f17@getmail.no> References: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> <20150107000653.619bc2f3bda8be8ea2307f17@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 20:04:42 -0000 FWIW, I also tried the build on a machine which runs FreeBSD 10.0-release: tingo@kg-v7$ uname -a FreeBSD kg-v7.kg4.no 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 as before, buildworld and buildkernel works. And - installworld fails in the same way: -------------------------------------------------------------- >>> Installing everything -------------------------------------------------------------- cd /usr/home/tingo/work/cb2/src; make -f Makefile.inc1 install ===> share/info (install) install -o root -g wheel -m 644 dir-tmpl /mnt/usr/share/info/dir ===> lib (install) ===> lib/csu/arm (install) install -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /mnt/usr/lib install: crt1.o: No such file or directory *** [realinstall] Error code 71 make[5]: stopped in /usr/home/tingo/work/cb2/src/lib/csu/arm 1 error make[5]: stopped in /usr/home/tingo/work/cb2/src/lib/csu/arm *** [_sub.realinstall] Error code 2 make[4]: stopped in /usr/home/tingo/work/cb2/src/lib 1 error make[4]: stopped in /usr/home/tingo/work/cb2/src/lib *** [_sub.realinstall] Error code 2 make[3]: stopped in /usr/home/tingo/work/cb2/src 1 error make[3]: stopped in /usr/home/tingo/work/cb2/src *** [reinstall] Error code 2 make[2]: stopped in /usr/home/tingo/work/cb2/src 1 error make[2]: stopped in /usr/home/tingo/work/cb2/src *** [installworld] Error code 2 make[1]: stopped in /usr/home/tingo/work/cb2/src 1 error make[1]: stopped in /usr/home/tingo/work/cb2/src *** [installworld] Error code 2 make: stopped in /usr/home/tingo/work/cb2/src 1 error make: stopped in /usr/home/tingo/work/cb2/src 0.45 real 0.13 user 0.25 sys but the files are present: tingo@kg-v7$ pwd /home/tingo/work/cb2 tingo@kg-v7$ find obj -name crt1.o -print obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/lib/crt1.o obj/arm.armv6/usr/home/tingo/work/cb2/src/lib/csu/arm/crt1.o -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 21:45:59 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B37B724 for ; Wed, 7 Jan 2015 21:45:59 +0000 (UTC) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5E9679 for ; Wed, 7 Jan 2015 21:45:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id B69EF4218D for ; Wed, 7 Jan 2015 22:45:39 +0100 (CET) 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 JmFZi0x-YRFN for ; Wed, 7 Jan 2015 22:45:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 9E000436CD for ; Wed, 7 Jan 2015 22:45:38 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 bouvier.getmail.no 9E000436CD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420667138; bh=g3BYOVm4OMVdNlseDVEPnRi991NsWZngmtrUROvxkwE=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=xaAccUbox13uiLWaXWC/NQztChKBj88AGvxN6n3ukfxknwbtMq0LUcUP2PTU4aqGa zfPuafa1/dZRgSDpHraLQdLL+9dZKN+cdLjY70yhlrjRhbA0NT4Epzs/C2omH3zq6d m+64qVRkSH593lJFaRAI1MgHGmH+nMt6zj4gkWl8= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net 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 qZ9WbCs2WUZn for ; Wed, 7 Jan 2015 22:45:38 +0100 (CET) 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 781784218D for ; Wed, 7 Jan 2015 22:45:38 +0100 (CET) Date: Wed, 7 Jan 2015 22:45:38 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Chromebook image - install fails Message-Id: <20150107224538.c9bf9f9b714a19563d49d06e@getmail.no> In-Reply-To: <20150107210419.4a6709276e70f8520b60acdb@getmail.no> References: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> <20150107000653.619bc2f3bda8be8ea2307f17@getmail.no> <20150107210419.4a6709276e70f8520b60acdb@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 21:45:59 -0000 On Wed, 7 Jan 2015 21:04:19 +0100 Torfinn Ingolfsen wrote: > FWIW, I also tried the build on a machine which runs FreeBSD 10.0-release: > tingo@kg-v7$ uname -a > FreeBSD kg-v7.kg4.no 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > as before, buildworld and buildkernel works. > And - installworld fails in the same way: > -------------------------------------------------------------- > >>> Installing everything > -------------------------------------------------------------- > cd /usr/home/tingo/work/cb2/src; make -f Makefile.inc1 install > ===> share/info (install) > install -o root -g wheel -m 644 dir-tmpl /mnt/usr/share/info/dir > ===> lib (install) > ===> lib/csu/arm (install) > install -o root -g wheel -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /mnt/usr/lib > install: crt1.o: No such file or directory > *** [realinstall] Error code 71 > > make[5]: stopped in /usr/home/tingo/work/cb2/src/lib/csu/arm > 1 error > > make[5]: stopped in /usr/home/tingo/work/cb2/src/lib/csu/arm > *** [_sub.realinstall] Error code 2 > > make[4]: stopped in /usr/home/tingo/work/cb2/src/lib > 1 error > > make[4]: stopped in /usr/home/tingo/work/cb2/src/lib > *** [_sub.realinstall] Error code 2 > > make[3]: stopped in /usr/home/tingo/work/cb2/src > 1 error > > make[3]: stopped in /usr/home/tingo/work/cb2/src > *** [reinstall] Error code 2 > > make[2]: stopped in /usr/home/tingo/work/cb2/src > 1 error > > make[2]: stopped in /usr/home/tingo/work/cb2/src > *** [installworld] Error code 2 > > make[1]: stopped in /usr/home/tingo/work/cb2/src > 1 error > > make[1]: stopped in /usr/home/tingo/work/cb2/src > *** [installworld] Error code 2 > > make: stopped in /usr/home/tingo/work/cb2/src > 1 error > > make: stopped in /usr/home/tingo/work/cb2/src > 0.45 real 0.13 user 0.25 sys > > but the files are present: > tingo@kg-v7$ pwd > /home/tingo/work/cb2 > tingo@kg-v7$ find obj -name crt1.o -print > obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/lib/crt1.o > obj/arm.armv6/usr/home/tingo/work/cb2/src/lib/csu/arm/crt1.o Ok, a bit of googling and a bit of experimenting and I have found out what happens at least - when I use the 'mk' script MAKEOBJDIRPREFIX changes during the installworld prices: tingo@kg-v7$ pwd /home/tingo/work/cb2 tingo@kg-v7$ su Password: root@kg-v7# ./mk1 DESTDIR=/mnt installworld + kernel=CB2 + [ -r config/CB2 ] + ln -fs ../../../../config/CB2 src/sys/arm/conf/CB2 + pwd + srcconf=/home/tingo/work/cb2/config/src.conf + pwd + makeconf=/home/tingo/work/cb2/config/make.conf + pwd + objdir=/home/tingo/work/cb2/obj + pwd + tobjdir=/home/tingo/work/cb2/obj/arm.armv6//home/tingo/work/cb2/src + kobjdir=/home/tingo/work/cb2/obj/arm.armv6//home/tingo/work/cb2/src/sys/CB2 + export MAKEOBJDIRPREFIX=/home/tingo/work/cb2/obj + cd ./src + time nice -15 sudo make -j 1 -DNO_CLEAN TARGET_ARCH=armv6 DESTDIR= __MAKE_CONF=/home/tingo/work/cb2/config/make.conf SRCCONF=/home/tingo/work/cb2/config/src.conf KERNCONF=CB2 DESTDIR=/mnt installworld mkdir -p /tmp/install.uJjvI0ij progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep id install ln lockf make mkdir mtree mv pwd_mkdb rm sed services_mkdb sh strip sysctl test true uname wc zic tzsetup makewhatis; do if progpath=`which $prog`; then echo $progpath; else echo "Required tool $prog not found in PATH." >&2; exit 1; fi; done); libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u | while read line; do $line; if [ "$2 $3" != "not found" ]; then echo $2; else echo "Required library $1 not found." >&2; exit 1; fi; done); cp $libs $progs /tmp/install.uJjvI0ij cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.uJjvI0ij/locale cd /usr/home/tingo/work/cb2/src; MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/sbin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/games:/tmp/install.uJjvI0ij LD_LIBRARY_PATH=/tmp/install.uJjvI0ij PATH_LOCALE=/tmp/install.uJjvI0ij/locale make -f Makefile.inc1 __MAKE_SHELL=/tmp/install.uJjvI0ij/sh reinstall; MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/sbin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/games:/tmp/install.uJjvI0ij LD_LIBRARY_PATH=/tmp/install.uJjvI0ij PATH_LOCALE=/tmp/install.uJjvI0ij/locale rm -rf /tmp/install.uJjvI0ij make[2]: "/usr/home/tingo/work/cb2/src/share/mk/bsd.compiler.mk" line 42: Unable to determine compiler type for cc. Consider setting COMPILER_TYPE. *** [installworld] Error code 1 make[1]: stopped in /usr/home/tingo/work/cb2/src 1 error make[1]: stopped in /usr/home/tingo/work/cb2/src *** [installworld] Error code 2 make: stopped in /usr/home/tingo/work/cb2/src 1 error make: stopped in /usr/home/tingo/work/cb2/src 0.29 real 0.04 user 0.14 sys - but when I do it manually the process works as it should: root@kg-v7# export MAKEOBJDIRPREFIX=/home/tingo/work/cb2/obj root@kg-v7# pwd /home/tingo/work/cb2/src root@kg-v7# time nice -15 make -j 1 -DNO_CLEAN TARGET_ARCH=armv6 DESTDIR=/mnt __MAKE_CONF=/home/tingo/work/cb2/config/make.conf SRCCONF=/home/tingo/work/cb2/config/src.conf KERNCONF=CB2 installworld [...] install -l s ../local/tests /mnt/usr/tests/local ===> etc (install) ===> etc/sendmail (install) ===> etc/tests (install) install -o root -g wheel -m 444 /usr/home/tingo/work/cb2/src/tests/Kyuafile /mnt/usr/tests/etc/Kyuafile cd /usr/home/tingo/work/cb2/src/etc/../share/man; make makedb makewhatis /mnt/usr/share/man makewhatis /mnt/usr/share/openssl/man 601.30 real 21.14 user 24.60 sys at least now I have a workaround. -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 22:01:35 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CD980A21 for ; Wed, 7 Jan 2015 22:01:35 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1B60885 for ; Wed, 7 Jan 2015 22:01:35 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Y8yfV-0004wE-N0; Wed, 07 Jan 2015 22:01:33 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t07M1WnQ055676; Wed, 7 Jan 2015 15:01:32 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18TRlBpfE7ZfyOnLyscER/e Message-ID: <1420668091.14601.79.camel@freebsd.org> Subject: Re: Chromebook image - install fails From: Ian Lepore To: Torfinn Ingolfsen Date: Wed, 07 Jan 2015 15:01:31 -0700 In-Reply-To: <20150107224538.c9bf9f9b714a19563d49d06e@getmail.no> References: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> <20150107000653.619bc2f3bda8be8ea2307f17@getmail.no> <20150107210419.4a6709276e70f8520b60acdb@getmail.no> <20150107224538.c9bf9f9b714a19563d49d06e@getmail.no> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 22:01:36 -0000 On Wed, 2015-01-07 at 22:45 +0100, Torfinn Ingolfsen wrote: > + export MAKEOBJDIRPREFIX=/home/tingo/work/cb2/obj > + cd ./src > + time nice -15 sudo make -j 1 -DNO_CLEAN TARGET_ARCH=armv6 DESTDIR= > __MAKE_CONF=/home/tingo/work/cb2/config/make.conf > SRCCONF=/home/tingo/work/cb2/config/src.conf KERNCONF=CB2 DESTDIR=/mnt > installworld > mkdir -p /tmp/install.uJjvI0ij > progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown date echo > egrep find grep id install ln lockf make mkdir mtree mv pwd_mkdb rm > sed services_mkdb sh strip sysctl test true uname wc zic tzsetup > makewhatis; do if progpath=`which $prog`; then echo $progpath; else > echo "Required tool $prog not found in PATH." >&2; exit 1; fi; > done); libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort > -u | while read line; do $line; if [ "$2 $3" != "not found" ]; then > echo $2; else echo "Required library $1 not found." >&2; exit 1; > fi; done); cp $libs $progs /tmp/install.uJjvI0ij > cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.uJjvI0ij/locale > cd /usr/home/tingo/work/cb2/src; MAKEOBJDIRPREFIX=/usr/obj/arm.armv6 > MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= > GROFF_BIN_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/sbin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/usr/games:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/legacy/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/sbin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/bin:/usr/obj/arm.armv6/usr/home/tingo/work/cb2/src/tmp/usr/games:/tmp/install.uJjvI0ij LD_LIBRARY_PATH=/tmp/install.uJjvI0ij PATH_LOCALE=/tmp/install.uJjvI0ij/locale make -f Makefile.inc1 __MAKE_SHELL=/tmp/install.uJjvI0ij/sh re > install; Oh... check your /usr/local/etc/sudoers file, make sure you allow MAKEOBJDIRPREFIX to pass through the environment during sudo. Here are the relevant lines from my sudoers file (only the last line is relevant to crossbuilding)... Defaults env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR PACKAGEROOT PACKAGESITE PKGDIR" Defaults env_keep += "TMPDIR FTP_PASSIVE_MODE XDG_SESSION_COOKIE" Defaults env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF" Defaults env_keep += "MAKEOBJDIRPREFIX MODULES_OVERRIDE SUBDIR_OVERRIDE" -- Ian From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 22:05:21 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CEB20C02 for ; Wed, 7 Jan 2015 22:05:21 +0000 (UTC) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DABE8A2 for ; Wed, 7 Jan 2015 22:05:21 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kq14so7508836pab.6 for ; Wed, 07 Jan 2015 14:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=YpXCaVCFRd/X1BBNVLttx8Xisqk9KJcatgcIdEO84gs=; b=SuPk34ZTo8kAUp6gdM46E/9LbudNIrcpiFmjrC4/a8sS35q8YMmz6EYr1VYrtJ3FUi q4YVYRu4o/GqFVrxjVTHPaz4h7R+89VphPXTbpkvT0CMargox2UeeDda89M2AEvyDqpX J3YMRjhCDUy50nhh4LuEyppUPzcEwNSAPElrjEYmFrlWXyJpc+vSrGrgyWXGTIHwTGUY h3IQD5sN4N1AsfOC6HpIvwZa2kwZz6wjWddsZmiYfh+4v9aF0l7odmY+n7uBnt0SkiI2 lLcMCLQdcSgokcbXTzLqQTOvxUx2OpRasrT5wQK+0QLIjK1fi7rXJxaDwIRGppfg6pO4 UahQ== MIME-Version: 1.0 X-Received: by 10.66.66.102 with SMTP id e6mr9684551pat.6.1420668321132; Wed, 07 Jan 2015 14:05:21 -0800 (PST) Reply-To: kirk@ba23.org Sender: kirk.j.russell@gmail.com Received: by 10.66.26.193 with HTTP; Wed, 7 Jan 2015 14:05:21 -0800 (PST) In-Reply-To: <549E58CE.9000103@callfortesting.org> References: <549E58CE.9000103@callfortesting.org> Date: Wed, 7 Jan 2015 17:05:21 -0500 X-Google-Sender-Auth: fJm7XH8qN5Jgbu_rECyOwOnRZDE Message-ID: Subject: Re: Updated Chromebook ARM Wiki Page From: kirk russell To: Michael Dexter Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 22:05:21 -0000 On 27 December 2014 at 01:59, Michael Dexter wrote: > > Hello all, > > I have rewritten the Chromebook ARM wiki page to focus on USB boot which > allows for self-hosing: > > https://wiki.freebsd.org/FreeBSD/arm/Chromebook Using the instructions on the wiki, I was able to boot a FreeBSD USB key on my Snow/Chromebook. > > A kernel build takes about 14 minutes and 30 seconds on the Samsung > Chromebook 1 and I welcome your tests and input with the Chromebook2 "Peach > Pit" and HP Chromebook 11 "Spring". > > Please CC me responses as I am not subscribed to the list yet. > > Michael Dexter > _______________________________________________ > 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" -- Kirk Russell http://www.ba23.org/ From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 22:22:46 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60E39FF3 for ; Wed, 7 Jan 2015 22:22:46 +0000 (UTC) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 344F4A98 for ; Wed, 7 Jan 2015 22:22:45 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id eu11so7576659pac.8 for ; Wed, 07 Jan 2015 14:22:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=FiFD/RyyFhQeokA0KSvKpCXOm5lTXvEGVrkcNqlPIC0=; b=KYthzHpjPBqOKWPYkguxvq7CXbWPbTljAeqqTh7l3VQQe2sN9xQetLNWswQASyLu9V ruwFfTPoiyRrm0fGf4KkFaf6luLNQMVFZFVq9Eh+wEDMvmBXirDfOhvU+1S2xcOkQdxL cRhbqbWLCASXOeXrFuIHixNFExGFF0EaPpYROVbAxjXsAb64X0bdbeJA84c6NA+zWcdk dmZhgU0bL05c8T74us5EqTOwb9YSkQb7SFa/Nks8uLgpzSpGNzzq93xci26ZBx6Wev7F tyGJpYdUVJCGAHVMcIpjE4L4YBGbxa6ZXdlLgjWH9u3qfCIpJcbMrfolsLIKuyRcd3Dy gN0g== X-Gm-Message-State: ALoCoQlqAwlYsrHSE/3YZ9QYczFtZKuuJsZf0/nl9ikmpIXHAwneUpfIkCmJ5qEC1C/nX5UpNdeC X-Received: by 10.70.128.131 with SMTP id no3mr9480656pdb.18.1420669359482; Wed, 07 Jan 2015 14:22:39 -0800 (PST) Received: from Michaels-MacBook-Pro.local ([73.25.21.123]) by mx.google.com with ESMTPSA id q10sm2689659pdm.78.2015.01.07.14.22.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jan 2015 14:22:38 -0800 (PST) Message-ID: <54ADB1AC.3080807@callfortesting.org> Date: Wed, 07 Jan 2015 14:22:36 -0800 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kirk@ba23.org Subject: Re: Updated Chromebook ARM Wiki Page References: <549E58CE.9000103@callfortesting.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 22:22:46 -0000 On 1/7/15 2:05 PM, kirk russell wrote: >> https://wiki.freebsd.org/FreeBSD/arm/Chromebook > Using the instructions on the wiki, I was able to boot a FreeBSD USB > key on my Snow/Chromebook. Awesome! I see that a 32GB USB 3.0 device is not bootable, even in the USB 2.0 port. This may be because of a timeout: http://archlinuxarm.org/forum/viewtopic.php?f=47&t=6397 The device should work for storage though. The Sandisk FIT modules are quire useful being low-profile. Michael From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 23:19:35 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 677A2A0F for ; Wed, 7 Jan 2015 23:19:35 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 16F4EF57 for ; Wed, 7 Jan 2015 23:19:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 1B037A6B5C for ; Thu, 8 Jan 2015 00:19:06 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id cqPA3rbqr9PT for ; Thu, 8 Jan 2015 00:19:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id BC940A6B38 for ; Thu, 8 Jan 2015 00:19:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 lamora.getmail.no BC940A6B38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420672745; bh=dqcVzzMT4Oaa3LpfPCP14T/Kffgt3dnabcGn89jjxS8=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=Lxhhdas61XXCiQRBX4PEvWafqHmt0+oWlbeT9Hdu3fc5orNQjeizsQWfJT9aw+iVF ZXO7UJjrqeNUl8pEszVS80Zyz48qbA/x78EEv5dahrsRrAA4QKH+BodQzZB3lxwNao LWYnhRwFPcJ77bfzGD4cV1tPJzyrtuuXhgKUHJec= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id L0UKvjkWAJeW for ; Thu, 8 Jan 2015 00:19:05 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by lamora.getmail.no (Postfix) with ESMTPSA id 8F042A6B1A for ; Thu, 8 Jan 2015 00:19:05 +0100 (CET) Date: Thu, 8 Jan 2015 00:19:04 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Chromebook image - install fails Message-Id: <20150108001904.0616aa31f948c5562029bdab@getmail.no> In-Reply-To: <1420668091.14601.79.camel@freebsd.org> References: <20150104234331.e0f2cdff0837b76199547b48@getmail.no> <20150107000653.619bc2f3bda8be8ea2307f17@getmail.no> <20150107210419.4a6709276e70f8520b60acdb@getmail.no> <20150107224538.c9bf9f9b714a19563d49d06e@getmail.no> <1420668091.14601.79.camel@freebsd.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 23:19:35 -0000 On Wed, 07 Jan 2015 15:01:31 -0700 Ian Lepore wrote: > > Oh... check your /usr/local/etc/sudoers file, make sure you allow > MAKEOBJDIRPREFIX to pass through the environment during sudo. Here are > the relevant lines from my sudoers file (only the last line is relevant > to crossbuilding)... I figured it had to be something with sudo... but wasn't there yet. Thanks! -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 23:27:00 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6623BAB for ; Wed, 7 Jan 2015 23:27:00 +0000 (UTC) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CEE785 for ; Wed, 7 Jan 2015 23:27:00 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id n4so5009113qaq.6 for ; Wed, 07 Jan 2015 15:26:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=fhywvVp3F0jq0gV6jMFPRKf0YJPOtYR3GaGBysC6r3E=; b=buzkznNYz8e6dBaHerl3ps0eoQgalRBp7UpDrq8klMt1UP/aXypCITRaSIaD5iYSpd 2PL4uJ8liamSIA/ffZ2HwOLO0difEjQpjOx0ZrDYWneEVyB5g/uHivScY/OjFL2ZWD0A xwA5SaaL4XLgtq6QxAXU9KKjqkat0Ev6Vnsh9EPjXZ33bHiJlMdASxlTEdsQ0tw3/xk2 g7ShnQ8fYLdD5GcdLwv2qQ9mWwKfwmINHXc06GpRQo1nJDA+3P2b82MtfwdwSV2joopj urVz0wZsz3arzeMe4frs66vOe6AYAQrHP88ZUCmozIJTJ/fVvxKn1zt1eSevC5Ywmsg1 8EEw== X-Gm-Message-State: ALoCoQlcgV7xU/e4vjj3FPGgFEMlI9oO5Pw4v5ISoLr9lHzg1p8HP8ye/2vY9/l9hBbyoUZ8yL8i X-Received: by 10.140.104.229 with SMTP id a92mr9004241qgf.78.1420673219435; Wed, 07 Jan 2015 15:26:59 -0800 (PST) Received: from [10.64.26.233] ([69.53.236.236]) by mx.google.com with ESMTPSA id b109sm2449422qgf.40.2015.01.07.15.26.57 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Jan 2015 15:26:58 -0800 (PST) Sender: Warner Losh Subject: Re: Proposed patch for omap443x.dtsi Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_844399B1-31A7-4058-ACE5-7AD59AE38955"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: <1420646915323-5979090.post@n5.nabble.com> Date: Wed, 7 Jan 2015 16:26:55 -0700 Message-Id: <7B282FBD-180A-46C5-9D1A-FA924831BCF2@bsdimp.com> References: <1420646915323-5979090.post@n5.nabble.com> To: Scott Ellis X-Mailer: Apple Mail (2.1993) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 23:27:01 -0000 --Apple-Mail=_844399B1-31A7-4058-ACE5-7AD59AE38955 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 7, 2015, at 9:08 AM, Scott Ellis wrote: >=20 > This would be for the PandaBoard and Duovero if it gets accepted. >=20 > = https://github.com/scottellis/duovero-freebsd/blob/master/patches/0007-oma= p4-add-omap443x-dtsi.patch >=20 > This patch is dependent on getting applied after the other patches in = that > repo. >=20 > It's not a big deal to rework the patch series so they apply in a = different > order. Any chances of migrating to the Linux standard DTS files? Warner --Apple-Mail=_844399B1-31A7-4058-ACE5-7AD59AE38955 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUrcDAAAoJEGwc0Sh9sBEAMwUQAOSsu+vBSs8833s8JQH83JAW jGkSVVlhbJRL4JAs3J61YqbXZtVjjxVQYDuKQasIBeEpqSIK2/0red1A8x/6SWar TAFtqHYXGGFpyoXL/D7fUN+Kbeu3sGWENSgo6W/sOOJVeMJPRPw+YdRRdDeKTUmZ OykDpek71laMVhjuqN37jzzC6NaQOEVrXJJKG+9hpfCI/abLFoIHQBOke25fRRM3 eBP1SZWooshOMWpEzgy8NYaAuxb/IfxehmvLgoqHBl6FQMdtKAyStFEf5xFK3Ih/ zUQq8UBmZJh0UhBPwCsAHTljNSd3aARpL4LrQPal4PlTfjke5LARZ+btn50ga6P8 g7m2PuZ/Es1YKIPohdUktaEejD7NnvGjBfjKxRlouXk7oTR7F30EqJpCBeuSPuSU jRZPcd8PKnycSSC6fM3SIO/pPYia5g2rEdKbRUOWd45sbs6wsc2bckIaA5snLgf0 mvNAns+YNYuIAdNaTXac8FjHdEs7Ks2HVoWNBukZJZ80MkHcDDmKkPUapaiaOf1h BC7y0XjxQtOlicg//y8UFZofYBDQPVPMmpiJ7Ys3m2Y2JE/X9LyiMRM7R4s5VSRu 2tEbJV1KE0kJRUaKw6QKZ1IUsyODNHHCIf68QVszgjmF1+4j62iFtR+hsJr1bqaa VsGfRI5KnmrWTVhn8zH0 =Y7S3 -----END PGP SIGNATURE----- --Apple-Mail=_844399B1-31A7-4058-ACE5-7AD59AE38955-- From owner-freebsd-arm@FreeBSD.ORG Wed Jan 7 23:53:06 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDCDCFEC for ; Wed, 7 Jan 2015 23:53:06 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2BF1350 for ; Wed, 7 Jan 2015 23:53:06 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Y90PQ-0009w6-P1; Wed, 07 Jan 2015 23:53:04 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t07Nr3NV056560; Wed, 7 Jan 2015 16:53:03 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 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+u9sRe18UkbKyAkrNxEUhT Message-ID: <1420674783.14601.81.camel@freebsd.org> Subject: Re: Proposed patch for omap443x.dtsi From: Ian Lepore To: Warner Losh Date: Wed, 07 Jan 2015 16:53:03 -0700 In-Reply-To: <7B282FBD-180A-46C5-9D1A-FA924831BCF2@bsdimp.com> References: <1420646915323-5979090.post@n5.nabble.com> <7B282FBD-180A-46C5-9D1A-FA924831BCF2@bsdimp.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 23:53:06 -0000 On Wed, 2015-01-07 at 16:26 -0700, Warner Losh wrote: > > On Jan 7, 2015, at 9:08 AM, Scott Ellis wrote: > > > > This would be for the PandaBoard and Duovero if it gets accepted. > > > > https://github.com/scottellis/duovero-freebsd/blob/master/patches/0007-omap4-add-omap443x-dtsi.patch > > > > This patch is dependent on getting applied after the other patches in that > > repo. > > > > It's not a big deal to rework the patch series so they apply in a different > > order. > > Any chances of migrating to the Linux standard DTS files? > > Warner > We probably need some driver changes to make that work. The only ones likely to be very complex are clocks and pinmux. Oh, and we need the standard omap4* and am335x* dts(i) files imported. -- Ian From owner-freebsd-arm@FreeBSD.ORG Thu Jan 8 02:09:08 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60535C04 for ; Thu, 8 Jan 2015 02:09:08 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47A3E1E3 for ; Thu, 8 Jan 2015 02:09:08 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t08298J1080868 for ; Thu, 8 Jan 2015 02:09:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 191261] [raspberry pi] no cursor on latest -HEAD Date: Thu, 08 Jan 2015 02:09:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gonzo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gonzo@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 02:09:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191261 Oleksandr Tymoshenko changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-arm@FreeBSD.org |gonzo@FreeBSD.org CC| |gonzo@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@FreeBSD.ORG Thu Jan 8 14:35:26 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 688D33D5 for ; Thu, 8 Jan 2015 14:35:26 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1.freebsd.org (Postfix) with ESMTP id 51A628DE for ; Thu, 8 Jan 2015 14:35:25 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 08947FE45FB for ; Thu, 8 Jan 2015 06:35:26 -0800 (PST) Date: Thu, 8 Jan 2015 07:35:24 -0700 (MST) From: Scott Ellis To: freebsd-arm@freebsd.org Message-ID: <1420727724637-5979285.post@n5.nabble.com> In-Reply-To: <1420674783.14601.81.camel@freebsd.org> References: <1420646915323-5979090.post@n5.nabble.com> <7B282FBD-180A-46C5-9D1A-FA924831BCF2@bsdimp.com> <1420674783.14601.81.camel@freebsd.org> Subject: Re: Proposed patch for omap443x.dtsi 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.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 14:35:26 -0000 The Linux dts files are all GPL. How is this normally handled? Besides the clocks and pin muxing Ian mentioned, general properties like are defined differently as well. FreeBSD uart2: serial@4806c000 { compatible = "ti,ns16550"; reg = <0x4806c000 0x400>; reg-shift = <2>; interrupts = < 105 >; interrupt-parent = <&GIC>; clock-frequency = <48000000>; uart-device-id = <1>; }; Linux (3.18 omap4.dtsi) uart2: serial@4806c000 { compatible = "ti,omap4-uart"; reg = <0x4806c000 0x100>; interrupts-extended = <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; ti,hwmods = "uart2"; clock-frequency = <48000000>; }; FreeBSD i2c1: i2c@48070000 { compatible = "ti,i2c"; reg = < 0x48070000 0x100 >; interrupts = <88>; interrupt-parent = <&GIC>; i2c-device-id = <1>; clock-frequency = <100000>; }; Linux (3.18 omap4.dtsi) i2c1: i2c@48070000 { compatible = "ti,omap4-i2c"; reg = <0x48070000 0x100>; interrupts = ; #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c1"; }; Not sure why FreeBSD uses a convention of adding +32 to the IRQ numbers. I suspect that's an actual usage offset (I didn't check). Linux uses the MA_IRQ_XX values directly from the tables in the TRM in their dts files. I don't mind working on this if compatibility with the Linux dts files is the end goal. I'd rather do it incrementally working within the FreeBSD tree instead of an extended side project managing merge conflicts myself. What if I renamed my omap443x.dtsi -> omap4.dtsi and started from that? I do have two types of OMAP4430 boards to test with. I did have an OMAP4460 board from another project that I gave back to the customer when it ended. I can see about getting another. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Proposed-patch-for-omap443x-dtsi-tp5979090p5979285.html Sent from the freebsd-arm mailing list archive at Nabble.com. From owner-freebsd-arm@FreeBSD.ORG Thu Jan 8 15:52:30 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D02DB385 for ; Thu, 8 Jan 2015 15:52:30 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9145B120 for ; Thu, 8 Jan 2015 15:52:30 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Y9FNm-000JIG-Fe; Thu, 08 Jan 2015 15:52:22 +0000 Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t08FqLub003655; Thu, 8 Jan 2015 08:52:21 -0700 (MST) (envelope-from ian@freebsd.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 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+pPAIZHQCJTGD2UB4w9DpX Message-ID: <1420732341.14601.124.camel@freebsd.org> Subject: Re: Proposed patch for omap443x.dtsi From: Ian Lepore To: Scott Ellis Date: Thu, 08 Jan 2015 08:52:21 -0700 In-Reply-To: <1420727724637-5979285.post@n5.nabble.com> References: <1420646915323-5979090.post@n5.nabble.com> <7B282FBD-180A-46C5-9D1A-FA924831BCF2@bsdimp.com> <1420674783.14601.81.camel@freebsd.org> <1420727724637-5979285.post@n5.nabble.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.8 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 15:52:31 -0000 On Thu, 2015-01-08 at 07:35 -0700, Scott Ellis wrote: > The Linux dts files are all GPL. > > How is this normally handled? > The files are imported into sys/gnu/dts/, beyond that (legal stuff) I dunno. > Besides the clocks and pin muxing Ian mentioned, general properties > like are defined differently as well. > [...] FreeBSD is ready to handle the proper style for interrupt properties when the interrupt controller is an ARM PL390 GIC, including the interrupts-extended format. For SoCs that have a non-GIC controller some code changes might be needed in the controller drivers. > > Not sure why FreeBSD uses a convention of adding +32 to the > IRQ numbers. I suspect that's an actual usage offset (I didn't > check). > The FDT standard for the GIC divides the interrupt numbering space into private (per-core) versus shared peripheral interrupts and restarts the numbering at zero in each space. The original FreeBSD homegrown dts just used a 0-n linear numbering. There is code in the GIC driver that handles both cases. > Linux uses the MA_IRQ_XX values directly from the tables in the > TRM in their dts files. > > > I don't mind working on this if compatibility with the Linux > dts files is the end goal. > The actual goal is to conform to the documented bindings, but as a practical matter that means compatibility with the published dts files. If some vendor-written file doesn't quite follow the documented bindings but works on linux, then we'll need to not-quite-follow in the same way. > I'd rather do it incrementally working within the FreeBSD tree > instead of an extended side project managing merge conflicts > myself. > As I've been doing this so far I've managed to do driver tweaks in such a way that our old homegrown and the published files both work. That makes doing the conversion as an incremental set of changes practical. Often there's not much more to it than accepting old and new compatible strings, and sometimes assuming reasonable defaults for some homegrown property we added that won't be present in the published files. The only soc we have right now that runs 100% on published fdt data without any homegrown properties added is imx6, so you can find some example code in the arm/freescale/imx directory. For TI there's the added wrinkle of sharing some code between OMAP4 and AM335x, so a few drivers have to conform to two sets of published bindings, but I'll bet TI has made that easy to do with some sensible commonality in how they defined things. > What if I renamed my omap443x.dtsi -> omap4.dtsi and started > from that? > > I do have two types of OMAP4430 boards to test with. > > I did have an OMAP4460 board from another project that I gave > back to the customer when it ended. I can see about getting > another. When I did this for imx6 I incrementally changed our homegrown dts/dtsi files to become ever more like the published files (but stripped down to just the devices we actually support) until one day I realized we were able to just cut over to the files in sys/gnu and stop using our homegrown ones. That should work okay for omap/am335x too I think. If we do make new files along the way we should probably ensure our names don't clash with the names that will be in sys/gnu or we'll have trouble with include statements. The bindings documentation and the published dts(i) files can be viewed here... https://github.com/torvalds/linux/tree/master/Documentation/devicetree/bindings https://github.com/torvalds/linux/tree/master/arch/arm/boot/dts -- Ian From owner-freebsd-arm@FreeBSD.ORG Thu Jan 8 21:37:56 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9DDEBBB2 for ; Thu, 8 Jan 2015 21:37:56 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id 51497CC2 for ; Thu, 8 Jan 2015 21:37:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 9BE545E084; Thu, 8 Jan 2015 22:37:29 +0100 (CET) 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 rdE4KH5XiNJ8; Thu, 8 Jan 2015 22:37:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 38D995E089; Thu, 8 Jan 2015 22:37:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no 38D995E089 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1420753047; bh=wjE4G73l1DGiwHw3ie8aixc7IFuJg3mssQsJxi6UbB4=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=dyBZbRwnIWFkfIRnIxMmHgWqrKjiof9erEBuqvUjySOu/RihTEmTK3Za0khV3zjuh ISor/0zt/5srWZHsdHrM0/YUqDsrFHb8ZGAXTFNg8fe6pNlHSI+Jat5hsbk4CV5uol wRJxFFaI9RrbBk4VctY5Yt/uKFUXns5yHY8O5ibY= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net 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 FsaAYRjIRHa3; Thu, 8 Jan 2015 22:37:27 +0100 (CET) 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 12F9F5E081; Thu, 8 Jan 2015 22:37:27 +0100 (CET) Date: Thu, 8 Jan 2015 22:37:26 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Updated Chromebook ARM Wiki Page Message-Id: <20150108223726.14c6b79598ad039cb5f1ba81@getmail.no> In-Reply-To: <549E58CE.9000103@callfortesting.org> References: <549E58CE.9000103@callfortesting.org> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Michael Dexter X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 21:37:56 -0000 On Fri, 26 Dec 2014 22:59:26 -0800 Michael Dexter wrote: > > Hello all, > > I have rewritten the Chromebook ARM wiki page to focus on USB boot which > allows for self-hosing: > > https://wiki.freebsd.org/FreeBSD/arm/Chromebook I have a Samsung Chromebook 2, model XE503C32-K02SE. This is the "Peach Pi" according to this[1] page. With the aid of the wiki page (and a lot of help from people on this mailing list) I was able to build an image. Differences, compared to wiki page: - r2669385 don't build for me, so I used r276666 - kernel config file: # kernel config file for Chromebook 2 Peach Pi include "CHROMEBOOK-PEACH-PIT" ident CHROMEBOOK-PEACH-PI #hints "CHROMEBOOK-PEACH-PIT.hints" options ROOTDEVNAME=\"ufs:/dev/da0p3\" Unfortunately, it won't boot, it just hangs after starting the kernel. I've tried this: (transcribed "peach #" is the U-Boot prompt) peach # usb dev 0 USB device 0: Device 0: Vendor: Kingston Rev: PMAP Prod: DataTraveler 2.0 Type: Removable Hard Disk Capacity: 7441.6 MB = 7.2 GB (15240576 x 512) ... is now current device peach # fatload usb 0:2 0x40f00000 kernel.bin reading kernel.bin 5459684 bytes read in 2953 ms (1.8 MiB/s) peach # go 0x40f00000 ## Starting application at 0x40F00000 ... (hangs here) and this: peach # usb dev 0 peach # fatload usb 0:2 0x20f00000 kernel.bin peach # go 0x20f00000 ## Starting application at 0x20F00000 ... (I didn't transcribe output from all commands) I think that 0x20f00000 is the correct address to use (based on the files included in the kernel config file), can anyone confirm this? References: 1) http://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-chromebook-2 -- Torfinn Ingolfsen From owner-freebsd-arm@FreeBSD.ORG Fri Jan 9 22:26:30 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 313C7D36 for ; Fri, 9 Jan 2015 22:26:30 +0000 (UTC) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D5C5A8A1 for ; Fri, 9 Jan 2015 22:26:29 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id i8so11345624qcq.11 for ; Fri, 09 Jan 2015 14:26:29 -0800 (PST) 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=UAiGc5ETp8Oc2z65rUALvMrM2JLuva16w90CXpTgjqg=; b=fMTJ5IGFlEtodU2q3XloITANHMxj9cFZiLNscnL80FWIwoZSnqdDWuMeAZZ4pajAmn CbpzdgyLKnNoG1BNUxUx5lDxEw+NfG76orw6DKLD64a67o56ru43nVoHq9aJ+vXiAYX5 R49/JL6ZhlS+YNSGCGueWJkuip+SmqH5luNRij6D6kes5l5dCv9N9LdwQOmZS9+eFi2z xB50QkVjArtUUTNL1aGs+/HNgC+0yK9wGMX8Qmu8qQyzlAjRGDSYFi+AouryaNWojzcN hESogsDjQ/JosqttPojO9wv7V8LkzcJhqx63iAZEDLRSWrqsD6rv94fkR9Kqse6P9hMe 0LHw== MIME-Version: 1.0 X-Received: by 10.224.37.5 with SMTP id v5mr21220683qad.25.1420842388945; Fri, 09 Jan 2015 14:26:28 -0800 (PST) Received: by 10.140.97.203 with HTTP; Fri, 9 Jan 2015 14:26:28 -0800 (PST) Date: Fri, 9 Jan 2015 23:26:28 +0100 Message-ID: Subject: Issue with arm cross compiler xdev on FreeBSD 10.1 From: Kai Noetzel To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 22:26:30 -0000 Hi, I'm having issues trying to build the arm cross compiler on the following system: root@bsdcompy:/usr/src # uname -a FreeBSD bsdcompy 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 I checked out: svn co http://svn.freebsd.org/base/head /usr/src When I run: root@bsdcompy:/usr/src # make XDEV=arm XDEV_ARCH=armv6 WITH_GCC=1 xdev I get the following error: ...... ===> xdev lib/libelftc (obj,depend,all) ===> xdev usr.bin/addr2line (obj,depend,all) cc -O2 -pipe -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/libelftc -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/common -std=gnu99 -fstack-protector -Qunused-arguments -c /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:105:39: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & warnx("dwarf_tag: %s", dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:119:14: error: use of undeclared identifier 'DW_DLV_ERROR' if (ret == DW_DLV_ERROR) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:122:8: warning: implicit declaration of function 'dwarf_formstring' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_formstring(sub_at, &func0, &de)) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:136:7: warning: implicit declaration of function 'dwarf_global_formref' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_global_formref(spec_at, &ref, &de)) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:138:7: warning: implicit declaration of function 'dwarf_offdie' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_offdie(dbg, ref, &spec_die, &de)) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:150:13: error: use of undeclared identifier 'DW_DLV_ERROR' if (ret == DW_DLV_ERROR) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:151:54: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & errx(EXIT_FAILURE, "dwarf_child: %s", dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:157:13: error: use of undeclared identifier 'DW_DLV_ERROR' if (ret == DW_DLV_ERROR) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:158:58: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & errx(EXIT_FAILURE, "dwarf_siblingof: %s", dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:189:22: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:210:7: warning: implicit declaration of function 'dwarf_srclines' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_srclines(die, &lbuf, &lcount, &de) != DW_DLV_OK) { ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:211:45: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & warnx("dwarf_srclines: %s", dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:219:8: warning: implicit declaration of function 'dwarf_lineaddr' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) { ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:221:22: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:224:8: warning: implicit declaration of function 'dwarf_lineno' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_lineno(lbuf[i], &lineno, &de)) { ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:226:22: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:229:8: warning: implicit declaration of function 'dwarf_linesrc' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_linesrc(lbuf[i], &file0, &de)) { ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:231:22: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:269:14: error: use of undeclared identifier 'DW_DLV_ERROR' if (ret == DW_DLV_ERROR) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:271:21: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:387:46: error: too many arguments to function call, expected 4, have 6 if (dwarf_init(fd, DW_DLC_READ, NULL, NULL, &dbg, &de)) ~~~~~~~~~~ ^~~~~~~~~ /usr/include/libdwarf.h:144:1: note: 'dwarf_init' declared here int dwarf_init(int, int, Dwarf_Debug *, Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:388:53: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & errx(EXIT_FAILURE, "dwarf_init: %s", dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:390:6: warning: implicit declaration of function 'dwarf_get_elf' is invalid in C99 [-Wimplicit-function-declaration] if (dwarf_get_elf(dbg, &e, &de) != DW_DLV_OK) ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:391:56: error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter of incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take the address with & errx(EXIT_FAILURE, "dwarf_get_elf: %s", dwarf_errmsg(de)); ^~ & /usr/include/libdwarf.h:122:39: note: passing argument to parameter here const char *dwarf_errmsg(Dwarf_Error *); ^ /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.c:407:15: warning: incompatible pointer types passing 'Dwarf_Debug' (aka 'struct _Dwarf_Debug *') to parameter of type 'Dwarf_Debug *' (aka 'struct _Dwarf_Debug **'); take the address with & [-Wincompatible-pointer-types] dwarf_finish(dbg, &de); ^~~ & /usr/include/libdwarf.h:141:32: note: passing argument to parameter here int dwarf_finish(Dwarf_Debug *, Dwarf_Error *); ^ 9 warnings and 16 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/src/usr.bin/addr2line *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Would be great if someone could take a look. Thanks in advance. Best, Kai From owner-freebsd-arm@FreeBSD.ORG Fri Jan 9 22:30:57 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EE0DDE9 for ; Fri, 9 Jan 2015 22:30:57 +0000 (UTC) Received: from mail-yh0-f50.google.com (mail-yh0-f50.google.com [209.85.213.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19AF58CE for ; Fri, 9 Jan 2015 22:30:56 +0000 (UTC) Received: by mail-yh0-f50.google.com with SMTP id b6so5371861yha.9 for ; Fri, 09 Jan 2015 14:30:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=r+q6oX8QAE+FzzhgKqrC6zXaTpbVpZPk6iSPYRzdjoQ=; b=MEqY9lgJh7BqylCKHMDUynM4sBvrjs67WaBQNHZFOdRejZbjmL6b+hRhXLkNAfWoZG BIZyS6fK+G5dXlX4Go98wLNLRqb9AupkuaJz5jGDaNBubwbuhclwUH3STaj8d+CpMaok /m332brkXg+C+LNdei3zvVfjPFsW8SOnAh3xkQtoD05bcOdQIuM+38KBnNi5zuT9EKhX GRhcsKBneAIT3r0qLPgo6J2zoGS6JYt2azdGDLasl+eS6f6jIsDEtKlMHKk6DwSkc2tQ PN1INA7AoQpsXOSaDsjMlokEgQvBoWVKBP8Hd7i6/I4zFCInFXn3hVxUgChDLvP+YAvo c0tQ== X-Gm-Message-State: ALoCoQmX2VVmcksdIbqkR3PgkD4MtOlQv3/oecGLEQ/CaDvk7UEQ5P5P+0v/C+GMVgq1jEfRToqf X-Received: by 10.236.1.234 with SMTP id 70mr13393321yhd.64.1420842655336; Fri, 09 Jan 2015 14:30:55 -0800 (PST) Received: from [10.64.26.9] ([69.53.236.236]) by mx.google.com with ESMTPSA id k28sm5470988yhg.25.2015.01.09.14.30.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 09 Jan 2015 14:30:54 -0800 (PST) Sender: Warner Losh Subject: Re: Issue with arm cross compiler xdev on FreeBSD 10.1 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_A23F4EAF-A658-4B6C-B530-E928724264C4"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: Date: Fri, 9 Jan 2015 15:30:51 -0700 Message-Id: References: To: Kai Noetzel X-Mailer: Apple Mail (2.1993) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 22:30:57 -0000 --Apple-Mail=_A23F4EAF-A658-4B6C-B530-E928724264C4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Let=E2=80=99s get back to basics=E2=80=A6 can you do the following? make buildworld TARGET_ARCH=3Darmv6 WITHOUT_CLANG=3Dt = WITHOUT_CLANG_BOOTSTRAP=3Dt WITH_GCC=3Dt WITH_GCC_BOOTSTRAP=3Dt ???? Warner > On Jan 9, 2015, at 3:26 PM, Kai Noetzel wrote: >=20 > Hi, >=20 > I'm having issues trying to build the arm cross compiler on the = following > system: >=20 > root@bsdcompy:/usr/src # uname -a > FreeBSD bsdcompy 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov = 11 > 21:02:49 UTC 2014 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC > amd64 >=20 > I checked out: >=20 > svn co http://svn.freebsd.org/base/head /usr/src >=20 > When I run: >=20 > root@bsdcompy:/usr/src # make XDEV=3Darm XDEV_ARCH=3Darmv6 WITH_GCC=3D1 = xdev >=20 > I get the following error: >=20 > ...... > =3D=3D=3D> xdev lib/libelftc (obj,depend,all) > =3D=3D=3D> xdev usr.bin/addr2line (obj,depend,all) > cc -O2 -pipe > -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/libelftc > -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/common = -std=3Dgnu99 > -fstack-protector -Qunused-arguments -c > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:105:39: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > warnx("dwarf_tag: %s", dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:119:14: > error: use of undeclared identifier 'DW_DLV_ERROR' > if (ret =3D=3D DW_DLV_ERROR) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:122:8: > warning: implicit declaration of function 'dwarf_formstring' is = invalid in > C99 [-Wimplicit-function-declaration] > if (dwarf_formstring(sub_at, &func0, &de)) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:136:7: > warning: implicit declaration of function 'dwarf_global_formref' is = invalid > in C99 [-Wimplicit-function-declaration] > if (dwarf_global_formref(spec_at, &ref, &de)) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:138:7: > warning: implicit declaration of function 'dwarf_offdie' is invalid in = C99 > [-Wimplicit-function-declaration] > if (dwarf_offdie(dbg, ref, &spec_die, &de)) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:150:13: > error: use of undeclared identifier 'DW_DLV_ERROR' > if (ret =3D=3D DW_DLV_ERROR) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:151:54: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > errx(EXIT_FAILURE, "dwarf_child: %s", = dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:157:13: > error: use of undeclared identifier 'DW_DLV_ERROR' > if (ret =3D=3D DW_DLV_ERROR) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:158:58: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > errx(EXIT_FAILURE, "dwarf_siblingof: %s", = dwarf_errmsg(de)); > = ^~ > = & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:189:22: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:210:7: > warning: implicit declaration of function 'dwarf_srclines' is invalid = in > C99 [-Wimplicit-function-declaration] > if (dwarf_srclines(die, &lbuf, &lcount, &de) !=3D = DW_DLV_OK) { > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:211:45: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > warnx("dwarf_srclines: %s", dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:219:8: > warning: implicit declaration of function 'dwarf_lineaddr' is invalid = in > C99 [-Wimplicit-function-declaration] > if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) { > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:221:22: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:224:8: > warning: implicit declaration of function 'dwarf_lineno' is invalid in = C99 > [-Wimplicit-function-declaration] > if (dwarf_lineno(lbuf[i], &lineno, &de)) { > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:226:22: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:229:8: > warning: implicit declaration of function 'dwarf_linesrc' is invalid = in C99 > [-Wimplicit-function-declaration] > if (dwarf_linesrc(lbuf[i], &file0, &de)) { > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:231:22: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:269:14: > error: use of undeclared identifier 'DW_DLV_ERROR' > if (ret =3D=3D DW_DLV_ERROR) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:271:21: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:387:46: > error: too many arguments to function call, expected 4, have 6 > if (dwarf_init(fd, DW_DLC_READ, NULL, NULL, &dbg, &de)) > ~~~~~~~~~~ ^~~~~~~~~ > /usr/include/libdwarf.h:144:1: note: 'dwarf_init' declared here > int dwarf_init(int, int, Dwarf_Debug *, Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:388:53: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > errx(EXIT_FAILURE, "dwarf_init: %s", dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:390:6: > warning: implicit declaration of function 'dwarf_get_elf' is invalid = in C99 > [-Wimplicit-function-declaration] > if (dwarf_get_elf(dbg, &e, &de) !=3D DW_DLV_OK) > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:391:56: > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take = the > address > with & > errx(EXIT_FAILURE, "dwarf_get_elf: %s", = dwarf_errmsg(de)); > ^~ > & > /usr/include/libdwarf.h:122:39: note: passing argument to parameter = here > const char *dwarf_errmsg(Dwarf_Error *); > ^ > = /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line.= c:407:15: > warning: incompatible pointer types passing 'Dwarf_Debug' (aka 'struct > _Dwarf_Debug *') to parameter of type 'Dwarf_Debug *' > (aka 'struct _Dwarf_Debug **'); take the address with & > [-Wincompatible-pointer-types] > dwarf_finish(dbg, &de); > ^~~ > & > /usr/include/libdwarf.h:141:32: note: passing argument to parameter = here > int dwarf_finish(Dwarf_Debug *, Dwarf_Error *); > ^ > 9 warnings and 16 errors generated. > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/src/usr.bin/addr2line > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src >=20 > Would be great if someone could take a look. > Thanks in advance. >=20 > Best, > Kai > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" --Apple-Mail=_A23F4EAF-A658-4B6C-B530-E928724264C4 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUsFacAAoJEGwc0Sh9sBEA4jgP/i73n9WiMBQXo3E0VS33uaFV VhznvtTcYE8oE9G4LnVuGyv7ZRUGjgUcugnbtipiTeqqDzQnvcRl+OIHIrfcMQtE LpaforQ9dsbktf1pxjW9xhVm8aHcUeo+UYQCe5UD6Y9VfjFvPBHC4rKb4MZBmbaR QLPEYtUNIezi2F6sXPAdp5RDmpShotDCK4htqoFld3WncnrEW6ycVnjA2371L55m 6TLnupkchuncMoTA6BqmFNbWCeNyepydHeD8SLxz3jV8a1AfYa8QoaTnjm2nlMiB zOLvKJ1YZfuQWHkXkobwCelvxLJRfyUMZ7OFhRR9NPtoEjNYsQ1+0v57fG6Qg8iv zIXrW/B1VKNbdjWXpff9hxYzYy7DTDO9G4PDkIWiEcWido/gHgjp8IN/tiUmLwzC j4X+6/+tyeM/ye6rvPWJRN1PdXHOZhBMCKw3lMkBYYR/TPSwKsUIuYbl1x/BkWlm FwWeJIcJNiG3Gz6dftlJfnH3ek9Dtn2X2SYhQyWNovGepq7Ss8Te/GdFSnUTZr83 hrJV22XPZlLBHqtpf5MVmXjaUW8yzcEUVFoYe7hOkc/4DQ3Kgbq5I30ZMdwNoOOL YEsSkKazekyVb9cTSU1N4wtuawKxgLDD/fRc7A/NNUzwiqrbPA13Rg4b5lJvWcPR qDQu0/E/XUF8VzlaoZ2u =atE+ -----END PGP SIGNATURE----- --Apple-Mail=_A23F4EAF-A658-4B6C-B530-E928724264C4-- From owner-freebsd-arm@FreeBSD.ORG Fri Jan 9 22:52:33 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44579FF5 for ; Fri, 9 Jan 2015 22:52:33 +0000 (UTC) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7051B1F for ; Fri, 9 Jan 2015 22:52:32 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id l89so11204404qgf.12 for ; Fri, 09 Jan 2015 14:52:32 -0800 (PST) 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=aOaIiQtJ1QtGLh5cEHVPR9380jF3hTVcVzfDhEgRTFY=; b=Ylh6UV3mKcjVmO0cSeNdNTq4ZOeTBo7FcGUZbPfRAztpAqUOY8J9ky9z+DWtaEX7CH oBWEFcTrMszDejghCwVKji/pRiRk7Dkh4syL7CfdjJGC/sXj7hlDNULqCAx8zpbZyWpK Zalc9VvRHs+EEmKTb889/4qTUR16DhUtWKSAeOTWB5etKGJdkhdkju7lLcEJIgw6Md8P ++xWwdJrXyO1eTAEDxYGWjzf9tCySNHryZPfeV5YKPwLYyJE3yJ86komzRrRaWwbLGjV weFClwslDbiyDDy+9c62plXdLeo+CT5nf5/3fqxPwIfkPeuxz7UtIwxTQ97ppDOub1JQ swQg== MIME-Version: 1.0 X-Received: by 10.224.112.9 with SMTP id u9mr31706744qap.18.1420843952051; Fri, 09 Jan 2015 14:52:32 -0800 (PST) Received: by 10.140.97.203 with HTTP; Fri, 9 Jan 2015 14:52:31 -0800 (PST) In-Reply-To: References: Date: Fri, 9 Jan 2015 23:52:31 +0100 Message-ID: Subject: Re: Issue with arm cross compiler xdev on FreeBSD 10.1 From: Kai Noetzel To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 22:52:33 -0000 Hi Warner, I tried to issue your command and it ran for quite a while but stopped finally with the following error: cc -c -O -pipe -DTARGET_ARM_EABI -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -Dinhibit_libc -fno-inline -std=3Dgnu99 -fheinous-gnu-extensions -Qunused-arguments -fvisibility=3Dhidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3D3 -DElfW=3D__ElfN -o libunwind.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/libunwind.S /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/libunwind.S:29:10: fatal error: 'machine/acle-compat.h' file not found #include ^ 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/gnu/lib/libgcc *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src On Fri, Jan 9, 2015 at 11:30 PM, Warner Losh wrote: > Let=E2=80=99s get back to basics=E2=80=A6 > > can you do the following? > > make buildworld TARGET_ARCH=3Darmv6 WITHOUT_CLANG=3Dt > WITHOUT_CLANG_BOOTSTRAP=3Dt WITH_GCC=3Dt WITH_GCC_BOOTSTRAP=3Dt > > ???? > > Warner > > > > > On Jan 9, 2015, at 3:26 PM, Kai Noetzel wrote: > > > > Hi, > > > > I'm having issues trying to build the arm cross compiler on the followi= ng > > system: > > > > root@bsdcompy:/usr/src # uname -a > > FreeBSD bsdcompy 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov = 11 > > 21:02:49 UTC 2014 > > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC > > amd64 > > > > I checked out: > > > > svn co http://svn.freebsd.org/base/head /usr/src > > > > When I run: > > > > root@bsdcompy:/usr/src # make XDEV=3Darm XDEV_ARCH=3Darmv6 WITH_GCC=3D1= xdev > > > > I get the following error: > > > > ...... > > =3D=3D=3D> xdev lib/libelftc (obj,depend,all) > > =3D=3D=3D> xdev usr.bin/addr2line (obj,depend,all) > > cc -O2 -pipe > > -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/libelftc > > -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/common -std=3Dg= nu99 > > -fstack-protector -Qunused-arguments -c > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:105:39: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > warnx("dwarf_tag: %s", dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:119:14: > > error: use of undeclared identifier 'DW_DLV_ERROR' > > if (ret =3D=3D DW_DLV_ERROR) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:122:8: > > warning: implicit declaration of function 'dwarf_formstring' is invalid > in > > C99 [-Wimplicit-function-declaration] > > if (dwarf_formstring(sub_at, &func0, &de)) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:136:7: > > warning: implicit declaration of function 'dwarf_global_formref' is > invalid > > in C99 [-Wimplicit-function-declaration] > > if (dwarf_global_formref(spec_at, &ref, &de)) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:138:7: > > warning: implicit declaration of function 'dwarf_offdie' is invalid in > C99 > > [-Wimplicit-function-declaration] > > if (dwarf_offdie(dbg, ref, &spec_die, &de)) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:150:13: > > error: use of undeclared identifier 'DW_DLV_ERROR' > > if (ret =3D=3D DW_DLV_ERROR) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:151:54: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > errx(EXIT_FAILURE, "dwarf_child: %s", dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:157:13: > > error: use of undeclared identifier 'DW_DLV_ERROR' > > if (ret =3D=3D DW_DLV_ERROR) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:158:58: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > errx(EXIT_FAILURE, "dwarf_siblingof: %s", > dwarf_errmsg(de)); > > ^= ~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:189:22: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:210:7: > > warning: implicit declaration of function 'dwarf_srclines' is invalid i= n > > C99 [-Wimplicit-function-declaration] > > if (dwarf_srclines(die, &lbuf, &lcount, &de) !=3D > DW_DLV_OK) { > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:211:45: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > warnx("dwarf_srclines: %s", dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:219:8: > > warning: implicit declaration of function 'dwarf_lineaddr' is invalid i= n > > C99 [-Wimplicit-function-declaration] > > if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) { > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:221:22: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:224:8: > > warning: implicit declaration of function 'dwarf_lineno' is invalid in > C99 > > [-Wimplicit-function-declaration] > > if (dwarf_lineno(lbuf[i], &lineno, &de)) { > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:226:22: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:229:8: > > warning: implicit declaration of function 'dwarf_linesrc' is invalid in > C99 > > [-Wimplicit-function-declaration] > > if (dwarf_linesrc(lbuf[i], &file0, &de)) { > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:231:22: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:269:14: > > error: use of undeclared identifier 'DW_DLV_ERROR' > > if (ret =3D=3D DW_DLV_ERROR) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:271:21: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:387:46: > > error: too many arguments to function call, expected 4, have 6 > > if (dwarf_init(fd, DW_DLC_READ, NULL, NULL, &dbg, &de)) > > ~~~~~~~~~~ ^~~~~~~~~ > > /usr/include/libdwarf.h:144:1: note: 'dwarf_init' declared here > > int dwarf_init(int, int, Dwarf_Debug *, Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:388:53: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > errx(EXIT_FAILURE, "dwarf_init: %s", dwarf_errmsg(de)); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:390:6: > > warning: implicit declaration of function 'dwarf_get_elf' is invalid in > C99 > > [-Wimplicit-function-declaration] > > if (dwarf_get_elf(dbg, &e, &de) !=3D DW_DLV_OK) > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:391:56: > > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter o= f > > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take t= he > > address > > with & > > errx(EXIT_FAILURE, "dwarf_get_elf: %s", dwarf_errmsg(de)= ); > > ^~ > > & > > /usr/include/libdwarf.h:122:39: note: passing argument to parameter her= e > > const char *dwarf_errmsg(Dwarf_Error *); > > ^ > > > /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2line= .c:407:15: > > warning: incompatible pointer types passing 'Dwarf_Debug' (aka 'struct > > _Dwarf_Debug *') to parameter of type 'Dwarf_Debug *' > > (aka 'struct _Dwarf_Debug **'); take the address with & > > [-Wincompatible-pointer-types] > > dwarf_finish(dbg, &de); > > ^~~ > > & > > /usr/include/libdwarf.h:141:32: note: passing argument to parameter her= e > > int dwarf_finish(Dwarf_Debug *, Dwarf_Error *); > > ^ > > 9 warnings and 16 errors generated. > > *** Error code 1 > > > > Stop. > > make[2]: stopped in /usr/src/usr.bin/addr2line > > *** Error code 1 > > > > Stop. > > make[1]: stopped in /usr/src > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/src > > > > Would be great if someone could take a look. > > Thanks in advance. > > > > Best, > > Kai > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > From owner-freebsd-arm@FreeBSD.ORG Sat Jan 10 06:56:35 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AEA025C for ; Sat, 10 Jan 2015 06:56:35 +0000 (UTC) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps.rulingia.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B486AC74 for ; Sat, 10 Jan 2015 06:56:34 +0000 (UTC) Received: from server.rulingia.com (c220-239-242-83.belrs5.nsw.optusnet.com.au [220.239.242.83]) by vps.rulingia.com (8.14.9/8.14.9) with ESMTP id t0A64IFO051207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 10 Jan 2015 17:04:53 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.9/8.14.9) with ESMTP id t0A64DMG026766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 10 Jan 2015 17:04:13 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.9/8.14.9/Submit) id t0A64C4H026765 for freebsd-arm@freebsd.org; Sat, 10 Jan 2015 17:04:12 +1100 (AEDT) (envelope-from peter) Date: Sat, 10 Jan 2015 17:04:12 +1100 From: Peter Jeremy To: freebsd-arm@freebsd.org Subject: read(2) into some addresses doesn't return data on RPi Message-ID: <20150110060412.GE77914@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.23 (2014-03-12) X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 06:56:35 -0000 --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Trying to access the boot partition using mtools consistently fails on my RPi because the kernel is returning NULs for the first sector. The second sector is correct. If I use dd(2) then the expected data is returned. This is running 11-current r276818 (but ISTR seeing it on older kernels). I did some digging and found that read(2)s of the SD card device return successful but do not actually write anything to the buffer for some addresses (and they happen to contain all NULs in mtools). This doesn't appear to affect reads of normal files. Running the attached program on /dev/mmcsd0s1 gave me the following results: - There are no partial reads. Either all 512 bytes are updated or none are. - There are two blocks of addresses 0xbfff0e00 thru 0xbfff0e00 and 0xbfff2e= 00 thru 0xbfff2e00 where reads work on a 32-byte alignment but not otherwise. - Reads consistently fail between 0xbfff1e08 and 0xbfff1ff8 - Reads consistently fail between 0xbfff3e08 and 0xbfff3f?? (I got a hang). - The program never completes. In 3 runs, I've gotten: - panic: null_fetch_syscall_args - kernel hang - panic: malloc: bad malloc type magic I don't have a serial console and so can't debug kernel panics. Putting that together, it seems to related to accesses that aren't cache-li= ne aligned and cross page boundaries but I'm not sure why it behaves different= ly at different page boundaries. The hangs/panics suggest that it's writing to random other kernel addresses instead. Does this ring a bell for anyone? --=20 Peter Jeremy --dc+cDN39EJAMEtIO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUsMDcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs05dAP/igwOX4g8cQh0+wjk4CV2n4R qCLSA1ZUEV15Nwf5N7yx0CZWM2uuUmE/p5IzWXTa9JIorQB5Nj5212R0nKT29UDW Tv2u6yWD9Oyvhw4AQPqyXm8rRDq0CrIi+CWnSPIMTZ3weeiwRCkXU8Z3u5u0Gp96 7uJ0zU6wBMWbrO2f1M2iJGDpBMpdFd56LD/dWAHIp96/an9oWVYBEdTYvXNpdBkH FCRQ4gA3jxuKGI2MmrRcGscBj9aj/pSxOwJSo5xE5VRHjQyq0Y6RPUnAadQIYEjB N2nvquJytbiroXYmdfH6L+Y35lw/QtsDZX5TXBevk9yiFG6xoeJ+iQ8VBspnjKat yUzaUF5FdY8FwXXqhOh9Ku4UoamvDqOKRWy/i2Z5ARJwkt+CIQ2GeipsSSJsJf22 L4rxTUUvpT/kDadcM0F9b/n4/hGTacUkDypzw6uZMExBVIuJYa2HmF8sLj1nP467 hh1uN68k4bh2iH7hUb1oQU7eLrk2cFBLunvq8MX2EwZY4FLk42sEMTpTROjwwAJ1 9HkerOVdvbTUHzXFGETJlSgZt9YW1UCRaa/Nb3NIFhBx+SXuzKhWvMgPC/iAOmQn AeAtLWa+wJqKTvDjEKsmFi3Sr00hhVssIEnLJ54aJnEnL5u+3eBCrDYaceewVB76 pVh+mST8Q3aYZyM9uNuV =2LCF -----END PGP SIGNATURE----- --dc+cDN39EJAMEtIO-- From owner-freebsd-arm@FreeBSD.ORG Sat Jan 10 08:13:23 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A28B6A07 for ; Sat, 10 Jan 2015 08:13:23 +0000 (UTC) Received: from vps.rulingia.com (vps.rulingia.com [103.243.244.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps.rulingia.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5053738F for ; Sat, 10 Jan 2015 08:13:22 +0000 (UTC) Received: from server.rulingia.com (c220-239-242-83.belrs5.nsw.optusnet.com.au [220.239.242.83]) by vps.rulingia.com (8.14.9/8.14.9) with ESMTP id t0A8CrUU051538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 10 Jan 2015 19:12:58 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.9/8.14.9) with ESMTP id t0A8ClIg027767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 10 Jan 2015 19:12:47 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.9/8.14.9/Submit) id t0A8ClvP027766 for freebsd-arm@freebsd.org; Sat, 10 Jan 2015 19:12:47 +1100 (AEDT) (envelope-from peter) Date: Sat, 10 Jan 2015 19:12:47 +1100 From: Peter Jeremy To: freebsd-arm@freebsd.org Subject: Re: read(2) into some addresses doesn't return data on RPi Message-ID: <20150110081247.GF77914@server.rulingia.com> References: <20150110060412.GE77914@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0/kgSOzhNoDC5T3a" Content-Disposition: inline In-Reply-To: <20150110060412.GE77914@server.rulingia.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 08:13:23 -0000 --0/kgSOzhNoDC5T3a Content-Type: multipart/mixed; boundary="1ccMZA6j1vT5UqiK" Content-Disposition: inline --1ccMZA6j1vT5UqiK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2015-Jan-10 17:04:12 +1100, Peter Jeremy wrote: >Running the attached program on /dev/mmcsd0s1 gave me the following result= s: Which got stripped (hence the signature failure). --=20 Peter Jeremy --1ccMZA6j1vT5UqiK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="read_check.c" #include #include #include #include #include #define RLEN 512 static void check(int fd, int num, char *buf); static void initbuf(char *buf); static void checkbuf(char *buf, int num); int main(int argc, char **argv) { char buf[65536]; int fd, off; fd = open(argv[1], O_RDONLY); if (fd < 0) err(1, "open %s failed", argv[1]); for (off = 2*RLEN; off < sizeof(buf) - 2*RLEN; off += 8) check(fd, 1, buf + off); } static void check(int fd, int num, char *buf) { initbuf(buf); if (read(fd, buf, RLEN) != RLEN) err(1, "read%d failed", num); checkbuf(buf, num); } static void initbuf(char *buf) { int i; for (i = -RLEN; i < RLEN*2; i += sizeof(0ULL)) { *(unsigned long long *)(buf + i) = 0xfeedbabedeadbeefULL; } } #define FAIL (RLEN / sizeof(0ULL)) static void checkbuf(char *buf, int num) { int i, j; for (i = -RLEN, j = 0; i < 0; i += sizeof(0ULL)) { if (*(unsigned long long *)(buf + i) != 0xfeedbabedeadbeefULL) j++; } printf("read%d(%p) pre:%s", num, buf, (j == 0) ? "OK" : (j == FAIL) ? "FAIL" : "PFAIL"); fprintf(stderr, "read%d(%p) pre:%s", num, buf, (j == 0) ? "OK" : (j == FAIL) ? "FAIL" : "PFAIL"); for (i = 0, j = 0; i < RLEN; i += sizeof(0ULL)) { if (*(unsigned long long *)(buf + i) == 0xfeedbabedeadbeefULL) j++; } printf(" buf:%s", (j == 0) ? "OK" : (j == FAIL) ? "FAIL" : "PFAIL"); fprintf(stderr, " buf:%s", (j == 0) ? "OK" : (j == FAIL) ? "FAIL" : "PFAIL"); for (i = RLEN, j = 0; i < RLEN*2; i += sizeof(0ULL)) { if (*(unsigned long long *)(buf + i) != 0xfeedbabedeadbeefULL) j++; } printf(" post:%s\n", (j == 0) ? "OK" : (j == FAIL) ? "FAIL" : "PFAIL"); fprintf(stderr, " post:%s\n", (j == 0) ? "OK" : (j == FAIL) ? "FAIL" : "PFAIL"); fflush(stdout); fsync(1); fflush(stderr); fsync(2); } --1ccMZA6j1vT5UqiK-- --0/kgSOzhNoDC5T3a Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUsN7/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFRUIyOTg2QzMwNjcxRTc0RTY1QzIyN0Ux NkE1OTdBMEU0QTIwQjM0AAoJEBall6Dkogs0MakP/0aCQnb+Kk598SmSsNtONDMP mgfQxWu+eJb4akxQ7mrSME1SorduNUqbI9iAywNZerJaMYy/rrjibbYwYc1cgO8N By3UJKSnK7PoTnvoEl90PppXMcgJ5fgJcdS8nNjwaT/KIrEJbo0oKJxEJ5UrRLRZ 1hQ9KAZtfxIK3hgRi9wH1PefjLz6ZDyDOKzPgCa1PtFamR3CclIYOD5aFcaL7JUr 8a0krBI7mR885Ooc+Ze81kZOgTrffrZKcbIcYNcvd530+qlodCgnld7J54ovtMzt UEhj2Qiqqr8k1Zhg5XNQL7rsfwX209gL4EsyKoQ9pjDxtt2wap1mfnftBFQM+OTi 0WRFPcTeBDEKnedPUWPVIW2zzYLmuQFY0QIF+a3tA425ICjF1vszjbfCDYaE86XP evG3GNXDukdLhcQnQs7JhBGUc3kQdGlaMvXUTWm2SmYyWoO8caDT845nQqoDy8li OcNmvnVAw0pQukthBaU2tf4QP08FmL8HA4CqGJruESiTXxLxrc0eyuzkGDG/L6aL 7tWDMd7lrmhVtvWgxSwoQjLniqpwKAUkficKM8vlYRoaRExVTXreCE02EXKTJUdQ z8FuJOocvFLEBMlo93J8J95nikYiICvVyvY8vfcD5FT6hpD4EPA++hjrlTOTEMZt Vuxo4IFbf443vsyNUtSw =osM5 -----END PGP SIGNATURE----- --0/kgSOzhNoDC5T3a-- From owner-freebsd-arm@FreeBSD.ORG Sat Jan 10 08:42:25 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D7BEDF3 for ; Sat, 10 Jan 2015 08:42:25 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B0D286F for ; Sat, 10 Jan 2015 08:42:25 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id c9so12522595qcz.5 for ; Sat, 10 Jan 2015 00:42:24 -0800 (PST) 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=sK3FA28uanQMuxRIxuEwR6ok+8WjYWQpwgUv8E7pBd4=; b=Wv5SYfqQTpyg817aqPuVHQSyTLqm4A96hjLW1xGCiInAZ0iFWMToFF9amOrUVWUjUo YOLaP2Daf3Vfhx4WF1zRlmQOFxI73pAyFZAxL2BBnnQZccMsD9LMAIPE33hr+Uh66j3x PzRZtnkD3lU/4lk2g8eHS9AiLcCeCTI0oXZ5cu/wTXZUvL/+KgpXL7Wn0zUYN/LyBwm5 UE/7V9FAiTo0VAoWHdVjsdi5GBYfb6bMQa24EfOOecLIPKpnGejC43L/FcnO2WAaPKTY nU9NnsyKuOOYlaPkHw6kUSUrqrLB+FtXgZrMYCX2Co6bwup0YbuybdC887ue0+g+gldT tu2w== MIME-Version: 1.0 X-Received: by 10.140.22.233 with SMTP id 96mr31815387qgn.86.1420879344336; Sat, 10 Jan 2015 00:42:24 -0800 (PST) Received: by 10.140.97.203 with HTTP; Sat, 10 Jan 2015 00:42:24 -0800 (PST) In-Reply-To: References: Date: Sat, 10 Jan 2015 09:42:24 +0100 Message-ID: Subject: Re: Issue with arm cross compiler xdev on FreeBSD 10.1 From: Kai Noetzel To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 08:42:25 -0000 I retried to build the arm cross compiler with the sources of 10.1. It took a while but the following worked: svn co http://svn.freebsd.org/base/release/10.1.0/ /usr/src2 make XDEV=3Darm XDEV_ARCH=3Darmv6 WITH_GCC=3D1 xdev .... sh /usr/src2/tools/install.sh -C -o root -g wheel -m 444 libln.a //usr/armv6-freebsd/usr/lib //usr/armv6-freebsd/usr/lib/libl.a -> //usr/armv6-freebsd/usr/lib/libln.a //usr/armv6-freebsd/usr/lib/libfl.a -> //usr/armv6-freebsd/usr/lib/libln.a cd //usr/armv6-freebsd/usr/bin; mkdir -p ../../../../usr/bin; for i in *; do ln -sf ../..//usr/armv6-freebsd/usr/bin/$i ../../../../usr/bin/armv6-freebsd-$i; ln -sf ../..//usr/armv6-freebsd/usr/bin/$i ../../../../usr/bin/armv6-freebsd10.1-$i; done Is there an issue with head or am I doing something wrong? On Fri, Jan 9, 2015 at 11:52 PM, Kai Noetzel wrote: > Hi Warner, > > I tried to issue your command and it ran for quite a while but stopped > finally with the following error: > > cc -c -O -pipe -DTARGET_ARM_EABI -DIN_GCC -DIN_LIBGCC2 > -D__GCC_FLOAT_NOT_NEEDED -DHAVE_GTHR_DEFAULT > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcclibs/include > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config > -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. > -I/usr/src/gnu/lib/libgcc/../../usr.bin/cc/cc_tools -Dinhibit_libc > -fno-inline -std=3Dgnu99 -fheinous-gnu-extensions -Qunused-arguments > -fvisibility=3Dhidden -DHIDE_EXPORTS -fPIC -fexceptions -D__GLIBC__=3D3 > -DElfW=3D__ElfN -o libunwind.o > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/libunwind.S > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/config/arm/libunwind.S:29:10= : > fatal error: 'machine/acle-compat.h' file not found > #include > ^ > 1 error generated. > *** Error code 1 > > Stop. > make[4]: stopped in /usr/src/gnu/lib/libgcc > *** Error code 1 > > Stop. > make[3]: stopped in /usr/src > *** Error code 1 > > Stop. > make[2]: stopped in /usr/src > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > On Fri, Jan 9, 2015 at 11:30 PM, Warner Losh wrote: > >> Let=E2=80=99s get back to basics=E2=80=A6 >> >> can you do the following? >> >> make buildworld TARGET_ARCH=3Darmv6 WITHOUT_CLANG=3Dt >> WITHOUT_CLANG_BOOTSTRAP=3Dt WITH_GCC=3Dt WITH_GCC_BOOTSTRAP=3Dt >> >> ???? >> >> Warner >> >> >> >> > On Jan 9, 2015, at 3:26 PM, Kai Noetzel wrote: >> > >> > Hi, >> > >> > I'm having issues trying to build the arm cross compiler on the >> following >> > system: >> > >> > root@bsdcompy:/usr/src # uname -a >> > FreeBSD bsdcompy 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov >> 11 >> > 21:02:49 UTC 2014 >> > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC >> > amd64 >> > >> > I checked out: >> > >> > svn co http://svn.freebsd.org/base/head /usr/src >> > >> > When I run: >> > >> > root@bsdcompy:/usr/src # make XDEV=3Darm XDEV_ARCH=3Darmv6 WITH_GCC=3D= 1 xdev >> > >> > I get the following error: >> > >> > ...... >> > =3D=3D=3D> xdev lib/libelftc (obj,depend,all) >> > =3D=3D=3D> xdev usr.bin/addr2line (obj,depend,all) >> > cc -O2 -pipe >> > -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/libelftc >> > -I/usr/src/usr.bin/addr2line/../../contrib/elftoolchain/common >> -std=3Dgnu99 >> > -fstack-protector -Qunused-arguments -c >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:105:39: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > warnx("dwarf_tag: %s", dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:119:14: >> > error: use of undeclared identifier 'DW_DLV_ERROR' >> > if (ret =3D=3D DW_DLV_ERROR) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:122:8: >> > warning: implicit declaration of function 'dwarf_formstring' is invali= d >> in >> > C99 [-Wimplicit-function-declaration] >> > if (dwarf_formstring(sub_at, &func0, &de)) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:136:7: >> > warning: implicit declaration of function 'dwarf_global_formref' is >> invalid >> > in C99 [-Wimplicit-function-declaration] >> > if (dwarf_global_formref(spec_at, &ref, &de)) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:138:7: >> > warning: implicit declaration of function 'dwarf_offdie' is invalid in >> C99 >> > [-Wimplicit-function-declaration] >> > if (dwarf_offdie(dbg, ref, &spec_die, &de)) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:150:13: >> > error: use of undeclared identifier 'DW_DLV_ERROR' >> > if (ret =3D=3D DW_DLV_ERROR) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:151:54: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > errx(EXIT_FAILURE, "dwarf_child: %s", dwarf_errmsg(de))= ; >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:157:13: >> > error: use of undeclared identifier 'DW_DLV_ERROR' >> > if (ret =3D=3D DW_DLV_ERROR) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:158:58: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > errx(EXIT_FAILURE, "dwarf_siblingof: %s", >> dwarf_errmsg(de)); >> > = ^~ >> > = & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:189:22: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:210:7: >> > warning: implicit declaration of function 'dwarf_srclines' is invalid = in >> > C99 [-Wimplicit-function-declaration] >> > if (dwarf_srclines(die, &lbuf, &lcount, &de) !=3D >> DW_DLV_OK) { >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:211:45: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > warnx("dwarf_srclines: %s", dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:219:8: >> > warning: implicit declaration of function 'dwarf_lineaddr' is invalid = in >> > C99 [-Wimplicit-function-declaration] >> > if (dwarf_lineaddr(lbuf[i], &lineaddr, &de)) { >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:221:22: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:224:8: >> > warning: implicit declaration of function 'dwarf_lineno' is invalid in >> C99 >> > [-Wimplicit-function-declaration] >> > if (dwarf_lineno(lbuf[i], &lineno, &de)) { >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:226:22: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:229:8: >> > warning: implicit declaration of function 'dwarf_linesrc' is invalid i= n >> C99 >> > [-Wimplicit-function-declaration] >> > if (dwarf_linesrc(lbuf[i], &file0, &de)) { >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:231:22: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:269:14: >> > error: use of undeclared identifier 'DW_DLV_ERROR' >> > if (ret =3D=3D DW_DLV_ERROR) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:271:21: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:387:46: >> > error: too many arguments to function call, expected 4, have 6 >> > if (dwarf_init(fd, DW_DLC_READ, NULL, NULL, &dbg, &de)) >> > ~~~~~~~~~~ ^~~~~~~~~ >> > /usr/include/libdwarf.h:144:1: note: 'dwarf_init' declared here >> > int dwarf_init(int, int, Dwarf_Debug *, Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:388:53: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > errx(EXIT_FAILURE, "dwarf_init: %s", dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:390:6: >> > warning: implicit declaration of function 'dwarf_get_elf' is invalid i= n >> C99 >> > [-Wimplicit-function-declaration] >> > if (dwarf_get_elf(dbg, &e, &de) !=3D DW_DLV_OK) >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:391:56: >> > error: passing 'Dwarf_Error' (aka 'struct _Dwarf_Error') to parameter = of >> > incompatible type 'Dwarf_Error *' (aka 'struct _Dwarf_Error *'); take >> the >> > address >> > with & >> > errx(EXIT_FAILURE, "dwarf_get_elf: %s", >> dwarf_errmsg(de)); >> > ^~ >> > & >> > /usr/include/libdwarf.h:122:39: note: passing argument to parameter he= re >> > const char *dwarf_errmsg(Dwarf_Error *); >> > ^ >> > >> /usr/src/usr.bin/addr2line/../../contrib/elftoolchain/addr2line/addr2lin= e.c:407:15: >> > warning: incompatible pointer types passing 'Dwarf_Debug' (aka 'struct >> > _Dwarf_Debug *') to parameter of type 'Dwarf_Debug *' >> > (aka 'struct _Dwarf_Debug **'); take the address with & >> > [-Wincompatible-pointer-types] >> > dwarf_finish(dbg, &de); >> > ^~~ >> > & >> > /usr/include/libdwarf.h:141:32: note: passing argument to parameter he= re >> > int dwarf_finish(Dwarf_Debug *, Dwarf_Error *); >> > ^ >> > 9 warnings and 16 errors generated. >> > *** Error code 1 >> > >> > Stop. >> > make[2]: stopped in /usr/src/usr.bin/addr2line >> > *** Error code 1 >> > >> > Stop. >> > make[1]: stopped in /usr/src >> > *** Error code 1 >> > >> > Stop. >> > make: stopped in /usr/src >> > >> > Would be great if someone could take a look. >> > Thanks in advance. >> > >> > Best, >> > Kai >> > _______________________________________________ >> > freebsd-arm@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> >> > From owner-freebsd-arm@FreeBSD.ORG Sat Jan 10 10:21:50 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B69D101 for ; Sat, 10 Jan 2015 10:21:50 +0000 (UTC) Received: from mx1.webcast129.com (mx1.webcast129.com [50.30.42.208]) by mx1.freebsd.org (Postfix) with SMTP id D1077180 for ; Sat, 10 Jan 2015 10:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; s=s1024;d=webcast129.com; h=message-id:from:to:subject:date:mime-version:content-type; bh=jziex1chQpRmeM5RbMza21l6ZI0=; b=szSf3PtV74Y5eQzhxfWnuMIyqcbPX0G1vx0udce4e0MufxFLRumsVMPcn6enER92CjA0X2tRoK5fHTnr7y2phUhlqTsNEgkAruBvEQvj3OFTIgpTrEA9wxvLYb3fH7avnG9CXwnlZ90fdMjHfene82ZiRedDb7ulkDGYgT3GpZ4= DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=s1024;d=webcast129.com; h=message-id:from:to:subject:date:mime-version:content-type; b=g6e1MfzIjS9q4bxZNs5BTIXyBJFOqXDm0hQ3//eehnMjU1KiTUtIGbyxPSAr4LnLBZUk4bddVuBR4GPPVbr8iYFlCDHof6nWJddV0+DxDgP9uEMls6wsNSIEIZgt0voAjkndTz05HTGFbG+CU1bjsbjX9RDsfL0mugm+1AOjVLk= Received: from mx1.webcast129.com ([50.30.42.208]) by mx1.webcast129.com ([50.30.42.208]) with SMTPSVC 75095273; Sat, 10 Jan 2015 15:51:39 +0500 Message-ID: Reply-To: From: "Himsan Polymer" To: Subject: =?utf-8?B?U0lMSUNPTkUgVFVCSU5HLCBCUkFJREVEIEhPU0VTLCBHQVNLRVRTLA==?= =?utf-8?B?U0hFRVRTIEFORCBGQkQgR0FTS0VUUyAoRkRBIDIxIENGUiAxNzcuMg==?= =?utf-8?B?NjAwKSBBUFBST1ZFRCk=?= Date: Sat, 10 Jan 2015 15:51:39 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 10:21:50 -0000 Respected Sir, Sub. : Silicone & Viton Rubber Products for Food, = Pharma & Medical, Textile and Allied Industrial Applications We wish = to introduce ourselves as leading supplier of Silicon & Viton Rubber = Products for Food, Pharma & Medical Application with distinguished = characteristic as follows. We are one of the leading manufacturers of = Silicon Rubber Products in INDIA. We are supplying our products to Pharma = Machinery manufacturers & suppliers, Pharmaceutical & Biotech = Industries, Thermal Power Stations, Chemical Plants and Heavy Engineering = Sectors in all over world. Himsan Polymer (An ISO 9001:2008 Certified = Company)(1) A Destination to Endless diversities CATEGORIES:- TUBINGS, = BRAIDED HOSES, O RINGS, FBD INFLATABLE GASKETS, EXTRUDED DOOR GASKETS, = RUBBER SHEETS, AUTO CLAVE DOOR GASKETS, RUBBER EXPANSION BELLOW, = COMPRESSION BELLOW, DIAPHRAGMS, SQUARE, RECTANGULAR & ROUND CORDS, = ENVELOPE GASKETS, GLAND PACKING ROPES, SHIFTER GASKETS, RMG GASKETS MOC:- = SILICONE,VITON, EPDM, NEOPRENE, NITRILE(NBR), BUTYL, POLY BUTADINE, = HYPALON, SBR, NATURAL, PTFE, PVC, NYLON (2) In-house Testing facility = We have got in house well =E2=80=93 equipped testing facility, and our = each supply accomplishes our own Testing certificates. Our products are as = per FDA standard. Non Toxic and safety designed for Food =E2=80=93 Pharma = =E2=80=93 Medical Application. Thanking you and looking forward to your = fruitful business association with us. Humbly waiting your kind feedback. = Thanks & Regards, Sreesanth Saruvil Himsan Polymer (An ISO 9001:2008 = Certified Company) CORPORATE OFFICE:- R-1,SAI KRUPA NIWAS, OPP. KAMLAKAR = BHANDARI HOUSE, CHARKOP VILLAGE, KANDIVALI WEST-400067 FACTORY:- B/1, = VISHAL INDL. ESTATE, PANCHAL, NEAR HP GAS GODOWN, BHAYANDER (E)-401105 = EMAIL:- sales@himsanpolymer.com MOB:- +91-7738363930 / +91-7715871508 / = 09/ 10 www.himsanpolymer.com FACEBOOK:- = facebook.com/himsanpolymer TWITTER:- www.twitter.com/HimsanPolymer = LINKEDIN:- in.linkedin.com/in/himsanpolymer WHATSAPP:- = +91-7738363930 / +91-7715871510Himsan Polymer (An ISO 9001:2008 Certified = Company) Silicone Transparent Tubings (Platinum Cured & Peroxide = Cured) 1) Made from medical grade Silicone Rubber which complies With = USP class VI requirement & FDA 21 CFR 177.2600 2) Suitable for = Peristaltic Pump applications. 3) Temperature resistance = from-80=C2=B0C to+250=C2=B0C [-110=C2=B0F to +480=C2=B0F] 4) = Sterilisable by steam, dry heat, ethylene oxide (ETO) and gamma radiation. = 5) Available in sizes ranging from 0.3 mm ID to 98 mm ID 6) Food = - Pharma - Medical Grade and Complies with USP class VI requirement & = FDA 21 CFR 177.2600 Himsan Polymer (An ISO 9001:2008 Certified Company) = Silicone Braided Hoses (Platinum Cured & Peroxide Cured) 1) Made = from medical grade Silicone Rubber which complies With USP class VI = requirement & FDA 21 CFR 177.2600 2) Suitable for Peristaltic = Pump applications. 3) Temperature resistance from-80=C2=B0C = to+250=C2=B0C [-110=C2=B0F to +480=C2=B0F] 4) Sterilisable by steam, = dry heat, ethylene oxide (ETO) and gamma radiation. 5) Available in = sizes ranging from 1/4=E2=80=9D ID to 2=E2=80=9D ID 6) Food - Pharma = - Medical Grade and Complies with USP class VI requirement & FDA 21 = CFR 177.2600 Himsan Polymer (An ISO 9001:2008 Certified Company) = Silicone SS Braided Hoses (Platinum Cured & Peroxide Cured) 1) = Made from medical grade Silicone Rubber which complies With USP class VI = requirement & FDA 21 CFR 177.2600 2) Suitable for Peristaltic = Pump applications. 3) Temperature resistance from-80=C2=B0C = to+250=C2=B0C [-110=C2=B0F to +480=C2=B0F] 4) Sterilisable by steam, = dry heat, ethylene oxide (ETO) and gamma radiation. 5) Available in = sizes ranging from 1/2=E2=80=9D ID to 1.5=E2=80=9D ID 6) Food - = Pharma - Medical Grade and Complies with USP class VI requirement & = FDA 21 CFR 177.2600 Himsan Polymer (An ISO 9001:2008 Certified = Company)Inflatable Gaskets For FBD / FBE / FBC & Sterilizers Our = FBD Inflatable Gasket functions like a cycle tube. When inflated, it seals = the bowl and ensures proper sealing. It is being made up of Food-Pharma = Grade white Neoprene Rubber. This Gasket is inflated by 10 mm to 12 mm = when 2 to 4kg pressure is applied. There basically three gaskets in fluid = bed dryer:- 1) PC-Top Bowl Sealing Gasket. (40mm x 22mm) 2) PC-Bottom = Sealing Gasket. (40mm x 22mm) 3) Fitter Press Bag Sealing Gasket. (50mm x = 20mm) Himsan Polymer (An ISO 9001:2008 Certified Company) Tri-Clover = (T/C) Gaskets 1) Made from medical grade Silicone Rubber which = complies With USP class VI requirement & FDA 21 CFR 177.2600 2) = Available in sizes ranging from 1/2=E2=80=9D ID to 1.5=E2=80=9D ID 3) = Sizes Available are 1/4", 3/8", 1/2", 1", 1.5", = 2", 2.5",3=E2=80=9D,4=E2=80=9D,6=E2=80=9D & Any Other Custom = sizes. Himsan Polymer (An ISO 9001:2008 Certified Company)Silicone = Autoclave & Sterilizer Door Gasket (Non-Inflatable) We offer its = wide range of Sillicone Autoclave Gasket in more than 1000 different = shapes and designs. We also offer soft Sillicone Sponge Gasket (Hardness = range from Shore A15 to 30) to Solid silicone Gasket (Hardness range from = Shore A 35 to 85). These Gaskets are being made from Food-Pharma Grade = Sillicone Rubber. It easily withstands a temperature range of -80=C2=B0C = to + 300=C2=B0C. These gaskets are available in square cross sections = like 20mm x 20mm, 25mm x 25mm x 25mm with central hole of 10mm Dia etc. = These gaskets are available in Red, White, Orange or any other colour as = per customer's requirement. Himsan Polymer (An ISO 9001:2008 Certified = Company) Silicone, Neoprene,Viton & PTFE Rubber Sheets Size = available from 1 feet x 1 feet up to maximum 1200 MM x 10 MTR Thickness = ranges from 1mm, 2mm to 20mm Transparent Silicone Sheet is also made = available which is of Highest Quality Standard (FDA 21CFR 177.2600) = Himsan Polymer (An ISO 9001:2008 Certified Company) Rubber O Rings We = offer it's wide range of 'O' Ring from ID 2.0mm to 600mm from it's 500 = single piece moulds. We have also successfully developed Viton 'O' Rings = of ID upto 3000mm. These 'O' Rings are manufactured on a Hydraulic Press = with tightly controlled temperature and time and ensures accurate = dimension, excellent finish, invisible flash line, properly post cured and = absolutely defect free. Himsan Polymer (An ISO 9001:2008 Certified = Company)Silicone Sponge & Solid Gaskets 1) Available in Round Square = and Rectangular Cross Section. 2) Colours are available in White, Red, = Grey, Green & Orange. 3) Complies to FDA 21 CFR 177.2600. Himsan = Polymer (An ISO 9001:2008 Certified Company) Viton, Nitrile, EPDM & = PTFE Tubes 1) Designed for various applications 2) Complies to FDA 21 = CER 177.2600. 3) Sizes are available as per customer=E2=80=99s = requirement. Thanks & Regards, Sreesanth Saruvil Himsan Polymer = (An ISO 9001:2008 Certified Company) CORPORATE OFFICE:- R-1,SAI KRUPA = NIWAS, OPP. KAMLAKAR BHANDARI HOUSE, CHARKOP VILLAGE, KANDIVALI = WEST-400067 FACTORY:- B/1, VISHAL INDL. ESTATE, PANCHAL, NEAR HP GAS = GODOWN, BHAYANDER (E)-401105 EMAIL:- sales@himsanpolymer.com MOB:- = +91-7738363930 / +91-7715871508 / 09/ 10 www.himsanpolymer.com = FACEBOOK:- facebook.com/himsanpolymer TWITTER:- = www.twitter.com/HimsanPolymer LINKEDIN:- = in.linkedin.com/in/himsanpolymer WHATSAPP:- +91-7738363930 / = +91-7715871510 Himsan Polymer (An ISO 9001:2008 Certified Company) =09 =09 =09 =09 This email was sent from himsanpolymer@yahoo.com to = freebsd-arm@FreeBSD.org =09 =09 Forward Mail Click here =09 =09 To unsubscribe from this list please Click here webcast129.com=20 =09 =09 To report an abuse complaint or for problem resolution please Click = here From owner-freebsd-arm@FreeBSD.ORG Sat Jan 10 10:49:49 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D42BD81 for ; Sat, 10 Jan 2015 10:49:49 +0000 (UTC) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EEE6B695 for ; Sat, 10 Jan 2015 10:49:48 +0000 (UTC) Received: from [98.234.219.109] (helo=[192.168.2.133]) by id.bluezbox.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Y9t3u-000KvT-11 for freebsd-arm@freebsd.org; Sat, 10 Jan 2015 02:14:33 -0800 From: Oleksandr Tymoshenko Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: RPi update: VCHIQ status Message-Id: Date: Sat, 10 Jan 2015 02:13:57 -0800 To: "freebsd-arm@freebsd.org List" Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) Sender: gonzo@id.bluezbox.com X-Spam-Level: / X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hello, I thought I’d post update on VCHIQ status to the mailing list too. VCHIQ is generic interface driver to VideoCore GPU on RaspberryPi and used by various subsystems e.g. audio, 3D, config queries. Original FreeBSD port was quite unstable but since then NetBSD folks improved it a lot so I backported their changes and fixed some bugs and now it's stable enough to run ioquake3d. Also I added audio driver, although audioquality-wise there is still some space for improvement [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.7 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: kernelnomicon.org] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 10:49:49 -0000 Hello, I thought I=E2=80=99d post update on VCHIQ status to the mailing list = too. VCHIQ is generic interface driver to VideoCore GPU on RaspberryPi and=20 used by various subsystems e.g. audio, 3D, config queries. Original=20 FreeBSD port was quite unstable but since then NetBSD folks improved it a lot so I backported their changes and fixed some bugs and now it's stable enough to run ioquake3d. Also I added audio driver, although=20 audioquality-wise there is still some space for improvement=20 Related links: Quake3 on Pi: http://kernelnomicon.org/?p=3D427 Audio driver: http://kernelnomicon.org/?p=3D449 --=20 gonzo=