From owner-freebsd-arm@freebsd.org Sun Jul 15 09:35:41 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A706410340F3 for ; Sun, 15 Jul 2018 09:35:41 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2DBC480F7F for ; Sun, 15 Jul 2018 09:35:41 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id E07EA10340F1; Sun, 15 Jul 2018 09:35:40 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC6A610340EF for ; Sun, 15 Jul 2018 09:35:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 309D880F7E for ; Sun, 15 Jul 2018 09:35:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 1859dc51; Sun, 15 Jul 2018 11:35:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=mail; bh= daDb25ydEFJ+b9V5kJxrHnlzvaM=; b=PD+rWN5nZ/6hVhMZ3YS8avEPzk/ghkZ2 jGPa7n8aMy2iGVlWy2YUx4IrsLTG17QjV3syC+sVxX12RXXSR5DMexdrEjofD1eP Ft947fpqaLPZdBppFaIeLKVtd3jG99AV45fWhxKc2HsM+sNWANI/bPB57/Men179 0224ehSpkp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= mail; b=Le1zTv8wEV4BLJ+K4r9TfasW2FD+Q/a+XLJZ8pTxysTl94vCjZtqeBSf d57vbMYgbFBxsaeNDD5pJCbhaZAO39CQG9/ulUeqpDPZ2c3HwWHNVD2Q6GNDBHvy Z2JpyX5lNPcKqF+aQDh4WLMkMl2hr7/QPhUtQIH1i2NHfpxajuU= Received: from [192.168.1.23] (j1a01-1-78-205-69-41.fbx.proxad.net [78.205.69.41]) by mail.blih.net (OpenSMTPD) with ESMTPSA id a522e3f4 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 15 Jul 2018 11:35:30 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: nanopi neo2 blues From: Emmanuel Vadot X-Mailer: iPhone Mail (15F79) In-Reply-To: <37AB3D0B-3152-4CB4-AAE8-B24FDB81E17E@cs.huji.ac.il> Date: Sun, 15 Jul 2018 11:35:29 +0200 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <37AB3D0B-3152-4CB4-AAE8-B24FDB81E17E@cs.huji.ac.il> To: Daniel Braniss X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2018 09:35:41 -0000 On a phone so I can see this tip.record I guess your problem is the DTS does have just the minimal info. This is a c= ommon problem for Allwinner boards as everything is done by the community an= d not the vendors. ALLWINNER_UP is for armv7 so it=E2=80=99s normal that it doesn=E2=80=99t boo= t. --=20 Emmanuel Vadot > Le 14 juil. 2018 =C3=A0 08:33, Daniel Braniss a =C3=A9= crit : >=20 > Hi, > this is a 64bit arm h5 board. > I can boot a GENERIC kernel, but it=E2=80=99s missing many devices, so I t= ried ALLWINER_UP but failes to boot > I guess i=E2=80=99m missing something :-) > any help? > thanks, > danny >=20 > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Sun Jul 15 15:01:11 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 714D11042127 for ; Sun, 15 Jul 2018 15:01:11 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AB7D8AE47 for ; Sun, 15 Jul 2018 15:01:10 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout1.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.90_1 #2) id 1feiWJ-0000FX-HI; Sun, 15 Jul 2018 17:01:07 +0200 Received: from [::1] (port=36230 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1feiWJ-00045z-G4; Sun, 15 Jul 2018 17:01:07 +0200 Received: from mx2.freenet.de ([195.4.92.12]:58290) by mjail0.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.90_1 #2) id 1feiTp-00029j-GW; Sun, 15 Jul 2018 16:58:33 +0200 Received: from p5b22ac0c.dip0.t-ipconnect.de ([91.34.172.12]:27030 helo=freebsd-t420.fritz.box) by mx2.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (port 587) (Exim 4.90_1 #2) id 1feiTp-0005FT-CO; Sun, 15 Jul 2018 16:58:33 +0200 Date: Sun, 15 Jul 2018 16:58:31 +0200 From: Manuel =?iso-8859-15?Q?St=FChn?= To: Ruslan Bukin Cc: freebsd-arm@freebsd.org Subject: Re: sound on wandboard-quad Message-ID: <20180715145830.GA3531@freebsd-t420.fritz.box> References: <20180712180858.GA60719@freebsd-t420.fritz.box> <20180714211315.GA27603@bsdpad.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20180714211315.GA27603@bsdpad.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Spam-score: -3.1 X-Spamreport: Action: no action Symbol: RCPT_COUNT_TWO(0.00) Symbol: NEURAL_HAM(-3.00) Symbol: FREEMAIL_ENVFROM(0.00) Symbol: BAYES_HAM(-0.03) Symbol: MIME_GOOD(-0.10) Symbol: ASN(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: FREEMAIL_FROM(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: FROM_HAS_DN(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: RCVD_TLS_ALL(0.00) Symbol: TO_DN_SOME(0.00) Symbol: RCVD_COUNT_ONE(0.00) Message-ID: 20180715145830.GA3531@freebsd-t420.fritz.box X-FN-Spambar: X-Originated-At: 91.34.172.12!27030 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2018 15:01:11 -0000 On Sat, Jul 14, 2018 at 10:13:15PM +0100, Ruslan Bukin wrote: >What is DAC chip on wardboard? According to schematic it's an external Audio Codec from NXP (SGTL5000) >We may have sound output (i2s) working with sDMA, SSI and AUDMUX, but >DAC (off-chip device) may require configuration by SPI or i2c. I.e. we >may need a driver for DAC which is not part of i.MX6 soc A quick "grep -R -i SGTL /usr/src" showed only matches devicetree files. -- Manuel From owner-freebsd-arm@freebsd.org Sun Jul 15 15:34:14 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8954E104358B for ; Sun, 15 Jul 2018 15:34:14 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-pl0-x232.google.com (mail-pl0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E265A8C14A for ; Sun, 15 Jul 2018 15:34:13 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-pl0-x232.google.com with SMTP id w3-v6so1070843plq.2 for ; Sun, 15 Jul 2018 08:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:content-transfer-encoding:message-id:date:subject:from :in-reply-to:references:to; bh=FshPk99TslWADFGB8xQ/fC3Va46LCC1Tuw3wlcvWaY0=; b=bNM5ZpVwEG0CGR6tpyIuodl+ESutTzdzQ9GGZW/cPj7z6o4p5vD83tA0KAXN6xN088 fLREu3uMWZBQiVHOqVyCGp6Ea/CrjCB+aa9V5XnL9XXMBMeHO59GTbP5j38LWnZ1tzrL VOeF/fDA8InC2K5tvlAivK1vjqAmzhd0iDXq6q+kgz/vNhX9LBTYdHncsFztXj0yt+Dz 7t8qsdo6El9NLxiB8upTdnqN17lQGI6yDrx9O4ftik2BxV0VRyNpwHvUpLYyBbJ7lx6K AkvlRPDIGSm6Gnvbui32YY2QsX0CcdiXbsECrpJ+PoPWfTu2bcHpqnzttX7PIv5ZETLt yjEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :message-id:date:subject:from:in-reply-to:references:to; bh=FshPk99TslWADFGB8xQ/fC3Va46LCC1Tuw3wlcvWaY0=; b=Vxhumavs5ntD1//qgFQ0JsS7/zvIUTF5yRTzkMdJFJ1AYwtvkbmPmnkN5ryZO8bCJ4 /XquW1S1Ksr5ondxORHrgQ8EuVZFIinFAYqA7z+IhSWfDFeDyfWxCy94lcXBlmH2e0bE 5Rk539SlAvjeZG5F3CLRbD5PwYwvfFsMNv/wvffuj5W7P+tYPOZzptXhUkaUyPWyhNw9 m1oDFSFJeKrfxhhMlBpc7kGTjxfNlCLy4t6QCvoxTdl/I3K7Ykj6DZIdtisumbSBUGV9 +QpnbuDvr0iXrw0rucZ5bX49Zf8EXZ/6QaK1n+a4iSgNpijZ/cvrdKDKoSXJCzylkOK0 s8GQ== X-Gm-Message-State: AOUpUlG8A3YBGgWs1QbE1Z5Lz0XdRrG2mMuYp8n5bs+VynAZl6r3lTNX roWS3Hu/IhyrRQfrBuugwiE78LrL X-Google-Smtp-Source: AAOMgpcjwcCCjpv8Y14BrWCZnVIBCiSjdC75pkwPyHa8f137ryF6AwHBrQeRcj6ryXXQ/5QQ+jKDIA== X-Received: by 2002:a17:902:9681:: with SMTP id n1-v6mr13995563plp.244.1531668852689; Sun, 15 Jul 2018 08:34:12 -0700 (PDT) Received: from [127.0.0.1] ([184.151.231.94]) by smtp.gmail.com with ESMTPSA id b67-v6sm100945052pfd.74.2018.07.15.08.34.11 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Jul 2018 08:34:11 -0700 (PDT) X-Mailer: BlackBerry Email (10.3.3.2163) Message-ID: <20180715153410.7184467.17528.51672@gmail.com> Date: Sun, 15 Jul 2018 08:34:10 -0700 Subject: Re: sound on wandboard-quad From: Russell Haley In-Reply-To: References: <20180712180858.GA60719@freebsd-t420.fritz.box> <20180714211315.GA27603@bsdpad.com> To: freebsd-arm MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2018 15:34:14 -0000 From owner-freebsd-arm@freebsd.org Sun Jul 15 21:01:17 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72C001028EB4 for ; Sun, 15 Jul 2018 21:01:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 127FF97E87 for ; Sun, 15 Jul 2018 21:01:17 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) 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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5E6259C44 for ; Sun, 15 Jul 2018 21:01:16 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6FL1Gkt091176 for ; Sun, 15 Jul 2018 21:01:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6FL1GRx091161 for freebsd-arm@FreeBSD.org; Sun, 15 Jul 2018 21:01:16 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201807152101.w6FL1GRx091161@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 15 Jul 2018 21:01:16 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2018 21:01:17 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 220297 | arch(7) rename arm64 to aarch64 respecting `uname 1 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Sun Jul 15 22:41:02 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8451F102D895 for ; Sun, 15 Jul 2018 22:41:02 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FA5373A41 for ; Sun, 15 Jul 2018 22:41:02 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id l16-v6so18589715ita.0 for ; Sun, 15 Jul 2018 15:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=eYh33/MzLwBkWDVfYBw+R6hlvB7wOHmLDGI9sFxj6as=; b=vdUKOz2hcyDC+1kuYPTU2WofByq5r3dLtiC10w2PH1bQfkTAu1U+mxNshEYrQBaT/F FfQbJQV+I5nWhcjO7T0s5UFJGjd/5ENWW+dW4lNTnnDA6GZKYoa9AS4LVb2VBeW/SkK5 fr0TSaGD3lrMjeqG7dW+ll0W26N5aOPs3nNa2N16qDep9GT+YvxnkKznErRtY/Aphw88 9rOb32UFPGi3AJuuZN3pQh45s9+QMUW+Ot3tnDgatwpU2y7kuuWegHB1M68sGa7fVzcb 0YSd0kQOlTDV0R2nLjVW8DjivL1B12HwzAUTsPQ3zBtCUUHEwkqBhOIkA7ubJ3fVggup 81cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eYh33/MzLwBkWDVfYBw+R6hlvB7wOHmLDGI9sFxj6as=; b=pHr8p5XOg4VX/TW+DWvYzdDyQnldq2Wo24JyHGnxj93FISPGL9CeO+UYSks70VKxvO JIreBwEvuUKelRrZOSEggpEdapFAooUd2dbNbP19F62S1EqXUSqkdHmS2RM2djJPsaxx bTqNsB1lhQ8gJLFZw4y0FXc1yoaVoqRATVNhBOqrcyBPLG3p/xhMA6bbHriMNyEdD1gC xpcAOXjeozxxTtZ/C1/2JQJqZ/Wkl1xaE3SMGPIbv4atibKMBmSej0yQqCRDGPxaDEeZ AgUcWRQimxXb+6O64JKBEqxpopB8vfKRh1RUioRJL0sAgtwsWFdjqBn5pDuzbAGmb+f8 JaVQ== X-Gm-Message-State: AOUpUlEjO9Az5JG2uo0jDe7xwxnYtE3poakRRcKcVXLhyWKuEOxK51VS hBD2sHpiwEgMmuLUfYUlZEXjOMZYgereaCL323CKPQ== X-Google-Smtp-Source: AAOMgpeBMsiNXamyUH/jk/PJZftDETvAQQKSUJrzeurje+UatuB1Bvu97rEk86Olgc35JoJ6pZd6KYwk6v9vio6NK9w= X-Received: by 2002:a24:5d45:: with SMTP id w66-v6mr10458960ita.121.1531694461218; Sun, 15 Jul 2018 15:41:01 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5e:9814:0:0:0:0:0 with HTTP; Sun, 15 Jul 2018 15:41:00 -0700 (PDT) From: Russell Haley Date: Sun, 15 Jul 2018 15:41:00 -0700 Message-ID: Subject: Problem with Fetch using Let's Encrypt Certificates on Arm? To: freebsd-arm Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2018 22:41:02 -0000 Hi, I'm attempting to pull in a patch from the reviews board and I get the following error: freebsd@imx6:~ % fetch https://reviews.freebsd.org/file/data/wa7jc7bpnhvjhm5espm7/PHID-FILE-6tz3dv32poii5fmqh5ve/D13690.diff Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3 539735016:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269: fetch: https://reviews.freebsd.org/file/data/wa7jc7bpnhvjhm5espm7/PHID-FILE-6tz3dv32poii5fmqh5ve/D13690.diff: Authentication error freebsd@imx6:~ % The reviews url works fine with curl on Arm as well as working with fetch on amd64 11.1. I tested on a BBB at 11.2 and a Hummingboard (IMX6) on CURRENT. freebsd@beaglebone:~ % uname -a FreeBSD beaglebone 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 02:27:16 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm root@imx6:/home/freebsd # uname -a FreeBSD imx6 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r336134: Mon Jul 9 19:59:31 UTC 2018 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm.armv7/sys/IMX6 arm Thoughts? Russ From owner-freebsd-arm@freebsd.org Mon Jul 16 01:53:09 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B41881034FA3 for ; Mon, 16 Jul 2018 01:53:09 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [210.8.237.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7FC67A0A2 for ; Mon, 16 Jul 2018 01:53:08 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id w6G1qwAF075811 for ; Mon, 16 Jul 2018 11:52:58 +1000 (AEST) (envelope-from freebsd-arm@sentry.org) Subject: Re: Problem with Fetch using Let's Encrypt Certificates on Arm? To: freebsd-arm@freebsd.org References: From: Trev Message-ID: Date: Mon, 16 Jul 2018 11:52:58 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [0.0.0.0]); Mon, 16 Jul 2018 11:52:58 +1000 (AEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 01:53:09 -0000 Russell Haley wrote on 16/07/2018 08:41: > I'm attempting to pull in a patch from the reviews board and I get the > following error: > > freebsd@imx6:~ % fetch > https://reviews.freebsd.org/file/data/wa7jc7bpnhvjhm5espm7/PHID-FILE-6tz3dv32poii5fmqh5ve/D13690.diff > Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt > Authority X3 > 539735016:error:14090086:SSL > routines:ssl3_get_server_certificate:certificate verify > failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269: [...] > Thoughts? Do you have ca_root_nss-3.38 - Root certificate bundle from the Mozilla Project installed? From owner-freebsd-arm@freebsd.org Mon Jul 16 02:26:01 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F5FA103813D for ; Mon, 16 Jul 2018 02:26:01 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02B1F7ABC8 for ; Mon, 16 Jul 2018 02:26:01 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-it0-x230.google.com with SMTP id p17-v6so19058522itc.2 for ; Sun, 15 Jul 2018 19:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Qxp/Ayn+0nRTZE9kkZ1oDESJt254HrXqZ1FcCT9LV3w=; b=pLQEMJL2mBNBaHFYoZwFt+6q5Foa4bbmZ5RleJGGR/HwvkZ5zPnK3Mal4O0Lr9zQv0 vTcqzizsJSL3+E3rxV9BJLwfMNkTXeUEKGdYC/ejfh1KRnWGF9Ra0BA0ySaESVZThy4Z K1+yZe9gczHH1kDnUrpetbeP16vctMx3vDplR2JHNic5rhD73l6tqlh43LniTCD6/5Yc qQAZsf0D5VuP1HAoEvW18hpIajtgLXU7Wngwsb+NEENmcAy/aPe479jUO/NjkPNaZECa T5BLRClDmhNm8Vh5wR4fJgLsKEM8R6ynntvjrr46YAuKcu93Vqi/SGsORNgCqsVhRFFU tQ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Qxp/Ayn+0nRTZE9kkZ1oDESJt254HrXqZ1FcCT9LV3w=; b=SCa0DiRfo+bSCWFBFyI7DvWnjsgtPnwqlUuZ9eitSY2ckdSU/q0OjA6aZ2wEZD+7Dh nB/R/couJ2uzmrIlo9IRpNMENPEtiKxFPHKilGZulDhoczGYPPR6cQ1DwsjU+4K9LtzX 9u6LR3VaMl4LZMjFXLOBu7cx5OdXb6CS0n+3evCRr1aEYhgTY9RlHMkNApO2P8RYhvrP WiA7t1dMGXBTwzYsIPt9WF2KY0iHHRcpJuGxs/SQFRrITKXf91Mq8XrmhRUh6m+wyyvj 0RutlEIhwPoZQJOisb9DG/kXfBquLURWyc8s+CyA1aFUoAGeMfQ1atW9O9bEoCB0aj/q 8Upg== X-Gm-Message-State: AOUpUlHPTE52AdaByduUgVy6rXY2v5sZ0d05mivh3mf6WhZM1ZHSUT5f NR/BaWA5jdDcDGaoOEKwxactcmNWsr7m0EDswCQ= X-Google-Smtp-Source: AAOMgpcv/2huT1B1+uh+H1LqUr0bXpW45lVHJIdQiAIDwlxpaxX5G4CmKgyjqMQX2XXvd9+lzJBrOZYKdm3wv1ztXko= X-Received: by 2002:a24:800c:: with SMTP id g12-v6mr11213492itd.146.1531707960161; Sun, 15 Jul 2018 19:26:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5e:9814:0:0:0:0:0 with HTTP; Sun, 15 Jul 2018 19:25:59 -0700 (PDT) In-Reply-To: References: From: Russell Haley Date: Sun, 15 Jul 2018 19:25:59 -0700 Message-ID: Subject: Re: Problem with Fetch using Let's Encrypt Certificates on Arm? To: Trev Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 02:26:01 -0000 On Sun, Jul 15, 2018 at 6:52 PM, Trev wrote: > Russell Haley wrote on 16/07/2018 08:41: > >> I'm attempting to pull in a patch from the reviews board and I get the >> following error: >> >> freebsd@imx6:~ % fetch >> https://reviews.freebsd.org/file/data/wa7jc7bpnhvjhm5espm7/PHID-FILE- >> 6tz3dv32poii5fmqh5ve/D13690.diff >> Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt >> Authority X3 >> 539735016:error:14090086:SSL >> routines:ssl3_get_server_certificate:certificate verify >> failed:/usr/src/crypto/openssl/ssl/s3_clnt.c:1269: >> > [...] > >> Thoughts? >> > > Do you have ca_root_nss-3.38 - Root certificate bundle from the Mozilla > Project installed? > Yes, that was it. Thanks so much! Russ > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Mon Jul 16 05:28:01 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F49C103EECF for ; Mon, 16 Jul 2018 05:28:01 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B33D680945 for ; Mon, 16 Jul 2018 05:28:00 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 71E07103EECD; Mon, 16 Jul 2018 05:28:00 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EF98103EECB for ; Mon, 16 Jul 2018 05:28:00 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 E3C0580944 for ; Mon, 16 Jul 2018 05:27:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1few2u-000Mro-9I; Mon, 16 Jul 2018 08:27:40 +0300 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: nanopi neo2 blues From: Daniel Braniss In-Reply-To: Date: Mon, 16 Jul 2018 08:27:39 +0300 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <0B69E1BE-AD3A-4390-9A1F-3182B9A0D4EE@cs.huji.ac.il> References: <37AB3D0B-3152-4CB4-AAE8-B24FDB81E17E@cs.huji.ac.il> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 05:28:01 -0000 > On 15 Jul 2018, at 12:35, Emmanuel Vadot = wrote: >=20 > On a phone so I can see this tip.record > I guess your problem is the DTS does have just the minimal info. This = is a common problem for Allwinner boards as everything is done by the = community and not the vendors. >=20 > ALLWINNER_UP is for armv7 so it=E2=80=99s normal that it doesn=E2=80=99t= boot. >=20 after coffee I realized this :-) btw, congrats! great game danny > --=20 > Emmanuel Vadot >=20 >> Le 14 juil. 2018 =C3=A0 08:33, Daniel Braniss a = =C3=A9crit : >>=20 >> Hi, >> this is a 64bit arm h5 board. >> I can boot a GENERIC kernel, but it=E2=80=99s missing many devices, = so I tried ALLWINER_UP but failes to boot >> I guess i=E2=80=99m missing something :-) >> any help? >> thanks, >> danny >>=20 >> >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20 From owner-freebsd-arm@freebsd.org Mon Jul 16 09:20:59 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A22410478DB; Mon, 16 Jul 2018 09:20:59 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2004E88383; Mon, 16 Jul 2018 09:20:58 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1fezgf-0077Bm-6l; Mon, 16 Jul 2018 11:20:57 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 From: Ralf Wenk To: freebsd-ports@freebsd.org cc: freebsd-arm@freebsd.org Subject: Compiling latest aircrack-ng failed on ARM 32bit Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Jul 2018 11:20:57 +0200 Message-Id: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 09:20:59 -0000 Hello, the maintainer (Lars) of the aircrack-ng port directed me to this (ports=40freebsd.org) list. When trying to upgrade the aircrack-ng port the configure script ran into the following error: configure: error: _AX_COMPILER_VERSION_GNU unknown gcc major The system I try to upgrade aircrack-ng is an RaspberryPI B. Kernel and world are cross-compiled and relatively new =23 uname -a = =20 FreeBSD IZ-WLAN 12.0-CURRENT FreeBSD 12.0-CURRENT =232 r336070M:=5C Sat Jul 7 21:46:46 CEST 2018=5C root=40hs-karlsruhe.de:/usr/obj/usr/src/arm.armv6/sys/RPI-Bsc arm =23=20 The latest known working version on that system is aircrack-ng-1.2.r4_1. Both newer versions from ports failed with the same error message. The configure script stops with: ... checking whether C compiler accepts -Wno-unused-but-set-variable... yes checking whether C compiler accepts -Wno-array-bounds... yes checking for C++ compiler vendor... gnu checking for C++ compiler version... configure: error: in=20 =60/usr/ports/net-mgmt/aircrack-ng/work/aircrack-ng-1.3': configure: error: _AX_COMPILER_VERSION_GNU unknown gcc major See =60config.log' for more details =3D=3D=3D> Script =22configure=22 failed unexpectedly. Please report the problem to ports=40FreeBSD.org =5Bmaintainer=5D and att= ach the =22/usr/ports/net-mgmt/aircrack-ng/work/aircrack-ng-1.3/config.log=22 inc= luding the output of the failure of your make command. Also, it might be a good = idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/aircrack-ng ** Command failed =5Bexit code 1=5D: /usr/bin/script -qa=20 /tmp/portupgrade20180711-9802-9x00yb env UPGRADE_TOOL=3Dportupgrade=20 UPGRADE_PORT=3Daircrack-ng-1.2.r4_1 UPGRADE_PORT_VER=3D1.2.r4_1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / =21:failed) =21 net-mgmt/aircrack-ng (aircrack-ng-1.2.r4_1) (configure erro= r) =23=20 In total config.log contains 4592 lines, so I do not include it whole. Related to the error message it contains after two thirds of the lines: ... configure:26780: g++7 -c -O -pipe -I/usr/include -Wl,-rpath=3D/usr/local/= lib/gcc7 -fno-strict-aliasing -Wl,-rpath=3D/usr/local/lib/gcc7 -D_FILE_OFFSET_B= ITS=3D64=20 -D_LARGEFILE64_SOURCE -D_FORTIFY_SOURCE=3D2 conftest.cpp >&5 configure:26780: =24? =3D 0 configure:26788: result: gnu configure:26793: checking for C++ compiler version configure:27015: g++7 -o conftest -O -pipe -I/usr/include=20 -Wl,-rpath=3D/usr/local/lib/gcc7 -fno-strict-aliasing =20 -Wl,-rpath=3D/usr/local/lib/gcc7 -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE64= _SOURCE=20 -D_FORTIFY_SOURCE=3D2 -L/usr/lib -Wl,-rpath=3D/usr/local/lib/gcc7=20 -L/usr/local/lib/gcc7 conftest.cpp -ldl -lm >&5 /usr/local/lib/gcc7/libstdc++.so: undefined reference to =60__aeabi_idiv= =40GCC_3.5' /usr/local/lib/gcc7/libstdc++.so: undefined reference to=20 =60__aeabi_uldivmod=40GCC_3.5' /usr/local/lib/gcc7/libstdc++.so: undefined reference to=20 =60__aeabi_uidiv=40GCC_3.5' collect2: error: ld returned 1 exit status configure:27015: =24? =3D 1 configure: program exited with status 1 configure: failed program was: =7C /* confdefs.h */ =7C =23define PACKAGE_NAME =22aircrack-ng=22 =7C =23define PACKAGE_TARNAME =22aircrack-ng=22 =7C =23define PACKAGE_VERSION =221.3=22 =7C =23define PACKAGE_STRING =22aircrack-ng 1.3=22 =7C =23define PACKAGE_BUGREPORT =22https://forum.aircrack-ng.org=22 =7C =23define PACKAGE_URL =22=22 =7C =23define PACKAGE =22aircrack-ng=22 =7C =23define VERSION =221.3=22 =7C =23define STDC_HEADERS 1 =7C =23define HAVE_SYS_TYPES_H 1 =7C =23define HAVE_SYS_STAT_H 1 =7C =23define HAVE_STDLIB_H 1 =7C =23define HAVE_STRING_H 1 =7C =23define HAVE_MEMORY_H 1 =7C =23define HAVE_STRINGS_H 1 =7C =23define HAVE_INTTYPES_H 1 =7C =23define HAVE_STDINT_H 1 =7C =23define HAVE_DLFCN_H 1 =7C =23define LT_OBJDIR =22.libs/=22 =7C =23define _REVISION =221.3=22 =7C =23define HAVE_OPENSSL_CRYPTO_H 1 =7C =23define HAVE_PCAP_H 1 =7C =23define HAVE_PCAP 1 =7C =23define HAVE_PCRE 1 =7C =23define HAVE_SQLITE3_H 1 =7C =23define HAVE_SQLITE3 1 =7C =23define HAVE_SQLITE 1 =7C =23define HAVE_ZLIB 1 =7C =23define HAVE_PTHREAD_PRIO_INHERIT 1 =7C =23define _REENTRANT 1 =7C /* end confdefs.h. */ =7C=20 =7C static long int longval () =7B return __GNUC__; =7D =7C static unsigned long int ulongval () =7B return __GNUC__; =7D =7C =23include =7C =23include =7C int =7C main () =7C =7B =7C=20 =7C FILE *f =3D fopen (=22conftest.val=22, =22w=22); =7C if (=21 f) =7C return 1; =7C if ((__GNUC__) < 0) =7C =7B =7C long int i =3D longval (); =7C if (i =21=3D (__GNUC__)) =7C return 1; =7C fprintf (f, =22%ld=22, i); =7C =7D =7C else =7C =7B =7C unsigned long int i =3D ulongval (); =7C if (i =21=3D (__GNUC__)) =7C return 1; =7C fprintf (f, =22%lu=22, i); =7C =7D =7C /* Do not output a trailing newline, as this causes =5Cr=5Cn confus= ion =7C on some platforms. */ =7C return ferror (f) =7C=7C fclose (f) =21=3D 0; =7C=20 =7C ; =7C return 0; =7C =7D configure:27018: error: in =60/usr/ports/net-mgmt/aircrack-ng/work/aircra= ck-ng-1. 3': configure:27021: error: _AX_COMPILER_VERSION_GNU unknown gcc major See =60config.log' for more details =23=23 ---------------- =23=23 =23=23 Cache variables. =23=23 =23=23 ---------------- =23=23 ac_cv_build=3Darmv6-portbld-freebsd12.0 ac_cv_c_compiler_gnu=3Dyes ac_cv_c_int16_t=3Dyes ac_cv_c_int32_t=3Dyes ac_cv_c_int64_t=3Dyes ac_cv_c_int8_t=3Dyes ac_cv_c_uint16_t=3Dyes ac_cv_c_uint32_t=3Dyes ac_cv_c_uint64_t=3Dyes ac_cv_c_uint8_t=3Dyes ac_cv_cflags_warn_all=3D-Wall ac_cv_cxx_compiler_gnu=3Dyes ac_cv_cxxflags_warn_all=3D-Wall ac_cv_env_BREW_set=3D'' ac_cv_env_BREW_value=3D'' ... Any idea how to fix this? Ralf From owner-freebsd-arm@freebsd.org Mon Jul 16 11:27:40 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDD30104BDEC; Mon, 16 Jul 2018 11:27:39 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CDD38C7A0; Mon, 16 Jul 2018 11:27:39 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 9AFAE24933; Mon, 16 Jul 2018 11:27:38 +0000 (UTC) Date: Mon, 16 Jul 2018 11:27:37 +0000 From: Mark Linimon To: Ralf Wenk Cc: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Compiling latest aircrack-ng failed on ARM 32bit Message-ID: <20180716112736.GA23077@lonesome.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 11:27:40 -0000 On Mon, Jul 16, 2018 at 11:20:57AM +0200, Ralf Wenk wrote: > the maintainer (Lars) of the aircrack-ng port directed me to this > (ports@freebsd.org) list. Hmm. You may have a slightly older ports tree: - lme@ has stepped down as maintainer - I marked the port broken on arm* about the same time > When trying to upgrade the aircrack-ng port the configure script > ran into the following error: > > configure: error: _AX_COMPILER_VERSION_GNU unknown gcc major That's the error that has been seen on the cluster. I don't know enough about the details of linking to have fixed it, so I went ahead and marked it broken. Perhaps someone on this list will have a suggestion. mcl From owner-freebsd-arm@freebsd.org Mon Jul 16 12:04:19 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66311104D97F; Mon, 16 Jul 2018 12:04:19 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 003B98DED0; Mon, 16 Jul 2018 12:04:18 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1ff2Ej-00BFyu-N7; Mon, 16 Jul 2018 14:04:17 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 From: Ralf Wenk To: Mark Linimon cc: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: Re: Compiling latest aircrack-ng failed on ARM 32bit In-reply-to: <20180716112736.GA23077@lonesome.com> References: <20180716112736.GA23077@lonesome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 16 Jul 2018 14:04:17 +0200 Message-Id: X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 12:04:19 -0000 On Mon, 16 Jul 2018 11:27:37 +0000 Mark Linimon wrote: > On Mon, Jul 16, 2018 at 11:20:57AM +0200, Ralf Wenk wrote: > > the maintainer (Lars) of the aircrack-ng port directed me to this > > (ports@freebsd.org) list. > > Hmm. You may have a slightly older ports tree: > > - lme@ has stepped down as maintainer > - I marked the port broken on arm* about the same time It is an actual version, as I edited the Makefile by removing the "BROKEN" lines for ARM architectures to try the 1.3 version as Lars suggested. Ralf From owner-freebsd-arm@freebsd.org Mon Jul 16 15:01:26 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10B97102BF2C for ; Mon, 16 Jul 2018 15:01:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98E5675292 for ; Mon, 16 Jul 2018 15:01:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D8035134F0 for ; Mon, 16 Jul 2018 15:01:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6GF1OqC040153 for ; Mon, 16 Jul 2018 15:01:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6GF1OpU040141 for freebsd-arm@FreeBSD.org; Mon, 16 Jul 2018 15:01:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 225816] ipfw crashing on Raspberry Pi 3 Date: Mon, 16 Jul 2018 15:01:24 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Andrew@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 15:01:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225816 Andrew Turner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |DUPLICATE --- Comment #24 from Andrew Turner --- *** This bug has been marked as a duplicate of bug 225684 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Jul 16 18:25:15 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CFD71034488 for ; Mon, 16 Jul 2018 18:25:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD0067D141 for ; Mon, 16 Jul 2018 18:25:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 11EB815148 for ; Mon, 16 Jul 2018 18:25:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6GIPDCc038915 for ; Mon, 16 Jul 2018 18:25:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6GIPDEM038905 for freebsd-arm@FreeBSD.org; Mon, 16 Jul 2018 18:25:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 225684] arm64 pcpu: crash when dereferencing per cpu structure (with 1 or more cpus) Date: Mon, 16 Jul 2018 18:25:13 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Andrew@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 18:25:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225684 Andrew Turner changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Jul 16 20:21:21 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61F9D103BBF3 for ; Mon, 16 Jul 2018 20:21:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-22.consmr.mail.ne1.yahoo.com (sonic303-22.consmr.mail.ne1.yahoo.com [66.163.188.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3B7B81F9A for ; Mon, 16 Jul 2018 20:21:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: h6PNXIwVM1mSYpw4zImH43F289UVqTuWSw8565dQwDanFoasL_qxtrftIxgqDG1 KuEYSjL5JuQKT56odu3v7M28y8sEuAMEQYJa1CX4jYN0EnIlAg6ErCedpwLIM.1ZtO40all5ayxd 49YMJ3IpvybyG.OnhYhZ8GRoLn7YaPMXRLqDdfyUbQhi4kQ3p_Vaoyt8aJ6Z.qCwcHxTkf_oBrFK sAWfRhh8EXQguYouQA6ckbcQ1_mZj8.LYeevOqBNE.t8y2lR7XKjFl2nppv4sFsqQslWxfL_qOZm oEZe3njf0vPESW1VeK8mlSTNZYZiJK4p0fLOHfzjhJffupQC_m6ocwnXKGYaVt4smswUP318hYsz _74xKSZ1Pmc0fsoCq53I4hcAcIrMxySI00puZHkon_y22jXp8Z9350FEe_q316VbPEERzZw7GC2K xqi_KPr3zuJa2sMvAZP3HpvTucoq8EUkTclJFJr5txAksK.kmlrRR6mWIPoRLhTjHCnICsZFiTML 1DP_lPGRnLurw6PvFwZZUYIS1Ky0U.WSHKEFPthAChmOXJbe2X9yArKsWfH4UX0x6seo2VGCpHCj uKEVzDLdOPzVNE2NlIhS5haplYfH0AlEezzBmGw8Buxzmu2yHr_rOS6jkoYXbmTRVaoJ7HM96L4r AsLA.G0QrLM1j2s0bprmXE1Zk9WsiAsGOimXjKjqCN44HgwQ1CMNZWaJ8_B_kUrEVJbjQJXAdpbZ gL2.9notF4ER2lc2NZPU9wR4LIToc9fteH4jSSdcImsht7Aa0lUfQ1_lH7dcwUMPZWiV_tBA6MTd i5sl29SggK.j5Oxk9EBMs4.rDd0OAusGT9gUJomBFUzUoCws5ULsowO9NAcLtBg_Vg0MnaOgBmzi Lpkb9vmQfTcvNxuP8P3t5uOQPVWCseozolwljvHjj9Bda7T6.Fek4Eg.a3pCb01KfT1CPGSgJved pOiOfPyuUAvWpij7z1yu4smedkCGdvQuGTQp.P4GbG.XwK9c93wouwHnxMlTMiwFCnQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 16 Jul 2018 20:21:14 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp428.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d9cae92556db746754479a1e18f61fa7; Mon, 16 Jul 2018 20:21:12 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd Message-Id: Date: Mon, 16 Jul 2018 13:21:10 -0700 Cc: Bryan Drewery To: FreeBSD Toolchain , freebsd-arm , FreeBSD Current X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 20:21:21 -0000 I attempted a from-scratch (. . ./arm64.aarch64/ empty) kernel-toolchain = buildkernel targeting aarch64 from amd64 based on head -r336349 . It failed by = ending up using an ld that can only target elf_x86_64_fbsd elf_i386_fbsd : . . . --- buildkernel --- Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-N= ODBG/modules/usr/src/sys/modules/accf_data/accf_data.kld --- accf_data.kld --- ld: unrecognised emulation mode: aarch64elf Supported emulations: elf_x86_64_fbsd elf_i386_fbsd *** [accf_data.kld] Error code 1 make[4]: stopped in /usr/src/sys/modules/accf_data .ERROR_TARGET=3D'accf_data.kld' = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/sys/GENERIC-NODBG/modules/usr/src/sys/modules/accf_data/accf_data.k= ld.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'ld -m aarch64elf -d -warn-common -r -d -o accf_data.kld = accf_data.o; ctfmerge -L VERSION -g -o accf_data.kld accf_data.o; :> = export_syms; awk -f /usr/src/sys/conf/kmod_syms.awk accf_data.kld = export_syms | xargs -J% objcopy % accf_data.kld;' .CURDIR=3D'/usr/src/sys/modules/accf_data' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sy= s/GENERIC-NODBG/modules/usr/src/sys/modules/accf_data' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm64' MACHINE_ARCH=3D'aarch64' = MAKEOBJDIRPREFIX=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/sys/GENERIC-NODBG/modules' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20180512' = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' = OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys= /GENERIC-NODBG/modules/usr/src' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk = /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null = /usr/src/sys/modules/accf_data/Makefile /usr/src/share/mk/bsd.kmod.mk = /usr/src/sys/conf/kmod.mk /usr/src/share/mk/bsd.init.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk = /usr/src/sys/modules/accf_data/../Makefile.inc = /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.linker.mk /usr/src/sys/conf/kern.opts.mk = /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/src/sys/modules/accf_data /usr/src/sys/netinet = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-N= ODBG' 1 error Detailed context: # uname -apKU FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r336349M amd64 = amd64 1200073 1200073 The "M" is mostly for powerpc* family experiments: # svnlite status /usr/src/ | sort ? /usr/src/sys/amd64/conf/GENERIC-DBG ? /usr/src/sys/amd64/conf/GENERIC-NODBG ? /usr/src/sys/arm/conf/GENERIC-DBG ? /usr/src/sys/arm/conf/GENERIC-NODBG ? /usr/src/sys/arm64/conf/GENERIC-DBG ? /usr/src/sys/arm64/conf/GENERIC-NODBG ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG M /usr/src/Makefile.libcompat M /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp M /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp M /usr/src/crypto/openssl/crypto/armcap.c M /usr/src/lib/libkvm/kvm_powerpc.c M /usr/src/lib/libkvm/kvm_private.c M /usr/src/release/Makefile.vm M /usr/src/release/scripts/mk-vmimage.sh M /usr/src/release/tools/vmimage.subr M /usr/src/secure/lib/libcrypto/Makefile M /usr/src/stand/defs.mk M /usr/src/stand/powerpc/boot1.chrp/Makefile M /usr/src/stand/powerpc/kboot/Makefile M /usr/src/sys/arm64/arm64/identcpu.c M /usr/src/sys/conf/kmod.mk M /usr/src/sys/conf/ldscript.powerpc M /usr/src/sys/powerpc/aim/mmu_oea64.c M /usr/src/sys/powerpc/ofw/ofw_machdep.c # more /usr/src/sys/arm64/conf/GENERIC-NODBG # # GENERIC -- Custom configuration for the arm64/aarch64 # include "GENERIC" ident GENERIC-NODBG makeoptions DEBUG=3D-g # Build kernel with gdb(1) = debug symbols options ALT_BREAK_TO_DEBUGGER options KDB # Enable kernel debugger support # For minimum debugger support (stable branch) use: #options KDB_TRACE # Print a stack trace for a = panic options DDB # Enable the kernel debugger # Extra stuff: #options VERBOSE_SYSINIT # Enable verbose sysinit = messages #options BOOTVERBOSE=3D1 #options BOOTHOWTO=3DRB_VERBOSE #options KTR #options KTR_MASK=3DKTR_TRAP ##options KTR_CPUMASK=3D0xF #options KTR_VERBOSE # Disable any extra checking for. . . nooptions DEADLKRES # Enable the deadlock resolver nooptions INVARIANTS # Enable calls of extra sanity = checking nooptions INVARIANT_SUPPORT # Extra sanity checks of = internal structures, required by INVARIANTS nooptions WITNESS # Enable checks to detect = deadlocks and cycles nooptions WITNESS_SKIPSPIN # Don't run witness on spinlocks = for speed nooptions DIAGNOSTIC nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones nooptions BUF_TRACKING nooptions FULL_BUF_TRACKING # more = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh -j4 kernel-toolchain buildkernel kldload -n filemon && \ script = ~/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-amd64-= host-$(date +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64= -host" \ WITH_META_MODE=3Dyes \ MAKEOBJDIRPREFIX=3D"/usr/obj/cortexA53_clang/arm64.aarch64" \ make $* # more ~/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host TO_TYPE=3Daarch64 TOOLS_TO_TYPE=3D${TO_TYPE} VERSION_CONTEXT=3D12.0 # KERNCONF=3DGENERIC-NODBG TARGET=3Darm64 .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D WITHOUT_SYSTEM_LINKER=3D # WITH_LIBCPLUSPLUS=3D WITH_LLD_BOOTSTRAP=3D WITHOUT_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLD=3D WITH_LLD_IS_LD=3D WITH_LLDB=3D # WITH_BOOT=3D WITHOUT_LIB32=3D # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D # = #CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${VERS= ION_CONTEXT}/bin/ XCFLAGS+=3D -mcpu=3Dcortex-a53 XCXXFLAGS+=3D -mcpu=3Dcortex-a53 # There is no XCPPFLAGS but XCPP gets XCFLAGS content. ACFLAGS.arm64cpuid.S+=3D -mcpu=3Dcortex-a53+crypto ACFLAGS.aesv8-armx.S+=3D -mcpu=3Dcortex-a53+crypto ACFLAGS.ghashv8-armx.S+=3D -mcpu=3Dcortex-a53+crypto # more ~/src.configs/make.conf CFLAGS.gcc+=3D -v =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Jul 16 22:32:02 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2A591040646; Mon, 16 Jul 2018 22:32:01 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C4EF8602C; Mon, 16 Jul 2018 22:32:01 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 40B8D4DAE; Mon, 16 Jul 2018 22:32:01 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id CA94EAF35; Mon, 16 Jul 2018 22:31:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id yyc2kjbHF5jm; Mon, 16 Jul 2018 22:31:54 +0000 (UTC) Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 2DD27AF30 To: Mark Millard , FreeBSD Toolchain , freebsd-arm , FreeBSD Current References: From: Bryan Drewery Openpgp: preference=signencrypt Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8FAlJp hmsCGwwFCQlmAYAACgkQNddxu25Gl89UPggA2mGQp28yCUKsJ6KHFVy/lpHfoQrKF+s7HfKT U2ObVeVNX4I8ZdW1UO48mRqxEOwY8r5YSH6X06OmiqCX2aSMXg3N06/l+ztlB0+UGGlkXBjv l9/nii+bC6b8XWuu0X7Qpb9oYBK9YtoaoyuVplAmjdj/cPou65meKIaS1yDTjHh450DrW8Qg he6l0bFX4BHKTSm99U90ML7EY19B6iI2BZSqWutVsyD71oAREY6NGgDpCOIO6FS41+WeYCDR j8vsa/BiaoX2d2SBDsCwsEwe9fg5PYMi2uVIhvL6OrxnwOdB+TkgvOy5zZSNO29UG/JilZKo Ndz2wpEaUzChGGqLvcLAZQQYAQoADwIbDAUCWujOKAUJCmB7PQAKCRA113G7bkaXz6bkB/9H dUR3E0wBwMh6z0AOFDKh+PbRI9Xd4IncdhE55tNK410650a3gADIDwqz3i72GIinkgaxzpEO xP1bs7a+BeF3p5Xd6Jjk6J/nEshisgNW7VjUbJHFGs8Sf9A6oM3q4VkI/ArVo5qkZxgKs72U HSAy5NV+AdqdTrWuAL20xfQ6gA7JF35Xf8zyUM2GMl0X8ik7dJ1jMp+TB27LipqbDgamFzH9 F9hC9gur94OQ/x3nQ+mFZ1uipYHA1EdrKuhb/Ts4bN/Ezl8nmYGxc9Bw7ZBxGOTId/rEIzoe LWpAvg6dcw0T9lNfSWc6PX+kf3dOXNIdkw9NqKID8wEPe8axcGYG Organization: FreeBSD Message-ID: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> Date: Mon, 16 Jul 2018 15:31:50 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9hQNWkjsIiiFcIPhNDnsTlDwnzJBg9A99" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 22:32:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9hQNWkjsIiiFcIPhNDnsTlDwnzJBg9A99 Content-Type: multipart/mixed; boundary="B00CnU7wHsjjMXqvoeTfgybVZDaFqJEtr"; protected-headers="v1" From: Bryan Drewery To: Mark Millard , FreeBSD Toolchain , freebsd-arm , FreeBSD Current Message-ID: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd References: In-Reply-To: --B00CnU7wHsjjMXqvoeTfgybVZDaFqJEtr Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 7/16/18 1:21 PM, Mark Millard wrote: > I attempted a from-scratch (. . ./arm64.aarch64/ empty) kernel-toolchai= n buildkernel > targeting aarch64 from amd64 based on head -r336349 . It failed by endi= ng up > using an ld that can only target elf_x86_64_fbsd elf_i386_fbsd : I probably extended the LLVM_TARGET_ALL=3Dno in cross-compiler too far. I= thought I had left that out for kernel-toolchain but apparently not. Try this patch and kernel-toolchain after applying please: http://people.freebsd.org/~bdrewery/patches/cross-compiler-fix.diff >=20 > . . . > --- buildkernel --- > Building /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/s= ys/GENERIC-NODBG/modules/usr/src/sys/modules/accf_data/accf_data.kld > --- accf_data.kld --- > ld: unrecognised emulation mode: aarch64elf > Supported emulations: elf_x86_64_fbsd elf_i386_fbsd > *** [accf_data.kld] Error code 1 >=20 > make[4]: stopped in /usr/src/sys/modules/accf_data > .ERROR_TARGET=3D'accf_data.kld' > .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/sys/GENERIC-NODBG/modules/usr/src/sys/modules/accf_data/accf_da= ta.kld.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dye= s verbose' > _ERROR_CMD=3D'ld -m aarch64elf -d -warn-common -r -d -o accf_data.kld a= ccf_data.o; ctfmerge -L VERSION -g -o accf_data.kld accf_data.o; :> expor= t_syms; awk -f /usr/src/sys/conf/kmod_syms.awk accf_data.kld export_syms= | xargs -J% objcopy % accf_data.kld;' > .CURDIR=3D'/usr/src/sys/modules/accf_data' > .MAKE=3D'make' > .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64= /sys/GENERIC-NODBG/modules/usr/src/sys/modules/accf_data' > .TARGETS=3D'all' > DESTDIR=3D'' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'arm64' > MACHINE_ARCH=3D'aarch64' > MAKEOBJDIRPREFIX=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/sys/GENERIC-NODBG/modules' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20180512' > PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p/legacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aa= rch64/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/a= rm64.aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/sr= c/arm64.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/s= rc/arm64.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/= sys/GENERIC-NODBG/modules/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys= =2Eenv.mk /usr/src/share/mk/src.sys.env.mk /root/src.configs/src.conf.cor= texA53-clang-bootstrap.amd64-host /usr/src/share/mk/bsd.mkopt.mk /usr/src= /share/mk/src.sys.obj.mk /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/= bsd.suffixes.mk /root/src.configs/make.conf /usr/src/share/mk/local.sys.m= k /usr/src/share/mk/src.sys.mk /dev/null /usr/src/sys/modules/accf_data/M= akefile /usr/src/share/mk/bsd.kmod.mk /usr/src/sys/conf/kmod.mk /usr/src/= share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.= cpu.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src.init.mk /usr= /src/sys/modules/accf_data/../Makefile.inc /usr/src/share/mk/bsd.own.mk /= usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk /usr/src= /sys/conf/kern.opts.mk /usr/src/sys/conf/config.mk /usr/src/share/mk/bsd.= links.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze= =2Emk /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk /usr/s= rc/sys/conf/kern.mk' > .PATH=3D'. /usr/src/sys/modules/accf_data /usr/src/sys/netinet /usr/obj= /cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-NODBG' > 1 error >=20 >=20 >=20 > Detailed context: >=20 > # uname -apKU > FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r336349M amd64 amd= 64 1200073 1200073 >=20 > The "M" is mostly for powerpc* family experiments: >=20 > # svnlite status /usr/src/ | sort > ? /usr/src/sys/amd64/conf/GENERIC-DBG > ? /usr/src/sys/amd64/conf/GENERIC-NODBG > ? /usr/src/sys/arm/conf/GENERIC-DBG > ? /usr/src/sys/arm/conf/GENERIC-NODBG > ? /usr/src/sys/arm64/conf/GENERIC-DBG > ? /usr/src/sys/arm64/conf/GENERIC-NODBG > ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG > ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG > ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG > ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG > M /usr/src/Makefile.libcompat > M /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp > M /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp > M /usr/src/crypto/openssl/crypto/armcap.c > M /usr/src/lib/libkvm/kvm_powerpc.c > M /usr/src/lib/libkvm/kvm_private.c > M /usr/src/release/Makefile.vm > M /usr/src/release/scripts/mk-vmimage.sh > M /usr/src/release/tools/vmimage.subr > M /usr/src/secure/lib/libcrypto/Makefile > M /usr/src/stand/defs.mk > M /usr/src/stand/powerpc/boot1.chrp/Makefile > M /usr/src/stand/powerpc/kboot/Makefile > M /usr/src/sys/arm64/arm64/identcpu.c > M /usr/src/sys/conf/kmod.mk > M /usr/src/sys/conf/ldscript.powerpc > M /usr/src/sys/powerpc/aim/mmu_oea64.c > M /usr/src/sys/powerpc/ofw/ofw_machdep.c >=20 > # more /usr/src/sys/arm64/conf/GENERIC-NODBG > # > # GENERIC -- Custom configuration for the arm64/aarch64 > # >=20 > include "GENERIC" >=20 > ident GENERIC-NODBG >=20 > makeoptions DEBUG=3D-g # Build kernel with gdb(1) de= bug symbols >=20 > options ALT_BREAK_TO_DEBUGGER >=20 > options KDB # Enable kernel debugger suppor= t >=20 > # For minimum debugger support (stable branch) use: > #options KDB_TRACE # Print a stack trace for a pan= ic > options DDB # Enable the kernel debugger >=20 > # Extra stuff: > #options VERBOSE_SYSINIT # Enable verbose sysinit messag= es > #options BOOTVERBOSE=3D1 > #options BOOTHOWTO=3DRB_VERBOSE > #options KTR > #options KTR_MASK=3DKTR_TRAP > ##options KTR_CPUMASK=3D0xF > #options KTR_VERBOSE >=20 > # Disable any extra checking for. . . > nooptions DEADLKRES # Enable the deadlock resolver > nooptions INVARIANTS # Enable calls of extra sanity = checking > nooptions INVARIANT_SUPPORT # Extra sanity checks of intern= al structures, required by INVARIANTS > nooptions WITNESS # Enable checks to detect deadl= ocks and cycles > nooptions WITNESS_SKIPSPIN # Don't run witness on spinlock= s for speed > nooptions DIAGNOSTIC > nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones > nooptions BUF_TRACKING > nooptions FULL_BUF_TRACKING >=20 >=20 > # more ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_boot= strap-amd64-host.sh -j4 kernel-toolchain buildkernel > kldload -n filemon && \ > script ~/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootst= rap-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" S= RC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64= -host" \ > WITH_META_MODE=3Dyes \ > MAKEOBJDIRPREFIX=3D"/usr/obj/cortexA53_clang/arm64.aarch64" \ > make $* >=20 >=20 > # more ~/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host > TO_TYPE=3Daarch64 > TOOLS_TO_TYPE=3D${TO_TYPE} > VERSION_CONTEXT=3D12.0 > # > KERNCONF=3DGENERIC-NODBG > TARGET=3Darm64 > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > WITH_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > WITHOUT_SYSTEM_LINKER=3D > # > WITH_LIBCPLUSPLUS=3D > WITH_LLD_BOOTSTRAP=3D > WITHOUT_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D > WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITH_LLD=3D > WITH_LLD_IS_LD=3D > WITH_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > # > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > #WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_REPRODUCIBLE_BUILD=3D > WITH_DEBUG_FILES=3D > # > #CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-unknown-freebsd${V= ERSION_CONTEXT}/bin/ > XCFLAGS+=3D -mcpu=3Dcortex-a53 > XCXXFLAGS+=3D -mcpu=3Dcortex-a53 > # There is no XCPPFLAGS but XCPP gets XCFLAGS content. > ACFLAGS.arm64cpuid.S+=3D -mcpu=3Dcortex-a53+crypto > ACFLAGS.aesv8-armx.S+=3D -mcpu=3Dcortex-a53+crypto > ACFLAGS.ghashv8-armx.S+=3D -mcpu=3Dcortex-a53+crypto >=20 >=20 > # more ~/src.configs/make.conf > CFLAGS.gcc+=3D -v >=20 >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 --=20 Regards, Bryan Drewery --B00CnU7wHsjjMXqvoeTfgybVZDaFqJEtr-- --9hQNWkjsIiiFcIPhNDnsTlDwnzJBg9A99 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAltNHNgACgkQNddxu25G l8+O9gf9Hz8QsXdsaRARH4qjLWrxuqAV11YV1w/VXG6+nb7fHwPItKOO7JtA8oAV SnNxU7b2F5iSxnZbWBD8g5tX+kZdL5eqNc8EYqGwxiaGsjFlSsocBivlI37OEZbQ oEiZrohHinMrt+iSUoPelRbXq7HoBJG9egzN3TUE/Yyeh7gKnfGmbp2tXDGrgbIT tWpGeiIPvFruh79tUzapGLktC9O7oYtC0cKuqY0aCJZf8T7/orHtAmnPUaAwBgrE NpRNQ3557r5Poqg823odO5Avx8GARbZ88xGlhy74lvp7YZiYU3Kx83FINaTMJfPR xFmX13AIMOy/RbcvQYoI0PLgMmZHrg== =XBV5 -----END PGP SIGNATURE----- --9hQNWkjsIiiFcIPhNDnsTlDwnzJBg9A99-- From owner-freebsd-arm@freebsd.org Mon Jul 16 22:59:58 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8250A1041503 for ; Mon, 16 Jul 2018 22:59:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-9.consmr.mail.gq1.yahoo.com (sonic316-9.consmr.mail.gq1.yahoo.com [98.137.69.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B87C86C8A for ; Mon, 16 Jul 2018 22:59:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: elj_JTUVM1mqv2gDysdYu1WBwS4VSu0RMbgjHQhQYJ8DsW3s9.S_y7rOWt20pmh 7RufEnikmEzKJWB9AKLki42TfMgT_5AN.n6eYUA76sw1hLRbXZosxRuuYQy.Y.lCXQVi9V2ZLSOv 75PYJFJvJSB4g5gWQ13oAojL.LDgzALtB.a_rTg.arDjg0o.HM5a7370kER05QZ3WQsEDguxJ3T_ X0GvpmGnh.DRBmctZqQXEkDyc8jvEHaht0xQMwol4QfJJEwRe8eZ3QQPG2G8PDG8jr3coustsBzV T4tat87qQsNgN3eZJgURJAIe1fcUXxPPKsFQdiOSawpkIQl9LbMX9T2UEgOZ3n0BwbfKDeQkhH81 l2KNL_9.KFWJY.Fqu9LIWrmSGWQyRL8KZU059trNMIlb.R8Be5ae7Pcbm0PGal7_knSBAuAYW1_V RhNwMr6noKf79EgEvBPTam7x8GbEtdEeFz9mSBaDNu3cLgGdGztoZZlrwB6FctiIDhrdAL8lmnxT sJb3FaTnZnOq5eIWWOEMoxEZ1J.8TwSWK3.QSIH3KQLE8v2UlJLqWkX.EPuFN2LxiQ2YKgYsiAqJ ZkLukvXS8RnnRAknX6xdvvxiD2_Q0eMf6fJ6uYdAFganD8ewQpe7parYjfNggKFsi8R2auANw1V5 .up71ud22Zg6yQpQ06h4v4aw4_sWB8jTgFm2C.gP8a43BsXu9XXiiULLscCb2we3rBsDoGnPE6s2 grvgCJcYmxPgt96Iv5CbgPxy5gAKzo5wFaI5beDAQXMMXEMqAaYl3dbGdhmMlFi5RiiGERmf3QE0 9iH8BbDlY7y_2.ysuS8UiZK5u40kZTXUCyt_AofjVFjlS.k7DZoBvpaYeB_uPl4CwOMV5CGY48AS ZR8spu8Av1wPyu0f0B5J4Ej1mBzXN9Rfy6G_3BVIP6cFJJaAFTZ7mlt3KF2vKUiTN2AVbP9glTvR W5CB3zqLFDIhIirm4L3J3LJqaYQWgrOTmIjaEkIMD98hN_IAjY7yF0nvzSliGqYbwGEa1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Mon, 16 Jul 2018 22:59:51 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp417.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d7ba5ffb21bfc24edaae8b7218e52d27; Mon, 16 Jul 2018 22:49:42 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd From: Mark Millard In-Reply-To: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> Date: Mon, 16 Jul 2018 15:49:40 -0700 Cc: FreeBSD Toolchain , freebsd-arm , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> References: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 22:59:58 -0000 On 2018-Jul-16, at 3:31 PM, Bryan Drewery = wrote: > On 7/16/18 1:21 PM, Mark Millard wrote: >> I attempted a from-scratch (. . ./arm64.aarch64/ empty) = kernel-toolchain buildkernel >> targeting aarch64 from amd64 based on head -r336349 . It failed by = ending up >> using an ld that can only target elf_x86_64_fbsd elf_i386_fbsd : >=20 > I probably extended the LLVM_TARGET_ALL=3Dno in cross-compiler too = far. I > thought I had left that out for kernel-toolchain but apparently not. >=20 > Try this patch and kernel-toolchain after applying please: > http://people.freebsd.org/~bdrewery/patches/cross-compiler-fix.diff > . . . Result is unchanged. Details follow. With: # svnlite diff /usr/src/Makefile.inc1 Index: /usr/src/Makefile.inc1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/Makefile.inc1 (revision 336349) +++ /usr/src/Makefile.inc1 (working copy) @@ -666,7 +666,7 @@ BMAKE=3D \ ${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ ${BSARGS} -.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) +.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) && !make(*toolchain*) BMAKE+=3D MK_LLVM_TARGET_ALL=3Dno .endif =20 used via: # rm -fr /usr/obj/cortexA53_clang/arm64.aarch64/* # = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh -j4 kernel-toolchain buildkernel I still get: --- buildkernel --- Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-N= ODBG/modules/usr/src/sys/modules/accf_data/accf_data.kld --- accf_data.kld --- ld: unrecognised emulation mode: aarch64elf Supported emulations: elf_x86_64_fbsd elf_i386_fbsd *** [accf_data.kld] Error code 1 Reminder of what my .sh script does: # more = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh kldload -n filemon && \ script = ~/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-amd64-= host-$(date +%Y-%m-%d:%H:%M:%S) \ env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64= -host" \ WITH_META_MODE=3Dyes \ MAKEOBJDIRPREFIX=3D"/usr/obj/cortexA53_clang/arm64.aarch64" \ make $* (I'll not repeat the other supporting material.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Mon Jul 16 23:48:03 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8ABFB1042EFB; Mon, 16 Jul 2018 23:48:03 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27355893CE; Mon, 16 Jul 2018 23:48:03 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id E3EB25FDB; Mon, 16 Jul 2018 23:48:02 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 8DAFBA00D; Mon, 16 Jul 2018 23:48:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id iyUPMC3Ti6S2; Mon, 16 Jul 2018 23:47:54 +0000 (UTC) Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 26314A008 To: Mark Millard Cc: FreeBSD Toolchain , freebsd-arm , FreeBSD Current References: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAHNJEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPsLAgAQTAQoAKgIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZAQUCWujOIgUJCmB7NwAKCRA113G7bkaXz/xpB/9b /UWIPbieY1IeIuHF2pyYPE7Hytkh3HVsxMA0F5Ma2AYQsXZZeKNKWrF7RPyDyDwUklLHJkhm k3EfClBbHxf08kMIm1vWCJRtgxic9knY/bzYGiWMpHjg3cSd1XfrYH1autYqTZAjDwIkgOjU dR//Tbn4V36sY7y2jz+kdMVWvK53U32aZqiwBbCn4DPe1wSZcUs17mV/0uZdIoGdj74B1orN A/0py5vHYo6HcbBNoaR8pKRLf5VZNRsxqGIMhTucx4SJWcHpuRBWYyvJSFzwvxdK4ZD4Yqoc kFGPVtOXktVMai9exrLvP3G77fKMu8DI6j4QRU4wCesnHuIfRPFuzsBNBFJphmsBCACiVFPf kNfaFtUSuY0395ueo/rMyHPGPQ2iwvERFCpeFGSQSgagpenNHLpFQKTg/dl6FOoST5tqyxMq fyHGHDzzU51bvA/IfaGoNi/BIhTe/toZNMRvpcI3PLjiGcnJnuwCCbAVOAGdb+t5cZtpNdOI cKYmrYG3u9RiBpe6dTF+qLrD/8Bs1wjhduQ8fcNNgnkXu8xDH4ZxY0lIc3QgvYWp9vimlQe6 iKjUd2/DX28ETZcD5h6pYV331KMPTrEI0p0yvFijUZce8c1XHFyL1j9sBAha5qpszJl6Uq5i LolhKRcGfcdmtD72vHQjUYglUyudSJUVyo2gMYjdbiFKzJulABEBAAHCwGUEGAEKAA8CGwwF AlrozigFCQpgez0ACgkQNddxu25Gl8+m5Af/R3VEdxNMAcDIes9ADhQyofj20SPV3eCJ3HYR OebTSuNdOudGt4AAyA8Ks94u9hiIp5IGsc6RDsT9W7O2vgXhd6eV3eiY5Oif5xLIYrIDVu1Y 1GyRxRrPEn/QOqDN6uFZCPwK1aOapGcYCrO9lB0gMuTVfgHanU61rgC9tMX0OoAOyRd+V3/M 8lDNhjJdF/IpO3SdYzKfkwduy4qamw4Gphcx/RfYQvYLq/eDkP8d50PphWdboqWBwNRHayro W/07OGzfxM5fJ5mBsXPQcO2QcRjkyHf6xCM6Hi1qQL4OnXMNE/ZTX0lnOj1/pH93TlzSHZMP TaiiA/MBD3vGsXBmBg== Organization: FreeBSD Message-ID: <0b5b2181-7335-325c-3e7a-f882a48fcd69@FreeBSD.org> Date: Mon, 16 Jul 2018 16:47:53 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7Rd8MBSaacApsny1CN7IoCbi05fTFLgZH" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2018 23:48:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7Rd8MBSaacApsny1CN7IoCbi05fTFLgZH Content-Type: multipart/mixed; boundary="YwE7MHjPBi2iZDHrPika8svfGIe9a5wF2"; protected-headers="v1" From: Bryan Drewery To: Mark Millard Cc: FreeBSD Toolchain , freebsd-arm , FreeBSD Current Message-ID: <0b5b2181-7335-325c-3e7a-f882a48fcd69@FreeBSD.org> Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd References: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> In-Reply-To: <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> --YwE7MHjPBi2iZDHrPika8svfGIe9a5wF2 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 7/16/2018 3:49 PM, Mark Millard wrote: >=20 >=20 > On 2018-Jul-16, at 3:31 PM, Bryan Drewery wro= te: >=20 >> On 7/16/18 1:21 PM, Mark Millard wrote: >>> I attempted a from-scratch (. . ./arm64.aarch64/ empty) kernel-toolch= ain buildkernel >>> targeting aarch64 from amd64 based on head -r336349 . It failed by en= ding up >>> using an ld that can only target elf_x86_64_fbsd elf_i386_fbsd : >> >> I probably extended the LLVM_TARGET_ALL=3Dno in cross-compiler too far= =2E I >> thought I had left that out for kernel-toolchain but apparently not. >> >> Try this patch and kernel-toolchain after applying please: >> http://people.freebsd.org/~bdrewery/patches/cross-compiler-fix.diff >> . . . >=20 > Result is unchanged. Details follow. Ok, I'll look more tomorrow. >=20 > With: >=20 > # svnlite diff /usr/src/Makefile.inc1 > Index: /usr/src/Makefile.inc1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/Makefile.inc1 (revision 336349) > +++ /usr/src/Makefile.inc1 (working copy) > @@ -666,7 +666,7 @@ > BMAKE=3D \ > ${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ > ${BSARGS} > -.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) > +.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) && !make(*toolchain*) > BMAKE+=3D MK_LLVM_TARGET_ALL=3Dno > .endif > =20 > used via: >=20 > # rm -fr /usr/obj/cortexA53_clang/arm64.aarch64/* > # ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap= -amd64-host.sh -j4 kernel-toolchain buildkernel >=20 > I still get: >=20 > --- buildkernel --- > Building /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/s= ys/GENERIC-NODBG/modules/usr/src/sys/modules/accf_data/accf_data.kld > --- accf_data.kld --- > ld: unrecognised emulation mode: aarch64elf > Supported emulations: elf_x86_64_fbsd elf_i386_fbsd > *** [accf_data.kld] Error code 1 >=20 >=20 >=20 > Reminder of what my .sh script does: >=20 > # more ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_boot= strap-amd64-host.sh > kldload -n filemon && \ > script ~/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootst= rap-amd64-host-$(date +%Y-%m-%d:%H:%M:%S) \ > env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" S= RC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64= -host" \ > WITH_META_MODE=3Dyes \ > MAKEOBJDIRPREFIX=3D"/usr/obj/cortexA53_clang/arm64.aarch64" \ > make $* >=20 > (I'll not repeat the other supporting material.) >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 --=20 Regards, Bryan Drewery --YwE7MHjPBi2iZDHrPika8svfGIe9a5wF2-- --7Rd8MBSaacApsny1CN7IoCbi05fTFLgZH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE+Rc8ssOq6npcih8JNddxu25Gl88FAltNLq5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 MTczQ0IyQzNBQUVBN0E1QzhBMUYwOTM1RDc3MUJCNkU0Njk3Q0YACgkQNddxu25G l8+eKwf/Yg98Y1BAGfFWVVj85w5ii1FSLI7wqNOfXk9ZiPvQFfNtGfLoXOIuVbqI mB2gjclNTj10iO75IiiwsUZhXxIc2BMECFDYNE08erDu9wn9J0ifMlROGIlmhF3H x3yZyBBmsIW2b2c33Q0jWEU6Jx78HlK3Ijxuwbhs1u0ZyAXIyRVoqEpjhhxlF1lk 5ieZWTGDVykig8lPQo4Qih1iFROfWDhGwKGpYwkFa5H2jh6Y/paJgIk+KAjUcOa1 JO+PDhwEH9ocZnhQVOR/ptDLh+mxoM6whfCQtTI9r3RFphM1wMXQRTe/EpBjRnRE k+Rh94VKNDdgLfGXDZrGj9Sm5QEDCA== =bZ38 -----END PGP SIGNATURE----- --7Rd8MBSaacApsny1CN7IoCbi05fTFLgZH-- From owner-freebsd-arm@freebsd.org Tue Jul 17 01:13:39 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1B1B1046853 for ; Tue, 17 Jul 2018 01:13:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-23.consmr.mail.ne1.yahoo.com (sonic312-23.consmr.mail.ne1.yahoo.com [66.163.191.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 676688C46C for ; Tue, 17 Jul 2018 01:13:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: QRtfCPgVM1mcQtvFFW_joZs1XU4cUvd.oixvSkt8pPs37xl0SoR79SQQCUyFhQd Lo8CvdYIqyQzQDIMB7oeKVhWLklVsemISc7Cv7FcLgDzyLTdl_7GxXsdpRMgTUb_qodhTrB9QAIH zx2QyjsLQnotZtPhw9z2lwfvtjfg3hOZYG_nNiZjV3RXiChTS1HhZPFKxHfeZAFOC2DI5EscoCMf e5QwBHmmBkaBiH7Lpg1cP886fuRx8.WpnfXK7bOPlJJtPZnlVppF2Kkz5YpSh_WO_Ay4fexD6upM RAjInMbDI3LrDGMsiDKJ1OPMLPwvjQZS0mu6v0jzOPfRB4tUyCSG0oSMFpXEEVQ6JbNjJMpZiJq. SVi_dlkhGKideVJfg7TcKdds3cOxk5tlN2OtwrYZ9wnf8OA9lx4T7x5bfyLwh5ay8zLkx3C0LRcz jO2PmFeGqATQDWeqGIFXsDs3dmnDxtSwROZKfUZHq.NZTq.S8yMySPYEpWpVga2XLfmTaIX8mIxu XJYJRdjazRISrt9gg8qJ_X5jtJt38gFl2cN9BXAbMEQ96flJnqiMfyKXFMyLoFYhaRBoutMT0YnT vIrKScN5ppgRKAR6ICDhP8w8NBV3IjYBex7pcjVt0ps3ioKRTbbzSeEW63xxmEjHaXtJLDiL7Icc g4W3T7ZnxCcFTaQO7acTyfoLOAKS5SwnewJczKyOSsk8yplRDQCrpCEnEcACVKokysY8SdzVt1JC BE8Zy_fVf6raB2aRKSLwx7m2gDUn0BqHcWRActUIvELNXa5pBNvKNgarcICqQ8Xe8ByHO8P4ybLR EOzUTFqG.dj957iaTPU0GZMh77MekFytAa5dOI7t5xH_5yup52yW7bnBJvPFT7KN3jfMUF8cXENZ qp7_TZC.anBrYO.hwSDIlDrRwrvoRp2rOok1CtlY_fZW0vdsnyY1E5hqcMOr3ASgwzcQfhXOZ1kl PHZ1K_1beVsjpuzEeoNZs4gj_8eE10QrmVzdEd0OR7m5zgzlaKmnn3CppDiYGTItbmfM- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Tue, 17 Jul 2018 01:13:32 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp403.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e5586212203d50a7fb00ffe5e01ba5ed; Tue, 17 Jul 2018 01:13:29 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd From: Mark Millard In-Reply-To: <0b5b2181-7335-325c-3e7a-f882a48fcd69@FreeBSD.org> Date: Mon, 16 Jul 2018 18:13:27 -0700 Cc: FreeBSD Toolchain , freebsd-arm , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <2A128804-82FA-4315-9FD9-F109FAF7216B@yahoo.com> References: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> <0b5b2181-7335-325c-3e7a-f882a48fcd69@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 01:13:40 -0000 On 2018-Jul-16, at 4:47 PM, Bryan Drewery = wrote: > On 7/16/2018 3:49 PM, Mark Millard wrote: >>=20 >>=20 >> On 2018-Jul-16, at 3:31 PM, Bryan Drewery = wrote: >>=20 >>> On 7/16/18 1:21 PM, Mark Millard wrote: >>>> I attempted a from-scratch (. . ./arm64.aarch64/ empty) = kernel-toolchain buildkernel >>>> targeting aarch64 from amd64 based on head -r336349 . It failed by = ending up >>>> using an ld that can only target elf_x86_64_fbsd elf_i386_fbsd : >>>=20 >>> I probably extended the LLVM_TARGET_ALL=3Dno in cross-compiler too = far. I >>> thought I had left that out for kernel-toolchain but apparently not. >>>=20 >>> Try this patch and kernel-toolchain after applying please: >>> http://people.freebsd.org/~bdrewery/patches/cross-compiler-fix.diff >>> . . . >>=20 >> Result is unchanged. Details follow. >=20 > Ok, I'll look more tomorrow. >=20 >>=20 >> With: >>=20 >> # svnlite diff /usr/src/Makefile.inc1 >> Index: /usr/src/Makefile.inc1 >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- /usr/src/Makefile.inc1 (revision 336349) >> +++ /usr/src/Makefile.inc1 (working copy) >> @@ -666,7 +666,7 @@ >> BMAKE=3D \ >> ${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ >> ${BSARGS} >> -.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) >> +.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) && !make(*toolchain*) >> BMAKE+=3D MK_LLVM_TARGET_ALL=3Dno >> .endif >>=20 >> used via: >>=20 >> # rm -fr /usr/obj/cortexA53_clang/arm64.aarch64/* >> # = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh -j4 kernel-toolchain buildkernel >>=20 >> I still get: >>=20 >> --- buildkernel --- >> Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-N= ODBG/modules/usr/src/sys/modules/accf_data/accf_data.kld >> --- accf_data.kld --- >> ld: unrecognised emulation mode: aarch64elf >> Supported emulations: elf_x86_64_fbsd elf_i386_fbsd >> *** [accf_data.kld] Error code 1 >>=20 >>=20 >>=20 >> Reminder of what my .sh script does: >>=20 >> # more = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh >> kldload -n filemon && \ >> script = ~/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-amd64-= host-$(date +%Y-%m-%d:%H:%M:%S) \ >> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64= -host" \ >> WITH_META_MODE=3Dyes \ >> MAKEOBJDIRPREFIX=3D"/usr/obj/cortexA53_clang/arm64.aarch64" \ >> make $* >>=20 >> (I'll not repeat the other supporting material.) In case it helps: # = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh test-system-linker Script started, output file is = /root/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-am= d64-host-2018-07-16:17:48:38 USING_SYSTEM_LINKER =3D no MK_SYSTEM_LINKER =3D no MK_LLD_BOOTSTRAP =3D yes MK_BINUTILS_BOOTSTRAP =3D no WANT_LINKER_TYPE =3D lld WANT_LINKER_VERSION =3D 60001 WANT_LINKER_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc WANT_LINKER_FREEBSD_VERSION =3D 335540-1200003 WANT_LINKER_FREEBSD_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc LD =3D ld LINKER_TYPE =3D bfd LINKER_FEATURES =3D filter LINKER_VERSION =3D 21750 LINKER_FREEBSD_VERSION =3D 0 XLD =3D ld X_LINKER_TYPE =3D bfd X_LINKER_FEATURES =3D filter X_LINKER_VERSION =3D 21750 X_LINKER_FREEBSD_VERSION =3D 0 Script done, output file is = /root/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-am= d64-host-2018-07-16:17:48:38 The part after the WANT_'s looks odd to me. (I think the above type of output would be good in ci.freebsd.org build logs for the likes of FreeBSD-head-*-build . Similarly for test-system-compiler output.) I get similar oddness for a self-hosted amd64 build via my usual .sh and src/make configuration files: # ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh = test-system-linker Script started, output file is = /root/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2018-= 07-16:18:00:52 USING_SYSTEM_LINKER =3D no MK_SYSTEM_LINKER =3D yes MK_LLD_BOOTSTRAP =3D yes MK_BINUTILS_BOOTSTRAP =3D yes WANT_LINKER_TYPE =3D lld WANT_LINKER_VERSION =3D 60001 WANT_LINKER_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc WANT_LINKER_FREEBSD_VERSION =3D 335540-1200003 WANT_LINKER_FREEBSD_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc LD =3D ld LINKER_TYPE =3D bfd LINKER_FEATURES =3D filter LINKER_VERSION =3D 21750 LINKER_FREEBSD_VERSION =3D 0 XLD =3D ld X_LINKER_TYPE =3D bfd X_LINKER_FEATURES =3D filter X_LINKER_VERSION =3D 21750 X_LINKER_FREEBSD_VERSION =3D 0 Script done, output file is = /root/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2018-= 07-16:18:00:52 (In both contexts test-system-compiler output seemed reasonable to me.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Jul 17 01:46:16 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B9A1104965A for ; Tue, 17 Jul 2018 01:46:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-12.consmr.mail.ne1.yahoo.com (sonic313-12.consmr.mail.ne1.yahoo.com [66.163.185.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFEF48DFB0 for ; Tue, 17 Jul 2018 01:46:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: fZ8WGlcVM1k6fUW5g4R69iqDcu18ePoHe5hDyL49a2UOf_4XcPe4kBcCrvFtNkY 5xSSHKevpbA7LzcMQxfll4Z5J7r1DpvhNU9cXdbmojgalyXjDwmDMbLPGveMv7P398ckY_.95jIl 4xby.h3B5zfZ6gbaBAJOJ9uOpWowuEYUVI0ejMhQsWy5vQC.vYrPN6M4IuingETymJ6lcHwQdqrd E62Md4kulzTn3PJ_HGEnNBEuyvOsqiWOHGpalaaD8IAEDeI8qsustO6F45pKBeSUfECgaB1dFjtb .6lRYufkqpBrXoWNQXBZZDOE50mFOm9vks1DIeJsxbUbJHkrwfax4mXtaFcNSgctqfCWerTzZxlL txG3NpsATIuBaPJXluVqdNRvk1D5CIXO.ATgVI4u05pxiZ54tz6X.IAk.mgJ1HAJVjuRpU9x0Up0 vfB_Lbx4Xjy38bbqSzzr0W_V2eHTBFcLnlPrq3Zo4VSdeOMAB9teqMVNwXx_2lvJatozQW_fj7yX kHlf3_FHgZoZBxOgWwS6RBsJPVK6wVNoHZB2766HjLyT3A3pUhTGLyQwvt.upbx34.VVFR3cDX_L GwMtQRiKmvBRUBWjOiivYbWpspIGfWIyovPBt6MJR8BUASegTDwEtf7ah4ui.1TTMTsCPFlv8_7b 5ab6b0xoTx63MooN2JYtT.QskYb7tnDVpeZcwGvuXL7yOpwBsxukQ1D9dVr8b7Y_8g9_XFzWxckv 5bZCKNdRt_DMFhzxZ1rJE21eA5ZyiFSddoqBjUzBTGzOoJke.izx6VNmFPEVRdqekQwURX_IQTmW APhzWfzq4dGsacNAI7ZHj76QnzXqfUE_6_LFQhH.0KnVH4UDI1PsfLYTXml27UYFPKQwXU4G4Q3G 8eMlnGjokSi1bJwg3.W9DfEa4BJRWU0L9P8QGs9M4uzotL8vCYNndDADWANQBhenwlUPYwCKArk0 in4EsO7zMMYjHrQg49MysVvJurHxQon8JbxgMsgTiiMzc6UpVbPkBdg.Vox6UuG90pDCwfB96dA- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 17 Jul 2018 01:46:09 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp420.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID dfa1c5b26052016dc45f53d50b83c24c; Tue, 17 Jul 2018 01:46:04 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: New kernel-toolchain buildkernel problem for amd64 -> aarch64 cross build ( after -r336348 ) : ld used for addf_data only can target: elf_x86_64_fbsd elf_i386_fbsd From: Mark Millard In-Reply-To: <2A128804-82FA-4315-9FD9-F109FAF7216B@yahoo.com> Date: Mon, 16 Jul 2018 18:46:02 -0700 Cc: FreeBSD Toolchain , freebsd-arm , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <22626F9B-4337-4C06-BB24-5BAB5AD52300@yahoo.com> References: <81184558-6b23-085b-19e3-b11569808174@FreeBSD.org> <09601A6A-C275-4B90-9A76-7C64E2CA7B32@yahoo.com> <0b5b2181-7335-325c-3e7a-f882a48fcd69@FreeBSD.org> <2A128804-82FA-4315-9FD9-F109FAF7216B@yahoo.com> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 01:46:16 -0000 [ toolchain-metadata.mk is missing when kernel-toolchain is used. I've no clue if this is intentional or not. ] On 2018-Jul-16, at 6:13 PM, Mark Millard wrote: > On 2018-Jul-16, at 4:47 PM, Bryan Drewery = wrote: >=20 >> On 7/16/2018 3:49 PM, Mark Millard wrote: >>>=20 >>>=20 >>> On 2018-Jul-16, at 3:31 PM, Bryan Drewery = wrote: >>>=20 >>>> On 7/16/18 1:21 PM, Mark Millard wrote: >>>>> I attempted a from-scratch (. . ./arm64.aarch64/ empty) = kernel-toolchain buildkernel >>>>> targeting aarch64 from amd64 based on head -r336349 . It failed by = ending up >>>>> using an ld that can only target elf_x86_64_fbsd elf_i386_fbsd : >>>>=20 >>>> I probably extended the LLVM_TARGET_ALL=3Dno in cross-compiler too = far. I >>>> thought I had left that out for kernel-toolchain but apparently = not. >>>>=20 >>>> Try this patch and kernel-toolchain after applying please: >>>> http://people.freebsd.org/~bdrewery/patches/cross-compiler-fix.diff >>>> . . . >>>=20 >>> Result is unchanged. Details follow. >>=20 >> Ok, I'll look more tomorrow. >>=20 >>>=20 >>> With: >>>=20 >>> # svnlite diff /usr/src/Makefile.inc1 >>> Index: /usr/src/Makefile.inc1 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>> --- /usr/src/Makefile.inc1 (revision 336349) >>> +++ /usr/src/Makefile.inc1 (working copy) >>> @@ -666,7 +666,7 @@ >>> BMAKE=3D \ >>> ${BMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 \ >>> ${BSARGS} >>> -.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) >>> +.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL) && !make(*toolchain*) >>> BMAKE+=3D MK_LLVM_TARGET_ALL=3Dno >>> .endif >>>=20 >>> used via: >>>=20 >>> # rm -fr /usr/obj/cortexA53_clang/arm64.aarch64/* >>> # = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh -j4 kernel-toolchain buildkernel >>>=20 >>> I still get: >>>=20 >>> --- buildkernel --- >>> Building = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys/GENERIC-N= ODBG/modules/usr/src/sys/modules/accf_data/accf_data.kld >>> --- accf_data.kld --- >>> ld: unrecognised emulation mode: aarch64elf >>> Supported emulations: elf_x86_64_fbsd elf_i386_fbsd >>> *** [accf_data.kld] Error code 1 >>>=20 >>>=20 >>>=20 >>> Reminder of what my .sh script does: >>>=20 >>> # more = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh >>> kldload -n filemon && \ >>> script = ~/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-amd64-= host-$(date +%Y-%m-%d:%H:%M:%S) \ >>> env __MAKE_CONF=3D"/root/src.configs/make.conf" SRCCONF=3D"/dev/null" = SRC_ENV_CONF=3D"/root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64= -host" \ >>> WITH_META_MODE=3Dyes \ >>> MAKEOBJDIRPREFIX=3D"/usr/obj/cortexA53_clang/arm64.aarch64" \ >>> make $* >>>=20 >>> (I'll not repeat the other supporting material.) >=20 > In case it helps: >=20 > # = ~/sys_build_scripts.amd64-host/make_cortexA53_nodebug_clang_bootstrap-amd6= 4-host.sh test-system-linker > Script started, output file is = /root/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-am= d64-host-2018-07-16:17:48:38 > USING_SYSTEM_LINKER =3D no > MK_SYSTEM_LINKER =3D no > MK_LLD_BOOTSTRAP =3D yes > MK_BINUTILS_BOOTSTRAP =3D no > WANT_LINKER_TYPE =3D lld > WANT_LINKER_VERSION =3D 60001 > WANT_LINKER_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc > WANT_LINKER_FREEBSD_VERSION =3D 335540-1200003 > WANT_LINKER_FREEBSD_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc > LD =3D ld > LINKER_TYPE =3D bfd > LINKER_FEATURES =3D filter > LINKER_VERSION =3D 21750 > LINKER_FREEBSD_VERSION =3D 0 > XLD =3D ld > X_LINKER_TYPE =3D bfd > X_LINKER_FEATURES =3D filter > X_LINKER_VERSION =3D 21750 > X_LINKER_FREEBSD_VERSION =3D 0 >=20 > Script done, output file is = /root/sys_typescripts/typescript_make_cortexA53_nodebug_clang_bootstrap-am= d64-host-2018-07-16:17:48:38 >=20 > The part after the WANT_'s looks odd to me. >=20 > (I think the above type of output would be good in ci.freebsd.org > build logs for the likes of FreeBSD-head-*-build . Similarly for > test-system-compiler output.) >=20 > I get similar oddness for a self-hosted amd64 build via my > usual .sh and src/make configuration files: >=20 > # = ~/sys_build_scripts.amd64-host/make_amd64_nodebug_clang-amd64-host.sh = test-system-linker > Script started, output file is = /root/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2018-= 07-16:18:00:52 > USING_SYSTEM_LINKER =3D no > MK_SYSTEM_LINKER =3D yes > MK_LLD_BOOTSTRAP =3D yes > MK_BINUTILS_BOOTSTRAP =3D yes > WANT_LINKER_TYPE =3D lld > WANT_LINKER_VERSION =3D 60001 > WANT_LINKER_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc > WANT_LINKER_FREEBSD_VERSION =3D 335540-1200003 > WANT_LINKER_FREEBSD_VERSION_FILE =3D = lib/clang/include/lld/Common/Version.inc > LD =3D ld > LINKER_TYPE =3D bfd > LINKER_FEATURES =3D filter > LINKER_VERSION =3D 21750 > LINKER_FREEBSD_VERSION =3D 0 > XLD =3D ld > X_LINKER_TYPE =3D bfd > X_LINKER_FEATURES =3D filter > X_LINKER_VERSION =3D 21750 > X_LINKER_FREEBSD_VERSION =3D 0 >=20 > Script done, output file is = /root/sys_typescripts/typescript_make_amd64_nodebug_clang-amd64-host-2018-= 07-16:18:00:52 >=20 >=20 > (In both contexts test-system-compiler output seemed reasonable to > me.) In looking around I find that the kernel-toolchain tree does not have a toolchain-metadata.mk : # ls -lTdt = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/* drwxr-xr-x 7 root wheel 512 Jul 16 15:41:41 2018 = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp drwxr-xr-x 3 root wheel 512 Jul 16 15:41:41 2018 = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/sys (Of course the build failed and so did not execute everything.) The buildworld based ones do have such files. For example, the amd64 self-hosted build that used buildworld has: # more = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/toolchain-metadata.mk= .info Using cached toolchain metadata from build at FBSDUSSD on Mon Jul = 16 11:49:07 PDT 2018 _LOADED_TOOLCHAIN_METADATA=3Dt COMPILER_VERSION=3D60001 X_COMPILER_VERSION=3D60001 COMPILER_TYPE=3Dclang X_COMPILER_TYPE=3Dclang COMPILER_FEATURES=3D c++11 retpoline X_COMPILER_FEATURES=3D c++11 retpoline COMPILER_FREEBSD_VERSION=3D1200015 X_COMPILER_FREEBSD_VERSION=3D1200015 LINKER_VERSION=3D60001 X_LINKER_VERSION=3D60001 LINKER_FEATURES=3D build-id ifunc filter retpoline X_LINKER_FEATURES=3D build-id ifunc filter retpoline LINKER_TYPE=3Dlld X_LINKER_TYPE=3Dlld LINKER_FREEBSD_VERSION=3D335540-1200003 X_LINKER_FREEBSD_VERSION=3D335540-1200003 .export COMPILER_VERSION COMPILER_TYPE COMPILER_FEATURES = COMPILER_FREEBSD_VERSION LINKER_VERSION LINKER_FEATURES LINKER_TYPE = LINKER_FREEBSD_VERSION .export X_COMPILER_VERSION X_COMPILER_TYPE X_COMPILER_FEATURES = X_COMPILER_FREEBSD_VERSION X_LINKER_VERSION X_LINKER_FEATURES = X_LINKER_TYPE X_LINKER_FREEBSD_VERSION (This is despite what test-system-linker showed for that tree.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Jul 17 22:29:57 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22575102418F for ; Tue, 17 Jul 2018 22:29:57 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter06.peak.org (filter06.peak.org [69.59.194.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A18BC7C735 for ; Tue, 17 Jul 2018 22:29:56 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter06.peak.org ({0c47b2c3-829a-4f18-b445-de68be8d048d}) via TCP (outbound) with ESMTPS id 20180717222945806_0000 for ; Tue, 17 Jul 2018 15:29:45 -0700 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id 1B75D4CE35 for ; Tue, 17 Jul 2018 15:29:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id F37314CE7F for ; Tue, 17 Jul 2018 15:29:39 -0700 (PDT) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AjiAct7X-7aq for ; Tue, 17 Jul 2018 15:29:39 -0700 (PDT) Received: from mailproxy-lb-05.peak.org (mailproxy-lb-05.peak.org [207.55.17.95]) by zmail-mta02.peak.org (Postfix) with ESMTP id ADF6C4CE35 for ; Tue, 17 Jul 2018 15:29:39 -0700 (PDT) Received: from localhost.localnet ([127.0.0.1] helo=elm.localnet) by elm.localnet with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1ffYTR-0006i2-Pu for freebsd-arm@freebsd.org; Tue, 17 Jul 2018 15:29:37 -0700 Received: (from carlj@localhost) by elm.localnet (8.15.2/8.15.2/Submit) id w6HMTbaj025793; Tue, 17 Jul 2018 15:29:37 -0700 (PDT) (envelope-from carlj) From: Carl Johnson To: freebsd-arm@freebsd.org Subject: Crossbuilding packages fails for 11.2-RELEASE on RPI2 X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 17 Jul 2018 15:29:37 -0700 Message-ID: <86y3e9pkby.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 22:29:57 -0000 Hello, I just attempted to build packages to upgrade an RPI2 with 11.1-RELEASE to 11.2-RELEASE. This was a cross build on an AMD64 that is itself running 11.2-RELEASE, and I have done several similar upgrades before. The initial buildworld and buildkernel worked fine, but failed with the packages target. The failure was 'Unassociated shell command' and a LONG line after that. I don't know enough of the build process to figure out where the problem is on that long line. I am including the last part of the build log below. Thanks for any suggestions on how I can fix this. ---------- end of build log below ------------ install -U -M /usr/obj/usr/src/arm.armv6/kernelstage//kernel.premeta -D /us= r/obj/usr/src/arm.armv6/kernelstage -T debug -o root -g wheel -m 555 zlib= .ko.debug /usr/obj/usr/src/arm.armv6/kernelstage/kernel/usr/lib/debug/boot/= kernel/ kldxref /usr/obj/usr/src/arm.armv6/kernelstage/kernel/boot/kernel --- create-packages --- --- create-world-packages --- make[5]: "/usr/src/Makefile.inc1" line 1517: Unassociated shell command "@c= d ${KSTAGEDIR}/${DISTDIR} ; awk -f ${SRCDIR}/release/scripts/mtree-to-plis= t.awk -v kernel=3Dyes -v _kernconf=3D${INSTALLKERNEL} ${KSTAGEDIR}/kernel= .meta ; cap_arg=3D`cd ${SRCDIR}/etc ; ${MAKE} -VCAP_MKDB_ENDIAN` ; pwd_ar= g=3D`cd ${SRCDIR}/etc ; ${MAKE} -VPWD_MKDB_ENDIAN` ; sed -e "s/%VERSION%/$= {PKG_VERSION}/" -e "s/%PKGNAME%/kernel-${INSTALLKERNEL:tl}${:U""}/" -e "s= /%KERNELDIR%/kernel/" -e "s/%COMMENT%/FreeBSD ${INSTALLKERNEL} kernel ${:U= ""}/" -e "s/%DESC%/FreeBSD ${INSTALLKERNEL} kernel ${:U""}/" -e "s/%CAP_M= KDB_ENDIAN%/$${cap_arg}/g" -e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}/g" ${SRCDI= R}/release/packages/kernel.ucl > ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLK= ERNEL}${:U""}.ucl ; awk -F\" ' /name/ { printf("=3D=3D=3D> Creating %s-",= $$2); next } /version/ {print $$2; next } ' ${KSTAGEDIR}/${DISTDIR}/kern= el.${INSTALLKERNEL}${:U""}.ucl ; ${PKG_CMD} -o ABI_FILE=3D${WSTAGEDIR}/bin= /sh -o ALLOW_BASE_SHLIBS=3Dyes create -M ${KSTAGEDIR}/${DISTDIR}/kernel.${= INSTALLKERNEL}${:U""}.ucl -p ${KSTAGEDIR}/${DISTDIR}/kernel.${INSTALLKERNE= L}${:U""}.plist -r ${KSTAGEDIR}/${DISTDIR} -o ${REPODIR}/$$(${PKG_CMD} -o= ABI_FILE=3D${WSTAGEDIR}/bin/sh config ABI)/${PKG_VERSION}" make[5]: "/usr/src/Makefile.inc1" line 1517: Unassociated shell command "@c= d ${KSTAGEDIR}/${DISTDIR} ; awk -f ${SRCDIR}/release/scripts/mtree-to-plis= t.awk -v kernel=3Dyes -v _kernconf=3D${INSTALLKERNEL} ${KSTAGEDIR}/kernel= .meta ; cap_arg=3D`cd ${SRCDIR}/etc ; ${MAKE} -VCAP_MKDB_ENDIAN` ; pwd_ar= g=3D`cd ${SRCDIR}/etc ; ${MAKE} -VPWD_MKDB_ENDIAN` ; sed -e "s/%VERSION%/$= {PKG_VERSION}/" -e "s/%PKGNAME%/kernel-${INSTALLKERNEL:tl}${:U-debug}/" -= e "s/%KERNELDIR%/kernel/" -e "s/%COMMENT%/FreeBSD ${INSTALLKERNEL} kernel = ${:U-debug}/" -e "s/%DESC%/FreeBSD ${INSTALLKERNEL} kernel ${:U-debug}/" = -e "s/%CAP_MKDB_ENDIAN%/$${cap_arg}/g" -e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}= /g" ${SRCDIR}/release/packages/kernel.ucl > ${KSTAGEDIR}/${DISTDIR}/kerne= l.${INSTALLKERNEL}${:U-debug}.ucl ; awk -F\" ' /name/ { printf("=3D=3D=3D= > Creating %s-", $$2); next } /version/ {print $$2; next } ' ${KSTAGEDIR}= /${DISTDIR}/kernel.${INSTALLKERNEL}${:U-debug}.ucl ; ${PKG_CMD} -o ABI_FIL= E=3D${WSTAGEDIR}/bin/sh -o ALLOW_BASE_SHLIBS=3Dyes create -M ${KSTAGEDIR}/= ${DISTDIR}/kernel.${INSTALLKERNEL}${:U-debug}.ucl -p ${KSTAGEDIR}/${DISTDI= R}/kernel.${INSTALLKERNEL}${:U-debug}.plist -r ${KSTAGEDIR}/${DISTDIR} -o= ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=3D${WSTAGEDIR}/bin/sh config ABI)/${P= KG_VERSION}" make[5]: Fatal errors encountered -- cannot continue make[5]: stopped in /usr/src *** [create-world-packages] Error code 1 make[4]: stopped in /usr/src 1 error make[4]: stopped in /usr/src *** [create-packages] Error code 2 make[3]: stopped in /usr/src 1 error make[3]: stopped in /usr/src *** [real-packages] Error code 2 make[2]: stopped in /usr/src 1 error make[2]: stopped in /usr/src *** [packages] Error code 2 make[1]: stopped in /usr/src 1 error make[1]: stopped in /usr/src *** [packages] Error code 2 make: stopped in /usr/src .ERROR_TARGET=3D'packages' .ERROR_META_FILE=3D'' .MAKE.LEVEL=3D'0' MAKEFILE=3D'' .MAKE.MODE=3D'normal' _ERROR_CMD=3D'.PHONY' .CURDIR=3D'/usr/src' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/usr/src' .TARGETS=3D'packages' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'/usr/obj' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20180222' PATH=3D'/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/obj/usr/src' 1 error make: stopped in /usr/src .ERROR_TARGET=3D'packages' .ERROR_META_FILE=3D'' .MAKE.LEVEL=3D'0' MAKEFILE=3D'' .MAKE.MODE=3D'normal' _ERROR_CMD=3D'.PHONY' .CURDIR=3D'/usr/src' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/usr/src' .TARGETS=3D'packages' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'/usr/obj' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20180222' PATH=3D'/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/obj/usr/src' ------------ End of build log ------------- --=20 Carl Johnson carlj@peak.org From owner-freebsd-arm@freebsd.org Wed Jul 18 01:53:58 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C075D102EFB8 for ; Wed, 18 Jul 2018 01:53:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A6EA828CA for ; Wed, 18 Jul 2018 01:53:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x233.google.com with SMTP id q20-v6so1956997ith.0 for ; Tue, 17 Jul 2018 18:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to; bh=y4MUsm94cEpS6Az/gxBAQWUev18KylMVc6d6Un008VA=; b=iWAWVv/cP44dWbnI4+D56YIaaTDOZh2pqVPslaNzZd05JP//u636/aGoaaIne0/lFW O431S0SZ882elrw1YGkDvptfkR3B/6/sizjmRVrkfffYsVEN5o3FJRjtt3QAgtkEMlOT hQItKyyigwHP7kiWKfMoqvsHbk8ZL2RK4t2cHqCvM7uIHA5VvDgD42SgDlIYCvBPK39f Cjr+/8dDGeWyKsbSrx6s5dUUP2snfYWbA5MeQh9v9jkyGbIuWswoFcxU8E9zYT0LK8DF tihRUzs1FO/It/Ay7nz8tNl1m3CqWbOSvvG6rcPsz1Qoi6YfdXdMiHBhNDW+xreW1I4B FI2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=y4MUsm94cEpS6Az/gxBAQWUev18KylMVc6d6Un008VA=; b=Gxlxf5bnFbknmeCuU3rueSsAVQEl2ezEkZZ/FH/qPQiypWjBoDQ7UIBtPwE9nO7q4P MIrvwTqxrJjjZAIIPn0SsS36hyWsS0LBCfqB0I0ehK1XeaViK12/upqJRwbUiWmjKc49 4Ih7HtSQSMt1/0g5zpL79M7uvo1JAjbmvHBOGTlfceteXNBpwffEmtmhFVP5DVfDvBbo ymT+ap6ohPxCkV02YoS3DdqeFWrI4UYyq7sg687jbpz4/i8hElGxU9GzzjyCJz2Nu+Ng Ap0yb7c81cUMoJ58ReCpMXTmu0XJtOnTQSFxERZ+sVOH1xB00FfViSpIWvwVnpeH12Dr I5OA== X-Gm-Message-State: AOUpUlFCT34bG9iQvb1HDdc0mAwUQmKY4OcbtYYhtVKf59Cz274067sw jnvpLETiPFBW0Qg/9eSWBl/zX6Ys1QWIDx9q+xFx8j/A X-Google-Smtp-Source: AAOMgpcT3Nma9JGg4pxW8CXAXJ0h9cNAieOIGfwL17f1GnDu9wrwWIpAeCvAfOptVFCy69KSxM5AoA5v/kSKe1Q6KbA= X-Received: by 2002:a24:ad28:: with SMTP id c40-v6mr430823itf.36.1531878837023; Tue, 17 Jul 2018 18:53:57 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:1183:0:0:0:0:0 with HTTP; Tue, 17 Jul 2018 18:53:56 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] From: Warner Losh Date: Tue, 17 Jul 2018 19:53:56 -0600 X-Google-Sender-Auth: OJww_aYwbfEMBu4BNl9Xs7xVuds Message-ID: Subject: Atmel removal code review To: "freebsd-arm@freebsd.org" , "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 01:53:58 -0000 For your review or objection... https://reviews.freebsd.org/D16312 Warner From owner-freebsd-arm@freebsd.org Wed Jul 18 06:06:42 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78FD01039942 for ; Wed, 18 Jul 2018 06:06:42 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DBC218A69C for ; Wed, 18 Jul 2018 06:06:41 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w6I66org025384 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 17 Jul 2018 23:06:51 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w6I66oJ5025383; Tue, 17 Jul 2018 23:06:50 -0700 (PDT) (envelope-from fbsd) Date: Tue, 17 Jul 2018 23:06:50 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: RPI3 swap experiments Message-ID: <20180718060650.GA24566@www.zefox.net> References: <20180629155131.GA35717@www.zefox.net> <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180704004554.GA61273@www.zefox.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 06:06:42 -0000 It appears that some progress has been made in getting swap working reasonably on the RPI3. A -j4 buildworld attempt running r336356 to compile 336431 failed with "out of swap" but the worst read and write delays were less than 5 seconds, a marked improvement over previous examples. In this case swap was split, 2 each 1GB partitions on USB flash plus 1 GB on the microSD card. Previous attempts using 3 each 1 GB partitions on USB flash have been repeatedly successful, while a single attempt using 3 each 1GB partitions on microSD failed. Details are at http://www.zefox.net/~fbsd/rpi3/swaptests/r336356/2gbusbflash_1gbsdflash/ Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Jul 18 13:58:05 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8B4F104B267 for ; Wed, 18 Jul 2018 13:58:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 643987B5FF for ; Wed, 18 Jul 2018 13:58:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22e.google.com with SMTP id d70-v6so968260ith.1 for ; Wed, 18 Jul 2018 06:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to; bh=O6QA+rchJR/JqQdrUjjR3pdF8TuxnhARIG0x8zqyvsk=; b=D07Zy0mSulVW0Xo3CQnfyghhZkxaACqOKj3ghRqoc3mBW9tui5ThLp4g8qtuMyk+jo EUcEPt/VI2t512qzWBQ1iqBb/dsdGAa4lfVggRnz1ApeCcSFPSzAsEQaN3kAowB3T+6X +dDLGRBW3WkhNa9avRyg5KOC11qQklJB143RwNql23yWCj0ZPvD61P93VdF9sZ+DiVyp oRh81U6cdLjovpSuCaoxiB9NG2oyqlGy5ZIdQ9VZgYknVNNeX89ysKjw3LjEraAv2PwI q3gfLdzjPed+WhWS/oBY1qeNQxbdJCPSeqgSqrCEM6sd1bd1Q4So3mNulPIa5xV6yhRH QnCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=O6QA+rchJR/JqQdrUjjR3pdF8TuxnhARIG0x8zqyvsk=; b=JjBojbdoQl1mdrviES2FvADCk9fHkrCiCA/z73wY8ZdSn2YFWZ3KW6zIMfekOUz+Hu rF2Y4WL5f3QvRvfXzUrA7utsYtYx/hMtM36NZfKMNn1W0buBhJ2ui6pqGzZS57FCCX6m XqrhJMwbElusogWoTvX6SBtAFgyq1+qa/lGr/Oub7lTb381a1IAv7TUmNDN7HoKAahOS L2/1UmN7sSm10J8bv1hv838QTmVL+xKN2Kgu0blDN7Prmf6/2pwUmSqia0obKwE+Gcfh HMC+YHsjf/yrrwsQ9NF8NtKDxyHFdTgLis33lPFPl3Uppr8f0DwS3HpYobd6g5efB0qP OHTw== X-Gm-Message-State: AOUpUlHLrTPM6dTTFgnVyXPwPx8bsIvV7U6axTgv2PZn6bbnUJA/MyDA VdlNirbIL3r2DriFnoP6rexchxkP7Oao1TVAGd09wafC X-Google-Smtp-Source: AAOMgpe7GGupJOsewjYjZfHn5wlZfYRaMZUTbgd9zRU1xL0v/dG4OK/FroEwx/m3EHfdmLV9es5k2knC4ysKhqZ7FG4= X-Received: by 2002:a24:7288:: with SMTP id x130-v6mr302407itc.73.1531922283399; Wed, 18 Jul 2018 06:58:03 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:1183:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 06:58:02 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] From: Warner Losh Date: Wed, 18 Jul 2018 07:58:02 -0600 X-Google-Sender-Auth: JhVwPmUYM9ChGtyG0lbrSIn-aA4 Message-ID: Subject: One last item: CNS1102 support removal To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 13:58:05 -0000 There's one last item in arm land for 12 I'd like to remove: The Econa / Cavium CN1102 support. It's literally received no updates since it was committed in 2010, apart from others doing kernel sweeps. It's unmaintained. Strike one. Second, it will be the last armv4 port in the tree after I remove Atmel. We haven't had FreeBSD running on armv4 Atmel since FreeBSD 8. Strike two. Third, the original machines were released in 2005 or 2006. There's only one known board, according to https://wikidevi.com/wiki/Cavium, and it came with only 16MB. So it's old and doesn't have much RAM. While barely possible, in theory, to run FreeBSD/arm in 16MB, it's a huge PITA. Strike three. Forth, I can find no mention of it in the archives or bug database. Strike four. I'm lead to the conclusion that this is no longer maintained, has no users, the hardware it was in has insufficient resources to run FreeBSD well and these things are unlikely to change. Therefore, we should remove it. Comments? Warner From owner-freebsd-arm@freebsd.org Wed Jul 18 14:16:33 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CABC104BB70 for ; Wed, 18 Jul 2018 14:16:33 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 C22267C0CC for ; Wed, 18 Jul 2018 14:16:32 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w6IEGTYH007636; Wed, 18 Jul 2018 07:16:29 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w6IEGToZ007635; Wed, 18 Jul 2018 07:16:29 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201807181416.w6IEGToZ007635@pdx.rh.CN85.dnsmgr.net> Subject: Re: One last item: CNS1102 support removal In-Reply-To: To: Warner Losh Date: Wed, 18 Jul 2018 07:16:29 -0700 (PDT) CC: "freebsd-arm@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 14:16:33 -0000 > There's one last item in arm land for 12 I'd like to remove: The Econa / > Cavium CN1102 support. > > It's literally received no updates since it was committed in 2010, apart > from others doing kernel sweeps. It's unmaintained. Strike one. > > Second, it will be the last armv4 port in the tree after I remove Atmel. We > haven't had FreeBSD running on armv4 Atmel since FreeBSD 8. Strike two. > > Third, the original machines were released in 2005 or 2006. There's only > one known board, according to https://wikidevi.com/wiki/Cavium, and it came > with only 16MB. So it's old and doesn't have much RAM. While barely > possible, in theory, to run FreeBSD/arm in 16MB, it's a huge PITA. Strike > three. > > Forth, I can find no mention of it in the archives or bug database. Strike > four. > > I'm lead to the conclusion that this is no longer maintained, has no users, > the hardware it was in has insufficient resources to run FreeBSD well and > these things are unlikely to change. Therefore, we should remove it. > > Comments? Again, I thought it was the plan to write and ratify a deprecation policy then start to purge the tree per the converstations at BSDCan 2018. It seems your going the other way around. Though yes, these are clear cases that probably should be purged, they are also excelent examples to test the policy with and see how well it works. What is the status of the deprecation policy draft? -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-arm@freebsd.org Wed Jul 18 14:21:39 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1634104BD73 for ; Wed, 18 Jul 2018 14:21:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7897B7C3AD for ; Wed, 18 Jul 2018 14:21:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x230.google.com with SMTP id 72-v6so4373165itw.3 for ; Wed, 18 Jul 2018 07:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=KJrsqQ6Jy/m6vRPPxLPACFUi7HGguJe4bIcTdR8zfRI=; b=kPF8etPy6UCl7SvGub+YIpk8GFipxAnsEYB3kUAbsU3IfJiFdm3yGcT8p3OYTujC7J lD4FS+WJmq8NEJflpVO6d3PyUHZ3Fqzb3j9beS62DEk4oxqJT3ZcSP1IBQp9pojgcsw0 xj6nwYzgS4MZK1nKcV+Q6Jc9/uJQYmN571FeOmdD2VFLCU8F0KAUiZjT+AYos+mPsjsi Ndzk5nDcwE/1NTa5ZFkyV0us1QtFD0xHwk/T+tG8jubGPAq7j46gFwkUtsbySkrvit/v jrMMyxo+x5Ed3Cr56wkBNIr9vdH1YB/o5O4U+VhyoHEzPKa/bLEOERUp3m90PBzpiwxt VMPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=KJrsqQ6Jy/m6vRPPxLPACFUi7HGguJe4bIcTdR8zfRI=; b=CYAC/zEL+GPW4gBYlcfY3oy4NEi5lw2J0QOfv/6An5RBixXmUpbO+n+ybQ7fUX3dE4 GOeYmBsZyh9fcTZYX4Q19KYExVnBMSPCS6Yqu8CwKRgb5Te9pWpkbdTzu6tc0diAAggq kZV7O39Oh+bC6dnA5wpSLWhrwy48wfthOT9eItNpOMrG1QpD/C+BsxbGoLah6nxh9kDq w79cvyK83EwqpcGdQpLPm8KHRvaiBarfn5fNGr1uD0Vls3U41lzXKos03ABG0vPgIeXQ 4ZqiUMcBi3VPOQbDwB+7suBJHxGE7WFzt+BVC3LRv956XfRQCQwDgqin5KVKGzdZA5sn 3NRw== X-Gm-Message-State: AOUpUlH+o5b4yQb+/NXOzcoBnTjyulMYfzhkIrLCMDOFr+lzQaJOXGS4 YCjn58Rhj+LbOCFO7q5IEgTiJlOzv5SWu8aokkfESw== X-Google-Smtp-Source: AAOMgpeW2yP+MHPxoRMzsSiNBo6t3JcQ1PRzfI8VmM4T6yvbUM5qVVQMOphDyaKROeu3+um0OtCDLTcKQypN8uaJvWY= X-Received: by 2002:a24:7288:: with SMTP id x130-v6mr397419itc.73.1531923697538; Wed, 18 Jul 2018 07:21:37 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:1183:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 07:21:36 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <201807181416.w6IEGToZ007635@pdx.rh.CN85.dnsmgr.net> References: <201807181416.w6IEGToZ007635@pdx.rh.CN85.dnsmgr.net> From: Warner Losh Date: Wed, 18 Jul 2018 08:21:36 -0600 X-Google-Sender-Auth: uE6cAgPlCQhWqfcTX7b8GbHUAjY Message-ID: Subject: Re: One last item: CNS1102 support removal To: "Rodney W. Grimes" Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 14:21:39 -0000 On Wed, Jul 18, 2018 at 8:16 AM, Rodney W. Grimes < freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > > There's one last item in arm land for 12 I'd like to remove: The Econa / > > Cavium CN1102 support. > > > > It's literally received no updates since it was committed in 2010, apart > > from others doing kernel sweeps. It's unmaintained. Strike one. > > > > Second, it will be the last armv4 port in the tree after I remove Atmel. > We > > haven't had FreeBSD running on armv4 Atmel since FreeBSD 8. Strike two. > > > > Third, the original machines were released in 2005 or 2006. There's only > > one known board, according to https://wikidevi.com/wiki/Cavium, and it > came > > with only 16MB. So it's old and doesn't have much RAM. While barely > > possible, in theory, to run FreeBSD/arm in 16MB, it's a huge PITA. Strike > > three. > > > > Forth, I can find no mention of it in the archives or bug database. > Strike > > four. > > > > I'm lead to the conclusion that this is no longer maintained, has no > users, > > the hardware it was in has insufficient resources to run FreeBSD well and > > these things are unlikely to change. Therefore, we should remove it. > > > > Comments? > > Again, I thought it was the plan to write and ratify a deprecation > policy then start to purge the tree per the converstations at > BSDCan 2018. It seems your going the other way around. > No, I'm using the ARM removal to write the draft because there's significant agreement in the arm community, and a strong desire to purge. The community is also smaller, and it's easier to get consensus. Plus, this code is almost broken and won't work: It's been 4 major revisions since we had working armv4, so I'm rushing to get this done before 12. > Though yes, these are clear cases that probably should be purged, > they are also excelent examples to test the policy with and see > how well it works. > Well, that's why I'm doing a few easy cases: to provide case studies for the draft. Most of the other removal for x86 stuff was, at BSDcan, agreed we'd do the purge after 12 branched. > What is the status of the deprecation policy draft? > Mostly done. I should publish it next week on arch@ for discussion. Warner From owner-freebsd-arm@freebsd.org Wed Jul 18 14:42:04 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A492104CC88 for ; Wed, 18 Jul 2018 14:42:04 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 2497D7D31A for ; Wed, 18 Jul 2018 14:42:02 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: b9ce2edd-8a98-11e8-8837-614b7c574d04 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id b9ce2edd-8a98-11e8-8837-614b7c574d04; Wed, 18 Jul 2018 14:42:00 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w6IEfwJk056701; Wed, 18 Jul 2018 08:41:58 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1531924918.26036.71.camel@freebsd.org> Subject: Re: One last item: CNS1102 support removal From: Ian Lepore To: Warner Losh , "Rodney W. Grimes" Cc: "freebsd-arm@freebsd.org" Date: Wed, 18 Jul 2018 08:41:58 -0600 In-Reply-To: References: <201807181416.w6IEGToZ007635@pdx.rh.CN85.dnsmgr.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 14:42:04 -0000 On Wed, 2018-07-18 at 08:21 -0600, Warner Losh wrote: > On Wed, Jul 18, 2018 at 8:16 AM, Rodney W. Grimes < > freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > > > > There's one last item in arm land for 12 I'd like to remove: The Econa / > > > Cavium CN1102 support. > > > > > > It's literally received no updates since it was committed in 2010, apart > > > from others doing kernel sweeps. It's unmaintained. Strike one. > > > > > > Second, it will be the last armv4 port in the tree after I remove Atmel. > > We > > > > > > haven't had FreeBSD running on armv4 Atmel since FreeBSD 8. Strike two. > > > > > > Third, the original machines were released in 2005 or 2006. There's only > > > one known board, according to https://wikidevi.com/wiki/Cavium, and it > > came > > > > > > with only 16MB. So it's old and doesn't have much RAM. While barely > > > possible, in theory, to run FreeBSD/arm in 16MB, it's a huge PITA. Strike > > > three. > > > > > > Forth, I can find no mention of it in the archives or bug database. > > Strike > > > > > > four. > > > > > > I'm lead to the conclusion that this is no longer maintained, has no > > users, > > > > > > the hardware it was in has insufficient resources to run FreeBSD well and > > > these things are unlikely to change. Therefore, we should remove it. > > > > > > Comments? > > Again, I thought it was the plan to write and ratify a deprecation > > policy then start to purge the tree per the converstations at > > BSDCan 2018.  It seems your going the other way around. > > > No, I'm using the ARM removal to write the draft because there's > significant agreement in the arm community, and a strong desire to purge. > The community is also smaller, and it's easier to get consensus. Plus, this > code is almost broken and won't work: It's been 4 major revisions since we > had working armv4, so I'm rushing to get this done before 12. > > > > > > Though yes, these are clear cases that probably should be purged, > > they are also excelent examples to test the policy with and see > > how well it works. > > > Well, that's why I'm doing a few easy cases: to provide case studies for > the draft. Most of the other removal for x86 stuff was, at BSDcan, agreed > we'd do the purge after 12 branched. > > > > > > What is the status of the deprecation policy draft? > > > Mostly done. I should publish it next week on arch@ for discussion. > > Warner Also, to me this stuff seems different than deprecation. You deprecate something when you foresee its impending doom, either because it's being replaced with something newer, or because other changes are going to drive things to a point where ongoing support becomes impossible. So you begin a process of informing existing users of an impending deletion or lack of support so that they can takes steps to prepare. The situation where you have no users to inform, or where something is noticed to have been broken already for some time (which is really another way of saying it has no active users), that's not a situation where a deprecation notice provides value to anyone. The only thing a formal process does in that case is slow down the work that obviously needs to be done. -- Ian From owner-freebsd-arm@freebsd.org Wed Jul 18 14:42:27 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA845104CCDC for ; Wed, 18 Jul 2018 14:42:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic302-3.consmr.mail.bf2.yahoo.com (sonic302-3.consmr.mail.bf2.yahoo.com [74.6.135.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 786E07D3A3 for ; Wed, 18 Jul 2018 14:42:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Q6V88BUVM1k0VqW7ehepqKO5MqWni3pSf6OQe9pUVpZ5YW6Bp5t4jJAREi_fnlN koC9x9KC5lPvnQ.nqYWwqVT3D0mueT9qWk4kbOW_3TibninceKq0B1vQQfY9y5VUP51_8d4VZbI9 j.hzvSd7G2RB56fAuEK2Id26A4wOnV7JtoEYGMpdqwtN6J5aKMWAd6NUznACKGl2hxTId4uoeN7X e1AV5NsZZytBt0sWLvodxmwteYnzXgqWoC_gAWrP9BYNNUqCNNc_xCQzKbgZEukNenn1Dsyk5rup m.sCUj7UHNM0ls_NL9SEf07vJx.Jr7VzvBVMkSZIFB58ZsTK8wGdSQ.hLCjG0duM8m36zp1cOAMj zurt.hwT0F8B8vEKw09h2Er7vDJSLCrGObnI38_6hQSecZ7kmbo632o7FI8_nvxrGFZ6RRlfAvlr .CJ9j_dTX1mPwTx8ynQvxtLXtj7xANJO_3y7n6urrPOmJ48uZKqNIOmw.3xStPA1kC4DDEs80QHL KqgpYNUib7QiM64EqI2ivKsYoJukUOxo8ibdsz.tXkcmv0DwoFTwfa2qHH_VzWuUB6E1FwlaERwb A4Zdez7483Ma7mhc24.S9MDpZtkMcZp7beEbG5_GBqDUkJ.dsHomb3D9FEGRkpM97BFkIdWh.LOj bQl9J7GNmMGHmZ28LHwNynQL8FFxHvea9Ww4vg5hRYxIkT6yp_6Ly8qd6TWtz0w4koeaq4zyYj1e F73P9yyeVcIpMnOSvVMY_Lo1Z6YOOQU3UBqwhhKNR36np8kF3KkUQUOwMR21Wyldqe4plGpHuZuG hFRqsoAXVCLW2zwAVcHDmaoktbrJUJ_cE_YphHtl0eEGgKfd.B_f5_Yxwv39TzN58Og3pH_sYlHP sITiZmZqHP7jsG4BacVcP1I2ivlfYmvw0UVmmn08YIqjDvAZmEdh7JNdQFFEKkd5Pkjt5ow7SvhG tCEaqpwXym5tDjygwwVuB.mlnm_OP_Y1EXPQE7We1dhbGqu2kzjJeIm0LVK_ntoLeUJYvmw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Wed, 18 Jul 2018 14:42:19 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp422.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3bb82687d1c55f1f4feab50ac68a9e40; Wed, 18 Jul 2018 14:42:16 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments From: Mark Millard In-Reply-To: <20180718060650.GA24566@www.zefox.net> Date: Wed, 18 Jul 2018 07:42:13 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20180629155131.GA35717@www.zefox.net> <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 14:42:27 -0000 On 2018-Jul-17, at 11:06 PM, bob prohaska wrote: > It appears that some progress has been made in getting swap working = reasonably > on the RPI3. A -j4 buildworld attempt running r336356 to compile = 336431 failed > with "out of swap" but the worst read and write delays were less than = 5 seconds, > a marked improvement over previous examples. Attributing the time variations that have been observed mostly to = FreeBSD and not mostly to the device at issue seems to have little or no evidence to = support it. > In this case swap was split, 2 each 1GB partitions on USB flash plus = 1 GB on the=20 > microSD card. Previous attempts using 3 each 1 GB partitions on USB = flash have been > repeatedly successful, while a single attempt using 3 each 1GB = partitions on microSD > failed. The more swap partitions (or space?) not on a /dev/mmcsd0s* the less of = the activity that /dev/mmcsd0 handles and likely the more time it tends to = have between explicit operations to do internal housekeeping before the next explicit operation. So the better approximation to not using /dev/mmcsd0 at all might not be all that much of a surprise at having less of a problem on the device (or a problem less often). > Details are at > = http://www.zefox.net/~fbsd/rpi3/swaptests/r336356/2gbusbflash_1gbsdflash/ =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Jul 18 15:06:53 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D1BB104DA18 for ; Wed, 18 Jul 2018 15:06:53 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 872957E320 for ; Wed, 18 Jul 2018 15:06:52 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w6IF77BC027110 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jul 2018 08:07:08 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w6IF76OB027109; Wed, 18 Jul 2018 08:07:07 -0700 (PDT) (envelope-from fbsd) Date: Wed, 18 Jul 2018 08:07:06 -0700 From: bob prohaska To: Trev Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI3 swap experiments Message-ID: <20180718150706.GB24566@www.zefox.net> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> <02272aff-90d7-5443-9426-7460eed9d134@sentry.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02272aff-90d7-5443-9426-7460eed9d134@sentry.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 15:06:53 -0000 On Wed, Jul 18, 2018 at 04:24:08PM +1000, Trev wrote: > > I have run the -j4 buildworld now 11 times using a single 2G partition > of an 8G SanDisk Ultra micro-SDcard in a USB card micro-SDcard reader > without any out of swap errors, completing successfully each time, > installing and booting to check. > In the system under test right now having all swap on USB flash seems to work, but having all swap on microSD fails with "out of swap". A previous incarnation (using a USB3.1-marked flash drive) works with all swap on microSD but fails with all swap on USB. Neither setup worked with swap distributed on both. Both USB devices are marked SanDisk Extreme, both microSD devices are marked SanDisk Ultra. Thus far I haven't noticed any tight correlation between "out of swap" kills and long delays reading and writing swap. > At this point, I'm happy enough that I've given up experimenting before > I wear something out :) I'm somewhat curious to test the proposition that "wearing out" flash memory is a serious problem. There's no doubt it'll happen eventually, but at least a little doubt as to whether it's a threat to normal usability. > > BTW, there have been a lot of commits to the swapper code in the last 12 > months ... my RPi2B is now on 11.2-STABLE and still not suffering any > swap issues with the 2G swap partition and /usr partition on the same > USB memory key. Pity 11.2 won't run on the RPi3B+. > It's been suggested that a 32-bit version of FreeBSD could be made to work on the 64-bit Pi3's, but I gather the Project's preference is to get arm64 up to production standards first. > Just one question, do your ethernet LEDs on the RPi3 (B or B+ ?) light > up? MY RPi2B ones do, my RPi3B+ don't after booting FreeBSD. > My Pi3 is older, before the + model appeared. The link and traffic LEDs on the Ethernet connector remain on and active. The green LED comes on briefly when u-boot starts up, then goes off. The red LED is on whenever there's power applied. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Jul 18 15:10:26 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93149104DC13 for ; Wed, 18 Jul 2018 15:10:26 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D97F7E63F for ; Wed, 18 Jul 2018 15:10:26 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1531926618; bh=N42DY0ZWJ+XABBBt1P2cYReaQUL0Ia+kNwO4V6JJirw=; h=To:From:Subject:Date; b=s8G0Gw2Y/YI7mSAIO/drwBS0aKApsZvH0qUuP9j3TybSPBkdQtv1zJbsuZvyTtEMD L+5lBfGgOtssiTckkDI4xWmcdLmqJrj55t2glh8Ze0zt/W5oR7wZpFZlwhWDdWjsD1 xaaWp7sKiYTS1PV+bZqbuTtZNEtt8ZrUmwkISEd0= To: freebsd-arm@freebsd.org From: Per olof Ljungmark Subject: rpi3 and Adafruit GPS Hat Message-ID: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> Date: Wed, 18 Jul 2018 17:10:16 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 15:10:26 -0000 Being a complete newbie to arm I thought a nice project would be to build a NTP server with the parts in the subject line. Unfortunately I have almost no idea where to start, it seems FreeBSD for arm have shifted around quite a bit, almost none of the googled pages I find has relevance, and to add insult to injury, the Pi project apparently shifted the serial ports around for the Pi3. What I need to achieve, - Stop the kernel to use the uart for console output (I have ethernet and HDMI connected) - Find the real uart, I suppose it is uart0 below - Figure out how to control the gpio pins - Enable PPS in the kernel (I can probably figure this one) FreeBSD 12.0-CURRENT #0 r336134 GENERIC arm64 (bcm2835) uart0: mem 0x7e201000-0x7e201fff irq 24 on simplebus0 uart0: console (115200,n,8,1) VERY grateful if someone that knows better can give me a push in the right direction for up to date information. -- Per olof Ljungmark From owner-freebsd-arm@freebsd.org Wed Jul 18 15:40:05 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89B68104E9C3 for ; Wed, 18 Jul 2018 15:40:05 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm14.bullet.mail.kks.yahoo.co.jp (nh501-vm14.bullet.mail.kks.yahoo.co.jp [183.79.56.144]) by mx1.freebsd.org (Postfix) with SMTP id A3CC97FC97 for ; Wed, 18 Jul 2018 15:40:04 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.139] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 18 Jul 2018 15:37:32 -0000 Received: from [183.79.100.135] by t502.bullet.mail.kks.yahoo.co.jp with NNFMP; 18 Jul 2018 15:37:32 -0000 Received: from [127.0.0.1] by omp504.mail.kks.yahoo.co.jp with NNFMP; 18 Jul 2018 15:37:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 814042.46763.bm@omp504.mail.kks.yahoo.co.jp Received: (qmail 90072 invoked by uid 60001); 18 Jul 2018 15:37:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1531928252; bh=GB45Guhi0rHwpkAl9SqxPUefD44ghoLDfx1hRwvMihU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=enljkdKbuWXvr+iOpyDAdIA8bZ5oT/yHV9fxI8+9yPDtjhuEEX7GQKovCEtRUVs69vz6cMuVCOC/yhrDfjAO1YByLjED6b9Zq4vNHG9YFiP+ew4yqs+P7mopy8d1HYCzZ0jVgah0mMm2/re9ob6H0zc8ItMoe5rrFOqVNa5Ik4I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ty3jaj0sGQY6YUax6PPg79BXjcUBx4na2Q7rTCjkKtR7XYIRThzGROhJMJpFzLtDgn+XMhOqwSZKY5uUtXTJh8eeRGxEONqBAiXlZEDIgpRKTyXoCJXCQH25YcLIkBNhFzNAOoqIn31hY2MhD6R5Fzl9Qlr3vatJ7juI1mPfRc0=; Message-ID: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> X-YMail-OSG: xYRkz5EVM1mQe16hLtEh.AlC2mcNBxi.7w90nzeMn896no6.Nk4BT9mx3hW7VbxvkQdN5YCBXkqTwcmFyoa7BXt_K5yjsItj4BD1qxnutiiS6GVfkIKsZMIvARhFg8mGoCQX7LlgSnMdO520EhMoxH0BSfop4XtVwQFX8duSappGKu4msONmY9PA3wF9RD3UWV22cm.Djlnmo7QWBRnZEm89TjGB7IcL1vy_phle0HaMRJsm_Q538yV5C6OVmEOfZ._N8Xc0JD2Ipdik2urB.unc7B4X1lgeZGbW0n4vFnx4COlxn1DsmFX2tFbGYkfScItmnNVvvr.cFrFASc8_zdRGOiaEZZe_B.ALKu.GeckIMNKwN9437Z_JN2zbjKVAVt9tV0tgkP8AAcNfEFxTfXLOsIG1DYVm6N0aLKJVrki6ZGAxRW.HGgQb7q_ogNoqGRBMIYa4JzIlMHR0.Jg_U_36sXRI8nK86znu7BuqcKOOmqHgjHxelArYytptUXCIiySdcOVC4OgX2WrFLQVaS.AzAifJGqyAxW9YLyAy194ruXWdux3s28f.3o6TC7pqswEZk7GReFBvts2Qe12jA8b__x.JYxTSIa1fP7Z4Vg78PEuoYZ_RUdg_q0.hu0dO Received: from [203.165.91.75] by web103919.mail.ssk.yahoo.co.jp via HTTP; Thu, 19 Jul 2018 00:37:31 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: ov83.XgVM1kjgsWgpx_1gTLm6SvEPiZh3WEQC_3DJ7qSyXmvZrFFZiFbp0CIDHCbUyEwOYy4wwD2BLvCREkx65m1crUyuom.1iSMHvCLNYJ3_MtdQ0Q2ilaaRWWZ0JFh0r9V References: Date: Thu, 19 Jul 2018 00:37:31 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: One last item: CNS1102 support removal To: Warner Losh , "freebsd-arm@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 15:40:05 -0000 Hi.=0A=0AI make fdt eventtimer intrng to cns11xx.=0A=0Ahttps://gist.github.= com/yamori813/ae047a28a825aac255e436fd8ccaf785=0A=0A=0AStill not work...=0A= =0AClang is very slow on cross compile. It's take 7 hour.=0A=0AMy cns11xx t= arget Planex MZK-W04G is 64MByte ram.=0A=0AIt's bigger than rt1310 target.= =0A=0AI almost abandon...=0A=0AHiroki Mori=0A=0A=0A----- Original Message -= ----=0A> From: Warner Losh =0A> To: "freebsd-arm@freebsd.or= g" =0A> Cc: =0A> Date: 2018/7/18, Wed 22:58=0A> Su= bject: One last item: CNS1102 support removal=0A> =0A>T here's one last ite= m in arm land for 12 I'd like to remove: The Econa /=0A> Cavium CN1102 supp= ort.=0A> =0A> It's literally received no updates since it was committed in = 2010, apart=0A> from others doing kernel sweeps. It's unmaintained. Strike = one.=0A> =0A> Second, it will be the last armv4 port in the tree after I re= move Atmel. We=0A> haven't had FreeBSD running on armv4 Atmel since FreeBSD= 8. Strike two.=0A> =0A> Third, the original machines were released in 2005= or 2006. There's only=0A> one known board, according to https://wikidevi.c= om/wiki/Cavium, and it came=0A> with only 16MB. So it's old and doesn't hav= e much RAM. While barely=0A> possible, in theory, to run FreeBSD/arm in 16M= B, it's a huge PITA. Strike=0A> three.=0A> =0A> Forth, I can find no mentio= n of it in the archives or bug database. Strike=0A> four.=0A> =0A> I'm lead= to the conclusion that this is no longer maintained, has no users,=0A> the= hardware it was in has insufficient resources to run FreeBSD well and=0A> = these things are unlikely to change. Therefore, we should remove it.=0A> = =0A> Comments?=0A> =0A> Warner=0A> ________________________________________= _______=0A> freebsd-arm@freebsd.org mailing list=0A> https://lists.freebsd.= org/mailman/listinfo/freebsd-arm=0A> To unsubscribe, send any mail to "free= bsd-arm-unsubscribe@freebsd.org"=0A> From owner-freebsd-arm@freebsd.org Wed Jul 18 17:02:06 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92ADE1029875 for ; Wed, 18 Jul 2018 17:02:06 +0000 (UTC) (envelope-from db@db.net) Received: from artemis.db.net (artemis.db.net [45.32.229.41]) by mx1.freebsd.org (Postfix) with ESMTP id 36955835B4 for ; Wed, 18 Jul 2018 17:02:05 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (localhost [127.0.0.1]) by artemis.db.net (Postfix) with ESMTP id 1B80B101BE; Wed, 18 Jul 2018 17:01:58 +0000 (UTC) Received: by night.db.net (Postfix, from userid 1000) id 7F0DD39813; Wed, 18 Jul 2018 13:01:57 -0400 (EDT) Date: Wed, 18 Jul 2018 13:01:57 -0400 From: Diane Bruce To: Per olof Ljungmark Cc: freebsd-arm@freebsd.org Subject: Re: rpi3 and Adafruit GPS Hat Message-ID: <20180718170157.GA40221@night.db.net> References: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 17:02:06 -0000 On Wed, Jul 18, 2018 at 05:10:16PM +0200, Per olof Ljungmark wrote: > Being a complete newbie to arm I thought a nice project would be to > build a NTP server with the parts in the subject line. > > Unfortunately I have almost no idea where to start, it seems FreeBSD for > arm have shifted around quite a bit, almost none of the googled pages I > find has relevance, and to add insult to injury, the Pi project > apparently shifted the serial ports around for the Pi3. > > What I need to achieve, > > - Stop the kernel to use the uart for console output (I have ethernet > and HDMI connected) No need. change your config.txt #dtoverlay=pi3-disable-bt device_tree_address=0x4000 kernel=u-boot.bin enable_uart=1 This moves the console port to the less capable micro uart port this will free up the good uart (the pl011 device) as /dev/ttyu0 Remove the pi3-disable-dt in config.txt enable_uart=1 is needed. > VERY grateful if someone that knows better can give me a push in the > right direction for up to date information. .. This is assuming you use FreeBSD-12 (Head of tree) > -- > Per olof Ljungmark Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db From owner-freebsd-arm@freebsd.org Wed Jul 18 17:37:16 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F8B1102AC38 for ; Wed, 18 Jul 2018 17:37:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B49E484780 for ; Wed, 18 Jul 2018 17:37:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x229.google.com with SMTP id p4-v6so5301742itf.2 for ; Wed, 18 Jul 2018 10:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Fg9+xTa+z4zL8YprpPgIbmJxTu3AlG39YwQNsQmdlaM=; b=Lfkhq2sTAyoQI24B1zpayVjHuEiO2nDdTNYS3YR5e4YU2Kmt2VGX+uv6mryE/AEQlX HCumBedb6DVkbi7V/kixtDLkWSZ0luuGtUGdxZ36KXiuxS9kD5gjHTrCPk95XpcKabTp NdyoaPdLYDhK8UUeHU3FPovlBjXiyvCrx/noMVrXn7zqcWa2TI9JKGmzIeDaQSZQKZV2 ypyJaBNwFWBczFOMKdm3eDclER4mCn9GDrgn2BEuJ0/v55TrROK054K3Rgb3GB3y9fRX mMCOZ2f0GGqAjweOdOIZ2RkXM4z5MV5ZTAMvd0ApFeS+Z0Pces4gbDiRlfbFR+nS514J B2LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Fg9+xTa+z4zL8YprpPgIbmJxTu3AlG39YwQNsQmdlaM=; b=ldYLrXkc5oNf1eBIOthAqCTshMtK2CY6Ok/GhXp78Ik804Uyge1iimAu+yOLvvIbrR bWWqDo55vSB6Es7iFHqTFiGOmNNcng00e8qWqo8zaDwI061q2TJxF6uLDOeIVaSxwfNY TyQog6BnEaZi3aJMKvivJekpnEjopZJRljuK57bUncohCRh7YaFPy0ykVFrCpWKkn4Ez xzQ1Vfhaki5tDXH6axt3ND0W3ixB6mGprV28ze/dBu4OW3lJr+umGyOUudO+qCBqgshr CeST2zNVOmedLvznDYxSzcUEOcSJxTVI/G5b+a55AN4O11/YPmagsiiHMWalbsLwwd6/ +CNg== X-Gm-Message-State: AOUpUlGEzrdp/9jujLgOffHv3Zc9217o16YWT2l+FHQoYwZSD2J8PPGp zO/FRf1DyPY+8tVFwfIo6uS8tW4tgDFEwx5SeFbg/Q== X-Google-Smtp-Source: AAOMgpe8amBlreHj5dz1kzI+v/Q/VHwK9NEMu0aYyyGacCyozjNO2wRtt/N2Wp1EEX2ssd/iyPLVhl/k7rdRkWbmM5Q= X-Received: by 2002:a24:b211:: with SMTP id u17-v6mr2299301ite.1.1531935434915; Wed, 18 Jul 2018 10:37:14 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:1183:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 10:37:14 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> From: Warner Losh Date: Wed, 18 Jul 2018 11:37:14 -0600 X-Google-Sender-Auth: dA4Dm4iH76FI-Uuek5NAq4qHs1k Message-ID: Subject: Re: One last item: CNS1102 support removal To: Mori Hiroki Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 17:37:16 -0000 On Wed, Jul 18, 2018 at 9:37 AM, Mori Hiroki wrote: > Hi. > > I make fdt eventtimer intrng to cns11xx. > > https://gist.github.com/yamori813/ae047a28a825aac255e436fd8ccaf785 > > > Still not work... > > Clang is very slow on cross compile. It's take 7 hour. > > My cns11xx target Planex MZK-W04G is 64MByte ram. > OK. I could only find a board with 16MB. 64MB is barely enough these days to do useful things with FreeBSD unless you're a super user. > It's bigger than rt1310 target. > There's no RALINK kernel config I could find, even though the rt1310 code is in the tree. What have I missed? > I almost abandon... > So are you abandoning both platforms? Or just CNS1102? Are you OK with removing one or both of these platforms? Warner Hiroki Mori > > > ----- Original Message ----- > > From: Warner Losh > > To: "freebsd-arm@freebsd.org" > > Cc: > > Date: 2018/7/18, Wed 22:58 > > Subject: One last item: CNS1102 support removal > > > >T here's one last item in arm land for 12 I'd like to remove: The Econa / > > Cavium CN1102 support. > > > > It's literally received no updates since it was committed in 2010, apart > > from others doing kernel sweeps. It's unmaintained. Strike one. > > > > Second, it will be the last armv4 port in the tree after I remove Atmel. > We > > haven't had FreeBSD running on armv4 Atmel since FreeBSD 8. Strike two. > > > > Third, the original machines were released in 2005 or 2006. There's only > > one known board, according to https://wikidevi.com/wiki/Cavium, and it > came > > with only 16MB. So it's old and doesn't have much RAM. While barely > > possible, in theory, to run FreeBSD/arm in 16MB, it's a huge PITA. Strike > > three. > > > > Forth, I can find no mention of it in the archives or bug database. > Strike > > four. > > > > I'm lead to the conclusion that this is no longer maintained, has no > users, > > the hardware it was in has insufficient resources to run FreeBSD well and > > these things are unlikely to change. Therefore, we should remove it. > > > > Comments? > > > > Warner > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > From owner-freebsd-arm@freebsd.org Wed Jul 18 17:44:08 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 807CA102B177 for ; Wed, 18 Jul 2018 17:44:08 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh603-vm13.bullet.mail.ssk.yahoo.co.jp (nh603-vm13.bullet.mail.ssk.yahoo.co.jp [182.22.90.54]) by mx1.freebsd.org (Postfix) with SMTP id 93E2984C61 for ; Wed, 18 Jul 2018 17:44:07 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.106] by nh603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 18 Jul 2018 17:41:31 -0000 Received: from [182.22.91.131] by t604.bullet.mail.ssk.yahoo.co.jp with NNFMP; 18 Jul 2018 17:41:31 -0000 Received: from [127.0.0.1] by omp604.mail.ssk.yahoo.co.jp with NNFMP; 18 Jul 2018 17:41:31 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 211892.90879.bm@omp604.mail.ssk.yahoo.co.jp Received: (qmail 14141 invoked by uid 60001); 18 Jul 2018 17:41:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1531935691; bh=xzVmbYTVlrEsG1HlG4dRGmBytVDUKkxORycTab7qPIs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=dwDD+L8Hg5dxqImQaau3ZNiAZ0kRHj8rW2tUBnmxPqU09hy6643kOhGJvEGkjzegbzofl6U3unclYWm4E+oK7CyIopbJkws6ENA9m47dbmc1SJ19KqS3Waknu5Thj4cHtqHYMqW7J0myJg3xc4ckDy421yU65f6hMcyKI9kRskw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=hvnsCq6ESqXkhwVB0w4FtQMAXes3uKtUTuFWnI2GTB65Xxpom/57uFoARYbsIKIyUGRglmt0AwbSPQjfpYxlxVdIygJqTJtm+k694OIY/xj8+9B/YgkWNGnvrQJ1qcuHPbQhmEanmEcMkbpo6RqUmw0jNFTckfkQ1RLDHH/+PgQ=; Message-ID: <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> X-YMail-OSG: YiRfIMoVM1kdch0oYGYlqfpEu0JW_ssJwGZtL1UZ65A_N2wp.s7Dv10C1Kb7ZdZq.eTBdnhaV48cmAKU0JgZtPDESSBXncaORT4hkIef9A70Z2KP_U7aOSf_Fh_SMBNN1LLAP7tVYCuklzR7xxXVxv2cAtv0l_mlFJojWENzrX6QhwnMepTQZxmx5z024GiC7cX4_BBnmsRC7c5NdoH5RbwKl68o65RAy5ROUp5gZqVJ.fs0MWKKvsNFCypcfU0REur70ZSb_dur0YI2.wPkKJ_AsRzCq3sGKcxj4qqOCvQe6XtK6eKETayT8GveCvCf5I3KVoLPhijMSZW8iHy7CF84dXMrG6zD2WInYQZkoUjQVSVznn6XEDjqythVpGrks54P_P1az_es.M9T7.cm_.NLen9c4CaRuE1Yvqv4czA.ScziX6xf0YJmMkfbAsbxppgqdaNdBlBRSSuHm5ndww694u9tsUj6VsDG_EIau3Tr7jPyitGPhUPb8wfy_m5oXPYWacTixZrM.Rj4QY3CQ0QiCjTsq.EYvWOo5WTsM72MU9ugixNlUxQEl8Wb9qGvZDMkouUGkvw2fxZEYXamyxfcrWfGHNvstGLn0I.DLg4qIG28CRlOuPsxf7Hj2bP6 Received: from [203.165.91.75] by web103904.mail.ssk.yahoo.co.jp via HTTP; Thu, 19 Jul 2018 02:41:29 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: mlnA47IVM1notyvJC.k1aKZQ.UE6HnLkJZexwfpyNKR2TAovbqcHirj8U7fYvnr7LqSZ7frcb4r8lhPrvWvJ8oORoNOy.DPejqygM6fUbK1jkejVH.KYRPGIyUBFqXrGb2VN References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> Date: Thu, 19 Jul 2018 02:41:29 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: One last item: CNS1102 support removal To: Warner Losh Cc: "freebsd-arm@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 17:44:08 -0000 Hi=0A=0Asys/arm/ralink is work fine. Please do not remove this.=0A=0AWhy do= you want remove armv5t ? armv5t is still alive.=A0=0A=0AThanks=0A=0AHiroki= Mori=0A=0A=0A----- Original Message -----=0A>From: Warner Losh =0A>To: Mori Hiroki =0A>Cc: "freebsd-arm@freeb= sd.org" =0A>Date: 2018/7/19, Thu 02:37=0A>Subject:= Re: One last item: CNS1102 support removal=0A> =0A>=0A>=0A>=0A>=0A>=0A>On = Wed, Jul 18, 2018 at 9:37 AM, Mori Hiroki wrote:=0A= >=0A>Hi.=0A>>=0A>>I make fdt eventtimer intrng to cns11xx.=0A>>=0A>>https:/= /gist.github.com/ yamori813/ ae047a28a825aac255e436fd8ccaf7 85=0A>>=0A>>=0A= >>Still not work...=0A>>=0A>>Clang is very slow on cross compile. It's take= 7 hour.=0A>>=0A>>My cns11xx target Planex MZK-W04G is 64MByte ram.=0A>>=0A= >=0A>=0A>OK. I could only find a board with 16MB. 64MB is barely enough the= se days to do useful things with FreeBSD unless you're a super user.=0A>=A0= =0A>It's bigger than rt1310 target.=0A>>=0A>=0A>=0A>There's no RALINK kerne= l config I could find, even though the rt1310 code is in the tree. What hav= e I missed?=0A>=A0=0A>I almost abandon...=0A>>=0A>=0A>=0A>So are you abando= ning both platforms? Or just CNS1102?=0A>=0A>=0A>Are you OK with removing o= ne or both of these platforms?=0A>=0A>=0A>Warner=0A>=0A>=0A>=0A>=0A>Hiroki = Mori=0A>>=0A>>=0A>>----- Original Message -----=0A>>> From: Warner Losh =0A>>> To: "freebsd-arm@freebsd.org" = =0A>>> Cc: =0A>>> Date: 2018/7/18, Wed 22:58=0A>>> Subject: One last item: = CNS1102 support removal=0A>>> =0A>>>T here's one last item in arm land for = 12 I'd like to remove: The Econa /=0A>>> Cavium CN1102 support.=0A>>> =0A>>= > It's literally received no updates since it was committed in 2010, apart= =0A>>> from others doing kernel sweeps. It's unmaintained. Strike one.=0A>>= > =0A>>> Second, it will be the last armv4 port in the tree after I remove = Atmel. We=0A>>> haven't had FreeBSD running on armv4 Atmel since FreeBSD 8.= Strike two.=0A>>> =0A>>> Third, the original machines were released in 200= 5 or 2006. There's only=0A>>> one known board, according to https://wikidev= i.com/wiki/ Cavium, and it came=0A>>> with only 16MB. So it's old and doesn= 't have much RAM. While barely=0A>>> possible, in theory, to run FreeBSD/ar= m in 16MB, it's a huge PITA. Strike=0A>>> three.=0A>>> =0A>>> Forth, I can = find no mention of it in the archives or bug database. Strike=0A>>> four.= =0A>>> =0A>>> I'm lead to the conclusion that this is no longer maintained,= has no users,=0A>>> the hardware it was in has insufficient resources to r= un FreeBSD well and=0A>>> these things are unlikely to change. Therefore, w= e should remove it.=0A>>> =0A>>> Comments?=0A>>> =0A>>> Warner=0A>>> ______= ________________________ _________________=0A>>> freebsd-arm@freebsd.org ma= iling list=0A>>> https://lists.freebsd.org/ mailman/listinfo/freebsd-arm=0A= >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@ freebsd.org"= =0A>>> =0A>>=0A>=0A>=0A> From owner-freebsd-arm@freebsd.org Wed Jul 18 18:01:20 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6C6D102BD31 for ; Wed, 18 Jul 2018 18:01:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48E2485AD8 for ; Wed, 18 Jul 2018 18:01:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x231.google.com with SMTP id z19-v6so4835446ioh.4 for ; Wed, 18 Jul 2018 11:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=SYGZ9yi5E85xBnsZiwf780Fh6IICUnAixPUz7PzarS4=; b=Qlz8RM52zN+GGPLghrHUCSZrYEeqTk1kMRgyDS2OtaPUyW3BNjAC4jlKjXChtUuhTZ f9v6egnPLqLC1k66PbkS68FJ4umf33KOSAehiNQx9jA6f/9+q612JhUddYLZRuDOGG2C AHCfKEYbNooJOBtwStiANyLL7QBPZzBr57jwGHTQJCH8DTgVDXrq/x/Z9dhc2YSS4DqS filn4FbFlZKmpaZ9lddOD6oxv8/CIVTc5bp0AxlLMbA4Yz+IgUW/PAkrIdAqoatcWxxf qT2kAkrRF4SYGDe3sIOwzkQBOHgWphhgtcZX6bxvpL9AssnFDS3xK/BrzxRmmmdXIkil pKeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=SYGZ9yi5E85xBnsZiwf780Fh6IICUnAixPUz7PzarS4=; b=ambXhClLs63Xv9TN+qBPOb6BsF6VKutQzUSGZIovqLoyff7wU1aMwq5fTHXKLtfcnU mG6j1460F/B0NNtXg/dMgB4L4IGSRiW2xUrInhk+YfRaF/Uf8Bu8ef4d8MSAOgjfp+WX BOqD2LrmQiTOS/WqGNQaq/3cWbWPhsxm7cNKDd9n6RP5l/vy/4lRGYIMZj4YZuNb/QT0 OxYb/t4VgrdTJNn2yj4wiyAwIERbCFbOQjzZRHw+aNchm0WnZzioCIReRvIw7hz1VUuB nVhLnQX7Nf8HKpUpkhcD9J4dE9HmX511Hy5PE2sf4UkJNh40tIsPYR1vleBmFNUePiJm h6Jg== X-Gm-Message-State: AOUpUlGr6MbhWiadtDQ0EVD+8DjIHwhskMxRwQRPNusEgvGD47LcYdWm l/jJTDQDE+78kR1gpo6bxWRcYAOZn1nmwxXA/Sqd3A== X-Google-Smtp-Source: AA+uWPwbB/3g04jpHSsmTeXikzXWaunJ8+yBtTutqdPsBIKa8g86YyoCZiPCQPWE4XtUWthTmbzy3mK4FRbWYDC5zFI= X-Received: by 2002:a6b:d004:: with SMTP id x4-v6mr5695167ioa.299.1531936878555; Wed, 18 Jul 2018 11:01:18 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:1183:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 11:01:18 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> From: Warner Losh Date: Wed, 18 Jul 2018 12:01:18 -0600 X-Google-Sender-Auth: Nww71igm_R2ncYJIwD6Q8G0BDkk Message-ID: Subject: Re: One last item: CNS1102 support removal To: Mori Hiroki Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 18:01:20 -0000 On Wed, Jul 18, 2018 at 11:41 AM, Mori Hiroki wrote: > Hi > > sys/arm/ralink is work fine. Please do not remove this. > OK. Do you have a kernel config file we can commit to the tree? I don't even know if it compiles, apart from your dmesg posts. I wasn't sure based on your email, so I thought I'd ask for clarification. CNS1102 is 922T which is armv4. I couldn't even find an eval board to try to boot it on, nor any board with more than 16MB on the consumer gear that it's in on ebay. And it's always a pain to get stuff on gear of that era unless you get lucky... > Why do you want remove armv5t ? armv5t is still alive. > The number of users on armv5t is declining. We're not removing it for 12 (since there's several known users), but will have a discussion about that after we branch 12 whether or not we'll keep it for 13. Since there are users, we need to understand the impact of keeping the port or retiring it on them. Unlike these early parts where there's no known users... Warner > Thanks > > Hiroki Mori > > ----- Original Message ----- > *From:* Warner Losh > *To:* Mori Hiroki > *Cc:* "freebsd-arm@freebsd.org" > *Date:* 2018/7/19, Thu 02:37 > *Subject:* Re: One last item: CNS1102 support removal > > > > On Wed, Jul 18, 2018 at 9:37 AM, Mori Hiroki > wrote: > > Hi. > > I make fdt eventtimer intrng to cns11xx. > > https://gist.github.com/ yamori813/ ae047a28a825aac255e436fd8ccaf7 85 > > > > Still not work... > > Clang is very slow on cross compile. It's take 7 hour. > > My cns11xx target Planex MZK-W04G is 64MByte ram. > > > OK. I could only find a board with 16MB. 64MB is barely enough these days > to do useful things with FreeBSD unless you're a super user. > > > It's bigger than rt1310 target. > > > There's no RALINK kernel config I could find, even though the rt1310 code > is in the tree. What have I missed? > > > I almost abandon... > > > So are you abandoning both platforms? Or just CNS1102? > > Are you OK with removing one or both of these platforms? > > Warner > > > Hiroki Mori > > > ----- Original Message ----- > > From: Warner Losh > > To: "freebsd-arm@freebsd.org" > > Cc: > > Date: 2018/7/18, Wed 22:58 > > Subject: One last item: CNS1102 support removal > > > >T here's one last item in arm land for 12 I'd like to remove: The Econa / > > Cavium CN1102 support. > > > > It's literally received no updates since it was committed in 2010, apart > > from others doing kernel sweeps. It's unmaintained. Strike one. > > > > Second, it will be the last armv4 port in the tree after I remove Atmel. > We > > haven't had FreeBSD running on armv4 Atmel since FreeBSD 8. Strike two. > > > > Third, the original machines were released in 2005 or 2006. There's only > > one known board, according to https://wikidevi.com/wiki/ Cavium > , and it came > > with only 16MB. So it's old and doesn't have much RAM. While barely > > possible, in theory, to run FreeBSD/arm in 16MB, it's a huge PITA. Strike > > three. > > > > Forth, I can find no mention of it in the archives or bug database. > Strike > > four. > > > > I'm lead to the conclusion that this is no longer maintained, has no > users, > > the hardware it was in has insufficient resources to run FreeBSD well and > > these things are unlikely to change. Therefore, we should remove it. > > > > Comments? > > > > Warner > > ______________________________ _________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/ mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@ freebsd.org > " > > > > > > > From owner-freebsd-arm@freebsd.org Wed Jul 18 18:40:16 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BF19102D81F for ; Wed, 18 Jul 2018 18:40:16 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A07B0872DF for ; Wed, 18 Jul 2018 18:40:15 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w6IIeUMm027643 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jul 2018 11:40:31 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w6IIeUjl027642; Wed, 18 Jul 2018 11:40:30 -0700 (PDT) (envelope-from fbsd) Date: Wed, 18 Jul 2018 11:40:30 -0700 From: bob prohaska To: tech-lists Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI3 swap experiments Message-ID: <20180718184030.GA27481@www.zefox.net> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 18:40:16 -0000 On Wed, Jul 18, 2018 at 12:15:52PM +0100, tech-lists wrote: > > I've not read the whole thread yet, but have been following parts of it > with interest. I'm just writing to say that I'm right now running [1] a > rpi3 (the earlier one, not the 3B+) on -current [2] and am having no > issues at all with swap. > I don't mean to suggest that swap can't be made to work; only that the error messages presented seem inconsistent with what's actually going wrong. [snip] > I think what you're running into when encountering these errors is > firstly the disk erroring and then, because writes are too slow for the > usage, these errors amplifying. But that being a function of the > slowness of combined usb2 interface/mmc/flash. The flash erroring might > be in spec for flash in this context. > In the example at http://www.zefox.net/~fbsd/rpi3/swaptests/r336356/2gbusbflash_1gbsdflash/ The greatest delay in write for swap is 368.0 ms/w, at timestamp Tue Jul 17 18:47:06 PDT 2018 The OOMA kill appears to happen much later, at Tue Jul 17 20:38:58 PDT 2018 when a read delay for microSD swap hits 263.6 ms/r At best, the error message is misleading. Being out of swap and having to wait longer than usual to access it are very different problems. It seems to be an article of faith that flash is "too slow". I do agree that FreeBSD deals more reliably with mechanical disks, but given BSD history that should come as no surprise 8-) Use of flash storage has grown, it is unlikely to stop. It would be very interesting if the OOMA kill trigger could be adjusted or turned off. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Jul 18 19:09:37 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80C8F102E83C for ; Wed, 18 Jul 2018 19:09:37 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CB34088AF4 for ; Wed, 18 Jul 2018 19:09:36 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w6IJ9qgH027732 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jul 2018 12:09:53 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w6IJ9qHL027731; Wed, 18 Jul 2018 12:09:52 -0700 (PDT) (envelope-from fbsd) Date: Wed, 18 Jul 2018 12:09:51 -0700 From: bob prohaska To: Mark Millard Cc: freebsd-arm@freebsd.org Subject: Re: RPI3 swap experiments Message-ID: <20180718190951.GB27481@www.zefox.net> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 19:09:37 -0000 On Wed, Jul 18, 2018 at 07:42:13AM -0700, Mark Millard wrote: > > > On 2018-Jul-17, at 11:06 PM, bob prohaska wrote: > > > It appears that some progress has been made in getting swap working reasonably > > on the RPI3. A -j4 buildworld attempt running r336356 to compile 336431 failed > > with "out of swap" but the worst read and write delays were less than 5 seconds, > > a marked improvement over previous examples. > > Attributing the time variations that have been observed mostly to FreeBSD and not > mostly to the device at issue seems to have little or no evidence to support it. > Possibly a fair objection. This test is with a USB3.0 flash drive. I'll repeat soon as possible with a USB3.1 device, which in the past reported much greater (15 second) delays. > > In this case swap was split, 2 each 1GB partitions on USB flash plus 1 GB on the > > microSD card. Previous attempts using 3 each 1 GB partitions on USB flash have been > > repeatedly successful, while a single attempt using 3 each 1GB partitions on microSD > > failed. > > The more swap partitions (or space?) not on a /dev/mmcsd0s* the less of the > activity that /dev/mmcsd0 handles and likely the more time it tends to have > between explicit operations to do internal housekeeping before the next > explicit operation. > > So the better approximation to not using /dev/mmcsd0 at all might not be > all that much of a surprise at having less of a problem on the device > (or a problem less often). > In earlier tests (same card type) putting _all_ swap on microSD (along with /tmp) avoided OOMA kills. Dependable mischief seems to come when swap is on both microSD and USB. It's understood that USB and Ethernet share I/O hardware, but I thought microSD was at least somewhat independent. Is this wrong? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Jul 18 19:35:48 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96DF6102F947 for ; Wed, 18 Jul 2018 19:35:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-22.consmr.mail.gq1.yahoo.com (sonic311-22.consmr.mail.gq1.yahoo.com [98.137.65.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B9AF89A61 for ; Wed, 18 Jul 2018 19:35:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: _OuJr78VM1lIAC0lbVcJgiDHxYz2EnXd.5AdYEhaBRUpWvVq2IinrFR0pwMregy M4Dbhe1_iZAMeYECyn1hey.4AAHBxfhQC23wwHMfY2iM7it_Su6hZPW.WzvRbsq5XCslyw65cpvg dzson.17BGpOxAdeXdP0UpGRnsSZvSICAvES4VBP0DWa61_cL6QUzvhFX9iNqpQ3uAO8YR6hy58Z I9wnAo_oPBJksxJ6sNxAAPgt_tw9qsUbFVm0NbIpN7Uh.wNWDBdZgsUNaMcFDJ_Y01PLHwd8OqKL kaio3Xu50y.IF6YpDdYwk_owT4XnkI1grsTpDQopZqEE7PiAQy4DRUEs2uRYI5DVH6KaPkAvk5my o3rbyWZ9w2nV1cKQYiYTTkOjlb5qmZaElIdHubLifwmrSB7D8a2tTQxPcvQdMURhspNgwOvaXPyF WhXQW6wEL8O25241uqJcKeCYzVpCkHsjBNRizd8hgUnagMFeS_hHWcX9HUNHKozBic_D.wnJJcTa YWtDAMm5LmDtbzEP4Ybn3_8sC1sb7nfXQ3JfzrLYwO1hLeXWid3ZebjDP_mrh386L06ckrNki1D1 HKC0UUR5jSvy_InLEDUhvatfXoBIyhADDmDTYqA.FzRJwOTdVhAwInB9V3ieOPJuAS.hOlILL7yM s5__6tUXn.p1gVyzfSN3L21cPPa4DdJ5gLuIMj0zelCXFUXhqYa2RXIpo7Nt8rYwsQGa87161MuL rSG3NurZkX_ypjX_WN4IjVsLsp3hyw.J3lJDcJrtBOrcV_D.jzMCnpfCexAzqczw_veUUwO1naL3 iLzrc_i1RAZ72w7ZJo3_kQGTwYGlCwCnCgOdYpdbsoiFSWhyCXTwMKpSPRsOpsm.vLWKIXjrgyvG zffHzVRds_mZlWP8D0PySOBT4vYEHvSR_WPvh2KS5pGbztbaBT8Oj6IDpxCVYUg0WUjciJQncEBj q2N3yvQGKUBysG23ubnHQtY_TPWjBQO82usMWgOBxhxcolSeVNG6V2qMN7RVCpCO70FT4 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Wed, 18 Jul 2018 19:35:41 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp425.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 79e50f06e5dc6fa847059acfbae7667e; Wed, 18 Jul 2018 19:35:40 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments From: Mark Millard In-Reply-To: <20180718190951.GB27481@www.zefox.net> Date: Wed, 18 Jul 2018 12:35:38 -0700 Cc: freebsd-arm , Trev Content-Transfer-Encoding: quoted-printable Message-Id: <2CFAE691-3176-4E8C-8542-6D66BE4421A6@yahoo.com> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> <20180718190951.GB27481@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 19:35:48 -0000 On 2018-Jul-18, at 12:09 PM, bob prohaska wrote: > On Wed, Jul 18, 2018 at 07:42:13AM -0700, Mark Millard wrote: >>=20 >>=20 >> On 2018-Jul-17, at 11:06 PM, bob prohaska = wrote: >>=20 >>> It appears that some progress has been made in getting swap working = reasonably >>> on the RPI3. A -j4 buildworld attempt running r336356 to compile = 336431 failed >>> with "out of swap" but the worst read and write delays were less = than 5 seconds, >>> a marked improvement over previous examples. >>=20 >> Attributing the time variations that have been observed mostly to = FreeBSD and not >> mostly to the device at issue seems to have little or no evidence to = support it. >>=20 > Possibly a fair objection. This test is with a USB3.0 flash drive. = I'll repeat soon > as possible with a USB3.1 device, which in the past reported much = greater (15 second) > delays. >=20 >>> In this case swap was split, 2 each 1GB partitions on USB flash = plus 1 GB on the=20 >>> microSD card. Previous attempts using 3 each 1 GB partitions on USB = flash have been >>> repeatedly successful, while a single attempt using 3 each 1GB = partitions on microSD >>> failed. >>=20 >> The more swap partitions (or space?) not on a /dev/mmcsd0s* the less = of the >> activity that /dev/mmcsd0 handles and likely the more time it tends = to have >> between explicit operations to do internal housekeeping before the = next >> explicit operation. >>=20 >> So the better approximation to not using /dev/mmcsd0 at all might not = be >> all that much of a surprise at having less of a problem on the device >> (or a problem less often). >>=20 > In earlier tests (same card type) putting _all_ swap on microSD (along = with /tmp)=20 > avoided OOMA kills. Dependable mischief seems to come when swap is on = both microSD=20 > and USB. As I do not know what all is going on for Out Of Memory kills, I was = only directly talking of the likes of ms/w and/or ms/r time figures being = large sometimes. OOMA may have other issues contributing to some of its = activity for all I know. Is a difference, for example, 2 GB total swap vs. 3 GB total swap and = the message about the swap configuration? The memory tracking swap can = fragment and be a source of not being able to use swap as I understand. (I've = quoted the man page material in the past in these exchanges.) Large swap spaces can hit such fragmentation issues sooner. (So there is a tradeoff in having more swap than needed as the amount-more increases.) Trev has reported: "I have run the -j4 buildworld now 11 times using a = single 2G partition". I wonder what would happen for him if he used two 1 GB partitions or three about 2/3 GB byte partitions. The contrasting case = of a working environment changed to have multiple partitions (with the same = total) could indicate something about if multiple partitions are sufficient to = lead to problems (ms/w, ms/r, OOM killing, or some combination). > It's understood that USB and Ethernet share I/O hardware, but I = thought microSD=20 > was at least somewhat independent. Is this wrong? >=20 This I do not know. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Wed Jul 18 19:50:04 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E6341030120 for ; Wed, 18 Jul 2018 19:50:04 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23DB08A0DA for ; Wed, 18 Jul 2018 19:50:04 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1531943401; bh=U9r3uYA4YJuS2pdBiYyFaEd5qY1LRrg9oPAnhdeJIbc=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=lzttl0Ka6qwLRbO38yawv2boTdYbFjIDa87DwuYsIuoOeT2L0qGrF+NotHEQGwi9x 4IAIQ+hlStyHRz8mAHU0OcBuuzaveOPVTVRjEacZ3NVz9ylsINgM+y88lv+MZRd10+ 8rkGI/v75cYGtsyG6NS+E4sgme5YT7KZB5Niwz9k= Subject: Re: rpi3 and Adafruit GPS Hat To: Diane Bruce Cc: freebsd-arm@freebsd.org References: <47f49a55-66b0-1c02-4530-4701a3bd0c43@nethead.se> <20180718170157.GA40221@night.db.net> From: Per olof Ljungmark Message-ID: Date: Wed, 18 Jul 2018 21:49:54 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180718170157.GA40221@night.db.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 19:50:04 -0000 On 07/18/18 19:01, Diane Bruce wrote: > On Wed, Jul 18, 2018 at 05:10:16PM +0200, Per olof Ljungmark wrote: >> Being a complete newbie to arm I thought a nice project would be to >> build a NTP server with the parts in the subject line. >> >> Unfortunately I have almost no idea where to start, it seems FreeBSD for >> arm have shifted around quite a bit, almost none of the googled pages I >> find has relevance, and to add insult to injury, the Pi project >> apparently shifted the serial ports around for the Pi3. >> >> What I need to achieve, >> >> - Stop the kernel to use the uart for console output (I have ethernet >> and HDMI connected) > > No need. > > change your config.txt > > #dtoverlay=pi3-disable-bt > device_tree_address=0x4000 > kernel=u-boot.bin > enable_uart=1 > > This moves the console port to the less capable micro uart port > this will free up the good uart (the pl011 device) as /dev/ttyu0 > > Remove the pi3-disable-dt in config.txt > enable_uart=1 is needed. > >> VERY grateful if someone that knows better can give me a push in the >> right direction for up to date information. > .. > > This is assuming you use FreeBSD-12 (Head of tree) > Thank you, this looks better: uart0: mem 0x7e201000-0x7e201fff irq 24 on simplebus0 uart1: mem 0x7e215040-0x7e21507f irq 32 on simplebus0 uart1: console (115200,n,8,1) //per From owner-freebsd-arm@freebsd.org Wed Jul 18 22:47:27 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42674103A125 for ; Wed, 18 Jul 2018 22:47:27 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh502-vm13.bullet.mail.kks.yahoo.co.jp (nh502-vm13.bullet.mail.kks.yahoo.co.jp [183.79.56.158]) by mx1.freebsd.org (Postfix) with SMTP id 6556070CEB for ; Wed, 18 Jul 2018 22:47:25 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh502.bullet.mail.kks.yahoo.co.jp with NNFMP; 18 Jul 2018 22:45:01 -0000 Received: from [183.79.100.135] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 18 Jul 2018 22:45:01 -0000 Received: from [127.0.0.1] by omp504.mail.kks.yahoo.co.jp with NNFMP; 18 Jul 2018 22:45:01 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 290027.33843.bm@omp504.mail.kks.yahoo.co.jp Received: (qmail 67682 invoked by uid 60001); 18 Jul 2018 22:45:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1531953901; bh=QheglRfaLVb61OZNzd5HOesSml/3BggIVaMzGAbqZFA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lgLXVLaESGAV/LbT0l0x1cWaYd66GIhkvDOzLdpYgvbBztxxKLmNvoEcAfLnc+27huFAIV7lWE+N/+HbR1LxY9/jR+IhV0UL/laji/r7Fx0rWXzLtuq39NObsB1Gnuo9caFXkb72RIPDArGUbbXF+SR5borPGgBSqVnJbkLEX8Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SJg1HUMo8weWzYL4t3mZuK7nrWDTnXccdFcyOzfv8GW4V7ziluWTknURcisAVKI5Zur3PJ34XYAVdw2/pq+LW2RcZiREucoW12og5IROVeIbiw1vk68ibGbJbFzlOwlx+A9fRw7Xj4zfnBWwWh6j5Bv9GeI3li99qTaf2b8c6v4=; Message-ID: <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> X-YMail-OSG: m2LjySEVM1lEW_EFBQZqJz6acESq2ADDgZJk.mbeV80D8NxEFhuN01J8zM1bUOT6xfT4Lf4ZqiwAJyD6WVZdvVs4HVEQndPsqW1kLB7C016M9c.uUxUaedeH5JMqeHU1t_SPoqfy8pXPQPT8otC1ZNUCijGIe.t5p4rFBhnvLhNA.X3hDYWJDnXUiURae6YLGDSyOKeeHzEOpoZ691beSHhVFKbSHu9b0N1hdWrR69xGUUDuOskIhGi0R6m0sgQDrC1ABHYPApWAUfnBsHAwukJi2RhNiJj1pDFu4z47Ip3NbAKa6_x_QktSIe4NybNFNGXOMW82r2noL2ETDsbxM6U0LAv4ltstvSjSIGCr5_RJXGUgJ1Basc.jR0YJ7RZBnbYtWib4TsMqzuSqNDi_w9fL5vRLQbG05RuSWR.sMAKNJK5Ju4Og4iXGduKSGRNM36i7XOBiUuy8eKIHadMIQBayUArW.DVhUJjnn8RFMrHIBG0al0oqv_A4ZlXZ6JqLVPvRrBtRAVs9ul5prNqmQ_kJG_.oPluBzwpRIfTNhZy.SMPmrzy3cbMEL.TMXhPZZVkoEhx_IM.ciEuSyPmbbEwXkWqyQpErMWhFEUtEMB3dG2nvU5n_EnXHkyWDzeoJ Received: from [203.165.91.75] by web103908.mail.ssk.yahoo.co.jp via HTTP; Thu, 19 Jul 2018 07:44:59 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: TF3FkVMVM1mV0J3fyzobALKUUzq1__X_jjuW97ueP7HWSBAeo03OxanlIaW_KfpBJWTX4xwCSkSNzNwG3rIEzcEbEKS6.A25sH2WbL.vyjDJqzGQQGLIomt2cYohcML9drLL References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> Date: Thu, 19 Jul 2018 07:44:59 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: One last item: CNS1102 support removal To: Warner Losh Cc: "freebsd-arm@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 22:47:27 -0000 Hi=0A=0A=0A----- Original Message -----=0A>From: Warner Losh =0A>To: Mori Hiroki =0A>Cc: "freebsd-arm@freebsd.= org" =0A>Date: 2018/7/19, Thu 03:01=0A>Subject: Re= : One last item: CNS1102 support removal=0A> =0A>=0A>=0A>=0A>=0A>=0A>On Wed= , Jul 18, 2018 at 11:41 AM, Mori Hiroki wrote:=0A>= =0A>Hi=0A>>=0A>>=0A>>sys/arm/ralink is work fine. Please do not remove this= .=0A>=0A>=0A>OK. Do you have a kernel config file we can commit to the tree= ? I don't even know if it compiles, apart from your dmesg posts. I wasn't s= ure based on your email, so I thought I'd ask for clarification.=0A=0AThis = is kernel configure file.=0A=0Ahttps://svnweb.freebsd.org/base/head/sys/arm= /conf/RT1310?view=3Dmarkup=0A=0A=0Admesg have pci log but not commit yet.= =0A=0AThanks=0A=0AHiroki Mori=0A=0A>=0A>=0A>CNS1102 is 922T which is armv4.= I couldn't even find an eval board to try to boot it on, nor any board wit= h more than 16MB on the consumer gear that it's in on ebay. And it's always= a pain to get stuff on gear of that era unless you get lucky...=0A>=A0=0A>= Why do you want remove armv5t ? armv5t is still alive.=0A>=0A>=0A>The numbe= r of users on armv5t is declining. We're not removing it for 12 (since ther= e's several known users), but will have a discussion about that after we br= anch 12 whether or not we'll keep it for 13. Since there are users, we need= to understand the impact of keeping the port or retiring it on them. Unlik= e these early parts where there's no known users...=0A>=0A>=0A>=0A>Warner= =0A>=A0=0A>Thanks=0A>>=0A>>=0A>>Hiroki Mori=0A>>=0A>>=0A>>----- Original Me= ssage -----=0A>>>From: Warner Losh =0A>>>=0A>>>To: Mori Hir= oki =0A>>>Cc: "freebsd-arm@freebsd.org" =0A>>>Date: 2018/7/19, Thu 02:37=0A>>>Subject: Re: One last i= tem: CNS1102 support removal=0A>>> =0A>>>=0A>>>=0A>>>=0A>>>=0A>>>=0A>>>On W= ed, Jul 18, 2018 at 9:37 AM, Mori Hiroki wrote:=0A>= >>=0A>>>Hi.=0A>>>>=0A>>>>I make fdt eventtimer intrng to cns11xx.=0A>>>>=0A= >>>>https://gist.github.com/ yamori813/ ae047a28a825aac255e436fd8ccaf7 85= =0A>>>>=0A>>>>=0A>>>>Still not work...=0A>>>>=0A>>>>Clang is very slow on c= ross compile. It's take 7 hour.=0A>>>>=0A>>>>My cns11xx target Planex MZK-W= 04G is 64MByte ram.=0A>>>>=0A>>>=0A>>>=0A>>>OK. I could only find a board w= ith 16MB. 64MB is barely enough these days to do useful things with FreeBSD= unless you're a super user.=0A>>>=A0=0A>>>It's bigger than rt1310 target.= =0A>>>>=0A>>>=0A>>>=0A>>>There's no RALINK kernel config I could find, even= though the rt1310 code is in the tree. What have I missed?=0A>>>=A0=0A>>>I= almost abandon...=0A>>>>=0A>>>=0A>>>=0A>>>So are you abandoning both platf= orms? Or just CNS1102?=0A>>>=0A>>>=0A>>>Are you OK with removing one or bot= h of these platforms?=0A>>>=0A>>>=0A>>>Warner=0A>>>=0A>>>=0A>>>=0A>>>=0A>>>= Hiroki Mori=0A>>>>=0A>>>>=0A>>>>----- Original Message -----=0A>>>>> From: = Warner Losh =0A>>>>> To: "freebsd-arm@freebsd.org" =0A>>>>> Cc: =0A>>>>> Date: 2018/7/18, Wed 22:58=0A>>>>> S= ubject: One last item: CNS1102 support removal=0A>>>>> =0A>>>>>T here's one= last item in arm land for 12 I'd like to remove: The Econa /=0A>>>>> Caviu= m CN1102 support.=0A>>>>> =0A>>>>> It's literally received no updates since= it was committed in 2010, apart=0A>>>>> from others doing kernel sweeps. I= t's unmaintained. Strike one.=0A>>>>> =0A>>>>> Second, it will be the last = armv4 port in the tree after I remove Atmel. We=0A>>>>> haven't had FreeBSD= running on armv4 Atmel since FreeBSD 8. Strike two.=0A>>>>> =0A>>>>> Third= , the original machines were released in 2005 or 2006. There's only=0A>>>>= =0A> one known board, according to https://wikidevi.com/wiki/ Cavium, and i= t came=0A>>>>> with only 16MB. So it's old and doesn't have much RAM. While= barely=0A>>>>> possible, in theory, to run FreeBSD/arm in 16MB, it's a hug= e PITA. Strike=0A>>>>> three.=0A>>>>> =0A>>>>> Forth, I can find no mention= of it in the archives or bug database. Strike=0A>>>>> four.=0A>>>>> =0A>>>= >> I'm lead to the conclusion that this is no longer maintained, has no use= rs,=0A>>>>> the hardware it was in has insufficient resources to run FreeBS= D well and=0A>>>>> these things are unlikely to change. Therefore, we shoul= d remove it.=0A>>>>> =0A>>>>> Comments?=0A>>>>> =0A>>>>> Warner=0A>>>>> ___= ___________________________ _________________=0A>>>>> freebsd-arm@freebsd.o= rg mailing list=0A>>>>> https://lists.freebsd.org/ mailman/listinfo/freebsd= -arm=0A>>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@ fre= ebsd.org"=0A>>>>> =0A>>>>=0A>>>=0A>>>=0A>>>=0A>=0A>=0A> From owner-freebsd-arm@freebsd.org Wed Jul 18 23:04:30 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 540B2103AE1C for ; Wed, 18 Jul 2018 23:04:30 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh601-vm4.bullet.mail.ssk.yahoo.co.jp (nh601-vm4.bullet.mail.ssk.yahoo.co.jp [182.22.90.13]) by mx1.freebsd.org (Postfix) with SMTP id 5D69C71CF4 for ; Wed, 18 Jul 2018 23:04:28 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh601.bullet.mail.ssk.yahoo.co.jp with NNFMP; 18 Jul 2018 23:01:00 -0000 Received: from [182.22.91.130] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 18 Jul 2018 23:01:00 -0000 Received: from [127.0.0.1] by omp603.mail.ssk.yahoo.co.jp with NNFMP; 18 Jul 2018 23:00:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 989219.27466.bm@omp603.mail.ssk.yahoo.co.jp Received: (qmail 7285 invoked by uid 60001); 18 Jul 2018 23:00:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1531954859; bh=9Ap9fiIiMsSPYWcsDi1hYzIu67M3Y6k8cpej6T4fGdE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=N1On5FYkWcZ5j65afdtf/LSLqImFSDIN1ZheBicNdX1z0ZVWPCJCuKDHeVx5HKBrXzqWfbPti7k1UAnxfSGcy66wDITpKBAUbFeOI1JVFOGEaJhmzCDsrDIWkWS/sedwDXTAomQ8cNSisg+4Konn6bM4p2WMN0cdIn9AJzDsvKg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FTpccrRj0SBDZh07SwM0tra1dZ3w5XjJJ0Tk4K/r5gRNXK1mOeS1jsvvzniIfpmaqY6EpgwuS06vTGlnleox5fFuo4idla23dts/FnhiBc0MJGP6dvClZQbVYBr0QJqu/Oqrhon04ECNQR5nL3NvwHSgP1d5Gf1cg4GC6792Qgk=; Message-ID: <877512.5918.qm@web103915.mail.ssk.yahoo.co.jp> X-YMail-OSG: DUQLfCEVM1ndna5PJUg4qrzHj6K0pFA9CksoHUZmI5TRwRZdDPjp_wau9zKaCHxhC5nHVQ1Xhq._B_Bfz5NWH3AbxhZfIdORI5e6pT6Fc03eu7WYbrvEepmJoCjZo7e0KqIuwxeUidiWym3z9k7D3kszqlkylZmp.s9c9FdjKfY8q1Q16xZHCm_lDgQGXSTDbWbQHrbp3Fpva3yrqcGJhZ6RmIJxt.Ko2ME4SXInOLZ8StQe_6GfCbKqYS4hA0Nlxsp4pK7c8mW7GMMyOP2n.GRuPBqvLg1t21M9aGMNmf9XNcv9xQDMXI833_h2jGWtn4Q.i0G1nOWjDza3CbQPekjB10.BNSt.xacSZVU..AQg251TMoOPD_GYatDwjwgeH1tMUKOnMMifcs01PJ2ceUfWB_Uf1VjqQ4wDxGdKAe3xUl25ywC87.itIX9lVch0NPW4NJivhtSq8mvLz7SKj17sOh3teSqFrJH7Wr.Z.hljKHtUKRMuUdATrU4zsyRnonZAruNBA3pHakVoXOh099xIh9zfvHhOYG4kxiq7_1jwKvWK3IbRhCp0ZxMgZmAXunkPJjwSrBw66Z7iZqWC9xJlqD0LdLiGAKoCxaZ5DkXCoexF0KUuFQsEbzcFoK4- Received: from [203.165.91.75] by web103915.mail.ssk.yahoo.co.jp via HTTP; Thu, 19 Jul 2018 08:00:58 JST X-Mailer: YahooMailWebService/0.8.111_74 X-YMail-JAS: j9KvkYsVM1npdmn79nulGlfnBueS111Zew0Oo6_XzSkDEYoi_2LhoESkG6b8M8.Kx60e0yE6wqHCkVdGOOdeSqyeDnK1bXSF9ewEnxLGDfz7P4U5Bm2BZ78Kc3aN.IuUwU0_ References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> Date: Thu, 19 Jul 2018 08:00:58 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: One last item: CNS1102 support removal To: "freebsd-arm@freebsd.org" In-Reply-To: <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2018 23:04:30 -0000 Hi=0A=0AThis is RT1310 Target list. Some target have 32M ram.=0A=0Ahttps://= wikidevi.com/wiki/NetComm_NP740n=0A=0A=0AThanks=0A=0AHiroki Mori=0A=0A-----= Original Message -----=0A> From: Mori Hiroki =0A> T= o: Warner Losh =0A> Cc: "freebsd-arm@freebsd.org" =0A> Date: 2018/7/19, Thu 07:44=0A> Subject: Re: One last i= tem: CNS1102 support removal=0A> =0A> Hi=0A> =0A> =0A> ----- Original Messa= ge -----=0A>> From: Warner Losh =0A>> To: Mori Hiroki =0A>> Cc: "freebsd-arm@freebsd.org" =0A>> Date: 2018/7/19, Thu 03:01=0A>> Subject: Re: One last item: CNS1= 102 support removal=0A>> =0A>> =0A>> =0A>> =0A>> =0A>> =0A>> On Wed, Jul 18= , 2018 at 11:41 AM, Mori Hiroki =0A> wrote:=0A>> = =0A>> Hi=0A>>> =0A>>> =0A>>> sys/arm/ralink is work fine. Please do not rem= ove this.=0A>> =0A>> =0A>> OK. Do you have a kernel config file we can comm= it to the tree? I don't =0A> even know if it compiles, apart from your dmes= g posts. I wasn't sure based =0A> on your email, so I thought I'd ask for c= larification.=0A> =0A> This is kernel configure file.=0A> =0A> https://svnw= eb.freebsd.org/base/head/sys/arm/conf/RT1310?view=3Dmarkup=0A> =0A> =0A> dm= esg have pci log but not commit yet.=0A> =0A> Thanks=0A> =0A> Hiroki Mori= =0A> =0A>> =0A>> =0A>> CNS1102 is 922T which is armv4. I couldn't even find= an eval board to =0A> try to boot it on, nor any board with more than 16MB= on the consumer gear that =0A> it's in on ebay. And it's always a pain to = get stuff on gear of that era =0A> unless you get lucky...=0A>> =A0=0A>> Wh= y do you want remove armv5t ? armv5t is still alive.=0A>> =0A>> =0A>> The n= umber of users on armv5t is declining. We're not removing it for 12 =0A> (s= ince there's several known users), but will have a discussion about that = =0A> after we branch 12 whether or not we'll keep it for 13. Since there ar= e =0A> users, we need to understand the impact of keeping the port or retir= ing it on =0A> them. Unlike these early parts where there's no known users.= ..=0A>> =0A>> =0A>> =0A>> Warner=0A>> =A0=0A>> Thanks=0A>>> =0A>>> =0A>>> H= iroki Mori=0A>>> =0A>>> =0A>>> ----- Original Message -----=0A>>>> From: Wa= rner Losh =0A>>>> =0A>>>> To: Mori Hiroki =0A>>>> Cc: "freebsd-arm@freebsd.org" =0A> = =0A>>>> Date: 2018/7/19, Thu 02:37=0A>>>> Subject: Re: One last item: CNS11= 02 support removal=0A>>>> =0A>>>> =0A>>>> =0A>>>> =0A>>>> =0A>>>> =0A>>>> O= n Wed, Jul 18, 2018 at 9:37 AM, Mori Hiroki =0A> wr= ote:=0A>>>> =0A>>>> Hi.=0A>>>>> =0A>>>>> I make fdt eventtimer intrng to cn= s11xx.=0A>>>>> =0A>>>>> https://gist.github.com/ yamori813/ =0A> ae047a28a8= 25aac255e436fd8ccaf7 85=0A>>>>> =0A>>>>> =0A>>>>> Still not work...=0A>>>>>= =0A>>>>> Clang is very slow on cross compile. It's take 7 hour.=0A>>>>> = =0A>>>>> My cns11xx target Planex MZK-W04G is 64MByte ram.=0A>>>>> =0A>>>> = =0A>>>> =0A>>>> OK. I could only find a board with 16MB. 64MB is barely eno= ugh these =0A> days to do useful things with FreeBSD unless you're a super = user.=0A>>>> =A0=0A>>>> It's bigger than rt1310 target.=0A>>>>> =0A>>>> =0A= >>>> =0A>>>> There's no RALINK kernel config I could find, even though the = =0A> rt1310 code is in the tree. What have I missed?=0A>>>> =A0=0A>>>> I al= most abandon...=0A>>>>> =0A>>>> =0A>>>> =0A>>>> So are you abandoning both = platforms? Or just CNS1102?=0A>>>> =0A>>>> =0A>>>> Are you OK with removing= one or both of these platforms?=0A>>>> =0A>>>> =0A>>>> Warner=0A>>>> =0A>>= >> =0A>>>> =0A>>>> =0A>>>> Hiroki Mori=0A>>>>> =0A>>>>> =0A>>>>> ----- Orig= inal Message -----=0A>>>>>> From: Warner Losh =0A>>>>>> T= o: "freebsd-arm@freebsd.org" =0A> =0A>>>>>> Cc: = =0A>>>>>> Date: 2018/7/18, Wed 22:58=0A>>>>>> Subject: One last item: CNS= 1102 support removal=0A>>>>>> =0A>>>>>> T here's one last item in arm land = for 12 I'd like =0A> to remove: The Econa /=0A>>>>>> Cavium CN1102 support= .=0A>>>>>> =0A>>>>>> It's literally received no updates since it was =0A> = committed in 2010, apart=0A>>>>>> from others doing kernel sweeps. It's un= maintained. =0A> Strike one.=0A>>>>>> =0A>>>>>> Second, it will be the las= t armv4 port in the tree after I =0A> remove Atmel. We=0A>>>>>> haven't ha= d FreeBSD running on armv4 Atmel since =0A> FreeBSD 8. Strike two.=0A>>>>>>= =0A>>>>>> Third, the original machines were released in 2005 or 2006. =0A= > There's only=0A>>>>> =0A>> one known board, according to https://wikidev= i.com/wiki/ Cavium, and it =0A> came=0A>>>>>> with only 16MB. So it's old = and doesn't have much =0A> RAM. While barely=0A>>>>>> possible, in theory,= to run FreeBSD/arm in 16MB, it's a =0A> huge PITA. Strike=0A>>>>>> three.= =0A>>>>>> =0A>>>>>> Forth, I can find no mention of it in the archives or = bug =0A> database. Strike=0A>>>>>> four.=0A>>>>>> =0A>>>>>> I'm lead to t= he conclusion that this is no longer =0A> maintained, has no users,=0A>>>>>= > the hardware it was in has insufficient resources to run =0A> FreeBSD we= ll and=0A>>>>>> these things are unlikely to change. Therefore, we should = =0A> remove it.=0A>>>>>> =0A>>>>>> Comments?=0A>>>>>> =0A>>>>>> Warner=0A= >>>>>> ______________________________ _________________=0A>>>>>> freebsd-= arm@freebsd.org mailing list=0A>>>>>> https://lists.freebsd.org/ mailman/l= istinfo/freebsd-arm=0A>>>>>> To unsubscribe, send any mail to =0A> "freebs= d-arm-unsubscribe@ freebsd.org"=0A>>>>>> =0A>>>>> =0A>>>> =0A>>>> =0A>>>> = =0A>> =0A>> =0A>> =0A> _______________________________________________=0A> = freebsd-arm@freebsd.org mailing list=0A> https://lists.freebsd.org/mailman/= listinfo/freebsd-arm=0A> To unsubscribe, send any mail to "freebsd-arm-unsu= bscribe@freebsd.org"=0A> From owner-freebsd-arm@freebsd.org Thu Jul 19 03:56:22 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E082104738F for ; Thu, 19 Jul 2018 03:56:22 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C2667B7F0 for ; Thu, 19 Jul 2018 03:54:28 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id w6J3r5sX073551 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jul 2018 20:53:05 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id w6J3r5v3073550; Wed, 18 Jul 2018 20:53:05 -0700 (PDT) (envelope-from warlock) Date: Wed, 18 Jul 2018 20:53:05 -0700 From: John Kennedy To: bob prohaska Cc: freebsd-arm@freebsd.org Subject: Re: RPI3 swap experiments Message-ID: <20180719035305.GB92843@phouka1.phouka.net> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180718060650.GA24566@www.zefox.net> User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 03:56:22 -0000 On Tue, Jul 17, 2018 at 11:06:50PM -0700, bob prohaska wrote: > It appears that some progress has been made in getting swap working reasonably > on the RPI3. A -j4 buildworld attempt running r336356 to compile 336431 failed > with "out of swap" but the worst read and write delays were less than 5 seconds, > a marked improvement over previous examples. > > In this case swap was split, 2 each 1GB partitions on USB flash plus 1 GB on the > microSD card. Previous attempts using 3 each 1 GB partitions on USB flash have been > repeatedly successful, while a single attempt using 3 each 1GB partitions on microSD > failed. So I've got a RPI3B+. YMMV. I've recompiled 12 ~7 times since June 27th and run into a handful of problems but haven't had issues lately. I think I started out with the stock images (*-RPI3-20180618-r335317 and *-RPI3-20180709-r336134). I had OOM problems, so added swap (typical swap-on-ufs). Could only get ~3.6G of swap without triggering the kern.maxswzone warning, and then had the pauses (forget the exact text, but basically FreeBSD telling me that something disk related had timed out after ~20 secs). That stopped being a problem as I took the stock images and created a real freebsd-swap partition (and maybe a SDCARD upgrade). Just a gut feeling, but I figured that the kernel recompile was causing enough buffering (and perhaps double-buffering with swap-on-ufs) that it was getting itself soft-wedged (so timeouts, and OOM even though it didn't look like I was getting anywhere near maxing out ~3.6G of swap). OOM, kill ntpd, then eventually kill part of the build and eventually the build would fail. I didn't know if there might have been some memory spikes that blew it up that I wasn't seeing with top. I could restart and it would eventually finish, but building everything takes too long as it is (very spoiled by beefy AMD64 box, but RPI3B+ destroys my old RPI1). So yes, I've (re)compiled everything on just an SDCARD. I'll note that said SDCARD is a SanDisk Extreme Plus 64G (UHS3 / V30, so ~30MB/s). I think I was using a SanDisk Ultra Plus (UHS1, no V-speed, so maybe ~10MB/s) initially because it was laying around. That was an educated guess on my part that something that could sink 30MB/s of video would make a better sink that something that averaged out to ~10MB/s data, and that spending more than that was a waste based on iostat stats (I think topping out at ~6+MB/s with -w5). I think I managed to get up to ~12+MB/s with some dd-bs=1M chunking. I theory, I think the RPI3 should basically have a ~60MB/s USB2 "backplane", so not sure what the bottleneck is. At the moment, I have /usr/src and /usr/obj NFS-mounted, mostly to waste a lot of time copying that work around while I try to figure out what is wrong with my attempted ZFS setup. From owner-freebsd-arm@freebsd.org Thu Jul 19 05:49:39 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48B42104AD38 for ; Thu, 19 Jul 2018 05:49:39 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C22D97E8FC for ; Thu, 19 Jul 2018 05:49:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: rp2l_8sVM1nBi1sgMkn_lcD1S6YkTBJWTiYaA5k0Jr2XH4qfgQnwsGxhzNRUAIJ hPCjP4g7Weav55w5R8bwVnQBq4uNNvoyWhVxmHcamQyhHoRveBS87Jg3QC3eMLpIFpdPEgkN9EgD S9iv2cdqCG67sbINT.zbqfQh79Gwu4_DHOQyZIElKTRfM4mU8654YVrFegCTy39WFpuzbPCh4cf3 ChOXU9qVKWyL.vafZKyRm6Tp6K.jFWsUm4hzJyfYck7LEBPEL9gLixbD5AW7khvbCY.nhWjNmg6w mYJH.LeoRwifVugTycrNaGMVhs8RmWk8uvC52Up3iY6Ym14cch2C5tRXQ9gahqmQcHXScwcFeyuN Tie4j.kfHBIrP_q8wmj_TAUkjWR9oOEJQ4di.uNWs7yp3w7POziw8G1Z_MuoPzOpG0YkDfirzKnR u.BNmTDpAwkq8LJHXQEg.e5Q15XSfT9fAIeWqmRrT238CDhqz.mY5h3xg4oOrM4NhCCQdL2qlc_D WWMe9imwG.6aGQWE1n..69kTXsYS.SfP0cFlPj1OYNg3XWOVuwb7ZqusA9aebMux5sbkZhCAcTt8 XDxPMrqC8jkmti.jDxA8F6_GlW9YpGdH2uLqOtJtsVxFVOwd5yAglSUiXiWwGatBlTnUg9F8hTX3 3_.mV5RqUvDyaiU_QuUlYV4WpL.QAmBja9qxEFDM2R8o9MgrDh1_EfFXMMpOgO2NLwBFspSknaka VaBbfm5sNDlh9wXRbO.An4KIWs.XhDuxWrS_WDMrZcLBEfMzqsK79clbcNqiglpj50imLARyaYoS Za_z5OCFTJUbCGRZffeeLE6KXk.r0FMjIXa161m2RrVtXQSkHmYLa5Z.ky_KSxBaa1W1zuHNhBHk t2ClQCGJi8tIgh5TDBk_1_SDXzjGGp2QA7QDodHzIpbVHaLIMJ1ZTUIql8g5GEP10pSy4YrDayQm 3BnfCd7YANCZwDpPbTqTtCyQv2_dOCTWcmOPiCRuuo8_gTlHPqYvzDnsycssLQQexgT61mUNSSL7 uienfi_ye99LYYp9Vzw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Thu, 19 Jul 2018 05:49:32 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp430.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4d1d0eb954bfdcadbd7e749d5f6bc67f; Thu, 19 Jul 2018 05:39:24 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments From: Mark Millard In-Reply-To: <20180719035305.GB92843@phouka1.phouka.net> Date: Wed, 18 Jul 2018 22:39:23 -0700 Cc: bob prohaska , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1E5AF7B2-0025-4FE4-9718-FDA7BA10797A@yahoo.com> References: <20180629233937.GC35717@www.zefox.net> <0f137e06-214a-3e8c-a216-f061ec04ac2c@sentry.org> <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180704004554.GA61273@www.zefox.net> <20180718060650.GA24566@www.zefox.net> <20180719035305.GB92843@phouka1.phouka.net> To: John Kennedy X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 05:49:39 -0000 On 2018-Jul-18, at 8:53 PM, John Kennedy wrote: > On Tue, Jul 17, 2018 at 11:06:50PM -0700, bob prohaska wrote: >> It appears that some progress has been made in getting swap working = reasonably >> on the RPI3. A -j4 buildworld attempt running r336356 to compile = 336431 failed >> with "out of swap" but the worst read and write delays were less than = 5 seconds, >> a marked improvement over previous examples. >>=20 >> In this case swap was split, 2 each 1GB partitions on USB flash plus = 1 GB on the=20 >> microSD card. Previous attempts using 3 each 1 GB partitions on USB = flash have been >> repeatedly successful, while a single attempt using 3 each 1GB = partitions on microSD >> failed. >=20 > So I've got a RPI3B+. YMMV. >=20 > I've recompiled 12 ~7 times since June 27th and run into a handful of > problems but haven't had issues lately. I think I started out with = the > stock images (*-RPI3-20180618-r335317 and *-RPI3-20180709-r336134). >=20 > I had OOM problems, so added swap (typical swap-on-ufs). Could only = get > ~3.6G of swap without triggering the kern.maxswzone warning, and then = had the > pauses (forget the exact text, but basically FreeBSD telling me that = something > disk related had timed out after ~20 secs). That stopped being a = problem as > I took the stock images and created a real freebsd-swap partition (and = maybe > a SDCARD upgrade). See bugzilla 206048 ( = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206048 ) for what tends to happen with swap files (including swap in ufs files). = The technical/FreeBSD-internal material is in or referenced-in Comments 7 & = 8. This issue is separate from what Bob P. has been dealing with for swap partitions. > . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Thu Jul 19 09:26:19 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19D601029F23 for ; Thu, 19 Jul 2018 09:26:19 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fry.fubar.geek.nz (fry.fubar.geek.nz [139.59.165.16]) by mx1.freebsd.org (Postfix) with ESMTP id B2E1F86FDC for ; Thu, 19 Jul 2018 09:26:18 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from [IPv6:2a02:c7f:1e13:cf00:6019:8e3:7e69:16c6] (unknown [IPv6:2a02:c7f:1e13:cf00:6019:8e3:7e69:16c6]) by fry.fubar.geek.nz (Postfix) with ESMTPSA id AC0D14EBAE; Thu, 19 Jul 2018 09:25:38 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: One last item: CNS1102 support removal From: Andrew Turner In-Reply-To: <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> Date: Thu, 19 Jul 2018 10:25:33 +0100 Cc: Warner Losh , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <027D94FC-F507-4A64-99DC-B60E03D55D3B@fubar.geek.nz> References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> To: Mori Hiroki X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 09:26:19 -0000 > On 18 Jul 2018, at 23:44, Mori Hiroki wrote: >=20 > Hi >=20 >=20 > ----- Original Message ----- >> From: Warner Losh >> To: Mori Hiroki =20 >> Cc: "freebsd-arm@freebsd.org" >> Date: 2018/7/19, Thu 03:01 >> Subject: Re: One last item: CNS1102 support removal >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> On Wed, Jul 18, 2018 at 11:41 AM, Mori Hiroki = wrote: >>=20 >> Hi >>>=20 >>>=20 >>> sys/arm/ralink is work fine. Please do not remove this. >>=20 >>=20 >> OK. Do you have a kernel config file we can commit to the tree? I = don't even know if it compiles, apart from your dmesg posts. I wasn't = sure based on your email, so I thought I'd ask for clarification. >=20 > This is kernel configure file. >=20 > https://svnweb.freebsd.org/base/head/sys/arm/conf/RT1310?view=3Dmarkup That config file fails to build. It's marked with NO_UNIVERSE so it = won=E2=80=99t be tested by the universe of tinderbox targets. Andrew From owner-freebsd-arm@freebsd.org Thu Jul 19 16:20:06 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A6A110400DB for ; Thu, 19 Jul 2018 16:20:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1994297AEC for ; Thu, 19 Jul 2018 16:20:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x233.google.com with SMTP id o22-v6so6483121ioh.6 for ; Thu, 19 Jul 2018 09:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3ngiNZ+JMXdWaBOYpfzfVJIRAJMS2FjbYFX48uO9dI0=; b=inA+8WhCEWqSeGBVT9w8wiyIUqNaNYLbleQtU6WnfPTGE+P4bYNsOgJg6Xegw4zNkj mRCFUYD9Uf/HzGmeO7ltMIfxahYcf7pY6FMdIfrluhom8nJbJJxBX5kbhd07k1MAcJ2z iiUqApMIeC6EttfOCmxq/ojNFRyPC5rswc5ikbYOMLmSRbdc4takPR+HlfjH1i3T6Et2 dkCPEyH+/53vd5XoKkv5v2g32+Zw2JbvsFj2sTSBWSDVCXQ6XqA7FcvH+/jFuXMElxHC UEM6VxMQ7uCqL+TFGZsqLJR4uC+XT9DLlrhPrR1H7r/5zhfKcV9StwkQMRi/vTw27ZOf hpHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3ngiNZ+JMXdWaBOYpfzfVJIRAJMS2FjbYFX48uO9dI0=; b=AeFnxVHitmHKwthSJ5GYsPlDiIJ9Y0zNigLZS85TLTJXPpds+6I9/KO8Cq3uMPuonP 53/tUsJQwn2x1w+OlPEtmlVe3or+K8RqDZ3AnLSkiBVWwXWLkYst+ad4p/fmsUyws3OF z/p9jIRA0b4H0jz++NVSCoONc27oEGr5h1rg6d+L8Yf5E5CF+S5Itoo1zaHu0BILftuq 5ToQjxhalq1kGhuXUz958MFWmyofFeQLSjKWBTau+4OzvdmCyVYovbvk57UkqQotU+5m lvNH+yhxhueI67YPyfBAWSfgOI9OodPS5uzGn67HvVpNpGpCn0gnneuEKfUHtHptqndu bsEw== X-Gm-Message-State: AOUpUlGBWyE/8DE5WCDZZlrRXsGIdMjgVZA4CgaX1TxaVhx2nOlWT9aP J175JdO4DdON2XeIB9DgBjY6a3cpQfqq6rt3cZPlRYzRcpXY/Q== X-Google-Smtp-Source: AAOMgpfkONi9mnReK656ZdsQrmzigmDMWSF1k1BXYbo0cz69pg4N8wOJwb75TbOCvSB671t0wUQMmC7iTg5nwt2Bcds= X-Received: by 2002:a6b:f719:: with SMTP id k25-v6mr3486364iog.37.1532017204821; Thu, 19 Jul 2018 09:20:04 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Thu, 19 Jul 2018 09:20:04 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <027D94FC-F507-4A64-99DC-B60E03D55D3B@fubar.geek.nz> References: <527924.35248.qm@web103919.mail.ssk.yahoo.co.jp> <31342.89059.qm@web103904.mail.ssk.yahoo.co.jp> <92417.57492.qm@web103908.mail.ssk.yahoo.co.jp> <027D94FC-F507-4A64-99DC-B60E03D55D3B@fubar.geek.nz> From: Warner Losh Date: Thu, 19 Jul 2018 10:20:04 -0600 X-Google-Sender-Auth: 7ev8bVW-jlkb2tlmB0VxTIh9TzE Message-ID: Subject: Re: One last item: CNS1102 support removal To: Andrew Turner Cc: Mori Hiroki , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 16:20:06 -0000 On Thu, Jul 19, 2018 at 3:25 AM, Andrew Turner wrote= : > > > On 18 Jul 2018, at 23:44, Mori Hiroki wrote: > > > > Hi > > > > > > ----- Original Message ----- > >> From: Warner Losh > >> To: Mori Hiroki > >> Cc: "freebsd-arm@freebsd.org" > >> Date: 2018/7/19, Thu 03:01 > >> Subject: Re: One last item: CNS1102 support removal > >> > >> > >> > >> > >> > >> > >> On Wed, Jul 18, 2018 at 11:41 AM, Mori Hiroki > wrote: > >> > >> Hi > >>> > >>> > >>> sys/arm/ralink is work fine. Please do not remove this. > >> > >> > >> OK. Do you have a kernel config file we can commit to the tree? I don'= t > even know if it compiles, apart from your dmesg posts. I wasn't sure base= d > on your email, so I thought I'd ask for clarification. > > > > This is kernel configure file. > > > > https://svnweb.freebsd.org/base/head/sys/arm/conf/RT1310?view=3Dmarkup > > That config file fails to build. It's marked with NO_UNIVERSE so it won= =E2=80=99t > be tested by the universe of tinderbox targets. > It's missing the machine directive, the cpu directive, the hints file it specifies isn't there and the fv and rt1310gpio devices specified in it aren't found. Fixing all that gives: --- rt1310_intc.o --- /usr/home/imp/git/head/sys/arm/ralink/rt1310_intc.c:404:7: error: implicit declaration of function 'fdt_is_compatible' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (!fdt_is_compatible(node, "lpc,pic")) ^ /usr/home/imp/git/head/sys/arm/ralink/rt1310_intc.c:404:7: note: did you mean 'fdt_find_compatible'? /usr/home/imp/git/head/sys/dev/fdt/fdt_common.h:85:11: note: 'fdt_find_compatible' declared here phandle_t fdt_find_compatible(phandle_t, const char *, int); ^ /usr/home/imp/git/head/sys/arm/ralink/rt1310_intc.c:404:7: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] if (!fdt_is_compatible(node, "lpc,pic")) ^ 2 errors generated. *** [rt1310_intc.o] Error code 1 make[2]: stopped in /usr/home/imp/obj/usr/home/imp/git/head/arm.arm/sys/RT1310 Warner From owner-freebsd-arm@freebsd.org Sat Jul 21 09:43:03 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F37710446C6 for ; Sat, 21 Jul 2018 09:43:03 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C2F4584005 for ; Sat, 21 Jul 2018 09:43:02 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: by mail-wm0-x235.google.com with SMTP id z13-v6so11964407wma.5 for ; Sat, 21 Jul 2018 02:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=weS/v79A95TL+Ir+JEcZefynfmvhmBDheN7Ifv1wKsA=; b=RnGTw9Ow2kSsGuXy/pz5NpKowsaAYEa8LDZtWCSE88U8pYxMiIlLmRDC0Ca+kz0HB2 cOtfxinRLqEkvTOrtJqFV2U2AGPqQmToyPbSMP0jKOxkpylwZBWoWzz8FAuoiI8G8XCB rUZj1vD3i954WgxlgBIrzkOXNyEvWWCv36OoPd4Qt+XBm4TN3kXNK7tPPlSIo+2OI9CD 3t7rYZy9W7TyHbZ2ePJNh2BD65ZcBcHh4igsTRlc+QoX0bOX7VR4YpX8c6F/5t+I0x/n C4epZq+SPe7lyd6IIQkeOBPyUCOMXvcef9FElj3aDjHG29mp+6/iZ67sKT17dgPP6CFD GbqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=weS/v79A95TL+Ir+JEcZefynfmvhmBDheN7Ifv1wKsA=; b=jc9kdpLZ5zG006ZzMwD9NQleg1MieOfQV/BIBfWuLJudwu4Z0jSS6/KsvSQFqKE9Pn LY3ACtxOZLZVCkwdmMUiv7MtfrY/NVNqilkNOush4BRMipqSEAWITo1GDz3B/8dhIQA3 XYcZ5nRJPieX4jBl1qPwZVhp2O2sOrvJn6rh/+QyHglIVqQUqMgVmZriBGy6wBHg+SRG out/o+RinKEJbNrge8YXLjrA2vCInGOJliOjZcnYN6NZvk05svpvinfdFMbLbBGw7BS2 uGzW6J8O3PEb3Bma8CYOwzUZTrIigAsOp0XWwT8yN5G2owndZCAIJpcFm4nWfWHtCDoU 4fYw== X-Gm-Message-State: AOUpUlGS558yQ4aeIVQjaBZtFyPVgkD8k5v/rm6axXBhIH0wypDjlFbb acWRqwSFhpNnUbMYsJk6nek= X-Google-Smtp-Source: AAOMgpdFY8qB4GcVt8NWNgeoYEjGwFx72Q2t3zfGdOWD630GlWKjNLV/0vHdIdUU3C+dlFdhLPebdg== X-Received: by 2002:a1c:4e0f:: with SMTP id g15-v6mr3260905wmh.49.1532166181272; Sat, 21 Jul 2018 02:43:01 -0700 (PDT) Received: from [172.16.0.150] (net-188-219-105-237.cust.vodafonedsl.it. [188.219.105.237]) by smtp.gmail.com with ESMTPSA id b11-v6sm4315516wrv.82.2018.07.21.02.42.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 02:43:00 -0700 (PDT) To: freebsd-arm@freebsd.org, Nicola Mingotti From: Nicola Mingotti Subject: Issues with packages Message-ID: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> Date: Sat, 21 Jul 2018 11:43:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 09:43:03 -0000 Hi all, I am working with FreeBSD-11.1 in BeagleBone Black Rev.C. In the last week I needed to have a webcam streaming from the BBB and i discovered there are some issues with packages. Problem. There are missing popular packages for ARM. For example _ffmpeg_ and _vlc_ but also e.g. _kde..._ I was able to compile the following missing packages from ports without making any change to the Makefiles. with : #> make -DBATCH install #> make package for packages: ------------------------------------------------------------- vlc-2.2.8_6,4.txz ffmpeg0-0.7.17_14,1.txz opencv-core-3.4.1_1.txz ffmpeg-4.0.1,1.txz leptonica-1.76.0.txz tesseract-3.05.02_1.txz ------------------------------------------------------------- I compiled those packages directly on the BBB with the following caveat. Before running the "make" i was checking all dependencies of each package in FreshPorts and resolving them one by one installing the relevant *packages*. The reason for this is of course that BBB is very slow, if it had to recursively compile all stuff it needed for e.g. ffmpg i could never make it. So, if i can compile the packages the central system should also be able to do it. Maybe there are some issues there. Bye -- -------------------------- Dr. Nicola Mingotti R&D - Borghi Srl CTO - BondInsider -------------------------- From owner-freebsd-arm@freebsd.org Sat Jul 21 10:14:35 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 540101045790 for ; Sat, 21 Jul 2018 10:14:35 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC01B84D3D for ; Sat, 21 Jul 2018 10:14:34 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1fgouH-0004t0-7W; Sat, 21 Jul 2018 12:14:33 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-arm@freebsd.org, "Nicola Mingotti" Subject: Re: Issues with packages References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> Date: Sat, 21 Jul 2018 12:14:35 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: + X-Spam-Score: 1.0 X-Spam-Status: No, score=1.0 required=5.0 tests=ALL_TRUSTED, BAYES_80 autolearn=disabled version=3.4.0 X-Scan-Signature: 448baf4759cd3283a5930955cc61e1db X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 10:14:35 -0000 On Sat, 21 Jul 2018 11:43:00 +0200, Nicola Mingotti wrote: > > Hi all, > > I am working with FreeBSD-11.1 in BeagleBone Black Rev.C. > In the last week I needed to have a webcam streaming from the BBB and i > discovered > there are some issues with packages. > > Problem. There are missing popular packages for ARM. > For example _ffmpeg_ and _vlc_ but also e.g. _kde..._ > > I was able to compile the following missing packages from ports > without making any change to the Makefiles. > with : > #> make -DBATCH install > #> make package > for packages: > ------------------------------------------------------------- > vlc-2.2.8_6,4.txz > ffmpeg0-0.7.17_14,1.txz > opencv-core-3.4.1_1.txz > ffmpeg-4.0.1,1.txz > leptonica-1.76.0.txz > tesseract-3.05.02_1.txz > ------------------------------------------------------------- > > I compiled those packages directly on the BBB with the following caveat. > Before running the "make" i was checking all dependencies > of each package in FreshPorts and resolving them one by one > installing the relevant *packages*. > > The reason for this is of course that BBB is very slow, if it had > to recursively compile all stuff it needed for e.g. ffmpg i could never > make it. > > So, if i can compile the packages the central system should also be > able to do it. Maybe there are some issues there. > > Bye > > I guess BBB is armv6. You can see the build packages here: http://pkg.freebsd.org/. Armv6 only has quartely packages. Maybe there is a difference in the quarterly packages and a checkout of /usr/ports which makes vlc, etc. buildable from ports, but is not in the quarterly pkgs yet. Just an educated guess but I might be wrong. There was http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=vlc in the past, showing why a pkg is not being build, but it is broken for a while already. Regards, Ronald. From owner-freebsd-arm@freebsd.org Sat Jul 21 13:34:03 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2910104BB50 for ; Sat, 21 Jul 2018 13:34:03 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D5EA8A7A1 for ; Sat, 21 Jul 2018 13:34:03 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id c14-v6so11909211wmb.4 for ; Sat, 21 Jul 2018 06:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=Pm7ELN3rZFON5JhRT5fR89qymNSZPWKJl3yjqlKD9aI=; b=r5I/TiKe6YH9qXG4Bak9qoKK1Ps3hf72YO/wIiueQ+rRd5/0+8M9p0KAYfMjv5oWcf /XTEzV51n5DkgjuOK9D8wCYputIF/qgdgm82RT7uVhcKcCHpgPyeCWbpVguykiybNXH5 fMNIy7VSn8mQ1+hUiInsOU947mSzmG07jk4QZVV4RGMfsFbgJrXuDfrNtRUvW2o1MstK F/qKawToZCxi0MpNFnwrA10bZaY8IUsLCaZfj3QnVANtqK84tj+HemwtP6WL1DE7wgYD b3utHZRo1pbChbwYcbsd0yRSltRySpFkO0C50FJciFNDkP7ovwF8Nk7edjeoOBcXqkgn Vg4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Pm7ELN3rZFON5JhRT5fR89qymNSZPWKJl3yjqlKD9aI=; b=n7OubFF5pO7l84UuAVorFg0pTUdmvJIWTAvwj06bumltmp1mnA1znHcVi0qtuvV64R D9YsD1M82gCKXilaExVwHTAi8PGZeaioD985YNauGb8DuzGmqQtrO7JW/lSKjAROnoSc bc936ruGq3qrD07hgPhjN2Uoe6CAybehbmZ7w+fDWADsUuOxD7UCLiYnhUl/N04LO67Q YSBrBcqNRxrW1Utkm86XEIMEdmIzHq6ZAtxJ49XpdMWTv3tgeCuJnXYrsOzXQpoTZwTB /+IG58VfvUu602RfU2PxpbvhSREH0MozIaumPQwrAKHjiwoIBowTjTzFoPrAr57mpDRB +YFA== X-Gm-Message-State: AOUpUlEYC588iyC1vk7Upjjm/GuknHXerFyYfXMeOCk8oPt1FvbnrN+q AaZHhYOwUpyLc6eyFLwEPCvXjF/z X-Google-Smtp-Source: AAOMgpeqQjj8Jh5b6An4vprCU6tnAFlK2ezvGvKRUDt0Z+5tGlobLtDDkIXyY19iTJCBGewxU87GkA== X-Received: by 2002:a1c:1d4d:: with SMTP id d74-v6mr3886659wmd.85.1532180041093; Sat, 21 Jul 2018 06:34:01 -0700 (PDT) Received: from [172.16.0.150] (net-188-219-105-237.cust.vodafonedsl.it. [188.219.105.237]) by smtp.gmail.com with ESMTPSA id z11-v6sm7076032wrm.94.2018.07.21.06.33.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 06:34:00 -0700 (PDT) Subject: Re: Issues with packages To: Ronald Klop , freebsd-arm@freebsd.org References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> From: Nicola Mingotti Message-ID: Date: Sat, 21 Jul 2018 15:33:59 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 13:34:03 -0000 On 07/21/18 12:14, Ronald Klop wrote: > On Sat, 21 Jul 2018 11:43:00 +0200, Nicola Mingotti > wrote: > >> >> Hi all, >> >> I am working with FreeBSD-11.1 in BeagleBone Black Rev.C. >> In the last week I needed to have a webcam streaming from the BBB and >> i discovered >> there are some issues with packages. >> >> Problem. There are missing popular packages for ARM. >> For example _ffmpeg_ and _vlc_ but also e.g. _kde..._ >> >> I was able to compile the following missing packages from ports >> without making any change to the Makefiles. >> with : >> #> make -DBATCH install >> #> make package >> for packages: >> ------------------------------------------------------------- >> vlc-2.2.8_6,4.txz >> ffmpeg0-0.7.17_14,1.txz >> opencv-core-3.4.1_1.txz >> ffmpeg-4.0.1,1.txz >> leptonica-1.76.0.txz >> tesseract-3.05.02_1.txz >> ------------------------------------------------------------- >> >> I compiled those packages directly on the BBB with the following caveat. >> Before running the "make" i was checking all dependencies >> of each package in FreshPorts and resolving them one by one >> installing the relevant *packages*. >> >> The reason for this is of course that BBB is very slow, if it had >> to recursively compile all stuff it needed for e.g. ffmpg i could >> never make it. >> >> So, if i can compile the packages the central system should also be >> able to do it. Maybe there are some issues there. >> >> Bye >> >> > > > I guess BBB is armv6. You can see the build packages here: > http://pkg.freebsd.org/. > Armv6 only has quartely packages. Maybe there is a difference in the > quarterly packages and a checkout of /usr/ports which makes vlc, etc. > buildable from ports, but is not in the quarterly pkgs yet. > > Just an educated guess but I might be wrong. > > There was > http://portsmon.freebsd.org/portoverview.py?category=multimedia&portname=vlc > in the past, showing why a pkg is not being build, but it is broken > for a while already. > > Regards, > Ronald. Thank you for the info Ronald. You are correct BBB is ARMv6. (according to uname -p) Checking http://pkg.freebsd.org/ is actually that, for FreeBSD-11.1 the directories containing vlc  and ffmpeg are: LATEST --> yes QUARTERLY ---> no RELEASE2 --> yes So, considering i downloaded the ports with portsnap a few days ago they shoud be the latest available. And my packages must be taken from QUARTERLY, this would make sense, since i don't see "vlc" and "ffmpeg". I have a few newbye question, -] How do I check from which reposotory/directory my *pkg* is taking the packages ? -] Is it possible to change it ? I read around in many man pages but i can't find it. bye Nicola -- -------------------------- Dr. Nicola Mingotti R&D - Borghi Srl CTO - BondInsider -------------------------- From owner-freebsd-arm@freebsd.org Sat Jul 21 14:10:42 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD11D104CCFB for ; Sat, 21 Jul 2018 14:10:42 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 343B28B66A for ; Sat, 21 Jul 2018 14:10:42 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id w6LE9Jdp038921 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 21 Jul 2018 07:09:19 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id w6LE9J02038920; Sat, 21 Jul 2018 07:09:19 -0700 (PDT) (envelope-from warlock) Date: Sat, 21 Jul 2018 07:09:19 -0700 From: John Kennedy To: Nicola Mingotti Cc: Ronald Klop , freebsd-arm@freebsd.org Subject: Re: Issues with packages Message-ID: <20180721140919.GA75644@phouka1.phouka.net> References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 14:10:42 -0000 On Sat, Jul 21, 2018 at 03:33:59PM +0200, Nicola Mingotti wrote: > ... I have a few newbye question, > -] How do I check from which reposotory/directory my *pkg* is taking the > packages ? > -] Is it possible to change it ? > > I read around in many man pages but i can't find it. The pkg(8) man page would lead you to pkg.conf(5) which points you to to /usr/local/etc/pkg.conf and talks about the defaults of REPOS_DIR, which in turn points you look at the contents of /etc/pkg and /usr/local/etc/pkg/repos. The configuration you're looking for should be in /etc/pkg/FreeBSD.conf My RPI has this: FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } From owner-freebsd-arm@freebsd.org Sat Jul 21 15:14:44 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A4CDD104E2B7 for ; Sat, 21 Jul 2018 15:14:44 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CBEC8D2DD for ; Sat, 21 Jul 2018 15:14:44 +0000 (UTC) (envelope-from nmingotti@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id t13-v6so4397479wrv.12 for ; Sat, 21 Jul 2018 08:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=wz9JjVScV/Y8dkZln+9MowY8Shi7WvwEW78hPLt1lzo=; b=C/6ycZ+TiWUoQCNERy5UNBxbB1P+5rvOJrwhrxGkVhFpzKPP1cT2a/yqPuGxCUmsk4 8zZ5YsirDr7UBm37dWaXi/yyjAuV5vOSgt/m4ohxKyNSZPcQs+5xB9RTiEY7kaySG+hG +Jy8IOYnnxFzF2M3OThhNAi0ov1UyLLxbnT9V7wQmfniEU+0MlioVWBuu92tBNTBVEu/ CvR06/FbHauTDs6hkIrhsgfbpa5LMytjttZOdotKQ4ub2dJC5gvlNXj3uPLLsv7E4V9p PwU2Mn3bAioAY8zu922wBIXUdoJaGsyyuQ8OqOAukX9v4HfHGh4rnmaGKtLle5MDT6tC FutQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=wz9JjVScV/Y8dkZln+9MowY8Shi7WvwEW78hPLt1lzo=; b=VtUZAy8VpeozVIEs5l5AD0ciqwEnQiS8FSckYH9Cen7OkTiXYoXY7fYJA/tXMTFRmX AVBTYpDNliUu7sFJD3UsNWXAdACEnt1KBtPsbHuOBCaaueVVaQDgibFizxdoQzYzxvQu Mqk7IboGcx/xxyUUlrX7/I3O2CTwZOrVJIcZfB2aPOM8//tnyHdo51KPzs/+WrXOcW1D cj1Dpvl+0aFDzp5tLwfXF3RBrESG6/EeDVusGbrPnp4PZ6tRZGNL2Z346e9YPua8HcJ/ mG496lHeulBjB1YRZsrnSiUsRnLmtEEtKP5t4VfFY5BLQ0WCKE64bJ3e5Fc55skHEcDR Pajg== X-Gm-Message-State: AOUpUlGt3lXpkXrTuT4j+ccC3rVTsV6e1wVpV6JfEngvt6XVReYh7gfN 6QTQVTgdBcAkvt0v+6SpFlOJwSPY X-Google-Smtp-Source: AAOMgpfneu0z97hQ+ODdolsbSROGWBYdRmn8y5U1pafhIwZ/rpAUkTxLRv5wu2hZvsuQa1ridQ9DHQ== X-Received: by 2002:adf:959a:: with SMTP id p26-v6mr4088844wrp.202.1532186081895; Sat, 21 Jul 2018 08:14:41 -0700 (PDT) Received: from [172.16.0.150] (net-188-219-105-237.cust.vodafonedsl.it. [188.219.105.237]) by smtp.gmail.com with ESMTPSA id v188-v6sm3332658wme.43.2018.07.21.08.14.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Jul 2018 08:14:40 -0700 (PDT) Subject: Re: Issues with packages To: John Kennedy Cc: Ronald Klop , freebsd-arm@freebsd.org References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> <20180721140919.GA75644@phouka1.phouka.net> From: Nicola Mingotti Message-ID: <08d1e35b-fafe-7c6f-a57e-e01cc39bd7a0@gmail.com> Date: Sat, 21 Jul 2018 17:14:39 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180721140919.GA75644@phouka1.phouka.net> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 15:14:44 -0000 On 07/21/18 16:09, John Kennedy wrote: > On Sat, Jul 21, 2018 at 03:33:59PM +0200, Nicola Mingotti wrote: >> ... I have a few newbye question, >> -] How do I check from which reposotory/directory my *pkg* is taking the >> packages ? >> -] Is it possible to change it ? >> >> I read around in many man pages but i can't find it. > The pkg(8) man page would lead you to pkg.conf(5) which points you to to > /usr/local/etc/pkg.conf and talks about the defaults of REPOS_DIR, which in > turn points you look at the contents of /etc/pkg and /usr/local/etc/pkg/repos. > The configuration you're looking for should be in /etc/pkg/FreeBSD.conf > > My RPI has this: > > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } Thank you John, I arrived at pkg.conf but I was not patient enough to land to /etc/pkg/FreeBSD.conf ;) anyhow, my FreeBSD.conf has this: FreeBSD: {   url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",   mirror_type: "srv",   signature_type: "fingerprints",   fingerprints: "/usr/share/keys/pkg",   enabled: yes } So the mistery of the missing but compilable packages is solved for me. I was picking packages from "quarterly" but compiling ports from a recently got ports tree, wich corresponds more closely to the "latest" package directory. I will look into "latest" before compiling the stuff myself next time. Bye Nicola -- -------------------------- Dr. Nicola Mingotti R&D - Borghi Srl CTO - BondInsider -------------------------- From owner-freebsd-arm@freebsd.org Sat Jul 21 15:20:33 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2390E104E511 for ; Sat, 21 Jul 2018 15:20:33 +0000 (UTC) (envelope-from 4250.10.freebsd-arm=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3ED68D5D4 for ; Sat, 21 Jul 2018 15:20:32 +0000 (UTC) (envelope-from 4250.10.freebsd-arm=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1532186433; x=1534778433; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=EzbMoIcIS0775eV9/wupcfjTq4TvvlrnKh7qf/gLno4=; b=BiXO6UMj1ArKbNAlFJ1rWE7MqY8cuVKLLBX4X31QxsD8H5PI0t+T2LJoMq0xnpF+P81tXkt2SKpSxPyeaxJ10YNxZtPaDoPBU9+GA8zCwOZNEZVBLE3feRt1X3AYe8fssfq8QzcZBamA5F72eE60dn7d0zoWoDmlIbMgWGkwB4M= X-Thread-Info: NDI1MC4xMi4xOTUwMDAwMDAyOTQ2ZTguZnJlZWJzZC1hcm09ZnJlZWJzZC5vcmc= Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 21 Jul 2018 11:20:16 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 21 Jul 2018 11:20:15 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fgtg4-0006cD-3p for freebsd-arm@freebsd.org; Sat, 21 Jul 2018 15:20:12 +0000 Date: Sat, 21 Jul 2018 16:20:12 +0100 From: Steve O'Hara-Smith To: freebsd-arm@freebsd.org Subject: Re: Issues with packages Message-Id: <20180721162012.84c16f5bfc80ab9635483237@sohara.org> In-Reply-To: <08d1e35b-fafe-7c6f-a57e-e01cc39bd7a0@gmail.com> References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> <20180721140919.GA75644@phouka1.phouka.net> <08d1e35b-fafe-7c6f-a57e-e01cc39bd7a0@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) X-Clacks-Overhead: "GNU Terry Pratchett" 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.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 15:20:33 -0000 On Sat, 21 Jul 2018 17:14:39 +0200 Nicola Mingotti wrote: > I was picking packages from "quarterly" but compiling > ports from a recently got ports tree, wich corresponds more closely to the > "latest" package directory. This kind of mismatch can lead to interesting problems when mixing ports and packages - if possible don't, if you must then keep the number of ports you build to a minimum (use make missing to find dependent packages to install before building ports) and use pkg lock on them to keep pkg from messing you up. -- Steve O'Hara-Smith From owner-freebsd-arm@freebsd.org Sat Jul 21 16:23:28 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B764104FE04 for ; Sat, 21 Jul 2018 16:23:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC74D8EFB0 for ; Sat, 21 Jul 2018 16:23:27 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22c.google.com with SMTP id 188-v6so18397256ita.5 for ; Sat, 21 Jul 2018 09:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:from:date:message-id:subject:to; bh=5efvw61lyWqAPlMrjEi5Ts3v3L8w2LzT4UoqAiTueDY=; b=1DLCwFiqBQ0h0isg7glNpWhFQZkBgW5bsrykwUUbb2vC4nabucutJ+/2kLEkMQZ+iT TbRy7gl6Mh+SNkHqvWVOkrXgWSRdu5Npstbf6DWSMV66yhx+tgXedDRhGuaHW/4+Sw/4 ot2vTfsAzuhsOd4ysHc4ILHA/EB6ktL2IuGIAsQ7LRl2p+VIuHNBgUC8/Wl3CaFFl6xX VPmgt2tGped6tdvDSuTi1+4TGp6LEBCi1JFp3P7uV7H3StELRRA9wceGnt9yp6+cD37u Cf0hDIEtJXphdaYLnFEo714wlPd2/mMMiSstsErjKurKckAYSr24zNglvziKM42jwZVT rjnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=5efvw61lyWqAPlMrjEi5Ts3v3L8w2LzT4UoqAiTueDY=; b=GARHONpewMJpaT6lWCm5ADb2wgcUd13GABsAui6+kU/c4Iy4qB+7KD1nGWCqIdoeda X8rwg/01A//eQbM936GYe8LReY4G95BcXXUPn0QBEkVzTzD/IEeRJOdaJPQ13bFibGPa OTtoEB1d7M718D9svjlNphdS958kc8O34qMdHCb/HqOPC25sK82ewPcqXhKVVHZo8pV4 G15OVX5pNImoSle77+6ow0E7Da656Ld0/n0256X8NTzFBySF0EMvvRQF6jd0Y2kf9xpX uFHMjmUEbx7X0Qi4Pt9oL2uWAtGst/iZBV6k/+wFCsVnQd0dzlwKxv9PwW/xaK3lyxnz 2/Hg== X-Gm-Message-State: AOUpUlHcYND6K/nXs3MWoLw0u7Njk635s7Es005OmPqXQOns0R3Oei9g ehT9qDrqycazdrt8uT0lGdpUpIeAcFT6SYbWs4kPWgpEKH0= X-Google-Smtp-Source: AAOMgpc0yLR/iEB1fMLcjVcF+9TRmLX7h0UoRolX5XFmV2ukZvOu/ZAl8IkV2aIps5um37u2LlO2PF9+L4CnW2BYacg= X-Received: by 2002:a24:ad28:: with SMTP id c40-v6mr5428099itf.36.1532190206907; Sat, 21 Jul 2018 09:23:26 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 09:23:26 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] From: Warner Losh Date: Sat, 21 Jul 2018 10:23:26 -0600 X-Google-Sender-Auth: feaWXvzImxvA93TcEA0YC3u-Q8k Message-ID: Subject: GUMSTIX image To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 16:23:28 -0000 Greetings, I'm looking for anybody that's ever successfully booted a GUMSTIX image. I'd like details of how to use it, what version and what board / qemu you used to do so. Thanks a bunch. Warner From owner-freebsd-arm@freebsd.org Sat Jul 21 17:20:06 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC8EE10511D7 for ; Sat, 21 Jul 2018 17:20:05 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 893F370BF1 for ; Sat, 21 Jul 2018 17:20:05 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by mail-it0-x22f.google.com with SMTP id p17-v6so18514445itc.2 for ; Sat, 21 Jul 2018 10:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JsQUPxfELKFGC3gKzSOiCZrXLqUDQJ691azoIiVmvuE=; b=JA8pqtDo8NZQJjKHBoaIuGR5eJFlnBa8pMn0foAPrqejsqxnunGAtFU4w66rvWN40R cJWH0HJoa99Y9B/nbXX7/+Nd0zNCSFZjSePpwNMC0Fk0m9LB5tJNYJTFVt+VgY8Anqfb 1IU9bIOsqKXypxQjjjbRXV4x9IAOL0wbxQOVR0pM/63WN/wvKoHRegKYqfcFMA71podh BePEVAztpS3+UVoTsqRqX/sHXpi8k7dhRj6zcVX1RZa59OrViG6B9Dbm6YncUDSxHiDi VGHOn9QnB7CCTIzwxdEEF97Y5fEgkp76RX0n4eNO0uz4ZKRSBESkngoxR9kGkplUn94i 4jYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JsQUPxfELKFGC3gKzSOiCZrXLqUDQJ691azoIiVmvuE=; b=oa8ybBJPdy7v1W7O4q3E/rBozpXC2vxbu7t52fNIALLgMdx+SigJZ+cB6F+GyyGeXW 18XHT+5V45wc+Gb7++uH0xT2lF06I1PUI+71BDKzdTfRIEzu7XPwd1UiOHP04xoC17ZK PIqJ2O0Rtbon7huWf9etneUTDOPoArrO9/athNbob2GuJC6TJAdE1KvKtEjGCZmziGR9 uouvaAX5SSUfY0xi8L4s2UajzpejUp1gC/a+L2YLVrpe5xZhKbUz6enbogJuPAR1u3up vp+kBv1ubmPfOYdRD/pd+npBlXxfQq4r/AakGrn8QBsyWChRJUA6Xtu+5FWZQZVBM/5J uj2g== X-Gm-Message-State: AOUpUlFeK+ZiDtuKHTiMtnc8U4dHYdB/Dv4+Ts0hFevokVhsTJoztlk6 7VkmgNWTU8YW/tx3W/IovPueItRM5glpmgSBJzFSMQ== X-Google-Smtp-Source: AAOMgpeDSmJef2EItDooXtNdFwyObtBJQjzpKaYG/RGGCA/0eY2UKkl47lhP/leWUHcDZ5DUCH71sPCaDC9cEoHiIjM= X-Received: by 2002:a02:891b:: with SMTP id o27-v6mr6206965jaj.23.1532193604847; Sat, 21 Jul 2018 10:20:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:8401:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 10:20:04 -0700 (PDT) In-Reply-To: References: From: Jacques Fourie Date: Sat, 21 Jul 2018 13:20:04 -0400 Message-ID: Subject: Re: GUMSTIX image To: Warner Losh Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 17:20:06 -0000 Hi, I managed to boot a gumstix image on an actual gumstix board but this was almost 10 years ago. I can try to dig up some info if it will help. If I remember correctly this was with FreeBSD 8 (current at the time). Jacques On Sat, Jul 21, 2018 at 12:23 PM, Warner Losh wrote: > Greetings, > > I'm looking for anybody that's ever successfully booted a GUMSTIX image. > I'd like details of how to use it, what version and what board / qemu you > used to do so. > > Thanks a bunch. > > Warner > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://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 Jul 21 17:22:44 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 267351051419 for ; Sat, 21 Jul 2018 17:22:44 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9534570F4F for ; Sat, 21 Jul 2018 17:22:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x236.google.com with SMTP id q20-v6so18539396ith.0 for ; Sat, 21 Jul 2018 10:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CVt2rIgf8lp84LOZCsTVoOzWyXLSBILtXqIluXPGtys=; b=fmAUEWSGX1yrmyxzV5X/CR0vft1q85W+u0nOhoLwbGlpkaEaQC72wtunsj3vCkAAjt LAFJZgDf8WhHUQMYN7TeSYU3ejN+oepTIrVcv4qAAwPKrrTiGhmrJ+yoXjUz2RBO6JAf GBW7xbokBXlp4kjER6j4peaRkib+61IsQKyMHSmONmsMrzWmr8JuoAzOZGeXorCVNoIr aRA023QyoGEMvmZnzAYFwIQNkDqmU/WwMYLmmryVbyz26cCmvQjSDqAZD17KAnY4DqEk 0x2qNZzC+P6U3rouIO41w+Hjd9HhaIoKdG+N3mgT4YP6QtPbjM1CPqN4Wxlq8a1aQrQO oOiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CVt2rIgf8lp84LOZCsTVoOzWyXLSBILtXqIluXPGtys=; b=X91zXiUzxXyuCu5ujitTfWD2Wz6imjAHV1UtgK0LslsdmMtQoM2acBwzgRNMPKZCrf ntzJdPKM6HUMyRy/cJt0Nl0e6IvhvPOvCAjzXoKTQwcYzyjBUYyAWzL5GaGRa/ov8tah wd4QoWZer93ub7jRuIPj5SkEUpKkcQYWf+ZCZ+pcOFHEtQc21tc5VYv3cHCAVdHIeJRX iVXSvaPG5PIRlsJbrsXEtQwTIvTurJECAsL4lHhJAUoAa7Ll3oAqR/RQlCguEjRgrNtv Y09edAtpA/AN93vnSS+IPjLmchaA1RwxFRbd0b38YIAEOuQKoCUKT3cHja5My4wpdQmH L6SQ== X-Gm-Message-State: AOUpUlG6AZZMedFuiGoEg1bxm6/5MVEDXshlx3QPFmeo0qlBOZJ452FA FLt8oEi6w1GaZeJi+g3vT4UB2afh5EiMFjo6RkzuVR6eLjU= X-Google-Smtp-Source: AAOMgpcKYTwVNQp8PR5hUhNgIxfexJQk7nArg42sAWu5YGFEe43mcdKNm9xA+dGw6ak6lXWB0zsQT3m6HqCym9geVro= X-Received: by 2002:a24:7288:: with SMTP id x130-v6mr5519145itc.73.1532193763005; Sat, 21 Jul 2018 10:22:43 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:4485:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 10:22:42 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: From: Warner Losh Date: Sat, 21 Jul 2018 11:22:42 -0600 X-Google-Sender-Auth: QEQOYddqF-rHSTWIbbrbrgpbOJM Message-ID: Subject: Re: GUMSTIX image To: Jacques Fourie Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 17:22:44 -0000 On Sat, Jul 21, 2018 at 11:20 AM, Jacques Fourie wrote: > Hi, > > I managed to boot a gumstix image on an actual gumstix board but this was > almost 10 years ago. I can try to dig up some info if it will help. If I > remember correctly this was with FreeBSD 8 (current at the time). > Do you recall which gumstix model? And by the GUMSTIX image, I was referring to the re@ produced image. Warner > Jacques > > On Sat, Jul 21, 2018 at 12:23 PM, Warner Losh wrote: > >> Greetings, >> >> I'm looking for anybody that's ever successfully booted a GUMSTIX image. >> I'd like details of how to use it, what version and what board / qemu you >> used to do so. >> >> Thanks a bunch. >> >> Warner >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://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 Jul 21 18:05:40 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4476D1052212 for ; Sat, 21 Jul 2018 18:05:40 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8C1D724DE for ; Sat, 21 Jul 2018 18:05:39 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by mail-it0-x233.google.com with SMTP id q20-v6so18612566ith.0 for ; Sat, 21 Jul 2018 11:05:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KZtxXyJP32HTaswIMAH1zlYACgW6NpDxRQB/H4jYxbU=; b=C8CamfDfDPf2czMbSbEobLF+YF8l+wIgeYn83WTCZTKTtEFRN04p0sAFRx2ap9gp0X 93ATuRsQ6hFD1Qc69dRStWn4fqKUsMIlRXwxGh+i6VYCY8IcmMd1tvvGUPyH1ubfHHeJ wqh5e4QDFpLe9kspq9LXsKMZdaDdo09Hun/DM51rGeqHEJEczKNdajy/zjpI2rL+BBLN V7lAK2nd6Le8wVAJ5MIMV0vBG5U/mkfWiAre985FNSq+loCM8Whb+VTRCPT7bIWzwoaF ttCAApOodrIMWBU+XDbyQERJz62fz8BQdrYQ3BIlGSEHMy2f0zDs+C0bU6nDHAOZv6OC eypw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KZtxXyJP32HTaswIMAH1zlYACgW6NpDxRQB/H4jYxbU=; b=kOpnRCRKNJuoXLXm32yRk7VRw3zmqHge0ihe5I8BplaQXCyQuGq75jU1xulne9calq vZHF3cEQZw8vD7D3q5bBXRSffCaILmaRRMFlLKAACBvKg57MV6zWJh17gEubaL8tDSig M4OAqR1M7IdOsTQvELyqc/1RacaGfEdeZL9XQ+MhUqRlCCYt8/9drBnCS1XHIkfrLTRD vsF5oXGrweu2ulHPzbFcX27Wi4Mlwh0dZRgGrAkfFWztA9bGn+jjugeSBcw75CqtpQrC 16SSM2QJvr+btLE9LpPRc59HFrO5eaehjWRDugN8jMDp6HcgIKKpTZP1qJSszutjAz3O 9+Ew== X-Gm-Message-State: AOUpUlFXsZmPW762OAYCQIx8lC7gkVUMzoZWUwhHY7tNRfGj9q0rVGtn evmo6gauH9G/rxS7kKYMAZngQCuKOXqkFuHIZVLLIQ== X-Google-Smtp-Source: AAOMgpeYr8mFtg/R+pqPdnEYvLOkpmU8bR3wsOUIJ7UEKpncPu5NypCph+G43ttevboKcIE52GbQ8Ajfv6OBc9LPH8M= X-Received: by 2002:a24:ef43:: with SMTP id i64-v6mr1560678ith.47.1532196339207; Sat, 21 Jul 2018 11:05:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:8401:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 11:05:38 -0700 (PDT) In-Reply-To: References: From: Jacques Fourie Date: Sat, 21 Jul 2018 14:05:38 -0400 Message-ID: Subject: Re: GUMSTIX image To: Warner Losh Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 18:05:40 -0000 On Sat, Jul 21, 2018 at 1:22 PM, Warner Losh wrote: > On Sat, Jul 21, 2018 at 11:20 AM, Jacques Fourie > wrote: > >> Hi, >> >> I managed to boot a gumstix image on an actual gumstix board but this was >> almost 10 years ago. I can try to dig up some info if it will help. If I >> remember correctly this was with FreeBSD 8 (current at the time). >> > > Do you recall which gumstix model? > > And by the GUMSTIX image, I was referring to the re@ produced image. > > I don't recall the exact model but it was based on a PXA255 CPU. By GUMSTIX image I understood GUMSTIX kernel config, sorry about the confusion. > Warner > > >> Jacques >> >> On Sat, Jul 21, 2018 at 12:23 PM, Warner Losh wrote: >> >>> Greetings, >>> >>> I'm looking for anybody that's ever successfully booted a GUMSTIX image. >>> I'd like details of how to use it, what version and what board / qemu you >>> used to do so. >>> >>> Thanks a bunch. >>> >>> Warner >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://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 Jul 21 18:20:05 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7B761052797 for ; Sat, 21 Jul 2018 18:20:05 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38A9172AB4 for ; Sat, 21 Jul 2018 18:20:05 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by mail-io0-x232.google.com with SMTP id v26-v6so12437844iog.5 for ; Sat, 21 Jul 2018 11:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mh13Zc0mj64vFys0zJGhufxpDctojnwd/BkwSNkbviA=; b=T7JihZcm94N43vDzSZ5T3vvhPTYmGvoSwyRxd/J6IE8sj2ucJ9q7SaSaA9SW6cJN35 ands1ag5a0xE3aqMcYfJc2jSW4ursTHAKOw/+hjq98b5U7ejRvFss+QKDhG1oXeUG5Ey OFgikoD8pdtEQlQZVIs9ik0b/eh5rWH4kRt68FBm+yjGOr7Oi1uR1q+kwG2wNNBud8wT i7BNk+DHpr4rP6qSB3z1a7gQA2bCtf+nN8Ns0m7HHE6+VFMMeAiaAtBTFlYwaDL/YN2x tRbGLT0vhvBAnDtVVqzUtaqHsyIm7me6j546ubPAwFX/UWIW8JnRvDfoR4qcvdFsC6DW /6oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mh13Zc0mj64vFys0zJGhufxpDctojnwd/BkwSNkbviA=; b=UiSNWdI5Z81V0HIFfbRMVNKThtgbKd2+HcBB/zehmRRpE64kmsgWClDqO96j8JwMr7 LgSSVhkrNLHLwQ4zFyMmif7pxsCV5lLCHnpYk9Ia45i/9uhuH9gYSHls4ODW/WdwIXYH /f+lvNOffWXCUzphpTlg/EpvdL+lMp5HMLzMZ2yj+Ixkfj01B1QqcQdgbn5FPQIqfgLV MI/eZ8YxVWmKfOg3kk/6yEZ/qokSKboBEA/YBKY+zrct3slZOPgV3GpI67aZJAiOkHH7 ik1SnQazYslsm/ws8I55c3wSIY4fHrn5LuCHzCmo20C6miMaxl8adJ+Zxf0AjvZu5Wof yaFA== X-Gm-Message-State: AOUpUlHG8MnPufIR2AMF5qTN4fqerzPrfT9Vt1pCmltNuG0XyZ5/slrL CiX2ImLfNrzwxgoNj3QovkzV2rvkh1epJKj04O6f/w== X-Google-Smtp-Source: AAOMgpenZS7Oiy2Mg9087FhgmdRMrk6aDovBo3JLacdHG32A6C+fd90p8XCgla5TdzU1mos3y35dUULVzguz2mb/Emo= X-Received: by 2002:a6b:2614:: with SMTP id m20-v6mr5229849iom.211.1532197204636; Sat, 21 Jul 2018 11:20:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:8401:0:0:0:0:0 with HTTP; Sat, 21 Jul 2018 11:20:04 -0700 (PDT) In-Reply-To: References: From: Jacques Fourie Date: Sat, 21 Jul 2018 14:20:04 -0400 Message-ID: Subject: Re: GUMSTIX image To: Warner Losh Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2018 18:20:05 -0000 On Sat, Jul 21, 2018 at 2:05 PM, Jacques Fourie wrote: > > On Sat, Jul 21, 2018 at 1:22 PM, Warner Losh wrote: > >> On Sat, Jul 21, 2018 at 11:20 AM, Jacques Fourie < >> jacques.fourie@gmail.com> wrote: >> >>> Hi, >>> >>> I managed to boot a gumstix image on an actual gumstix board but this >>> was almost 10 years ago. I can try to dig up some info if it will help. If >>> I remember correctly this was with FreeBSD 8 (current at the time). >>> >> >> Do you recall which gumstix model? >> >> And by the GUMSTIX image, I was referring to the re@ produced image. >> >> I don't recall the exact model but it was based on a PXA255 CPU. By > GUMSTIX image I understood GUMSTIX kernel config, sorry about the confusion. > I looked over some old notes of mine and I believe it was a Gumstix Connex board. I do have some other PXA based boards around and can try booting the re@ image if that will help. > >> Warner >> >> >>> Jacques >>> >>> On Sat, Jul 21, 2018 at 12:23 PM, Warner Losh wrote: >>> >>>> Greetings, >>>> >>>> I'm looking for anybody that's ever successfully booted a GUMSTIX image. >>>> I'd like details of how to use it, what version and what board / qemu >>>> you >>>> used to do so. >>>> >>>> Thanks a bunch. >>>> >>>> Warner >>>> _______________________________________________ >>>> freebsd-arm@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >>>> >>> >>> >> >