From nobody Fri Jan 13 23:27:42 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NtyJX2mmhz2r2D6 for ; Fri, 13 Jan 2023 23:27:56 +0000 (UTC) (envelope-from jjrushford@gmail.com) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NtyJW5hz3z4bwp for ; Fri, 13 Jan 2023 23:27:55 +0000 (UTC) (envelope-from jjrushford@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-io1-xd31.google.com with SMTP id r71so2189005iod.2 for ; Fri, 13 Jan 2023 15:27:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pdOtxxZwaEeiPpEfWizeEMQ26r3Gjs5322AcJIOZKyU=; b=l3Py8QeTIy583qC/Paih/V45lD3J19HtBrspMmwvM/dzPvCyMSqi4+dSx73uKBoP6N ++H5VcmiKT1t5cOSp1m5CSdeCQF1zd9OhqRwDBcs4cm8vHBzgDUacAWyMJ0imScibumT HiaX5H9uQbEOaEgW41glx3chnFCcSNejOVGVH+WOibI2JUr9lAB2A/pzAesqNLWVwAaf 9hnmBh1sv67M08AtYGz/6RUMzkjIJ3J7AkXDU/ZIzgj5dILGa7cszJHFFvru38qQzgy4 ++hI+JW2e2IO6KoUk7NZfR5mHYlUg5tGMsRR24kj2cKg5SvuRpgeR7HjwMb/dAuWV+te EvgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pdOtxxZwaEeiPpEfWizeEMQ26r3Gjs5322AcJIOZKyU=; b=LoriDl0mEu3kbzhVD+tWESltFQSme4YR8rTF97y8ykvfsW0O7ZzeFxzFFVP749ZCzT vFDtvG0UE2ypXp2A3wWbgRv9xlac5I4NZLco2UoHlE1I057GFELUBBr/YJFi3ItH/K5i yeY+UdX7UvP0e1Pqym5kRsH2VvUn1Fq9SeZYthvA7QL9b7/+ijbWDjil3u88Tn7qQKYf EXaL22CVaauAeDCmkpZYduKhB00clBv5wC6g9+SGGVREYNeF2IDiCZTaZzx7QalOv9/U NFRctE5CKbIXrJ02vi+habzctqknH8zUW0yWzc7c9Yo7KeIk7WfF4Ygwz7Rm42HvIOuM /sfg== X-Gm-Message-State: AFqh2kqs0aZrL8D+WQ0Klo66PdMFmw0E12IxY0v2Gv3sR9Zk2R/5Ki/+ FapXTxP8/Qrn+xN5BOdiWEE7sIUDhH8= X-Google-Smtp-Source: AMrXdXu80LgKYYbyjxTp7w1dFnxBTG0phN3gZSxvMoVnENGilvi3tWz0kuqY/vf85H+RiN/EtF1/zg== X-Received: by 2002:a5e:a609:0:b0:6bc:d715:b935 with SMTP id q9-20020a5ea609000000b006bcd715b935mr51640166ioi.15.1673652474566; Fri, 13 Jan 2023 15:27:54 -0800 (PST) Received: from smtpclient.apple ([2601:280:587f:87d0:c994:de6b:6329:99ae]) by smtp.gmail.com with ESMTPSA id j13-20020a0566022ccd00b006eacd57d40csm7501034iow.28.2023.01.13.15.27.53 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2023 15:27:53 -0800 (PST) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: Gpiopps module From: John Rushford In-Reply-To: <4CC9689C-2679-4420-BB2C-16D78F505C9B@dons.net.au> Date: Fri, 13 Jan 2023 16:27:42 -0700 Cc: Emmanuel Vadot , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20230110083520.4b284ec89da2c7cd8a1c8fa7@bidouilliste.com> <4CC9689C-2679-4420-BB2C-16D78F505C9B@dons.net.au> To: Daniel O'Connor X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4NtyJW5hz3z4bwp X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Thanks for the reply, I did have " "dtoverlay=3Dpps-gpio,gpiopin=3D17=E2=80= =9D in config.txt but =E2=80=9Cpps-gpio.dtbo=E2=80=9D was missing from /boot/msdos/overlays. I installed it after building the rpi-firmware = from ports and it=E2=80=99s now working. Regards John > On Jan 12, 2023, at 10:26 PM, Daniel O'Connor = wrote: >=20 > Hi John, >=20 >=20 >> On 13 Jan 2023, at 10:03, John Rushford wrote: >> Other than this, the module doesn=E2=80=99t seem to be working = properly. Is there something I=E2=80=99ve missed? >=20 > I think to get it to attach you will need a device tree overlay to = tell it which pin to attach to. >=20 > I see a few examples: > = https://forums.freebsd.org/threads/module-load-order-issue-freebsd-13-on-b= eaglebone-black-with-overlays.80861/ > = https://forums.freebsd.org/threads/adafruit-ultimate-gps-hat-on-a-raspberr= y-pi-3b-and-freebsd-12.74798/ > = https://forums.freebsd.org/threads/gpio-interupts-on-allwinner-h3.74892/ >=20 > I haven't tried it myself though. >=20 > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum >=20