From owner-freebsd-arm@freebsd.org Tue Apr 30 15:17:10 2019 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 4947815952C4 for ; Tue, 30 Apr 2019 15:17:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17C6676B18 for ; Tue, 30 Apr 2019 15:17:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82b.google.com with SMTP id y49so10831008qta.7 for ; Tue, 30 Apr 2019 08:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oSXIGYBx4s0Lv5ZLxUhSDes+/t9G0lzR4tecvU7kC1A=; b=cpfYxZE0C67FzzihNjFlqJdACZwNrOr6XL6SHZHdtxp3sOlE77RE8tTdVcqqTWtrRK gJIe4AQ3CfTBL1DvpCYfTDsrm6og9Inu8ANUEeJL2xy3piYB1DS+vuI5/4Tja3FDjNCk rZ5GwYAGZ49FErpjW7PC9Wg2BsW/QyMPJI9JajzwgEHfOqZv77xZPojJgWktYeaAY89m aHcppeSop5aSrS2kdOe4+VpVyz66VDl+zQXSXGiS88bNCVWZ3+EbCTR6bZr/Lnfoy5+X cRKeOWB92goIAL8c6ldjzo46IYGUZ1CKmoMAorNnW1adwxT4kieN3lJqxLlYroxj/EqC Hhew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oSXIGYBx4s0Lv5ZLxUhSDes+/t9G0lzR4tecvU7kC1A=; b=CD1n+Gx1370GeVaW5L8jmEmjfBrq3fOdlh+icUw02r2B4ojnZkr6L4p4PatVCUru1Z OEGsngcFaCbQkyL4SRrk6aohuFVCMGT9PtLOwnz5CATyZFtkVUobn7CKxSVS2BEt/J2u cw6+bIwg0aP2DeKMjtdmFP+ezo9MDqF8p5kYP/zFjRCxLNuwdwSB8UNS6eRz+dAWickD FMamhX+N+lAmcNJl+5tlPgHmhIYm+VHFGuz4xpbHpT7nvhxfwA3lDOvuJfqio5gHHYg3 gFNJbr+QpW+qV/I/lC4pgIfaaXrNnKwc5PLtBgZh3x8PimBGtjmHOjRAWkuBcuDv/I1Z GXvw== X-Gm-Message-State: APjAAAVSPSTGEbSjoXXPvu6XAgj9f1jt/KvzXGxLixB9Yw2VF4lOLwUt rlHGj9YP4eA0hxbyHGUD0bvbTGQL1sqK8QsZ7CVIhF0u X-Google-Smtp-Source: APXvYqw9wL1woa1J+PrFGQxOsRTKB04Zj8/NGEZNQcLr37bQYXzXuufq5ajR/QvMHWY77Vww5xZi/Ltpc9vh0+O8CKk= X-Received: by 2002:aed:3e93:: with SMTP id n19mr31719828qtf.345.1556637428297; Tue, 30 Apr 2019 08:17:08 -0700 (PDT) MIME-Version: 1.0 References: <693425711bdc5e7fbff22bb4056c33326fca8c4d.camel@freebsd.org> <7a36b81cb2c29293296bac9ae1764f0091281408.camel@freebsd.org> <20190423075411.GA18137@lonesome.com> <20190423165731.GB10587@lonesome.com> <1995497096.1.1556098457731@localhost> <471BDE16-1AE2-425A-87F9-8CCE70532A3F@gromit.dlib.vt.edu> In-Reply-To: From: Warner Losh Date: Tue, 30 Apr 2019 09:16:55 -0600 Message-ID: Subject: Re: Marvell Kirkwood - anyone? To: Balanga Bar Cc: Paul Mather , Mark Linimon , "freebsd-arm@freebsd.org" , Ian Lepore X-Rspamd-Queue-Id: 17C6676B18 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=cpfYxZE0 X-Spamd-Result: default: False [-4.94 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_FIVE(0.00)[5]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; IP_SCORE(-2.93)[ip: (-9.19), ipnet: 2607:f8b0::/32(-3.17), asn: 15169(-2.24), country: US(-0.06)]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 15:17:10 -0000 On Tue, Apr 30, 2019 at 6:39 AM Balanga Bar wrote: > > So how would I go about building armv5 pkgs? > > On Mon, Apr 29, 2019 at 3:09 PM Warner Losh wrote: > >> >> >> On Sat, Apr 27, 2019 at 5:39 AM Paul Mather >> wrote: >> >>> On Apr 27, 2019, at 5:44 AM, Balanga Bar wrote: >>> >>> > Didn't you need to include '-DWITH_FDT' ? >>> > >>> > As for 'unable to build'... I would run make in a directory under >>> > /usr/ports and there would be no response. The system would just hang. >>> > >>> > I have now managed to install 11.1 which seems fairly stable and have >>> built >>> > a few pkgs, although building them takes several hours. It would be >>> much >>> > better if I was able to build them under amd64, but haven't found a >>> way of >>> > doing that yet >>> >>> >>> Have you tried using Poudriere with QEMU support to build ports? I am >>> using that to build packages for my arm.armv7 and arm64.aarch64 systems >>> on >>> an amd64 build system. I also use the same build system to cross-build >>> OS >>> packages for those ARM systems, too. That way, I update the OS via >>> "pkg" >>> on the ARM systems, too. >>> >>> https://www.freebsd.org/doc/handbook/ports-poudriere.html >> >> >> qmeu-statoc supports armv[67] only, but not older armv5 which lacks >> atomic ops instructions and has to emulate them with RAS sequences. qemu >> doesn't work with them. >> > Sadly, I have no answer for that. We left the Marvell arm ports around for 12 because we knew that people were using Marvell dreamplugs and similar to make packages. I've been unsuccessful at getting mine up and running so my interest in this is waning, alas, so I can't give you any good advice. Warmer