From owner-freebsd-arm@freebsd.org Thu Dec 10 21:25:32 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A361D4B6CF4 for ; Thu, 10 Dec 2020 21:25:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CsRlv5HRwz3GMr for ; Thu, 10 Dec 2020 21:25:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x829.google.com with SMTP id p12so4918190qtp.7 for ; Thu, 10 Dec 2020 13:25:31 -0800 (PST) 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=d/+vBW8D5FVqwNvm5fh8Oeakbon3HgI4dpHQLdDt7RI=; b=ck4yds9vPwS+LzGTrvbhaCrSgjTPMhO0T0FD3Gk59BOQCkpEhKU4o5r4MM30GNY8yv 4LAcBrOrsaLoVVKapsvqNY6Vj4ro7/uFrTsmsbO0q/6TQqKH0xDssMk8mwHs9S3+2mf4 DxLskIu0tYQpPUds0o4gpFzmR4TEVizcz3iLwku0kr39mj7FM1bHCukpAGIKmx+pULi1 FzMbapJZFBTduGfMfU2O60nXl37wIVFAmmZT2H3XF/bS3p02HlDS16T7WjWPK2Xr3ab+ pjgqR0mgcuE1M4Y0q3xz+lAXVgv+d38Sfg8XbL0UdKD12eyKRgivQfrD/ld3BG8fWdar Qzww== 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=d/+vBW8D5FVqwNvm5fh8Oeakbon3HgI4dpHQLdDt7RI=; b=tiiWMT/8D+/DTGykPHXGYXGNGVaBM5jWoP6qK/zubk1Zsoc1adEFeBrWnCyWSKg13G gYAYcG+De0HeiDxwlw0CmOQHma4q0639+gtER/cLC/gelQvy+X1zYxvde43gFaKug0RD VT0oHaIVlWSGLRh9E5S7aG0OeaOVBnr5HOD6deIVjzaf084DArx/DxCEpcE1SE/euLmh nWhIQdcXiLl4ZusgmyrWZsq0Ze3A3Rh8QoiIPwtBVnumbZnnUXqEMaotsweH0GuYbUF1 mh6Mh/Q78oygAEKc3K8xcyHjBkeC784gZKGZcCQBo5vTqlvf78LsO3+wHLnegfvnNtBf bxJg== X-Gm-Message-State: AOAM533TPzoaPcnJxdlap66G0OR+3BLIwFzhAReVboYHjunOeQDMO13C CUPGjt621up322A1YV2gMCSZXRbJvW8bT+vY3dJ1cNfow+tbCg== X-Google-Smtp-Source: ABdhPJxvvcW5Q4Yq9qzslVcJISlpJXW/5B4a0Qpxdu72erO7p+xY3povCEdndBLT2B1f8VOtzPwKY55oubZO6o0qrvo= X-Received: by 2002:ac8:74d4:: with SMTP id j20mr11081681qtr.101.1607635530756; Thu, 10 Dec 2020 13:25:30 -0800 (PST) MIME-Version: 1.0 References: <202012102110.OAA28280@mail.lariat.net> In-Reply-To: <202012102110.OAA28280@mail.lariat.net> From: Warner Losh Date: Thu, 10 Dec 2020 14:25:19 -0700 Message-ID: Subject: Re: Build for Intel iXP420 board? To: Brett Glass Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 4CsRlv5HRwz3GMr X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=ck4yds9v; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::829) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [0.04 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.961]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::829:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::829:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::829:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 21:25:32 -0000 On Thu, Dec 10, 2020 at 2:10 PM Brett Glass wrote: > Hello! > > I recently disassembled some radio equipment which the FCC will no > longer to allow me to use (they auctioned the frequencies that it > used to run on out from under me and other wireless ISPs) and > discovered some ARM boards inside that I would like to reuse for > other embedded applications. They are "Avila" boards, made by > Gateworks, and appear to follow the Intel evaluation/reference > board design for the iXP420. A couple of them have only 4 MB of > available flash, but some have 8 MB. > > I've found an old port for these boards; it's described at > > https://openwrt.org/toh/hwdata/gateworks/gateworks_avilagw2348-2 > > and seems to boot. But OpenWRT is weird and awkward, and worst of > all, it's Linux! I would prefer to be running one of the BSDs on these. > > I've discovered that the boot ROM is Redboot, which means that I > can TFTP and flash a properly formatted image if one exists. Is > there an ARM build of FreeBSD that's likely to work on this style of board? > FreeBSD 9 or 10 or maybe 11 is your best bet. 'gateworks' I think is what you want to search for in the sources, not avila, but maybe you can use both to find them. The armv5 port was removed from FreeBSD because it had bit rotted too much. I used to run FreeBSD 8 on these boards as a wireless access point shortly after Sam committed the code to the tree. I've had good luck with FreeBSD stable/10 on other arm gear, but there's been reports of issues on stable/10 with unaligned I/O causing problems for some cache topologies. Warner