From nobody Thu Dec 12 17:44:51 2024 X-Original-To: freebsd-mips@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 4Y8KcJ6QsHz5gYC7 for ; Thu, 12 Dec 2024 17:45:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y8KcJ242Yz4tjp for ; Thu, 12 Dec 2024 17:45:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of adrian.chadd@gmail.com designates 209.85.167.42 as permitted sender) smtp.mailfrom=adrian.chadd@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-53df6322ea7so1212668e87.0 for ; Thu, 12 Dec 2024 09:45:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734025502; x=1734630302; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BZNCGvs7MiE8GlWzZuOzxD+YOELHc1GTa6ZD2sKujbA=; b=NUDdZ7jtqA9sToOuE1F+QJGxP9i6jHGYNgeEMTK6br9DAGAARK3upTx3FAblmNM9gz 3bcid1MpR2xxUacdhm7JAH5sS4IYdWetKw1oB+viyNCJVHE5NYYBtJ7K/TIAd4EzlhwS aeU6XW5i7HtbEXmoqhvMCimyIPinXK9aXBmoJpcX0aeuwnymKTh6Jstwkr2xDtGgg1f5 El8PWShqxIjdk3fr7z3k6+V+RK8m9fCPsmWCoMzpIrNAHUdXkYbQKj0c2Y9ZQCOpGGPR pkrW+oqXEECrG2yyOGOqykrPVzGin02V65hFEAsWEAYQ/TTb4BGFGjxAvoZkruogmdZ+ dIKw== X-Gm-Message-State: AOJu0YwVpcz/fFOBQD4bDoaF7fVewYCb9x6axt/r+BSiJRKeM0hLE+9T vpRmQOl5Rg++RM/bvRj1RV0TtwhWhIIKvrtcsQMK0uvkgNdLpoN+QsQ4Nzp2m3+015kZNbSaZTz lfKDPszavWgXNDVusCqFNKPVLiIjeIB9S X-Gm-Gg: ASbGncvA6zNucUxDGBD5ig86VlWIMN7EI/eyxcQKJu7ukT9L1mvgR3AnnzWHY842vE5 hjfH7PYOd9uMmmbSqJaHisK0bMyGriXrsjR8Af4Y= X-Google-Smtp-Source: AGHT+IGeBilEEd/PN6BCUyfIU0ftAVh/KvlBvOpKJr+DNPzfhXvhtB1lkv11V715o/bInj8SHnMkva/1t1/IWRvMwho= X-Received: by 2002:a05:6512:1114:b0:540:2231:4a0f with SMTP id 2adb3069b0e04-540341305a3mr508901e87.55.1734025502160; Thu, 12 Dec 2024 09:45:02 -0800 (PST) List-Id: Porting FreeBSD to MIPS List-Archive: https://lists.freebsd.org/archives/freebsd-mips List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mips@FreeBSD.org MIME-Version: 1.0 References: <42626101.150764.1730270456210.ref@mail.yahoo.co.jp> <42626101.150764.1730270456210@mail.yahoo.co.jp> <1415905832.266770.1730323863648@mail.yahoo.co.jp> In-Reply-To: <1415905832.266770.1730323863648@mail.yahoo.co.jp> From: Adrian Chadd Date: Thu, 12 Dec 2024 09:44:51 -0800 Message-ID: Subject: Re: MT7620 gpio bug To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000016874e06291646a8" X-Spamd-Result: default: False [-1.35 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_SPAM_SHORT(0.55)[0.549]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.co.jp]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.42:from]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.42:from] X-Rspamd-Queue-Id: 4Y8KcJ242Yz4tjp X-Spamd-Bar: - --00000000000016874e06291646a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Neat! I've started a branch off of freebsd-12 (until freebsd-13 is fixed) for freebsd-mips work since others keep seeming to want to do MIPS stuff. Would you (and others) be interested in submitting some pull requests? https://github.com/freebsd-mips/freebsd-src, in the freebsd-stable-12-mips branch ( https://github.com/freebsd-mips/freebsd-src/tree/freebsd-mips-stable-12). I'm happy to merge pull requests into this branch and then into -13 where/when appropriate, and then get them into upstream freebsd on those branches. -adrian On Wed, 30 Oct 2024 at 14:31, Mori Hiroki wrote: > Hi > > This is FDT problem. > > This problem case of dev.gpioc.3. > > I do gpio3 is disabled then not happen this problem. > > > ----- Original Message ----- > > > > From: "=E3=82=84 =E3=82=82=E3=82=8A" > > To: "freebsd-mips@freebsd.org" > > Date: 2024/10/30 =E6=B0=B4 15:41 > > Subject: MT7620 gpio bug > > > > > > Hi > > > > I found bug at MT7620 on FreeBSD 12, > > > > # sysctl dev.gpioc > > Trap cause =3D 2 (TLB miss (load or instr. fetch) - kernel mode) > > panic: trap > > time =3D 486 > > Uptime: 8m6s > > Automatic reboot in 15 seconds - press a key on the console to abort > > > > MT7620 have 4 gpios. I seem gpioc not support multi gpio. > > > > Thanks. > > > > Hiroki Mori > > > > > > > > > --00000000000016874e06291646a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Neat!

I've started a branch off of = freebsd-12 (until freebsd-13 is fixed) for freebsd-mips work since others k= eep seeming to want to do MIPS stuff.

Would you (and others) = be interested in submitting some pull requests?

https://github.com/freebsd= -mips/freebsd-src, in the freebsd-stable-12-mips branch (https= ://github.com/freebsd-mips/freebsd-src/tree/freebsd-mips-stable-12).

I'm happy to merge pull requests into this branc= h and then into -13 where/when appropriate, and then get them into upstream= freebsd on those branches.


-adrian=

On Wed, 30 Oct 2024 at 14:31, Mori Hiroki <= ;yamori813@yahoo.co.jp> wro= te:
Hi

This is FDT problem.

This problem case of dev.gpioc.3.

I do gpio3 is disabled then not happen this problem.

> ----- Original Message -----
>
> From: "=E3=82=84 =E3=82=82=E3=82=8A" <yamori813@yahoo.co.jp>
> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
> Date: 2024/10/30 =E6=B0=B4 15:41
> Subject: MT7620 gpio bug
>
>
> Hi
>
> I found bug at MT7620 on FreeBSD 12,
>
> # sysctl dev.gpioc
> Trap cause =3D 2 (TLB miss (load or instr. fetch) - kernel mode)
> panic: trap
> time =3D 486
> Uptime: 8m6s
> Automatic reboot in 15 seconds - press a key on the console to abort >
> MT7620 have 4 gpios. I seem gpioc not support multi gpio.
>
> Thanks.
>
> Hiroki Mori
>
>
>


--00000000000016874e06291646a8--