From nobody Thu Dec 2 12:09:39 2021 X-Original-To: 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 87BA918B0850 for ; Thu, 2 Dec 2021 12:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4ZWl1CHDz3pgn for ; Thu, 2 Dec 2021 12:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 07FA21D305 for ; Thu, 2 Dec 2021 12:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B2C9cxY057850 for ; Thu, 2 Dec 2021 12:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B2C9cNB057848 for mips@FreeBSD.org; Thu, 2 Dec 2021 12:09:38 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: mips@FreeBSD.org Subject: [Bug 181386] SMP & USB hangs >254024 for mips64/octeon Date: Thu, 02 Dec 2021 12:09:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638446979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uNm47GXqBw9g8d28KUi2UVYUhj6B+7dORKO1gsZ/gu8=; b=whlZUeEotbEyhHCMmzYWMjwO0/Dmx1rBb6YIOHcR6/DTyButfcR9L4KrytvnfgCHbxb3M+ 9gObL83WXuE49vWnoIbgAI1crMHgwHBGG3EUKr20lfkxiRneLWikMuVxioU+dVay4kdGxx 3fS2EylpI/0w+xLFnuMsBebX9xTYcXcmh+VddrC5hoIJHh6FoeKqTpmW79W4kLAktU1yeG sUOudK0zwqGxzAHqX2yGfPWFQYh4kSsyrcLAWizBFq4wb8HB/7oo0Q/igKOAzTF3XufOrZ DOQIpG1GWsY753/bgGkWY/BzTPKkzBi6XBNpr0YPUGWCvQ89sjdT5/kRZvG6gQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638446979; a=rsa-sha256; cv=none; b=B8a08ry0oRrfzgsGmm7d4q6mNigyPCslFZaG7pvtHXUVMep9kdGrLAF8V9+HtJwO5QJRK3 X7GIBZFQhWJ8zxNEIVNf8ZaUDMZtE+xRL3u81RrNteqPbOn9V+gn3FuVMSTGF6mVIvVjpa ntESpGLPM2OrPiBueZ267mAkrKTNTl2imq9IGBpQ1bv3coPXwADOL0CuSo+R/bXIMlolWY SWXMjBtT4i+GzT2lP0yfkt8qXiKFGzQjYRU2LhLmzj0VWaZx8qPTwaqJEh4wo/3WaMxySu K+aRJQ9WEpXfblPjMhH/uZadsrprw/koHDLPM4C/MSk+josPYA3OrhrvMsbonw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181386 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kib@FreeBSD.org |mips@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 2 00:31:16 2022 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 9F15D191904A for ; Sun, 2 Jan 2022 00:31:32 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002.mail.ssk.yahoo.co.jp (sonicconh6002.mail.ssk.yahoo.co.jp [182.22.37.24]) (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 4JRKYt1lwnz3pRX for ; Sun, 2 Jan 2022 00:31:29 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: 9p89VKUVM1lLtKcuN69OMJhlQ3RI0ro8LXKlbNC0JnDyxjsBKy7WSLI0cwvB6FE NXxn1bfbOFmTWlAlvaEFNyHt18WBBQoics3qNFO_99Khd1stsvR_VZmR03KB4EFORjsjT4DIG1pL I3P9I3q0E1aqkxsJVCze66eitG8rbncsRW1jUhRe48DcnT30yAuYbqVP0WlcsnWti6JAq6m1S0dv DboSUvUCuCE0VF1zq_P2KWOv5SWhUR1fs.2HR0X1wDBReTEbL268I3mvBxXbAZ3dbHCwiivrjZ1N NxseB7aVQj7KToOft9GYsO41Kzd2I0OiZPpj5xZlIXeFOb5vd3WV5jhB92cQ7CY8SqCk_zIhTbI6 tle8H3tMCH7K8zRWVOxWyRHXx8lCx8PymH0KnOSu4G99o5pu8wSbI7CFWe11nQEg.MPq3o2rE9Xc YmZ6nlUo2x_t1XNXfh3jqonh0zOaR1ADcI1QS4Fxdhsz3H4lVeN8q2X2r64hfgw2Md91MNDDNIYo EK4Oy67vUD6xDqebLYUBSi9i2Bel7Xy4zGbXZPoe8DQ7XzZQkI5LRyZzgsApuPLAoftwRNdNwz4I 3QjO05EXkb.GKH_xFyldlMSxJNYN7t0j4mdsH5MsT3CpRrlfqKqNtdLdjG6tA_Iy4Cd5pLNBCiCm HP05mttLPxnWBZ5Mm6Zgvysuh8w_3NvEPbAAx8romXvhXbAMu13h3.bM8Mpahz3T_SvgfpS5DQiX jx8EfkQaTwV.o753Rg.Usvlfhwdn0rxd.ezHE5fGSbKBt7X_48.9F0FzU3RnfkIgww4B1PqVd2PA EHa1btTRvrJL8lt4uPFX3BlXsLey3hmKeaPq5Fbze.5N79.AE4zix4KmkuufG8N0QfR.8Gxi6zgX YIH1f4t3y4Boll0KLig2zrL3JHIjly6qFeSlSwsHk Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Sun, 2 Jan 2022 00:31:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641083480; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=H7urnbIIgPk8nNPp5SZ7LN7LZJJSBYJI6ylIyOQ36xo=; b=keh8HyDkb/rmWku/1MDEWmbERTIhjn7mDakONtdwXJoYVEphJA5cs4wBNaG+UJQ7 okCzpnyaQxSkKg/a5EEKDXznGuf7EJFPdeUvLIhejqYGtylB2uEnDScOpkYjqeKC6wZ rlMEN5T1jK1C71XAcjACF0rbvFoBDbjPPscTUfWQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=a91dEAK1IuUPYocuIcT3hOWIiM9f8XmwSVsPJUlE+Oc2lSHBwkPb+gM271E+rYtH yZPOHjjRVbO+d8ijkN9NCpm/I4mP+EB/zs6MUvilKLnfbJHewW1ljpP5Z6YwQ8ls0yN tpoaogjRSEV5KiHd9FxVnGywYDwgZAAhElA473Z4=; Date: Sun, 2 Jan 2022 09:31:16 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1894753077.858196.1641083476368.JavaMail.yahoo@mail.yahoo.co.jp> Subject: fork from 12-STABLE mips support 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1894753077.858196.1641083476368.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4JRKYt1lwnz3pRX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=keh8HyDk; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.24 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-3.72 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-0.72)[-0.720]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.24:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[182.22.37.24:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I want modify some thins to 12-STABLE mips support. I will fork from 12-STABLE. Do you think this ? Hiroki Mori From nobody Tue Jan 4 18:41:56 2022 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 448851930208 for ; Tue, 4 Jan 2022 18:41:58 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 4JT1g93tPMz3L30 for ; Tue, 4 Jan 2022 18:41:57 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id DCB173C0199; Tue, 4 Jan 2022 18:41:56 +0000 (UTC) Date: Tue, 4 Jan 2022 18:41:56 +0000 From: Brooks Davis To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Subject: Re: fork from 12-STABLE mips support Message-ID: <20220104184156.GE26833@spindle.one-eyed-alien.net> References: <1894753077.858196.1641083476368.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1894753077.858196.1641083476368.JavaMail.yahoo@mail.yahoo.co.jp> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eRtJSFbw+EEWtPj3" Content-Disposition: inline In-Reply-To: <1894753077.858196.1641083476368.JavaMail.yahoo@mail.yahoo.co.jp> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4JT1g93tPMz3L30 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-0.31 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; FREEFALL_USER(0.00)[brooks]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-0.61)[-0.607]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.20)[0.199]; NEURAL_SPAM_SHORT(1.00)[0.996]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[yahoo.co.jp]; RCVD_COUNT_ZERO(0.00)[0]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net] X-ThisMailContainsUnwantedMimeParts: N --eRtJSFbw+EEWtPj3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 02, 2022 at 09:31:16AM +0900, Mori Hiroki wrote: > Hi >=20 > I want modify some thins to 12-STABLE mips support. >=20 > I will fork from 12-STABLE. >=20 > Do you think this ? You can certainly do that. You might consider using 13-STABLE as a base since it's in slightly better shape. -- Brooks --eRtJSFbw+EEWtPj3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJh1JT0AAoJEKzQXbSebgfAMl8IAKLP0L+GfIuryfyr7rEQL6sf ygAkNiunB9LA4Ly8RF6OjVsGvO8IIvZ2Nxv1urVgns0xY8pTEb5pm4Dq1fsp6onb CsWgjHYFtxlUxcMZWyKLfxMB7jlb3b4CdzHtx2H6YQiRSBeMKAnbeG2YU46pA/Tc Ui4LaszZZaMfuQKQjHiAqXEFPYmW0SIFHLKKvqo2YYULvPZJ2K0TGRKMwIyhYqPA zFM+n+vVj+7uUrNneBPw4+hLSfm8KR5CrhIoGeGDtM1Cqc67p4ElejSg4WS0ljIT MLnh2apNNxFpSai6shWOVkm9UXvlz3OWnVqvQupQQGD1ShW7yjNQ6VMgrt2ttGo= =ADLQ -----END PGP SIGNATURE----- --eRtJSFbw+EEWtPj3-- From nobody Tue Jan 4 22:27:49 2022 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 3F4891922E42 for ; Tue, 4 Jan 2022 22:28:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vk1-xa29.google.com (mail-vk1-xa29.google.com [IPv6:2607:f8b0:4864:20::a29]) (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 4JT6h10fszz4pCj for ; Tue, 4 Jan 2022 22:28:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vk1-xa29.google.com with SMTP id h5so13511605vkp.5 for ; Tue, 04 Jan 2022 14:28:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P8HFcTcS/NrEnL1Sx1q4S4Q6gmfoditQ3PTenDdm30k=; b=CLDTvdhPXAYgZB1Cio0xs1hyX14wsr/rKE2SPVI6sBDpA8VgQoMbX5rB391YpBNujI dublbd12oy5pOkv4rlvFFFqoJehN6nB2hEoJX05AhyTmCfMrJnApMjU4rr+3GmbJ/1ri gWzaWB0GM66gk9OIzDUo379yRGQ9EiMheeYNdf3OKDFzpUtC/GKvvXSpx/j40r8XHSsg gP3mhMyBMdd09o/KNOXEepPVCjFuq4Hvc6RDbUHxHFM64Ss0F1YvNEUyFbOUaXKaRO4e h6eaAN2yCc5/pyKNHVTWFnwcsT7XtVyt+RoEVutHsg7lm/rh/tPx24HCifLa2bB/IWxg DJMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P8HFcTcS/NrEnL1Sx1q4S4Q6gmfoditQ3PTenDdm30k=; b=Mbm1TLashFVWVhS1QjSlByh0jT4a1VKHlmCVZ14CU1ZK3hjIIQhKhxaVULsKdH6ER7 t1PEGc0f8UuBxy2MXGvq3zsZqTo217AV9cJOFpWPQ557y6U9wBWWOj7jOuHAkaNh3Mio f7K+VTpxFpywGCaFZfL9YmtwGBFsIJKXBBIsl/GqrVfxzrjfX6/RH0ISI13lJomvFX5t pgHEKdWqH7lewgtyM28WgXQss5yUWBGF03rsDwnRnG/kO5MytuzAM52KmFO5IN6mjZp0 hB3AYtaZxf8godXNj93pOJuPmpnSbBVOnuNIOcxNu7QCT1eGo1GEZdW6FKw0zRbs1b1R fSoQ== X-Gm-Message-State: AOAM5325ab0e6aVUeGGxBKNyfPWcdl+KTtC12HVLZjjMH1TAKowakOuF n2xchBO0g4nnxcaIIbEeR1DjuTL90M0t6P/uCnPgPCjh4u8= X-Google-Smtp-Source: ABdhPJxbih44FGf3Z4ukjw03MGgLPp9yeePx5KTdtFlYVMmyx6s+pzV1YH0eC8CYMNXBipjktDUO6/1aVp0jUlVigQQ= X-Received: by 2002:a05:6122:e12:: with SMTP id bk18mr18525430vkb.40.1641335280445; Tue, 04 Jan 2022 14:28:00 -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: <1894753077.858196.1641083476368.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1894753077.858196.1641083476368.JavaMail.yahoo@mail.yahoo.co.jp> <20220104184156.GE26833@spindle.one-eyed-alien.net> In-Reply-To: <20220104184156.GE26833@spindle.one-eyed-alien.net> From: Warner Losh Date: Tue, 4 Jan 2022 15:27:49 -0700 Message-ID: Subject: Re: fork from 12-STABLE mips support To: Brooks Davis Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000593dcd05d4c92608" X-Rspamd-Queue-Id: 4JT6h10fszz4pCj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000593dcd05d4c92608 Content-Type: text/plain; charset="UTF-8" On Tue, Jan 4, 2022 at 11:42 AM Brooks Davis wrote: > On Sun, Jan 02, 2022 at 09:31:16AM +0900, Mori Hiroki wrote: > > Hi > > > > I want modify some thins to 12-STABLE mips support. > > > > I will fork from 12-STABLE. > > > > Do you think this ? > > You can certainly do that. You might consider using 13-STABLE as a base > since it's in slightly better shape. > That would need a few things I removed from head restored, but other than that issue, and the need to add the other parts that references those parts (arXXXX). I tend to agree here. Warner --000000000000593dcd05d4c92608 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Jan 4, 2022 at 11:42 AM Brook= s Davis <brooks@freebsd.org>= ; wrote:
On Sun,= Jan 02, 2022 at 09:31:16AM +0900, Mori Hiroki wrote:
> Hi
>
> I want modify some thins to 12-STABLE mips support.
>
> I will fork from 12-STABLE.
>
> Do you think this ?

You can certainly do that.=C2=A0 You might consider using 13-STABLE as a ba= se
since it's in slightly better shape.

That would need a few things I removed from head restored, but other than= that issue,
and the need to add the other parts that references = those parts (arXXXX). I tend to agree
here.

<= div>Warner=C2=A0
--000000000000593dcd05d4c92608-- From nobody Thu Jan 27 12:10:26 2022 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 B32EA197E6E9 for ; Thu, 27 Jan 2022 12:10:44 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh5003-vm1.mail.kks.yahoo.co.jp (sonicconh5003-vm1.mail.kks.yahoo.co.jp [114.110.61.44]) (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 4Jkzv55F15z3n21 for ; Thu, 27 Jan 2022 12:10:41 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: FQuC31oVM1m5BouHCkHg0CoEBLSBofT5x_v1iwdrsbBtY2rWCIJ4AXetfsoNl2I 1ml8OFFawQhndrOI9e8S0j_cF.Hu_e5O7zxJu_BG1oAKVwoxSPU00g0Wz4K6IS88PK_7behol0W9 aApm6HD5LCu0UtYnOXjjV2LgeiLAE1L74PShWRM7wADnU280kpsGLtz7krtEayEL4guDxOsU.aQD jCtt1jRc5iQCe9DBpgogBWY8RYQTI3bferbdn8N_kqA3CcPV.X0fLNjUbTPtZBTE5r0Hj15t_gQe 2s7.okeCr2H1FJg0TDf4ctcrCsZcpe5ZDcroC3NR_.2gdP2DQKr2Bg5rYFDtbgIg7L71DZRJEjkK v6yRc1imAxPGezijz9hK3jy8oZmbMapV.ufS_3pfJHI53r_gzU.iVqjwvZIPl9pOjDEbdXw.cR_C iT7I3LzZeQVfOqfvetzfsedz9XL172T8H_F2qknFuNZVgNN_Dn0Qf1BdJN01KxHgLr_TGIp30brn 6OiKCq9g.HZnFQ5dcQUWdS76WbS9NQLKiTDMCL85kAkByYzXn0krmvUCFhU1qKYw8KfnsEuU2QXA Z36ULqxdGdchazXhfsMMqCCYvaX2Uy9hwjYOcZhnhqe3Ek8gOqurJuIk5PpWRdQk9B0VKgn6Gwj_ N5ZIQev1.yOUrTJ8Mn7Cv5iM8hDKEU_gtAwqwtoOXrxBXzJTVbO2izRTAzAvcVzHmMo5UWBdN45B mjrA1ILZhZwh4qX5DTXfuwQ__zsYHKBngTPY_ZeszJ6PX3yLs0bpylfDaS5k1k05cz8EtgHwsGW_ AlzBpZHa06TFMiEZlgDqhb0BwTmVPK1Iwre2d2w8FdY435BP58MrdpqDxsSEG5DDyA0IYtJli6Je lh.RpJl924sd317602xuzBeAt8mcN4F4rYzXhfVBc Received: from sonicgw.mail.yahoo.co.jp by sonicconh5003.mail.kks.yahoo.co.jp with HTTP; Thu, 27 Jan 2022 12:10:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643285431; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=kCWe2is3k65qD1pou9Y+Zv9ldByES5MJtRPgDsJcFBk=; b=ut4+pWjZpOHnDb/BzMGhs+EwPdG7bouSWsx3Wg4nF3X7UMAKZiEXEo1fmIYtew6I 94ec92S+PyDzGISl7BolTZYFDx1BzCLZ8iypQmeBhKpSRRKJEp4RQCnRrjScjCxBy7A aizUdNewEK/xDLbK9INf++d7Ki70uQTBhJtxUd4Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=dxYOIZfuwKAWQka0RTy3BufJF5nN9HwItujdP+sIUhkayLB4NnyuWNf1FnopQ8mq MSea8p19MFENQpCBEwKWeqO0uwOpHemExhM0oiYy7D2Qed4jibN3kFxgZFNyouO9u+E 49xOCNaNK77qyfo9G1LwHoSR3XGg0hlJaBz2pHl0=; Date: Thu, 27 Jan 2022 21:10:26 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <101743250.2196121.1643285426248.JavaMail.yahoo@mail.yahoo.co.jp> Subject: AR8327 problem 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <101743250.2196121.1643285426248.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4Jkzv55F15z3n21 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=ut4+pWjZ; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 114.110.61.44 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-4.00 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:114.110.48.0/20]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:24572, ipnet:114.110.48.0/20, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[114.110.61.44:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I try RT3883 and AR8327 module. https://dmesgd.nycbug.org/index.cgi?do=view&id=6432 Write flash on u-boot and boot then network work fine. But do reboot then network unrechable. I think arswitch code forget something. Do you have any advice ? Thanks. Hiroki Mori From nobody Fri Jan 28 09:38:07 2022 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 7D7961977402 for ; Fri, 28 Jan 2022 09:38:20 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002-vm1.mail.ssk.yahoo.co.jp (sonicconh6002-vm1.mail.ssk.yahoo.co.jp [182.22.37.26]) (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 4JlXSp1xxDz3CPl for ; Fri, 28 Jan 2022 09:38:17 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: ZrWhMV8VM1keIfXM5e5zUfgUsS8ThSOPeGWk5rBNXl1qAWwgjfu0jRQp5jkiCTO q4oLLzunQTL0UZ5igVJ1ZKcQYxXT1c.wVUihcLOC_IPk.vKLnq80W1z3gKME4L8.EQ09eQlZXGtp KVpOBpwb.djhS6hGDOdhiyRPdCV.xPDCW8JzOV8vxVd0o5WnkCtDb5bklKGQOk8xpt92kQrIBy6_ vHxR3.mUUfu6RSL8PxlXW10holPIPEqPKYLbQ.uITzJPahNYKPCafh568pCo8pEAo0WAix4wD5Wz 5Ld4HkaewwlEgp.eo6GamMD5AFM1nx7q77gHRlDTUeB_E.ALaDnf7ylMq0X14_oZyn7LQLEch7fJ kSWazLpg..8CPPysAsDTclvfATEbNaev4Fe4tEIFgtYY9hwm.UrWDM6BpN.zYOYw63n.9LQQtEyt kRI3_vBbsLmREpoUwy7soRxJoxu55zsc8e0KfOroMOo4QaznH.1zTTshtwUyvEHayd_xeFo4.W3x APs0ywzmm3nFPHW13hYuf6h9DjBU5Et3CKcnx.fPvjagytGqSTOtBf3P8Ote2zC3T7LrMj42GZ1z tl6q3cGhu_sa7H7tnN4LdpFpaI5fOHlyEhxX7..sj8ht6OmIKWXvbMzGw1WrktYAKoGi2YEkL8fZ lQxzDPI0VZGd8eBmdNVq2Ivrxsrnc4NHpK4ufGbNkSOMFwIqt1_gZqcAxPql6b1IM3zzZQNdndhj TNGFLBaasBeXEtDqNl5j250r3K3uqJeP9yxiFJYDdtADMlUvtxLLomohywUNTrubGs8Ltl885pSs QgWbCA0lh0lPuiFwUhjJYLkLZvkMdF5gEQ9_XqF75mjT.kz66M76Zn9AKB0n0cqcudEcnOrEpnnA 1zgYd549JItVuEGM6KPAxreVw4wmUsc3b1K49DVmBgxqo Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Fri, 28 Jan 2022 09:38:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643362689; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=1u0dF9+zV8LCeosuaHt84Rzu34oVhBKLu6INg+EXJbo=; b=oiSLnEtA0hGF7m2t15UfLvUS2EF7/Yx40Ned+ZFgQRPMjGqtgv3RcUYEOXkfm3Nw wwY6D7/Wt6/KCFVd3PXJNCbfp0m2Q4J6UsQdB0PfLhyKm0906kBavclUs10WLJWjUh1 e7gckN2UVX+DWORvcsg51qEzqQcyrIXZHuJhPJc0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mLwllzR7u1+6l3UEJNiZbB9AZD8GorvCoSkTR6cKp2MnZ/tnasxIZVWGq7vm/mOK c43NNMwCEER78P8O+LKMXEbHaNecQ/Zq+g4nlwHVGniTAFnBhbNSgqzNi6KnFwr+epq aHqtlpId4RumGyyE0TZA7U32p1du6zdHoc7IKGT0=; Date: Fri, 28 Jan 2022 18:38:07 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: Mori Hiroki , "freebsd-mips@freebsd.org" Message-ID: <574173054.2346640.1643362687670.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <101743250.2196121.1643285426248.JavaMail.yahoo@mail.yahoo.co.jp> References: <101743250.2196121.1643285426248.JavaMail.yahoo.ref@mail.yahoo.co.jp> <101743250.2196121.1643285426248.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Solved: AR8327 problem 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4JlXSp1xxDz3CPl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=oiSLnEtA; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.26 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-4.00 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.co.jp,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.26:from]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I found reason. This module need set PORT0_STATUS(0x7c) to 0x10ce. Current arswitch_8327.c not support FLOW_LINK_EN_0(12) and TX_HALF_FLOW_EN_= 0(7). I do set by etherswitch command this value. Also change to rt driver is giga mode. That is I remember my last RT2880 su= pport. Thanks. HIroki Mori > ----- Original Message ----- >=20 > From: "=E3=82=84 =E3=82=82=E3=82=8A" > To: "freebsd-mips@freebsd.org" > Date: 2022/01/27 =E6=9C=A8 21:10 > Subject: AR8327 problem >=20 >=20 > Hi >=20 > I try RT3883 and AR8327 module. >=20 > https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D6432 >=20 > Write flash on u-boot and boot then network work fine. >=20 > But do reboot then network unrechable. >=20 > I think arswitch code forget something. >=20 > Do you have any advice ? >=20 > Thanks. >=20 > Hiroki Mori >=20 >=20 >=20 From nobody Sat Feb 19 04:03:36 2022 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 9524119D48E3 for ; Sat, 19 Feb 2022 04:03:52 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6003-vm1.mail.ssk.yahoo.co.jp (sonicconh6003-vm1.mail.ssk.yahoo.co.jp [182.22.37.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 4K0w0k1ZSVz4grZ for ; Sat, 19 Feb 2022 04:03:49 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: 98vStMUVM1lOjic8NGXdWNBAnF9CCGdmbKOa1FxUAKMQk4BhLbJNh2OUM.i8qlc 67M2HvViYvaYlAsCFdIf3IlqulYl774o_XJyCxipoyCf4uGk3qWLIixV4w_X_NoNbQXXa2LBRiMa lyAsv82wMIlsg6MHPJ5Sk_rJ8LawIzMLZ0aYBYlVm_QPVO9OUFoYjIKZj8S3JmZWHn011ealmTzg Uku3mKkNlxQvNGUnWmCmk6wymfo41QZQFHwEk6Cqbm8TffpJYRRG70uBBZNPn.wbJWB0KNCLAim4 ckIgPP77xRNmAkDi4hqW5skcNKiGysag05FTaxlw5wIzNM6WOQp9mpEP9Q9bwX6AdvMD2KHuq1mt QvyumK3cdzOJkN.zHjm.RKv5x9087G63tjLcCtKFCtDIwwNeyImmO1m94758bWY16qrJIEaAT9_i cTA9i3r_yrK75P6asBl60s7O1gJWog0oNvAKPEB8k608SCwIGMfGmdyGkFC6C0v.VEEZR35sP3TP kyjFCJYeTKfnSPtdYFt2F3xigZiYjAACYsZz5a0S42cQpPpc6PfUnUNnn17GBffiESroiWHcjXWV aPthlZ7wkpow3P9dL5cOoIh3RJ6RE6Yd3yf9qyiAr73JY5A6sF3GYE28b8rqq6jgoI4x2Psjhbp4 yKVa1T3ZOQT3l_oIr6VyW7X_AY5G.tWJZhlorOxHBxcYkYQ4sq5X2DTgTOL1CquAh9B6tbfIMYWc 3MYwUGVaynqiQfDr7A38tJdFklMPb.JnTVofNJEIxlbXjYomxsQSW1BhArNLq__xBXZvGUS71ngD HgstXTFov7EohItmnLy.BvbHnu5BRbDCs_KMpK_17CYkA3s_5ndPLBeRxU12v5yv62jJ046bqqgt zSiZof73KDtOdRpuDhk7ITWilN7epiWplt4vPFCw- Received: from sonicgw.mail.yahoo.co.jp by sonicconh6003.mail.ssk.yahoo.co.jp with HTTP; Sat, 19 Feb 2022 04:03:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1645243420; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=ki9aME8PrYSdUWL59Q9cHjOPYkrVk5PmE/vrHWwyF6k=; b=BIpznHGSajpf3kiIf9JlZMr5S5+CWQsHk1rGxfHoE7KCBlrgDeWmhY+Nm9toF/0e bwDWmCHmC9oY55MqwrOUM3nu3CYCILFvVCw+QiXrd1om+8vu2AdqIqOszOpp0KH+E3b QbVKwcT21mVbk4ln+YO0GDWgGD4U8smVtZKZg71c= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=vOGgn0yYNCpZDLC3Y4KzOQ+0rvLC5a8x5JQkvOZSZb7x4LRayreGfnejHPwjcey9 /cf8EitFiR1+uqbZdFjkx5TrpBtjbQLqZV3gWlan3mhkimEjirz2TdQKLUCnPhfX0Wd PTbH8fKzaz0mNORyOMYF2x6smbbjvJ+WGGNP5ML8=; Date: Sat, 19 Feb 2022 13:03:36 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1816429383.104353.1645243416400.JavaMail.yahoo@mail.yahoo.co.jp> Subject: pcm support for AR9341 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1816429383.104353.1645243416400.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4K0w0k1ZSVz4grZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=BIpznHGS; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.42 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-3.95 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.953]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.42:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I add pcm support for AR9341. https://github.com/ZRouter/freebsd-src/tree/yamori813_modify AR9341 have gpio pin multiplexing. This is very useful. I add SPDIF TOSLINK on not use GPIO12. And set hints. # SPDIF_OUT hint.gpio.0.func.12.gpiofunc=25 hint.gpio.0.func.12.gpiomode=1 Thanks Hiroki Mori From nobody Fri Mar 4 22:18:22 2022 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 8E58219E6872 for ; Fri, 4 Mar 2022 22:18:29 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (mail.yourbox.net [IPv6:2001:41d0:1:767d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.yourbox.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K9Mgm57Cbz3lp5 for ; Fri, 4 Mar 2022 22:18:28 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail.yourbox.net (8.17.1/8.17.1) with ESMTP id 224MIRdF037298 for ; Fri, 4 Mar 2022 23:18:27 +0100 (CET) (envelope-from fbl@aoek.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aoek.com; s=mailbox; t=1646432307; bh=lqIRPeSV8RanqMjQQZku8BGU/kwrFdvNxo3I9dyi+rQ=; h=Date:From:To:Subject; b=Lsxdcr5kViBBWXgXO2i5cikN4usvSiHD+QuLVBkIET8yI74+HC9sn/ql2jpggHYIT JIsNULrVJ4vcifea1oWLLEcuyc4jvl3NQKF7syNMsH0saVlG9c7qSpHiR9g/eTBqhJ rwjsZUTVNI2uMi8PVPY6DgsFfv0GM07y+oCHwseWddZiOa2ppEByRHtPwOO0n6nisK TQ17IzH0Rr/3F8fvTv90YmyHY0X7YD4zwD8ID2qFHs241GGEZ8ppmc68IZtNzwbGiH qooyrOXa4UU7xxHJiXaP0uctRl3gOsYtu2DRZQRbfuhz4WWp8rFB8DHztkdb8ZhQbO YIpOOaEKKzVVw== 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 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 04 Mar 2022 23:18:22 +0100 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: freebsd-mips@freebsd.org Subject: Mikrotik RouterBoard: How to boot? Message-ID: <4c0eb5b28288ed6602cd5680f53e1c0d@mail.yourbox.net> X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.2.0 X-Rspamd-Queue-Id: 4K9Mgm57Cbz3lp5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aoek.com header.s=mailbox header.b=Lsxdcr5k; dmarc=pass (policy=reject) header.from=aoek.com; spf=pass (mx1.freebsd.org: domain of fbl@aoek.com designates 2001:41d0:1:767d::1 as permitted sender) smtp.mailfrom=fbl@aoek.com X-Spamd-Result: default: False [-1.75 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[aoek.com:s=mailbox]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[aoek.com:+]; DMARC_POLICY_ALLOW(-0.50)[aoek.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-mips]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCVD_COUNT_TWO(0.00)[2]; R_MIXED_CHARSET(1.25)[subject] X-ThisMailContainsUnwantedMimeParts: N Hi, I have a Mikrotik routerboard 711 (AR7241) and would like to install FreeBSD on it. Have been following the guide here: https://wiki.freebsd.org/action/show/BuildingMIPS?action=show&redirect=FreeBSD%2FBuildingMIPS But it does not indicate how to actually boot. Can someone share some experience here? Thank you. Regards, -- José Pérez From nobody Fri Mar 4 22:50:56 2022 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 776DE19EC0B4 for ; Fri, 4 Mar 2022 22:51:11 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002.mail.ssk.yahoo.co.jp (sonicconh6002.mail.ssk.yahoo.co.jp [182.22.37.24]) (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 4K9NPT0PFvz3nwT for ; Fri, 4 Mar 2022 22:51:08 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: j4tuniMVM1lELmPtgM2_pq8ThKO8rODCqXht_baCmBdkY9TJA_1V9V8WF.fRqYt RwyghZujTZmmgV8p6mzFu1Al1yIlMivu1fwWcsnxxK3A7MqPp7reg5Di0fUne..TxFmIJtQ90u52 W86q2.kRRTRqHEP6XZ6Ylat3w2q_o0IKde2bS2bNW2hRwlKgsJpMTk60HFzkhz798YQEBZJ6twKp CB2NYEFmTwYGRFZQurLmXDsre6zMh_ehfgmwT7M1u8X4tOTzL8jEvsAbw2R6E9kWkDjvM9LzvrW6 vlNEtZUUp6F3vsiJAWD_OGPnuP2MceZcU_O0TrGbXeKxKzakdzYRf1F2EEnBm2Nq.Mq5KTEzniry SFKo6c8UK9IkUX5X9XPt.N0zyyT2OX3gxPnGE9_HmWA6MyD5SqKAJ_.zxvFgikoIDT0nTvJSTDsc Q.ylaA40IH.1WTvDGY5Cj_pxsulwFVDl86DQ0c_40c9IHQzU3UnrFD5j8AdnYt1aMurjZpcYrh53 HKBgIRldBOiyM5ZfxuU5nkaik308GHz7tSEXHDnzol7Kbg7lb93xKDTmPvg6kaI3LK8zTH6A0RIs D56PaWX.Cn9KqjaOm5uqtpfMym_1yIOptbv7BP72S3X9ORM9um4RZoPo30P8Zm49pGyNK_qq47Lg JEigYpmu28AG3bLn_ibrtH3i.FmTKxxDjKLMb2QvrcISjxBvupDLZOvRfP01BUirYqs2PPr84gdz H1KkhlmDg24TCYqomcsyLfybU2Fre5VrFabeltdfJ6eSt.w9mIsPOaS.MfZaYyb1_NQVNhs08zoN 3oy_f8zkxRUy1RoIEGEjph9WbGIwOPlqmIYVWw7OUSgU7Aqzn3YobOw50nA3umQd.5DNrM7wNG7o nAd0j8htbCZAWZmnGxA2CnxVBtPPdUEr.RiIrYUrQowSNWw-- Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Fri, 4 Mar 2022 22:50:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1646434259; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=rv0MQKsq3E2IRjpf2bRru+QvSdiYSbxJ7ljGaPT8bdI=; b=Y6VBcxw+Wz3lAmdkuneedhGdPzTeOYggMlDMIUbE9XHVRxp5hDPVIKyrUT5JRl8G Rsi12cfL9tNuaxYZ9SFNZBpQ6LkLlKm4cvkGX7HFEP2ekanpYIs/YzpDIiirCNzEl4K R9u6HiNH7SHGzJN+QCs93n4EN8BKrqtlfl9UdmTM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NsD1xrmDJmU/ARGwB1ZrEuDCUJcbHNqOuSry/RJ8j3wlyiRCbyBp8B2bDXz+1idt SOI8/46wcJ9RI+9HQPQqs3/m6y/HNO2M5Z4cB6OlxKNGIIRyM3Rc/OVmMiFVZ1Nosi1 mIgXRbyta/8LlfbKjsCdQfo1LAvWYnZTmvYBN2M0=; Date: Sat, 5 Mar 2022 07:50:56 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= , "freebsd-mips@freebsd.org" Message-ID: <1156385529.930172.1646434256309.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <4c0eb5b28288ed6602cd5680f53e1c0d@mail.yourbox.net> References: <4c0eb5b28288ed6602cd5680f53e1c0d@mail.yourbox.net> Subject: Re: Mikrotik RouterBoard: How to boot? 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K9NPT0PFvz3nwT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=Y6VBcxw+; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.24 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-1.60 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; NEURAL_SPAM_MEDIUM(0.40)[0.399]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.24:from]; MLMMJ_DEST(0.00)[freebsd-mips]; RWL_MAILSPIKE_POSSIBLE(0.00)[182.22.37.24:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I use build mips firmware image by ZRouter. https://zrouter.org/ You need FreeBSD 12-Stable source code. Because of broken at 13-Stable by clang. I don't have routerboard 711 but AR7241 is use Nec WR8170N. https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5252 This module use TPLink type u-boot. If routerboard use normal u-boot then need modify board.mk Regards Hiroki Mori > ----- Original Message ----- >=20 > From: "Jos=C3=A9 P=C3=A9rez" > To: "freebsd-mips@freebsd.org" > Date: 2022/03/05 =E5=9C=9F 07:18 > Subject: Mikrotik RouterBoard: How to boot? >=20 >=20 > Hi, > I have a Mikrotik routerboard 711 (AR7241) and would like to install=20 > FreeBSD on it. >=20 > Have been following the guide here: > https://wiki.freebsd.org/action/show/BuildingMIPS?action=3Dshow&redirect= =3DFreeBSD%2FBuildingMIPS >=20 > But it does not indicate how to actually boot. Can someone share some=20 > experience here? >=20 > Thank you. >=20 >=20 > Regards, >=20 >=20 > --=20 > Jos=C3=A9 P=C3=A9rez >=20 >=20 From nobody Sat Mar 5 04:05:34 2022 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 633CB1A0511C for ; Sat, 5 Mar 2022 04:05:46 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6003-vm1.mail.ssk.yahoo.co.jp (sonicconh6003-vm1.mail.ssk.yahoo.co.jp [182.22.37.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 4K9WNS0Vvzz4tRb for ; Sat, 5 Mar 2022 04:05:43 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: 14hzx4UVM1lrfHTBC8hUkl4H8.S1VifoA1Ik3I62VqdVyz16Ar9Q4WjgtCLEB39 BWGQxfG9QafUdM31iN2CrTbHcqnq2uWw5ZPp8TDSlL69yJyT_m17cF4pQhPfPJNx08536Z4UV5ty flVXfU1SqhQZAhtpc.mnLhoSUf.0Ox.L3pzwABU3rtYiNWYisEPnIVq8FwzMRkSkdKfEbA9d3EoH NM_uLQKMmZuiKezUrMcRKedu1n2XpTJu4v2tjPDOSozvFhJBoz2ytcIEFpOFsSHl.w_0dvZt10FS yRO5fGmy7Ypse1ncqTm5Pdz.jYWezxwYA1F4CFwnWgBWR6G64QwRaLKwiO0DQVff.9hMRBuKpsnu QPGoAnZmxriHTWVNFXy0dZxSLUx1QII.o7pBnf7h1GHoaDPu0knbHwZEYNPuhKu4RvDNmk1xvnXT ZhzF165LqxWMJBMIag0SWiJIy2nBcBDv3NScbMZfyvF3TKQ3WBzoQPq3TWkEHQ01d.tVQArT_.us LAyCQSt_UURT.R3nPOy_HJey3xFKuB1yP7jYxPOruIbmcAqihjQvXz_s4SQ39wT12znzT8sbAL8T pzI4XdorMv63o9mKeSsWcmmpJejctxz7Y8ejJAnS0o1eXabT_comS0fCYUx4LKH.Jg2t9XnqRQau hnn0GzHeDUgBQCHqqM7fRrf0WIfdjFhMioMIAX6Yn9kvBHRJ.jCRlRt2yl2KKKmUzFtuAJiVu3OF J1znrzMAozB6VlljEeq8yy6m4QRqWQhCNGDnuoYj2GfEdZl7rg.qFFzP6P5I662sdeXfoM.V5rUZ SGbRub1xjhlbAX1OcUs4BdqaHMVcqDXG33LHzkEMAz4eAdeDEptuJsafr69TN7xqq.nki2uXjsi4 OEU8hYCFYToJ5Flc10NlSj0oTfMjh5dCit4jMnSjYBxg- Received: from sonicgw.mail.yahoo.co.jp by sonicconh6003.mail.ssk.yahoo.co.jp with HTTP; Sat, 5 Mar 2022 04:05:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1646453135; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=4OKfQ/IdLxkaxBlQmKCd/lYTsAW0QMbZgo8fzvXSow4=; b=V6h4Gz5VW4vBTgTpP1OlthccF+q0JyJQndZzVSzTyVvBMsQpdfSM9BH+geMDpeqb 4TyVzY7K16CtSeX0puf6kZrW1eFPkOGZoLRGOdTVB85ecuoLxg6CYmzOKKIEMT2n5Ex Cbm97BiivZA9s0qqJsJBv0LDnCtlP347tLnAxcXc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=n1qvCTuYeH58SyiaBXDEvLditlzs3e6KnbH9de6uSbXv7HFO8aJuL4QzGOnqnllF fBLgz2Dnth5tJKkFaxLBjwl2DvhGdIGoY2hXowDOclNVIxg3lZQJxFfauxD7Oys8hxD /c1aYMyy3R/yGFFRoyw8edviEpg48VmeUdV/5pK4=; Date: Sat, 5 Mar 2022 13:05:34 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <788494283.954541.1646453134165.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <1816429383.104353.1645243416400.JavaMail.yahoo@mail.yahoo.co.jp> References: <1816429383.104353.1645243416400.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1816429383.104353.1645243416400.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Re: pcm support for AR9341 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4K9WNS0Vvzz4tRb X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=V6h4Gz5V; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.42 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [1.47 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(0.47)[0.469]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.42:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I also check usb audio on mips. RT3883 is very good sound. I listen WBGO by mpg123. But AR7242 and RT3050 is very noisy. I seem FreeBSD pcm support not work on mips24k. If you have some advice please let me know. Thanks Hiroki Mori > ----- Original Message ----- >=20 > From: "=E3=82=84 =E3=82=82=E3=82=8A" > To: "freebsd-mips@freebsd.org" > Date: 2022/02/19 =E5=9C=9F 13:03 > Subject: pcm support for AR9341 >=20 >=20 > Hi >=20 > I add pcm support for AR9341. >=20 > https://github.com/ZRouter/freebsd-src/tree/yamori813_modify >=20 > AR9341 have gpio pin multiplexing. This is very useful.=20 >=20 > I add SPDIF TOSLINK on not use GPIO12. And set hints. >=20 > # SPDIF_OUT > hint.gpio.0.func.12.gpiofunc=3D25 > hint.gpio.0.func.12.gpiomode=3D1 >=20 > Thanks >=20 > Hiroki Mori >=20 >=20 >=20 From nobody Mon Apr 25 11:46:18 2022 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 70DB91999D76 for ; Mon, 25 Apr 2022 11:46:34 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6001-vm3.mail.ssk.yahoo.co.jp (sonicconh6001-vm3.mail.ssk.yahoo.co.jp [182.22.37.12]) (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 4Kn3Bc0tggz4Ydr for ; Mon, 25 Apr 2022 11:46:31 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: LBBGLewVM1lMX.wNEorsvX8CPNXPlcvZ38MrZmYKVGt8Wfn88VGFwwwoLQu3x6P 0GINRHSBWJGFTXDS8ktHSV92CJAgZNo2eXc8dFw2oQUh1IInImEMcTi_jroXO79S4UpEh7kv1mlH ayrz0RpIUKbVZZpkhdEzuQt_lVFYxN4KohCfkUUaNZY0gJVATHeTkkyWOdfTOJ20vINso6FgYGlp 5tMSBAJ86ywbzP8v9IUxcGXZOm5iW5Fs6InQvrnWIXxZ9Ta1lzqd.2g2EsMzGihvOUV5jaVdfsnD UZo7auMDrnJ4l_1B.c8nERaDFI1xTZ6inIskWUX.zsctHlPBTxR8ynNn5UlFu69XUedEguROCXpe UPhhIc654lqgLHIFhD.rUL44OtesFxeFIvTTowUEc0Qa5jVK57Pq0wYmQJE_OribeB8s0KU7S9kz qxRAs10ahA.OeBbStzC0AhzQCTPv4RGNC5BPRa2p7DK8oqu5VPBzyYof4SCT6uEFYjnZGWyyWUUt NzGVAvZwqvvKuYJNok8jfEAp1H3UmBBVAA9zD2Emj6a6C5ZHGu5ZAiDVj8wZA23pejA7a9_oISYM FfLxeQCD115hz_w9vzI8udubrodUVWlFZGkXxMFcgavF18NcTAFtyvaHaW1hZwnTfK60s0S1MGZI K7bCU.eD0JabQv61AFYisTEWHOXQJjq5NPUMvUC8JTlpSOKMWGnqanhyq0EzqY44Iz0DNqhL9DgZ OpNAQaweU9zFWfuYBHsqiDmd2AZAoVMbgwh1d1vymY1_anw9F32C.Tusj7IEbbEmBfxrGJ5wZSEw tYT68IhT_gnzrcVSjkOAToBVLCZ9DFvRiVD3xwvuEZmPMIGjspwr9kwGLCdcouqZLTfTooeq95SX Srze_PFomlhdcCF.0v3Ui3wrc08jXOB0fdU2utEtV Received: from sonicgw.mail.yahoo.co.jp by sonicconh6001.mail.ssk.yahoo.co.jp with HTTP; Mon, 25 Apr 2022 11:46:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1650887183; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=slG9sUsJ9bP0D4FkEJWE97rfxZy56TmviylAl6MPz+Q=; b=YKd763dYAze5kVJS8cFVv68X6FOMYdZPYgapRoU1soEtUaPiijq52igSHsxRZZy5 xEXK1xpdqlaXOrDw8Megnej4X8X1y8KYnQRhUXK6UG3czAKa8Q7VlrK4lF0sk299j7y zItwa1T5p7lpF6sAdWqrhib/KuKgUI1yH9tCQ8Bw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=LV3oZYTM96Ft+PMimFXII9EeARfpFtuNIu9T6eKomTRAlYIDYh+msfhQznEpMm8B 9GYsKK7wswlp2KxeK4uJWc9H4dPk2lP+MbAhPyr9HoUkmdYCdCmy9mmmTHiGRdpxA4j wUkHuyPMXBM/lN2zucuo1PLH1lCN0Lspu+UpKU8U=; Date: Mon, 25 Apr 2022 20:46:18 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <12469168.1511648.1650887178821.JavaMail.yahoo@mail.yahoo.co.jp> Subject: My 12-STABLE 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <12469168.1511648.1650887178821.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4Kn3Bc0tggz4Ydr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=YKd763dY; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.12 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-1.97 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-0.97)[-0.974]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.12:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I forked 12-STABLE. This brach have pcm spport for atheros. watchdog support for mediatek some modify marge from 13-STABLE. and more. https://github.com/ZRouter/freebsd-src/tree/yamori813_modify also some time marge to 12-STABLE. Thanks Hiroki Mori From nobody Tue Apr 26 22:25:49 2022 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 000BF1A8E74B for ; Tue, 26 Apr 2022 22:26:02 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002-vm0.mail.ssk.yahoo.co.jp (sonicconh6002-vm0.mail.ssk.yahoo.co.jp [182.22.37.25]) (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 4KnxL01zFrz4sB5 for ; Tue, 26 Apr 2022 22:26:00 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: z5nCPbQVM1nAgmZBY0Y11yAfRSNRmdJLqCWjSIgplus9r2G0wZaJxVZAXUo6q0v CUdQqC0sB2_8pabcYNPOb.EUnKBcEwYC3UutK6jCETuDyTTyBv5hlhpdnpTD9m.8ytxYgT7A3c4N 1ysPcN4W0vcIBf.JCJmJ5BTyI6TJRwsKvUy0M8melPloT9AOXiWwx7OdmLTWhXSWWiJRTclFvgn4 tvVUSQ0MBpF67uEjAdRVxI9gEMs.Anh26Iu8D3MuRH23Am5BwOBN23t_wZFGwhqLj43Ki3kaVqPp HNXsSegbjVs8x5mIrwxkwNICWw_3x9ifd1.h5PDTbwGdtARePZBwsRQDV6qzOEjcHwyRJCcafjlt o0wRHhOMZVzxMBtRhicIrGsS5B5oVKOHLsgDIQgIIR_pGN2wNhV2Rn9Ou4IcWR7wfjpVM10TAVL1 zjsKNxmzl31cAFuOblO3dku_s27WgIoqP7ZlipNdblgyj8HLLTeWHd9sD33LznXREEROomnMLXn_ O1S_AGDG0z9tsaR3X9SgwABHiv6Dd06UPZuSNaEVT7.oArUMn5d_2j0qmyRaJ47tKfB79FdYcJLg Trti8WYSpBqWZJ49PEIvPN4zE73sNXcNcpOm52PqHa_0Q.onLoign8SAft.rltFr3U24Lg74We1l VKeMaPDW6b8T9C_Xs513sSC03adqfNRhiOQzx_.U4lqohgo6MLOagcA2wTNykMU7HHCuqi8_XdpR UBcDlE4H_tL5hONiXOboBnDmNpZeDulhXjVR8sfxqdEg.taknuLV2UYyi1_ueMga6Ar.7Q7Qq0py J3RoJ2TUP6kJuSXQ0BangNJTAziS9blCDQFKjdHuixRPwoK_KY87y5yLSoGUBLUPkMVMEPjz8E0b .DIC44F_yIO9.aoAim_INA9RU1TNFoMs_iv4BxcdbXA-- Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Tue, 26 Apr 2022 22:25:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1651011951; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=+OhQaONWJWYRuNlyBlUHKcVfMl4wSeXpISN55UzJvGA=; b=duitATvvRtNRNHIV8ulxzqZE9kfT3fS0qkj7NUaB3fzi9GhNR/shFvU8JNVQcjWh KHZO40m5TcvS8sOML2ky2JP8nM4C5Bdf8on5wo4tQXVYPrkDuLdmZz6kysrikQ5Zqqk jlvjrdsi/fl9EwGm2K3SIUIFX5VEpe3fRsE+OCPg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=eYv4Z1no836F7BFqFvprNkyZR3JmBDyB7l8cR35JoFWSALxK5ykY72Kc71bBDxlM 4VY7x5Xe7G32+TyHjp2EE3HpFP5qDjJDnAy1/YnjZYI/NxEHxbzJ4CQFXKsV2rTuA7U 393JYG87B/DZP+ahllt/KnWbGo9Syxj8ftjyEn0E=; Date: Wed, 27 Apr 2022 07:25:49 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <45842782.1570678.1651011949982.JavaMail.yahoo@mail.yahoo.co.jp> Subject: userland gpio evnet on mediatek 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <45842782.1570678.1651011949982.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4KnxL01zFrz4sB5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=duitATvv; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.25 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-3.97 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.972]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.25:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I try userland gpio event on mediatek. This is only Japanese memo. https://qiita.com/yamori813/items/e25de40c3af86485bbaf Thanks Hiroki Mori From nobody Thu Apr 28 09:10:57 2022 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 8E8341AB465A for ; Thu, 28 Apr 2022 09:11:10 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002-vm1.mail.ssk.yahoo.co.jp (sonicconh6002-vm1.mail.ssk.yahoo.co.jp [182.22.37.26]) (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 4Kpqbw0Ny8z4sfj for ; Thu, 28 Apr 2022 09:11:07 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: CGeCIJIVM1nbWq3w5BparTRhturBm6qOaorS1aeyzYgHkukXX3pQQZU.1NnHwVr mvG0LEElMquBV6fQDiCJPxQcHFs8pElSspSGNLQ_0SOYU_Dh1rajl1lTEe6ZjVjC5rIx93Sb05eC z6saTQmJAhC81Vj5YrUk_hX6C.d7hFf27d3Xt9TsKCuCgZvbRgk4bLa.AGGWyA8FOiovcUPCQygO ske14JdTPLh.cCUAqQK6ClHa38RQNOeiGhH1inPVZMn71z8tKwb2NmqKRkZKpDpREfXwmLujtFBo iMsuExEvRapCWlCwAEKH52C4NLMnKqkrFI8NC7i5HIdOEF.WprmiCY9KkC.8xG0OsGZE0_5zt5X7 7noREqAFovg6YI9CfLTx5pOWyb6q59UZFsqVfiu.vdg4y30IkZvg7qh8pC.ers2C75gkQm0YbpPe KPeIHccEhR0lzvxyaN5pKLIlt_uJPJSDTdpZiQDqPHHpgXGJd0h5bLdMGv2k5M2dl_tnUv6LJ9yW SVbc5lYgYNbdVSXji3Ay13ZG4RM9DXPAXP7mGMsm8V.t8FYX14L250G3x6uMFy6S054kjXtQ6AMP wO2BJUD63TaWDkt.y__xDfCSFZnRaUFjSp.33eHlFyQuIqWeu9c6YLv8ZLebjkeqYfKA58nD0Ekd nEIVwSCtW4JORGRF7KW7suw1z9rnLF0Ce00JVFdc_fFG8iNgH7VePlbC8HwuqYU9BnnFCA.lDZV8 X7BrEKU.F.zIEjBX5vTMawP_jNtEpM3SPJQxEVo02Ef2uSskRy4S3ZxX6QSsOWcV5eR9zGzeGZHD eqTONUFvSifkPKP_te5o3kZ3aS6N2U3ruwuIQjkcEsrAVQ7c_3rCsa0eTPJN85Ou_nEvIHcV_pZP 9aas4s2_WTi35019pD2ngNgF_1YHr7m3vIYqV3zlukA-- Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Thu, 28 Apr 2022 09:10:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1651137058; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=xYFNcsLIv+S6MeoV6Pq+5L6WcnyWr2IxijlMcnF6Mmg=; b=sSn8fisx97Apbx9u+k15AEZdY5sjDTUIDnmXXwqySSzrfxRficgLteBawdgV6rKr ouusF6+i1vcn5PbPNDI6WGikseRyCsRNN1riHA7oWUa/fpxLwOk4MvtTONOuNFvwYMs xDtHvZQEHKMMt1y9ejiZtWV7tHoX27G0gm5dBprs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RthIEgVkfIchi3BFzvhrpZZl4Xq0tzSnk5I5qtCEo59fzb6xINADzDwL/I7Vifz5 k9KNzcE35lbPqsizqg/RG7paeJ51mS1T+is3Hi7Bdpki2FBA5G1smoIi7ntDPzfgZV7 EBsQADj5qapwTzzzJ8P5HEZdr9ZFIMXjnl9KWKkg=; Date: Thu, 28 Apr 2022 18:10:57 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1962670195.1679636.1651137057359.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <45842782.1570678.1651011949982.JavaMail.yahoo@mail.yahoo.co.jp> References: <45842782.1570678.1651011949982.JavaMail.yahoo.ref@mail.yahoo.co.jp> <45842782.1570678.1651011949982.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Re: userland gpio evnet on mediatek 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Kpqbw0Ny8z4sfj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=sSn8fisx; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.26 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-3.57 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-0.60)[-0.601]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.980]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.26:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I seem userland gpio event is like gpiopps. I use gpiopps in my house NTP St1 by mips/mediatek. It's very stable. I seem nobody use gpiopps in the world. https://dmesgd.nycbug.org/index.cgi?do=3Dindex&fts=3Dgpiopps0 Hiroki Mori > ----- Original Message ----- >=20 > From: "=E3=82=84 =E3=82=82=E3=82=8A" > To: "freebsd-mips@freebsd.org" > Date: 2022/04/27 =E6=B0=B4 07:26 > Subject: userland gpio evnet on mediatek >=20 >=20 > Hi >=20 > I try userland gpio event on mediatek. >=20 > This is only Japanese memo. >=20 > https://qiita.com/yamori813/items/e25de40c3af86485bbaf >=20 > Thanks >=20 > Hiroki Mori >=20 >=20 >=20 From nobody Sat Apr 30 21:43:13 2022 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 225401AB1CB1 for ; Sat, 30 Apr 2022 21:43:30 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh5001-vm4.mail.kks.yahoo.co.jp (sonicconh5001-vm4.mail.kks.yahoo.co.jp [114.110.61.15]) (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 4KrNC33yL7z4fqn for ; Sat, 30 Apr 2022 21:43:27 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: 6CBJrcYVM1mxxWYHJIEk5K68q19mHKEy9d1j4Kr22J4DsReY2oEX8naqo0eHLcc OOQUa_1FNNFPgq_Sk3NFr7LZ65i8i37vukKNIYmj8amCnGwDbKZ2keZfnd_jWrajdsPZ13omxR8Q oIt7TUrF8VORvli1V3rrtJYHXxfonmxhsxquOUyc0qywhJmxVwlnSyNSeVBdCQIPwogI_R5KqmUU IC1UYTtsOC0dvHKs0s87higYvlXRVALIeoLziRlQQuf5BY_hK.PbHYjy5MMqtYNeDMn5upH4kvKm eiwmFXje5A7aq3_nPj5wbqgP5Aib_Jm1u56tl.b_93pbNwLrsNeO5fVNJvtKSo4tNnNT9e.lsRPA Ne_7DqwX8qUYFw.805OOgRt7TP.dm_99Pfk9IlvFndtkrZvCDOzAjLUxo3wSZQ66UW7WfC7gIvzI Oh2qxXGY_dOJQRe4__WO392bPb3Kzq1ArMi3tvBWdZJWcfQoU.6YQoGr4cawszjWwUjS3z.dbZjG O0ZW1Aj8FKloVa2qbd6uAOoDFoRsPku3bl9enAddOzJ2XcMtd_D2QDwflkBeIRmQSQBYEBk1VKwG mAwCYNMMulOckGC26aWl8f0KLwO5laTRAMAI2vZ0xn_v8pj4zSLPI_YH0ODLpOlG4nPNgtuyDAkM pM_jRV251fVRSlR990aOUY9qAP4dHsoiuBXWBOXjX9hxzC1vNBH3Xn0aqfEgNB5xByqOA1GV0P9b 5jq8BoDueN1HwAgNa0g9KQkhNbIiDrsYicwRlVy_BguhWjeziirg.HZEAsoaNM2xxsgXspMufXyn 5Km_w56KOGuwJUHRXiqRnJLdS1YKQDe8CtRbwhGLHpYTeSYwnCUwjziixwuDsgrCT74wBwTNNTVI EsBI5bodpZha0tM6g4ntt7SEbe5ZVetgfcAJHqjKIGQ-- Received: from sonicgw.mail.yahoo.co.jp by sonicconh5001.mail.kks.yahoo.co.jp with HTTP; Sat, 30 Apr 2022 21:43:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1651354997; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=HHrBYuRNxXiO02db8sV+nFMv35XDV7TDKSEbADj983g=; b=cIYZara8+hFPZlu4pfkpj1yKQvWc9Lb25TI9KEIVClz+d/kLlob6fOm7Exvxx+5j KtOAQhCR/Pk179sdH3HKZut3HE1CYL7FF1sgFNGf3vsn3tFtCd7H/DjmactHmvHlufa LupXcMQ+1PAvzgo8SNULOpGWhLxwPr3S4fBo/D1g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=A/uLq4twWU7xJuBJ60ApyCQP0hdz0Jyps6GYvgnKBCBlJW/YWAbU9H0bVUdYctho vLpXe4IkXiQ1zlW5v9Y3VI2IkfQxjGZuBzviftzwQO8ISmj/ZzVmtXlnkz4wcpY5pEz c0j3OkAgok/RUyGF9mvJQYV7qd9RQg5RFiqA+2Js=; Date: Sun, 1 May 2022 06:43:13 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1393610746.1682345.1651354993959.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <1816429383.104353.1645243416400.JavaMail.yahoo@mail.yahoo.co.jp> References: <1816429383.104353.1645243416400.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1816429383.104353.1645243416400.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Re: pcm support for AR9341 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KrNC33yL7z4fqn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=cIYZara8; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 114.110.61.15 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-0.72 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:114.110.48.0/20]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:24572, ipnet:114.110.48.0/20, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.89)[-0.894]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; NEURAL_SPAM_MEDIUM(0.98)[0.979]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.19)[0.193]; RCVD_IN_DNSWL_NONE(0.00)[114.110.61.15:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi Now I can play on 48K. I think cable or/and add 74HC04 to buffer is good. I check by WBGO streaming by mpg123. Thanks Hiroki Mori > ----- Original Message ----- >=20 > From: "=E3=82=84 =E3=82=82=E3=82=8A" > To: "freebsd-mips@freebsd.org" > Date: 2022/02/19 =E5=9C=9F 13:03 > Subject: pcm support for AR9341 >=20 >=20 > Hi >=20 > I add pcm support for AR9341. >=20 > https://github.com/ZRouter/freebsd-src/tree/yamori813_modify >=20 > AR9341 have gpio pin multiplexing. This is very useful.=20 >=20 > I add SPDIF TOSLINK on not use GPIO12. And set hints. >=20 > # SPDIF_OUT > hint.gpio.0.func.12.gpiofunc=3D25 > hint.gpio.0.func.12.gpiomode=3D1 >=20 > Thanks >=20 > Hiroki Mori >=20 >=20 >=20 From nobody Thu May 12 13:31:46 2022 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 E16E01AE1C8E for ; Thu, 12 May 2022 13:32:01 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh5002-vm1.mail.kks.yahoo.co.jp (sonicconh5002-vm1.mail.kks.yahoo.co.jp [114.110.61.28]) (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 4KzXkR4KsKz4fC4 for ; Thu, 12 May 2022 13:31:59 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: s0NxcOoVM1np4tJWE1hDRy5eKDH0vmYAERhUfBFSZyQe3rPkGUNRocWOYd3hO3P YyN9wXYVyqXlaIstH6mcuIvGNf2HJrjMsN6qnEao6_kh3MJdEnyzwlpmYjQjNKOsjIIfjfJJvALm e3sunWQzjqg_N7G8_1WwzlYox9DWk4WpDGrhFXwg4pKet_eyXT3v5JD0jLocsYsnx.OGW_06FAvN wV2eqjFmYd3Ql5l2VftoiGzGT8JK0ZEfsGmbxCuR7t3oDZsQvc9GlgpLdDgo3qyytqAiHzXLrUlw RHkU708P9dFMM3zYoG2Sosx6csa_wZYImc0whJ.TxYEdgeoDYWutMsXXVYbgGR2PpP8XT_YYyBSt bpyvjC0ljOke.gU9Mhfm6Zt6c6d7aEjXtWjiQDaluRFksB9OYsUakR9gPcoDOZlud.3j_jP6U2nx RJR5J5qzzLhJq0X5D_AhvvDItF89cQ1smx7e4BhYQ9B71OlcOfH6wJNgbfYxsxKOatjgr3VWAH.D qN59bUoRjKvQXdlRha2qllwFpvyY.InvNUDFTQA3MbWsMKDpLoQvuyTFXbuKkcfGdFaxKLK82f1m zyXh_fJcBDa_790sDIjaXzNYqsAuBlnyC74z2XeeXqvDcACggB87yJs4AivWIzg14FouYW5Kc0eO gT0ZvlY6e0xp9iJidx3C3UKKXwauWbzoiAvPSdtK.sRrWWTivNazLU1TLhxAFkTQRexm.K2qN55Q L5LiorhWD4keSLuz.rO6U767Q8zqiHxDPgsQ7R4M7bJXzOHooPWlHb9aOx0uo3ojEozjfw2JM8zI QIfvDcnBPO313A823CTGahrrz4A6_9jOtKR50XMhCA.Eb4s00iRjeiFOgrvfFGaZyUulYc0K8p.Y TP99sgEaiRmUciBNEbqW2cMhF8nRnNuRiupY98BmsRw-- Received: from sonicgw.mail.yahoo.co.jp by sonicconh5002.mail.kks.yahoo.co.jp with HTTP; Thu, 12 May 2022 13:31:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1652362309; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=0ZAJDZhHJygKbhkpIfxO87xEx5UI6We4XZkcBDX5zgU=; b=LERrs1uVyinKZUHWcYOvBvVN/rUGnsBAGFtEvunppyeUXsPtfgsuFhbGaVg/LDYI NIlgAksMgzpZHxGJFu2EHoqTyo+FMN+jmhrnC+8A8k/Ol+fCLZe5VyllbHl++MiAtpf Qj+fnSiRsNy955ZL7hSr5T1g3SVAXhi5ACBxjwCM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=mZc7E4uNAoVMkO738fNRh1Bn4l49Xfz2+7iXjaJKvjv5ZshjDE0jCg7kJAvHB8rR TL4/WwehseNL0TiZEYk2cCdsyLDgEWLdSu466MPO2vsVb//TkUm7cAo4Uz2Udf+epgl EhCHtfmngZ/Sh+yAzKc+8w6YvyLDCCiKhR3EeCO8=; Date: Thu, 12 May 2022 22:31:46 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1730355085.2141074.1652362306262.JavaMail.yahoo@mail.yahoo.co.jp> Subject: DSP support 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1730355085.2141074.1652362306262.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4KzXkR4KsKz4fC4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=LERrs1uV; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 114.110.61.28 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-3.47 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:114.110.48.0/20]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-0.97)[-0.975]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:24572, ipnet:114.110.48.0/20, country:JP]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.51)[-0.513]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.982]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[114.110.61.28:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I want DSP support to FreeBSD 12. Ralink 24K have DPS v1. Ralink and Atheros 74k have DSP v1 and v2. I seem NetBSD support DPS on userland. Do you have advice something, please let me know. Thanks Hiroki Mori From nobody Thu May 12 18:56:11 2022 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 24A421AD01CC for ; Thu, 12 May 2022 18:56:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) (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 4Kzgwm367vz3rs6 for ; Thu, 12 May 2022 18:56:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vk1-xa2c.google.com with SMTP id b81so3144656vkf.1 for ; Thu, 12 May 2022 11:56:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0yv6+gquoR4ffLSls/5/6dW2etsUMBctZfJkMRC4RyU=; b=rEePj7sImknGP2QkZnGApbofJj/uQ1xMPTSwPfD+sU6dyDHH/7ZsJbNINX851UN2zA ME5pntSRoL3soSiM5IoN3OzvoHW5X5++2Y5SsT0ubq2O/AzUz1QaohisPhVCdorIb5mk N/UZisIQJWpcaVxFrVMW9BsvkOvsp8OB5X5i4TLWDYuKdylH508PwHpqBdC8tfM8d82g H8y1/eQtB7IRDIjH0CzlbvtAb++MfxPxV72xtkd9DK3fH4iEzf1q01n6wLOjbsLy7IVw /BkO0qjgjeFgUB967XmduJudZDLCxOxbCwzywbZEi/mYnM5SfUFOrIhkVEsjgkiAmLl/ kMOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0yv6+gquoR4ffLSls/5/6dW2etsUMBctZfJkMRC4RyU=; b=77Uby/Jho9KT32kV2B0GIu3MFc3XDe7rZyLzf4ENVMeT7ONk3WxhDtSOjmGqUicniF iV6UNixlnzErExCzcxpF0uglbXrXfThYFtDaWbNqyMcm0U4xGUwPcJw8EOaP1XCdSvPS mBPeg1zYUg7lwpFr8ycj3rqtfhPQSzLYdYCgy5dCm6siT29ACKUpsf3SLjYrIMrR5PE6 rI8dtTnVLSTlgf+VxLGk9X2Kjgf3drK+Tz5C8KKeykho+hpldYptSfBqfEU6rY5zJhnC h9G6ONn9Mqs2UDHHUXAzyXsDQ91aGydFO/pwRq3YMciONunbO5CHFrN8+zVa9MW3UML9 UAew== X-Gm-Message-State: AOAM531dSfWJB7VxA99GaGmDHma05B+f8KjpKm/OCaETCkI6Fyza70Ce GfPywXoF+9Sr1a4H9Kwz2jCX1DtlJW1hO2wQKa4WcA== X-Google-Smtp-Source: ABdhPJw+XViXF1X23m5YmoLyvSWZfrTm15uOMfkizVQAE7wrubKIoqVkBHHkO/reC3QuHbo0cIjRBZIYYUapvUKYWxo= X-Received: by 2002:a1f:ce46:0:b0:34e:b018:c8a4 with SMTP id e67-20020a1fce46000000b0034eb018c8a4mr852040vkg.26.1652381777637; Thu, 12 May 2022 11:56:17 -0700 (PDT) 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: <1730355085.2141074.1652362306262.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1730355085.2141074.1652362306262.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <1730355085.2141074.1652362306262.JavaMail.yahoo@mail.yahoo.co.jp> From: Warner Losh Date: Thu, 12 May 2022 12:56:11 -0600 Message-ID: Subject: Re: DSP support To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e3cbb505ded51ceb" X-Rspamd-Queue-Id: 4Kzgwm367vz3rs6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=rEePj7sI; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::a2c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a2c:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-mips]; FREEMAIL_TO(0.00)[yahoo.co.jp]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000e3cbb505ded51ceb Content-Type: text/plain; charset="UTF-8" On Thu, May 12, 2022 at 7:32 AM Mori Hiroki wrote: > Hi > > I want DSP support to FreeBSD 12. > > Ralink 24K have DPS v1. > > Ralink and Atheros 74k have DSP v1 and v2. > > I seem NetBSD support DPS on userland. > > Do you have advice something, please let me know. > At the highest level, if you want to use the DSP, you need to save and restore its state when it's being used. NetBSD should have some code to snag for that. I'm not familiar enough with toolchains to know the extent to which you'd need userland changes. But you can likely snag those from NetBSD as well, though you may need to use an external toolchain to get support for DSP, since it's a bit of a niche part of the architecture. Warner --000000000000e3cbb505ded51ceb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --000000000000e3cbb505ded51ceb-- From nobody Thu Jun 2 02:03:24 2022 X-Original-To: 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 14B051B70738 for ; Thu, 2 Jun 2022 02:03:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LD8SD6Sv7z3r0n for ; Thu, 2 Jun 2022 02:03:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BE71B397C for ; Thu, 2 Jun 2022 02:03:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25223OqD021042 for ; Thu, 2 Jun 2022 02:03:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25223OIO021041 for mips@FreeBSD.org; Thu, 2 Jun 2022 02:03: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: mips@FreeBSD.org Subject: [Bug 251615] kernel fails to build on Mediatek MT7628: error: use of undeclared identifier 'cpu_model' Date: Thu, 02 Jun 2022 02:03:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mips@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: keywords cc bug_status flagtypes.name short_desc 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654135404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=drTQotX1lZUiHC7aAXPyTBHnf1FS09I0vk9ocUVOUgM=; b=tuK+mtb1ieaNGWmM/os5LXAsdSAG3Mh2/0DKUs0V8HLcZyVstdQsAYyi8vdnDA/tmncSM+ d+U+ijhKT40IBZaRMRaNXy/BQwcG8YZnaMEsWoDbRIGH/At+LOoVVLgPC0D4HJbH3DWOPb KTpdDrFvE1axHkvu9L/VN/WvcixX4rLXy32l8zws/n4pCuxLrKj5SIz64bNwB4e3pkZxAD T1hjoYBBnVvlu2mewf1Gv+AnIMgnN1kh32lG2p/7g4y9Np9w/OcN8oCfDNgY9oVuUvyPmw DdGDzXNgHV/dUeJVHlEWF4U1cpuHZcNJOg3mBALDUdad1XE0MEBBvUXLuXnbaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654135404; a=rsa-sha256; cv=none; b=mCjRskLgP/ndZXO+GJBxQ+S5JRhts3h9TKZ3I+3ETpfyQTSP3C2OBs07n0DUzmiB7lNaTE 4WUjuyoILiD//dphfY0wDB0utIYTY4WiCAi3rNbG6U6IVcO30/QBHNjcagOSCIUiEfKkYy Mode5dhN6Fn7xq/Z/RINQe/KhtSsol2QEOXWO2RUXgHH6WwtYkuuL4fuA6mTQwVQCcsrqb Isf77nOHPetM85tKSfvwhY868mz1W4bfpvqwkhysF4ZaoWhTSPY/SlCTJDcJ/MFmXY9tSS /7i28NKS7I8e/TrRrjFxvexrvKaCuGBSaOM9WWmdHi1TVW1h48RAQO5hiK3x6w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251615 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-qa CC| |koobs@FreeBSD.org Status|New |Open Flags| |maintainer-feedback?(jhb@Fr | |eeBSD.org) Summary|Mediatek MT7628 buildkernel |kernel fails to build on |failed |Mediatek MT7628: error: use | |of undeclared identifier | |'cpu_model' --- Comment #2 from Kubilay Kocak --- @John Is this OBE now with mips removal, or is there something we can do wi= th the attached patch relevent in other components, or for other archs? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Jun 2 02:03:39 2022 X-Original-To: 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 8EE611B705EB for ; Thu, 2 Jun 2022 02:03:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LD8SW2pqbz3qZL for ; Thu, 2 Jun 2022 02:03:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 423A73BA3 for ; Thu, 2 Jun 2022 02:03:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25223d8O021097 for ; Thu, 2 Jun 2022 02:03:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25223dhP021096 for mips@FreeBSD.org; Thu, 2 Jun 2022 02:03:39 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: mips@FreeBSD.org Subject: [Bug 251615] mips/mediatek: Kernel fails to build on Mediatek MT7628: error: use of undeclared identifier 'cpu_model' Date: Thu, 02 Jun 2022 02:03:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mips@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654135419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=W0Ey0oTCarYN0Wzh89XfW6V/CgJJmDRZaJ+RNJ534LA=; b=iISGQ/M1u5J1r0m1uVcBz/7RinnvBDuOBauB8MzXV69urpEYQ6tHry6PpPxtSogoKAy/hR 4o/J5mfeJYAt+KB/e/DPjp8n1+wCg6Z3FygEUvAuniav2NTWujE3uEiiK+hfPvQdAMAAiz FEukU1v2hJNV7yPLR1f56r2cYxQTWod8iQOCR4Sqbt7cHShC4UrgQS3Wly/agrNzFGpUlr WG6ZKnGNMZ/7lJ3egkNow9rh/K12tI7SDpXP7TLqsbJn9IwSqQOgO3w1ICeDFJPUTQQZmE ldpNmKjtj0abCcitkHqIRjUEO4RqZ2/QjHwVya/PzCgrlPku0vbdQAp90Cmdmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654135419; a=rsa-sha256; cv=none; b=bWN0FXkSG6EHZwcLmq8NBqupDQKlZN1m95wwRAFBdqoRKSGuY9MTqqHUY3x2aJDML/7ow9 O3sAXStx9qfPsG1MuNhr33mwWunygbR1w+u4nn1zy01VHUSXfGxOx287VaW6YRoqOcbzmo Li2nSEy0oCqGJ/5QRJUHuxDkmoivRgkFiZ9BbwH3roP+InYYHxJYkrqyiVjducI2Ash65N 52hmRACPYTkLOGldYogb5TFvtUCr/DhHHPxhv3mq0Sy9/zDv5aL7K6AMnvXcKb657ffLEZ i5RSSqgq0cI61nSo0fdh2YZS2LHnbEL3PyG1++a2ZJ6W4Uv2+J8u+xUBWnluig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251615 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel fails to build on |mips/mediatek: Kernel fails |Mediatek MT7628: error: use |to build on Mediatek |of undeclared identifier |MT7628: error: use of |'cpu_model' |undeclared identifier | |'cpu_model' --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 18 13:55:23 2022 X-Original-To: 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 4Lmk4W6307z4TFDN for ; Mon, 18 Jul 2022 13:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lmk4W4gtkz43N7 for ; Mon, 18 Jul 2022 13:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lmk4W3kmTzhNM for ; Mon, 18 Jul 2022 13:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26IDtNNW047984 for ; Mon, 18 Jul 2022 13:55:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26IDtNK3047983 for mips@FreeBSD.org; Mon, 18 Jul 2022 13:55:23 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: mips@FreeBSD.org Subject: [Bug 213454] mips64 BERI boot components fail to build with CROSS_TOOLCHAIN=mips64-gcc Date: Mon, 18 Jul 2022 13:55:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mips@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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658152523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bYk6bAjlQmmn0d5FnyUH5lYW1QWmdN0EcMaXnEdjJfk=; b=eDFgGaXw5QcvY5uR3SBnPDQs/ADIATVA/PRvBRABU3/1+/V50P9Fhb5EV9oDpyUWUQDjUc YVrXh6h6vWxb4VTewtH971WF+8UWx0FhLHnz6MVfdusRyjOtS/blgwBX3o7XXRL6uKO5dV lxbhzybkLvfUMXLCnV+b+8e8h2ARb5SiszQlJVyVotjUL9JBRvyXauds6cgYvUrOtyloUF 6lKfQWroGpyLJiQs2HBiVFuoB3PGRBdwMNqimIOIQs4ZnBucTh9otJShmK0E+yCVSO9e8K awGr4cCOO6TAYDBwblFqAqh9QFfH41iDFaqQ1U/Ypqjg5ckW1IPNO275obwEzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658152523; a=rsa-sha256; cv=none; b=MVq57irQ02HZNLJmd/vMLqQQ4I/vhGitTPW87By1nxXzmImd3ncduJIixMfywHB+CpQbPL X8KkKzdsjPkZNLKAUd/OxVJaN11YWaRjyBs+wmtz+pD5h/bufMzoRmfIoJ0PW5Y+b6xpOt eYgmyJFytWpaoQ8s38vcMPBPRKbhw9vanqGjUyqmdIiHUlsTOra8/oLaJMVLo2fSU3iAmw /0hfwq8QbDK5Cr6XA1UBxRm6M0vjepuAfRIv0CfQ80XiiYjmXcBPGQfmDGOIpvAa/eIYww Yu7SaxE3mBw5otK+mgfpGaSOC2zPmRn3TpslwtZ1q1DaVGCoDE34fd3PTMY1nQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213454 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events --- Comment #3 from Ed Maste --- MIPS removed from main --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Mon Jul 18 13:55:42 2022 X-Original-To: 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 4Lmk4v0Flnz4TFDP for ; Mon, 18 Jul 2022 13:55:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lmk4t3DDQz43Z7 for ; Mon, 18 Jul 2022 13:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lmk4t2Jf0zhSy for ; Mon, 18 Jul 2022 13:55:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26IDtgSj048042 for ; Mon, 18 Jul 2022 13:55:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26IDtg8H048041 for mips@FreeBSD.org; Mon, 18 Jul 2022 13:55:42 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: mips@FreeBSD.org Subject: [Bug 213458] MIPS ERL kernel build fails on octeon-sdk/cvmx-srio.c with external GCC 5.3.0 Date: Mon, 18 Jul 2022 13:55:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658152542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lNLLVzgMo0ZzBoC+36vq6ln06nHIxE73sn/C3eOUwJQ=; b=SeV8sOcCHgrj+gWQeCAPE6TeXo32g8gVy9YJJwVGeUFNhVvG5RSSxmCY1C2sC0fXYjPOfS RvFkgR1oMOW6WJg55Tf3dbpCmhc6Zein5K3si2CI1TbYKbRF3JgOpI2iw2sI69Lgb3cUaP w4ZVvTk6KqLIRuMVMJsa+vMKtuPYLuZJCqNPgMjjlJ0jFandfqqocGtmcen/QnfkhZ+7Fz R2QmgDBvg125jUCUf1cGY22le7cFCp2V793KqQEH8Wbg1jY7Na6nPPOu/zuqOfS3oKlllf vjbNmZQH3Wps7p+6lk6S2xL7RYq1Vnp7rKlmRlF4JcNO/NXjHNeBnK87mAmk0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658152542; a=rsa-sha256; cv=none; b=NiCIblmW19R98d8VIqKHRQac4Tv+q/tsW/Q5XB+O6gisyk+9FtcoGF5UyxPS6w23nxbCyY 8BqMy3B0jsx2BuNttEsJNGbknUxP8CW+yXGgy5zwEPYXMRzCnMG5MGtR9CwaF6W1l1EHKg J2Rzo8bOyybced2nPq8MRuUCFWDEPvIgZ13SPiZj9Na/csiWmzvHfPx/xJ2dKKDunwdjQY uknJX1WJ4l/SFIWXHUAW3kIEPHDnWx4encxq1Dkzyu5QRb8oTIrc61V6GWa3i17fUFGHxd vvznV/NHNiWEM+sBlMicwUKCYIeP6zv2qw1HinGsnGVGV2rSTZ5IdbtbnhAjcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213458 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|New |Closed --- Comment #1 from Ed Maste --- MIPS removed from main --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jul 20 00:41:33 2022 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 4LncMq04Qhz4WVW7 for ; Wed, 20 Jul 2022 00:41:43 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6003-vm0.mail.ssk.yahoo.co.jp (sonicconh6003-vm0.mail.ssk.yahoo.co.jp [182.22.37.41]) (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 4LncMm422Jz3Wh5 for ; Wed, 20 Jul 2022 00:41:40 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: Kl0DD0gVM1lM3nTzFTW43cnAMPGqt10gQpbruz1Ft7HqfoGph1toVfMz87cmKup tm7ejMMPACy5br0J3iLiAo9avMMWEMaqQoSJVp0m9brh0RAyGBHq0A.tvxKj9O5tJHH8dGlD153E 9WOTWmctrxKKCMWrDzbO.bpBMcNPZJ45NpkwVAJJgnBYP4sewhfqLwfSBhtlpW2ecXxOGbhDpock L.yICf9NzdFIeeZi3Xx8lIWb5zeU5kpHAWT7gLB3KjkamAYrO.xYc4YlFZ3Cp36kpsOgnQe6jjPa Lu2Mvdt3MMt3RCkYD.qWc.gajgqTop9svHzN93Y0Xkpvzkwz5iQxEYZzTkW.1m15lrYdXZVASdcK 7yvTUti3gOaiQxAYzv6fw7TZxepwFrxsrjzBZMgPgtE9ccUL5.lf7RnldOhSRnmgkxphVbZ3mTy4 3pH0xDM44X6IzTxCv2cLds4EHxUJvyifQO0qxw9JanXfu12KkQ0ZcZkxeTam390406SnhG2W9Hlc f9wCYs3C_v_nOOEw1bmz0pskn22GPSAVDPscvNm6S812fI5IjaPLcpD8S1NZ68nPEj9ndIqDoe1h ABcHv3En66Qa8JesKe_FN.w5rxyGjcjzTEe2cQxJzZWm38KTyaK4o.lEnUvFhRmYVYPyzsh1.6mT TIwuQIAfdaEDVXQE69G09_hBIhNIoQwTaWmTGuAEq1FwDzCxs8zgjYtirmu51oa9rt1w85.hM7lH 4bXrCMkEr0qScm7NJxYLzRQuCSXiMt2aquGvFPbuMqSspLdq5.Ww_zuqEuDRTDO5ULfuPuBU641e gHPoKdSkcI6Z_blbfJYIdriDYJITieJCCjnghmPpi1FXjPiYw.OUiBdj5Hh2lp59HmTv7k9sxnsf R_crsBGbXm.zDwU_g55og9N6Lu4cc_TvI Received: from sonicgw.mail.yahoo.co.jp by sonicconh6003.mail.ssk.yahoo.co.jp with HTTP; Wed, 20 Jul 2022 00:41:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1658277695; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=OrEJAOTNXZ7B/GaO1DSAc+6+aDpBFp89bWT3PDawiF0=; b=Yz5CQme2B6WwRGtq3NoWK3XMJrWux+LXcwx9vcCm8FRY2Xwf78ofnF+kXvMlRABx bfw2bxiafSudOCysv4luALdNyhioLk5acavYwXR6QyhqHorrAEqMwSPU4520zcI2Bho G6vcME0DhBFWelPbxJYRv2GD+b28qBKifmnLk6do= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=dSC/04LNC4qR4Bg4ZmeRjtdb/rxki3MABGW/3xl34r3gt8SClO69/ntPX/b2Or+F QO3TZ2iOJEhNB7bQfKwK3cQx/ah9FZwDqRKJjJ0n9VrsBkck6sUn0jJGYGs+NAvdVsw +dyORYFNTY4y9UljLhBDBYRe93lnibWl07t1LpJc=; Date: Wed, 20 Jul 2022 09:41:33 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1207868931.843955.1658277693050.JavaMail.yahoo@mail.yahoo.co.jp> Subject: AR9341 I2S work fine 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1207868931.843955.1658277693050.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4LncMm422Jz3Wh5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=Yz5CQme2; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.41 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-0.97 / 15.00]; NEURAL_HAM_SHORT(-0.96)[-0.957]; NEURAL_SPAM_LONG(0.74)[0.745]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_SPAM_MEDIUM(0.24)[0.244]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.41:from]; REPLYTO_EQ_FROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi. I try to I2S on Atheros AR9341 my pcm driver. It's work fine. I listen WBGO by mpg123. hints is this. # pcm hint.pcm.0.at="apb0" hint.pcm.0.maddr=0x180b0000 hint.pcm.0.msize=0x1000 hint.pcm.0.irq=7 # I2S hint.gpio.0.func.1.gpiofunc=15 hint.gpio.0.func.1.gpiomode=1 hint.gpio.0.func.2.gpiofunc=14 hint.gpio.0.func.2.gpiomode=1 hint.gpio.0.func.3.gpiofunc=13 hint.gpio.0.func.3.gpiomode=1 hint.gpio.0.func.4.gpiofunc=12 hint.gpio.0.func.4.gpiomode=1 pcm driver code include this repo. https://github.com/ZRouter/freebsd-src/tree/yamori813_modify Thanks, Hiroki Mori From nobody Mon Aug 1 06:07:15 2022 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 4Lx7250JD2z4XYlW for ; Mon, 1 Aug 2022 06:07:25 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002-vm1.mail.ssk.yahoo.co.jp (sonicconh6002-vm1.mail.ssk.yahoo.co.jp [182.22.37.26]) (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 4Lx7224BMVz3FYv for ; Mon, 1 Aug 2022 06:07:22 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: UdCcF3UVM1kBe9Uxrf5FdW0jEWqBU1Rp22Ls75drtTBF69SnFAEUWYi_Sej2dLX DP.KKe.WmXyy6TdP4JZdqWISIOcJ_uNb..l5D2Oh4Q12Cf1vSYOo0c_fKTKZzxuMwlyqgg72w10a GaqSY2JanGwNouWHyLKDP1D2R8I3cEju1C7NSv5VB._LWUrr.1_Prq5GZ71Iows4dBUit1RD4qao v3UJ6csXuJgWgeOrETRpbcemEmoZuM3JpW9g54LsWc6WFSu8UkXAc.lRZOTEt.3Wu5idGZeMDuGC RprSxSc7CARkUA0RGhkunPk3x4Bzg8pF.7eutq3w3vOR8lmPFabkKh37zzxUEo72qJbl8Jmo3crW aVLdkFX4AHjgcePGWnyHgZxKk3JU70f1y0jNWkUEgrJmO59N5x_Pmvcu6bDNlizbAIF7RIUS98p4 DRyFCgpR6Kj6NMaZVLGvR0Uwcq_XGkFdK7F9oBBkzmdqkSfj42.1VxXlYPSJ.sSmZLY_SjAxplss AEAmsgjfUxDBjs_fOJniSdeZH4BeXD6mkcxU.7Qd_A5.uBl9.r9slb7eKTc9aM8av5GauzP_ucJ_ 85dRf_aU7iHaPXGWzGcwjoQGYB_UauggveZ0Bs4u.91EI6s7QK.zDCA..amzXYNi2ZjJbnT0dOqg 91DPQzhA6v0V8eAV6j2HR0RX8Cy6ypFys3HZzFvMoW55BFkltCWY1QOHGiwFZiJY_D7COFVv2PMl EdNs48v6ZpySFI94YmJyFC_JfLhgcmGB6Ha6W_7T9iM3Ye1Ka0zq.aSQkzixKmhKSGL8rYAkBbF9 _V6BKKBH.W6cT3VbAGC7yYMOauSpUT3VneQMsY3Epyn_3ju2tucZAf9phiXffiGDR3SZkGvf5u_3 QIV3ZoBrPOLvubSucp2fXVb7ZbiPva.rQOwjn4H4f5Zn0 Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Mon, 1 Aug 2022 06:07:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659334038; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=MJ3A5UPvvcj7kw064oobtLC2J8vkoPP/ycHmaFlt7nU=; b=jiTRX50mEko61dG2ulaSRn/hIaH1RFnfkVd+nV1UmCMA8GS/ae/ekdQCcVamwdWu RLi81a3WNNNDEPjmEnvHHD7LKGmZ/fwxy7U/wYJY1FN9CdNJnP+Hf8wGhSxTcnEvKC4 3fBMsA+H96Noi/hz9GMCTH3Uf/jPHGqdgicfipQo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Cc:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MPeyPBfSHQzrSz+IPjWI0A9EOcHLLNV7KaDVH/pvdq3xKu4sse6Puj+z2yhjBg4N eQEuwodowj9KsT+XF3Fd/Q2hUTevZLUdGRnrk+he2ixdA9goutGNIjPtnTQzWYXV7dN WAdmo+s9S4u7+sbqU261N9iHsici/mwTTdTf7m94=; Date: Mon, 1 Aug 2022 15:07:15 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: Warner Losh Cc: "freebsd-mips@freebsd.org" Message-ID: <226189806.1427308.1659334035170.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: References: <1730355085.2141074.1652362306262.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1730355085.2141074.1652362306262.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Re: Re: DSP support 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Lx7224BMVz3FYv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=jiTRX50m; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.26 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-1.35 / 15.00]; NEURAL_HAM_SHORT(-0.91)[-0.906]; NEURAL_SPAM_MEDIUM(0.74)[0.742]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; NEURAL_HAM_LONG(-0.18)[-0.182]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.26:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_SOME(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi Thanks for your reply. First I do fixed crash bug by DSP instraction on 74K. diff --git a/sys/mips/include/trap.h b/sys/mips/include/trap.h index a88784f869c5..613df63c47e0 100644 --- a/sys/mips/include/trap.h +++ b/sys/mips/include/trap.h @@ -69,6 +69,7 @@ #define T_C2E 18 /* Exception from coprocessor 2 */ #define T_DWATCH 23 /* Data Watch address refer= ence */ #define T_MCHECK 24 /* Received an MCHECK */ +#define T_DSP 26 /* Not enable DSP ASE */ #define T_VCED 31 /* Virtual coherency data *= / =20 #define T_USER 0x20 /* user-mode flag or'ed wit= h type */ diff --git a/sys/mips/mips/trap.c b/sys/mips/mips/trap.c index 50747ff85dd2..fb92c8dd0f24 100644 --- a/sys/mips/mips/trap.c +++ b/sys/mips/mips/trap.c @@ -894,6 +894,7 @@ trap(struct trapframe *trapframe) } =20 case T_RES_INST + T_USER: + case T_DSP + T_USER: { InstFmt inst; inst =3D *(InstFmt *)(intptr_t)trapframe->pc; ----- Original Message ----- From: "Warner Losh" To: "=E3=82=84 =E3=82=82=E3=82=8A" Cc: "freebsd-mips@freebsd.org" Date: 2022/05/13 =E9=87=91 03:56 Subject: Re: DSP support On Thu, May 12, 2022 at 7:32 AM Mori Hiroki wrote: Hi =20 I want DSP support to FreeBSD 12. =20 Ralink 24K have DPS v1. =20 Ralink and Atheros 74k have DSP v1 and v2. =20 I seem NetBSD support DPS on userland. =20 Do you have advice something, please let me know. At the highest level, if you want to use the DSP, you need to save and rest= ore its state when it's being used. NetBSD should have some code to snag for th= at. I'm not familiar enough with toolchains to know the extent to which you'd n= eed userland changes. But you can likely snag those from NetBSD as well, though you may need to use an external toolchain to get support for DSP, since it'= s a bit of a niche part of the architecture. Warner=20 I seem gcc 4.2.1 support mdsp option but not support mdspr2 option. binutil 2.17.50 support dsp and dspr2 instruction. I think not need external toolchain if we use only as by dsp and dpsr2. Thanks Hiroki Mori From nobody Wed Aug 3 09:19:39 2022 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 4LyRC75fLlz4Y3nH for ; Wed, 3 Aug 2022 09:19:47 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6003-vm4.mail.ssk.yahoo.co.jp (sonicconh6003-vm4.mail.ssk.yahoo.co.jp [182.22.37.45]) (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 4LyRC51wz7z3GF3 for ; Wed, 3 Aug 2022 09:19:44 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: JfdFuC0VM1nbDDiFv0257lPbPYMY8sg87z.4z6qYQbPBRmxt2PEsapXDJwJytx7 .cwTqXMzb1vw6ikg.YjpTHcEahqWZDr_Mv0ny0tu01MLTUR00rMvLeD9CXWczoLFIthAPq6tRbPj Z_ndq3jT7qtEYJ20pLaanAg_6oyR6HC5cqrs3P4AuoIPMJ3dQtXGCl3RV2bwBhGSqbCITLVzIdWD LQ01HTKkXjrHqApGqv.eAnolEDtZN5g8K8yl4Xmy22UliV4fiWHYfnR1xw_FspiOeRZVIXzD52z4 aMcNRFK0K3wTcDd10TItsYrMKC2VBFyDpy9fCS8wETVDLfGTjF2G60olA6NpcZi1rsytoVZjgPK4 hWkRekHgovJPpQYJ9U2T2StnHFNwCDJ.n.EZFMv1IuKWNtXsjJ6YqsQoB0Wpkzkq.uLtP3uC2zwD iqdWlSZtqThcK6dRMdlA3xDk_VH_UC309Ytb6kkP6hT5LIcFKdYv.dzFOXnMa1YEYoUvEcFOGd83 qOdQP8_C7V3QxzH9XQzWXuzMeVX1yxRPTEEv2TznYGfvcp5VaAKIsm10zffZl_Wi5dnUDxrZRISU 4vEyD7mfgxXfNlq3SwtEwpq3C7mrT9iNkiGoE8k97YaluDtTfbpHjn_xwPAoI7DU9X9TS8nz99jW ZmXpcDGfJ7sF_ww_nzd.7J0mwKin8rHO4qBb_a9pbZGht_OgYeV9XqT1sj1ta4OBxfH1UDG.atV5 wWfZ80H4uHCqTCMP2v25s15dW7bxWXJOlCFO_Tpj8mqYQWb6pYJsQ.0qoLufAGLWvRqj4P9oChFl 6zp3SEIqlYkf6V96SUzMKBvwte9eYH.Bc3U_FovOSYoyp4lMFwHnoJENlETsPhIRPa9113nfrXJJ LGRVhnuNhVwRX8yP1MEHzUYAJdFGX6JZz Received: from sonicgw.mail.yahoo.co.jp by sonicconh6003.mail.ssk.yahoo.co.jp with HTTP; Wed, 3 Aug 2022 09:19:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659518380; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=t6At4QINQUacqIlyYk3lZRd2oWbnAkK7i8JBqBVAIMY=; b=H+HF0o+MijOMSbxtYeiS/Vl3KF1jLpB9wnozqRQ3RuQturjYQSSQdH/3sSb6mtFu QBtOJeaDI4sNB/7mmiVQrRx6LzTxEeNqgOgeWTLgh+pEOijK6S3u850zrASqyLFHMaA klH/WsqrHiM9ZwBH7g3H4qr4sXyVxbD1ghZIcU00= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UX6IHZWoE0aIetuM4KgDOu9x1/9qElYIN3LC6nX/qfD+5S5cbVMMzqI0hZuSEOUm oFiJZ0P9jWe5yjggA/EHWjRrFTPyOJxPu9ACrjYfvanWgrLdiD1GezpjycK2kj6a7np mXGyXp/dqU7k14TyfL2hxUFFrF5OVMgQuypZCuTE=; Date: Wed, 3 Aug 2022 18:19:39 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <652206759.1525519.1659518379466.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <1207868931.843955.1658277693050.JavaMail.yahoo@mail.yahoo.co.jp> References: <1207868931.843955.1658277693050.JavaMail.yahoo.ref@mail.yahoo.co.jp> <1207868931.843955.1658277693050.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Re: AR9341 I2S work fine 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4LyRC51wz7z3GF3 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=H+HF0o+M; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.45 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-1.13 / 15.00]; NEURAL_HAM_SHORT(-0.94)[-0.937]; NEURAL_SPAM_MEDIUM(0.72)[0.721]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_LONG(0.09)[0.085]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.45:from]; REPLYTO_EQ_FROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi Now mpg123 is 1.30.2. It's work fine with WBGO. I use NIIGATA SEIMITSU FN1242 by DAC on Atheros I2S. It's very good sound. Thanks Hiroki Mori > ----- Original Message ----- >=20 > From: "=E3=82=84 =E3=82=82=E3=82=8A" > To: "freebsd-mips@freebsd.org" > Date: 2022/07/20 =E6=B0=B4 09:41 > Subject: AR9341 I2S work fine >=20 >=20 > Hi. >=20 > I try to I2S on Atheros AR9341 my pcm driver.=20 >=20 > It's work fine. I listen WBGO by mpg123. >=20 > hints is this. >=20 > # pcm > hint.pcm.0.at=3D"apb0" > hint.pcm.0.maddr=3D0x180b0000 > hint.pcm.0.msize=3D0x1000 > hint.pcm.0.irq=3D7 >=20 > # I2S > hint.gpio.0.func.1.gpiofunc=3D15 > hint.gpio.0.func.1.gpiomode=3D1 > hint.gpio.0.func.2.gpiofunc=3D14 > hint.gpio.0.func.2.gpiomode=3D1 > hint.gpio.0.func.3.gpiofunc=3D13 > hint.gpio.0.func.3.gpiomode=3D1 > hint.gpio.0.func.4.gpiofunc=3D12 > hint.gpio.0.func.4.gpiomode=3D1 >=20 > pcm driver code include this repo. >=20 > https://github.com/ZRouter/freebsd-src/tree/yamori813_modify >=20 > Thanks, >=20 > Hiroki Mori >=20 >=20 >=20 From nobody Tue Aug 9 07:18:54 2022 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 4M24F21k6dz4Yns5 for ; Tue, 9 Aug 2022 07:19:02 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6003-vm1.mail.ssk.yahoo.co.jp (sonicconh6003-vm1.mail.ssk.yahoo.co.jp [182.22.37.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 4M24Dz3FbGz49R2 for ; Tue, 9 Aug 2022 07:18:59 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: cjVJm1YVM1lgGk2N88NCfOz54gBFkYWwF6UFZh4KxgK1cW8XSOlRa0GmvRSjIJX IgSjThM8tBt.aAJucDGYQpBNc5Cfm_AtD2YnZo4m7gEv1D14VuEo92Rq.w.6oZ6sAKnDEOD9AAZ4 _6CukKWjb_QZLKAFo_AXgtmkivD6BNjLoJQziz9v7BrB6pMvPGg0c99wOmOKiLc6nBqsjBexCrM5 7A.xSJCwYdZO_feQClJjfwM3yYhIqXVawFCZKPmn8fbN0hOd8iz3DmxPEX0JILWDfDUsmGOQL7V9 29SRqSzCii3U_fX60EvSxT_cHUgS54HKxNC6WNp4887.gIrtVNQJscyaFXF4PGgeb12044JOx8BV B7Y_kyDwIyCqRirOtO.EtcL6KpNCeJR_SrFJ4eBbfBOk3h7TlGfoK.mvAlGAbGbYsAST63vLZF9y 1aC_8EzJ6A9kHaZ5D9485Sk9KymbVNcgOjMCT58mO_fpWplteZwBGe6_Z2TLdpG7RTs61qFqBrRw Z5wroS1xenrT95B3.XkvtsORKC10DagIHFW093Wg1dN7vLFHSnxtpgXLFMUK5sYTG1h_iaVRjNdy lhhMOHLurlwlp37BQUvISpDwxl9YO.MeeBUocRiLAFiRpNVrhVFOJgZKsAPxUHopJj3SOTR8pHjj ddbG1N2lJBH2yPy8KUekW_lpqcvMup.7TG_cx6Hn.BhGmMgsnVTOAWaMcpE7wVAxCsmIjZ2VOPGq X5X.vHeWkGguD3vv5sX5x8ClTKwrTB7RGAGR_Gq8.pqiCrgxD85nI5F.NgKo5FtIhn2S2VlVyIL3 DHP_Hu7HrAaKhg3QYnf4p34YHVpHVSomYW0DxaynghQ3i6WRWhV8XzVp8xgZ7fD3h9kaBMZOoYEx pPmWOAvfwqhKm5VZFw8_dpcmw08N11CLUhRGZ38sI Received: from sonicgw.mail.yahoo.co.jp by sonicconh6003.mail.ssk.yahoo.co.jp with HTTP; Tue, 9 Aug 2022 07:18:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1660029535; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=tN3HY/PqKZxmRsy9SDgQn2mOaoMspy6bMY9mAb3LGzM=; b=AaOwYNCNqhBSbLE1swo62Dz4n2v42EC26HbyurAeJNtN6aSEM+pU9Y8Gn0t2qUXf kW88MRCifPJrlm+JEYscXWPFwbL1JPjIguld+uFUKmBcRUoUXQXqH9wbrXEF3sDzUDk q58KOaUAkx2guHWyhaaa4PruBavHbqE+Q+mHtYs0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=I8Imr0565v6q5PqP5ONxJkrymCUgMPbzdQipJtj05qMq4sZLnCTY5JjW/DsJggBD t6ljl/fvRzELY/+pKlJGvgi2aaO4PVidemrrIcjvC+5lAjafH3XPH24XXy/0PplE16O s/V6DQ6s/JA5CN7ECweu0wEnnhXt8ynYvnpoAOOc=; Date: Tue, 9 Aug 2022 16:18:54 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1350643639.1758426.1660029534094.JavaMail.yahoo@mail.yahoo.co.jp> Subject: mdspr2 add to gcc 4.2.1 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1350643639.1758426.1660029534094.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4M24Dz3FbGz49R2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=AaOwYNCN; dmarc=pass (policy=quarantine) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.42 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-0.96 / 15.00]; NEURAL_HAM_SHORT(-0.95)[-0.952]; NEURAL_SPAM_LONG(0.77)[0.772]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,quarantine]; NEURAL_SPAM_MEDIUM(0.22)[0.223]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.42:from]; REPLYTO_EQ_FROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi. I add 4.3 mdspr2 support to 4.2.1. https://github.com/ZRouter/freebsd-src/tree/yamori813_modify also enable to mx status bit on process used by dsp instruction. I tested qeum test code on Atheros 74K. That is work fine. save and load is not yet. Dose some body write dsp code for mpg123 ? Regards Hiroki Mori From nobody Thu Aug 18 12:37:41 2022 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 4M7ktm5GTsz4ZPRQ for ; Thu, 18 Aug 2022 12:37:52 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) (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 4M7ktm27Yxz3pK0 for ; Thu, 18 Aug 2022 12:37:52 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-32a17d3bba2so36936477b3.9 for ; Thu, 18 Aug 2022 05:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc; bh=S6TS5H+IpbpgQ5t2cw3470qYP+Oy2dX1iPlk85HgwEw=; b=Hy2IkpbqjscM/B5slHPTtp5X9eqXkFpFZuvkA4r2ptjVP1Yvr/GtGCMiB2dOMR49Qd UpkSYSkhGf8uYJIAVyfzhBNPVGZVcHzJJyG6OPW1/oiB7zygVA5SgU3bNP8z+ROYTttP 2HcgIfbouPPS03A0kfXDnaxDfb+EURN1ej6FdqFQfHkPlW8CSc5NWZK3fx1bi3OpYnQh +ABlzh+wswJQRUWX1KaoJ14O3lPgNAMH3nR9sFRUsW6x45jyN0Dp9oPx0ywC7Gpd0WiE x2d+APRqvIr4FVBa152IggrYkCpyKuUa806dQ4YHWCuctBNt6cMupfMQwjv7WMzsPMvc lNoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=S6TS5H+IpbpgQ5t2cw3470qYP+Oy2dX1iPlk85HgwEw=; b=ih8OU8kI8B61l0Uvg+I3ys4Q5mW25W/3D4ak/6/kvLZbq3DG8VOHlsYPuSvkWNLtDl R0npYNFaDb3MC/edPsxwd0xOeb0TLqPdga5M+6pnnOJL/KCKalVdfaWn1kcPX3pFWPDh F6zk1skYFz1S0iParEau+57JjoSY1lQ+wJNLKgFq9trDNZh38SGU7Gu18PAr+s3cxm37 xLeYZGOBkDoJGibGvc8D4pxrKojJQ69YNii2vhKhSz810BF+LY9dBnaUHfvfUx5wpkVI QEF76kko4WKY8Yr8urllJasWqJV3w/OGqJ/x2J7Bd1kFw1AIOFyER/MVShwGdvnP0Y3g 8LzA== X-Gm-Message-State: ACgBeo2zVpxl3PyO/vWLGz4jKQ6N8Dif3xypuHKGP5dXH5/dyPe5T1Wf 19ujJgc//7OMMc25Fbs52rQ5C2Ys20V4Pi8o1auRNBbCBZCVpg== X-Google-Smtp-Source: AA6agR4Gx3fJNZXTYlt/Mj/fLT40lKF3ju+6OZuQkpx8r0acTZ6U+SV42n8Sk6bHsZySGq3SkBRG2zoM87mV9QWI2LU= X-Received: by 2002:a25:6d5:0:b0:682:e570:3e8b with SMTP id 204-20020a2506d5000000b00682e5703e8bmr2803117ybg.166.1660826271463; Thu, 18 Aug 2022 05:37:51 -0700 (PDT) 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 From: Archimedes Gaviola Date: Thu, 18 Aug 2022 20:37:41 +0800 Message-ID: Subject: Ralink RT3050F To: freebsd-mips@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f1be6105e6833f6c" X-Rspamd-Queue-Id: 4M7ktm27Yxz3pK0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Hy2Ikpbq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2607:f8b0:4864:20::1132 as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.99)[-0.991]; NEURAL_HAM_MEDIUM(-0.98)[-0.977]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1132:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000f1be6105e6833f6c Content-Type: text/plain; charset="UTF-8" Hi, I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-RELEASE by following this reference here https://wiki.freebsd.org/mips/RT3052F. However, I want to know how this value 0x80800000 is derived for the tftpboot? My generated image entry point value address is 80001100. root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel | grep 'Entry point address:' Entry point address: 0x80001100 Thanks and best regards, Archimedes --000000000000f1be6105e6833f6c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I have successfully compiled an RT3050F S= oC kernel image with FreeBSD 11.4-RELEASE by following this reference here = https:/= /wiki.freebsd.org/mips/RT3052F. However, I want to know how this value 0x80800000 is derived for the=20 tftpboot? My generated image entry point value address is=20 80001100.

root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/= RT305X # readelf -h kernel | grep 'Entry point address:'
=C2=A0 = Entry point address: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x800= 01100

Thanks and best regards,
Archi= medes
--000000000000f1be6105e6833f6c-- From nobody Fri Aug 19 00:33:05 2022 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 4M82mC0m78z4YpQf for ; Fri, 19 Aug 2022 00:33:15 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh5001-vm4.mail.kks.yahoo.co.jp (sonicconh5001-vm4.mail.kks.yahoo.co.jp [114.110.61.15]) (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 4M82m84pJRz45Sn for ; Fri, 19 Aug 2022 00:33:12 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: xu33W8AVM1ksbo0A4sQj5w8dIYAHwZuuoLT3rcHf6tz9DfoUh4yLArMk_Pk6aq7 vga_pvEjZjFgVsCnVxHUTDXPnRJlZXjpcBKUrVqXShDR8JhV7UNfcwMG5lgZ0EpNP1LpO1lzx0vz QSv8lMeVC8Qqa.ESkXs.RPaAlw6PVaLIAEbmn2PuQ4jet4wrRNQkb5f.SUWdr4N_S1GsjXOBCqGW cJjtZWQMSEJiGnEgIl6F90KSoIy7sOkOo9yiz5cTVIT7wkeZogksVOLSfGfsgoWEB9jbJnvqGBXT qPQajppFH4NYXEtE8xbCYJ4UA3ble4qU3xZjZ_5JZJZd0AU5D26_dXCLQSjMmTcNrblD_0F4nD18 YxT73tyjn9oenxsBIKlN1Odfl6ZMRkWRT6vj7fr6aZ_upz8IH5qXei5lSdUU9HbsBJ._RmOzFXkP HPfhdY0ni.VP9qHVthk0aMUW0Y5e1QbgyoM7Aa7K7Rm.K454e801pngNa76LO6PKf48Ep96xRsm. z.a7frNczPBvbzOhj.c3TEVHEavrTppXzLrgaMKX26pIXdy7NJ4vKbUKg3hm_r0_T8eTvUjFd_oQ PDM5xdjbRlHisZeNXbcKl3BGXYL7F1OnikKGJ6FRfKlg2UG_oqpllg0YyEabAiTSN8qSXdZ8a.Xk HNIUyMDZVOMIQBRep8HHdgIdB.R4keb8.Tioe0P79Fy_XYTgz6KxLCMNsGhylvgY4xzrusHkht0I kmrlQXjmIm7J4c.c1KV5D9Q791ZYYN18Yh8x.HwXqCKAARCVJfoxF6jgA.smGTtRPxnLS.BeyZpg u1MEIqpkboUqgck6QmJFWgrDXYYdCla_oP1Unyeao5q1z1EojHvfm2d047I6.e8RawJJrU3087oA LRVCJ31D86Z7KmnO_EmYihnwAvkIAZwJWxU.mPjPcTZA- Received: from sonicgw.mail.yahoo.co.jp by sonicconh5001.mail.kks.yahoo.co.jp with HTTP; Fri, 19 Aug 2022 00:33:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1660869188; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=7qLoiEwHYOLIpV2n7bMD9PXxsQi5RC/jtzblByDmQwU=; b=ZOgCXxKnpYjPVeXUnJok22diq7NiwPIG12p/B1Eahm6JruC5rZPW3uOYY+fjsh3y BfxQwFxVW2028rWmHkfsR+ZZwbsPPWGjeL1wStu6ngxfvkbxVv/tls6N1wwtaSPQOR3 PhTq2ghJGlq7M33srgdyIF+wQeSeOm2Y4ONpsQ7Q= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TmXvu85NhiHufJpBgX++3KL6eVq4xWuVhKTMDWRQvgSyPVZungVozdse6P7pA7GF lBAddNTep/+y2n40eYFWatrSW5IQib+IQoYVcmLxMYujkO3wih84MnF2WtOQhLPFX/7 jv1in2pRy96T8uNW7dUq3QY1YUKRAYfpK2CfR1kQ=; Date: Fri, 19 Aug 2022 09:33:05 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: Archimedes Gaviola , "freebsd-mips@freebsd.org" Message-ID: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: References: Subject: Re: Ralink RT3050F 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4M82m84pJRz45Sn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=ZOgCXxKn; dmarc=pass (policy=quarantine) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 114.110.61.15 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-0.48 / 15.00]; NEURAL_HAM_SHORT(-0.96)[-0.957]; NEURAL_SPAM_LONG(0.79)[0.789]; NEURAL_SPAM_MEDIUM(0.69)[0.687]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:114.110.48.0/20]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; REPLYTO_EQ_FROM(0.00)[]; TAGGED_RCPT(0.00)[]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[114.110.61.15:from]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ASN(0.00)[asn:24572, ipnet:114.110.48.0/20, country:JP]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_SOME(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi. 0x80800000 is only u-boot image load offset. You will do bootm command=20 on u-boot then start at 0x80001100 if you create this address by uboot_mkim= age . Hiroki Mori ----- Original Message ----- From: "Archimedes Gaviola" To: "freebsd-mips@freebsd.org" Date: 2022/08/18 =E6=9C=A8 21:38 Subject: Ralink RT3050F Hi, I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-= RELEASE by following this reference here https://wiki.freebsd.org/mips/RT30= 52F. However, I want to know how this value 0x80800000 is derived for the t= ftpboot? My generated image entry point value address is 80001100. root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel= | grep 'Entry point address:' =C2=A0Entry point address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x80001= 100 Thanks and best regards, Archimedes From nobody Fri Aug 19 00:56:26 2022 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 4M83H93jscz4YsYZ for ; Fri, 19 Aug 2022 00:56:37 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 4M83H86WVvz4791 for ; Fri, 19 Aug 2022 00:56:36 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-32a09b909f6so86065647b3.0 for ; Thu, 18 Aug 2022 17:56:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=XB4vi0VT7NW70bv51MjVOePyDz1/sReStsgKShD1lNk=; b=BavnWcXOL+CPVCWb6rE5iNc5nvxLQbAhaafgxTEXK1n/930juy6fv5GxHX35ZdGDLa pk+l+hhJdVP2jhvqbWQQShunGVKEowBdiZslFaiMg0mylAKIwPXU4YaeJjFB5svj/0Ox IdmdYF6NBYE7asP79LYubW8Ed4v2xnBeT56TVsi/IQxOCE88hB10nLPtoSFe/mj1+NvM Mg1K6Lrhx+bSo/4TRIGoWkQFCMvmcYVTeE032558DTAJ1lJduKXxORkcWxZ7FMh4RVeZ TkCWexgT5Zi+z7uIyQwVNVruRUBcAPNh8oshLIST+khKdqL7+BpmBvrLNepNtaZrcfIX wTTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=XB4vi0VT7NW70bv51MjVOePyDz1/sReStsgKShD1lNk=; b=eiZDXpUryR7+oXKtWAj2dcLjY1rrKOc1u9Qz/yRFaDI8aIhocTsciPTq4A+E8Av0af adD2v50LxleX2AYrf0PGYaQj2/8sHkIJQWHP9WpPb3J1HO0RPrThno6g+hikXMfostg+ 7j9Z9vHZ6VTgJgVCzcnEKKGpStHGDeAlq/is8EAEfoYNfWlJl9GnOnCVqxuzL8suAYPH P/JVBj+zxxJBWWeBe9MB13xyIKs7z+rvz8N7zqlvw/m3JrdKiem/yh8zvSwyLj9d4csG aaDFyhOCVb10YumJknnj8hJcqUvrB4zxZhK9+je8pi2KRPujwiuS1akF6Ik0RuoFaAb7 HcTQ== X-Gm-Message-State: ACgBeo2O0tDADo0t+75tSH8x+cocKxWhLrb7YqGlqF87QKWKK1YfToEU Thd6io8jCrdHyeQ598l6HdH20EPGb46Cycs6CrGuMnGBVH4ZVw== X-Google-Smtp-Source: AA6agR7N3HXozoL9EyxR6ArdCbgtRJDt6h5AstsArAmD7UFlJVWZI1grH1cbe07cL7Ns0H0AkLLVXqrwdzuGtZeMuWA= X-Received: by 2002:a5b:6c1:0:b0:669:a7c3:4c33 with SMTP id r1-20020a5b06c1000000b00669a7c34c33mr5293612ybq.543.1660870596114; Thu, 18 Aug 2022 17:56:36 -0700 (PDT) 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: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> From: Archimedes Gaviola Date: Fri, 19 Aug 2022 08:56:26 +0800 Message-ID: Subject: Re: Ralink RT3050F To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e63c3905e68d918d" X-Rspamd-Queue-Id: 4M83H86WVvz4791 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=BavnWcXO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2607:f8b0:4864:20::1134 as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com X-Spamd-Result: default: False [-3.93 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_LONG(-0.97)[-0.973]; NEURAL_HAM_MEDIUM(-0.96)[-0.964]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1134:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[yahoo.co.jp]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000e63c3905e68d918d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Aug 19, 2022 at 8:33 AM Mori Hiroki wrote: > Hi. > > 0x80800000 is only u-boot image load offset. You will do bootm command > on u-boot then start at 0x80001100 if you create this address by > uboot_mkimage . > > Hiroki Mori > Hi Hiroki Mori, Oh I see, got it, thanks for the explanation! Best regards, Archimedes > > ----- Original Message ----- > > From: "Archimedes Gaviola" > To: "freebsd-mips@freebsd.org" > Date: 2022/08/18 =E6=9C=A8 21:38 > Subject: Ralink RT3050F > > > Hi, > > I have successfully compiled an RT3050F SoC kernel image with FreeBSD > 11.4-RELEASE by following this reference here > https://wiki.freebsd.org/mips/RT3052F. However, I want to know how this > value 0x80800000 is derived for the tftpboot? My generated image entry > point value address is 80001100. > > root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h > kernel | grep 'Entry point address:' > Entry point address: 0x80001100 > > Thanks and best regards, > Archimedes > > --000000000000e63c3905e68d918d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Fri, Aug 19, 2022 at 8:33 AM Mori = Hiroki <yamori813@yahoo.co.jp> wrote:
Hi= .

0x80800000=C2=A0 is only u-boot image load offset. You will do bootm comman= d
on u-boot then start at 0x80001100 if you create this address by uboot_mkim= age .

Hiroki Mori


----- Original Message -----

From: "Archimedes Gaviola" <
archimedes.gaviola@gmail.com>
To: "fre= ebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Date: 2022/08/18 =E6=9C=A8 21:38
Subject: Ralink RT3050F


Hi,

I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-= RELEASE by following this reference here https://wiki.freebsd.o= rg/mips/RT3052F. However, I want to know how this value 0x80800000 is d= erived for the tftpboot? My generated image entry point value address is 80= 001100.

root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel= | grep 'Entry point address:'
=C2=A0Entry point address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x80001= 100

Thanks and best regards,
Archimedes

--000000000000e63c3905e68d918d-- From nobody Sun Aug 28 08:15:32 2022 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 4MFmbj5sZrz4b5nW for ; Sun, 28 Aug 2022 08:15:45 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (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 4MFmbh5NgKz3kNj for ; Sun, 28 Aug 2022 08:15:44 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-340f82c77baso14715047b3.1 for ; Sun, 28 Aug 2022 01:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=j5mLzd443HkEqmN1VJJtz6Iqp5dpgsQ6M8wUlf1wurc=; b=E89aoNzLzrsPCx0RHIgzy1mIO4a46LGBujWgE3egTTySkf/pPOtspW1zqNweCw6all Fy7IXjJr5GG4/lU9JAJqg29lusCgOHt3uXrfnpfHqSKNOLm/sA6kw/XpS4qqVWI+Q9Yz 2o/84byQ9l/hhMUal+tMgAjRgTv5/3CrYtz0xYkcxa2r4aX0ArZIKcM8J0EAKch3pCvm Px+mlS2tYVuPnZw5TtO+vC3Gl2mhIkk7jBeiYLNodMIxhFwGa63p+KZw7mCYsAU7dpi/ fBaU9fB2JUM2U6cP4ilvOC7H/Y171OmYpLSJMJnr0OZ78qUl3aEggF8pO8R2l6O38P0e I5Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=j5mLzd443HkEqmN1VJJtz6Iqp5dpgsQ6M8wUlf1wurc=; b=Oq4xKR9/rzSgiHBfXWuOZRzMxD1xRyzZZLGF5WnkNlB1MhgbpIDog3f6g7KmKXVAte MlfZOEgLl/fdcxMQwMvnDBmn/xe9BNhC2En4rQc7xLrl9qKRFJMJ5OBGBV2xgr02Zgvj O7ZOHxYlDB9Z4cAZfMJJ/7v3nLclQ/mJAAbNMT9VdmfI4azcKq1ICBQP0rdS9bYGMcqy 6zsDS/NQDj2b3UDNFB88W/CebVY/6CRWH675M2YSMcyuEHwa0+odLMtzECc5XtvX1NvM UEpRTklBJ3fGnaR6RAOPL/v4RaIJCNLjuweL7C3hqaBNyZW0j4dfFAgQ6YeMxMVGokrz DOlg== X-Gm-Message-State: ACgBeo1NYYSh/2r7nRlBc1QXvfwP04xD8ayrsQHdAIXuhX3TyoU/K7wl 4hXghJPM3ZoXeMV5vl+B9B9xuW0KTiZjOLnqYa2lxWkoKKk= X-Google-Smtp-Source: AA6agR7QVnZ+Va2oaZH9P9JwmQl23w2FtxrrZnA3oREvpqP6Ju4+5XoOkHNWhlDWPJYaCtI1FR5uT8334oFB+WRzBLs= X-Received: by 2002:a0d:c007:0:b0:324:8274:24cf with SMTP id b7-20020a0dc007000000b00324827424cfmr6205988ywd.213.1661674543985; Sun, 28 Aug 2022 01:15:43 -0700 (PDT) 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: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: From: Archimedes Gaviola Date: Sun, 28 Aug 2022 16:15:32 +0800 Message-ID: Subject: Re: Ralink RT3050F To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000ed388605e748c000" X-Rspamd-Queue-Id: 4MFmbh5NgKz3kNj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=E89aoNzL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2607:f8b0:4864:20::112a as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com X-Spamd-Result: default: False [-3.94 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.97)[-0.974]; NEURAL_HAM_MEDIUM(-0.97)[-0.969]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112a:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[yahoo.co.jp]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000ed388605e748c000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, After I successfully accessed the serial console, I proceeded to load the kernel image (this is an old D-link DIR-600 (B2) Wi-Fi device) and encountered this error -> Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover. Any idea what have I missed? After this failure, it booted to the default image of the Linux system. Haven't flashed the image yet when this error occurred. TFTP from server 192.168.1.209; our IP address is 192.168.1.188 Filename 'dlink/kernel.bin.lzma.uboot'. TIMEOUT_COUNT=3D10,Load address: 0x80800000 Loading: Got ARP REQUEST, return our IP ArpTimeoutCheck Got ARP REPLY, set server/gtwy eth addr (b8:27:eb:64:8b:57) Got it ################################################################# ################################################################# ################################################################# ################################################ done Bytes transferred =3D 1243362 (12f8e2 hex) NetBootFileXferSize=3D 0012f8e2 RT3052 # bootm 0x80800000 ## Booting image at 80800000 ... Image Name: FreeBSD Kernel Image Created: 2022-08-18 5:51:56 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1243298 Bytes =3D 1.2 MB Load Address: 80001100 Entry Point: 80001100 Verifying Checksum ... OK Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recove= r U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA) SVN revision: 482 Target board: WRG-N23 Board: Ralink APSoC DRAM: 32 MB config usb..*** Error: D+/D- is 1/1, config usb failed. ..*** Error: D+/D- is 1/1, config usb failed. ****************************** Software System Reset Occurred ****************************** Set info->start[0]=3DBF000000 =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 Ralink UBoot Version: 3.5.1.0 -------------------------------------------- ASIC 3052_MP2 (Port5<->None) DRAM component: 256 Mbits SDR DRAM bus: 16 bit Total memory: 32 MBytes Flash component: NOR Flash Date:Jan 12 2011 Time:21:35:28 =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 icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ## Powering down port 0 ~ 3. Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bf050000 ... addr:bf050000 We have SEAMA, Image Size =3D 3506208 Verifying Checksum ... Uncompressing SEAMA linux.lzma ... OK ## Transferring control to Linux (at address 81f46ec0) ... ## Giving linux memsize in MB, 32 Starting kernel ... LINUX started... THIS IS ASIC is_RT3052 =3D 0, is_RT3352 =3D 0 is_RT3350 =3D 1, is_RT5350 =3D 0 Linux version 2.6.33.2 (kwest@enzo) (gcc version 4.3.3 (GCC) ) #1 Fri Dec 10 17:24:50 CST 2010 ... Thanks and best regards, Archimedes On Fri, Aug 19, 2022 at 8:56 AM Archimedes Gaviola < archimedes.gaviola@gmail.com> wrote: > > > On Fri, Aug 19, 2022 at 8:33 AM Mori Hiroki wrote= : > >> Hi. >> >> 0x80800000 is only u-boot image load offset. You will do bootm command >> on u-boot then start at 0x80001100 if you create this address by >> uboot_mkimage . >> >> Hiroki Mori >> > > Hi Hiroki Mori, > > Oh I see, got it, thanks for the explanation! > > Best regards, > Archimedes > > >> >> ----- Original Message ----- >> >> From: "Archimedes Gaviola" >> To: "freebsd-mips@freebsd.org" >> Date: 2022/08/18 =E6=9C=A8 21:38 >> Subject: Ralink RT3050F >> >> >> Hi, >> >> I have successfully compiled an RT3050F SoC kernel image with FreeBSD >> 11.4-RELEASE by following this reference here >> https://wiki.freebsd.org/mips/RT3052F. However, I want to know how this >> value 0x80800000 is derived for the tftpboot? My generated image entry >> point value address is 80001100. >> >> root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h >> kernel | grep 'Entry point address:' >> Entry point address: 0x80001100 >> >> Thanks and best regards, >> Archimedes >> >> --000000000000ed388605e748c000 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

After I successfully acc= essed the serial console, I proceeded to load the kernel image (this is an = old D-link DIR-600 (B2) Wi-Fi device) and encountered this error ->
=

Uncompressing Kernel Image ... LZMA ERROR 1 - mus= t RESET board to recover.

Any idea what have I mis= sed? After this failure, it booted to the default image of the Linux system= . Haven't flashed the image yet when this error occurred.

TFTP from server 192.168.1.209; our IP address is= 192.168.1.188
Filename 'dlink/kernel.bin.lzma.uboot'.

= =C2=A0TIMEOUT_COUNT=3D10,Load address: 0x80800000
Loading: Got ARP REQUE= ST, return our IP

ArpTimeoutCheck
Got ARP REPLY, set server/gtwy = eth addr (b8:27:eb:64:8b:57)
Got it
#################################= ################################
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#####= ############################################################
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0###################################################= ##############
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#######################= #########################
done
Bytes transferred =3D 1243362 (12f8e2 = hex)
NetBootFileXferSize=3D 0012f8e2

RT3052 # bootm 0x80800000## Booting image at 80800000 ...
=C2=A0 =C2=A0Image Name: =C2=A0 FreeBS= D Kernel Image
=C2=A0 =C2=A0Created: =C2=A0 =C2=A0 =C2=A02022-08-18 =C2= =A0 5:51:56 UTC
=C2=A0 =C2=A0Image Type: =C2=A0 MIPS Linux Kernel Image = (lzma compressed)
=C2=A0 =C2=A0Data Size: =C2=A0 =C2=A01243298 Bytes =3D= =C2=A01.2 MB
=C2=A0 =C2=A0Load Address: 80001100
=C2=A0 =C2=A0Entry = Point: =C2=A080001100
=C2=A0 =C2=A0Verifying Checksum ... OK
=C2=A0 = =C2=A0Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to rec= over


U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA)

SVN re= vision: 482
Target board: WRG-N23

Board: Ralink APSoC DRAM: =C2= =A032 MB
config usb..*** Error: D+/D- is 1/1, config usb failed.
..**= * Error: D+/D- is 1/1, config usb failed.

**************************= ****
Software System Reset Occurred
******************************
=C2=A0Set info->start[0]=3DBF000000
=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
Ralink UBoot Version: 3.5.1.0
--------= ------------------------------------
ASIC 3052_MP2 (Port5<->None)<= br>DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MB= ytes
Flash component: NOR Flash
Date:Jan 12 2011 =C2=A0Time:21:35:28<= br>=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
icache: set= s:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:3= 2 ,total:16384
## Powering down port 0 ~ 3.

Please choose the ope= ration:
=C2=A0 =C2=A01: Load system code to SDRAM via TFTP.
=C2=A0 = =C2=A02: Load system code then write to Flash via TFTP.
=C2=A0 =C2=A03: = Boot system code via Flash (default).
=C2=A0 =C2=A04: Entr boot command = line interface.
=C2=A0 =C2=A07: Load Boot Loader code then write to Flas= h via Serial.
=C2=A0 =C2=A09: Load Boot Loader code then write to Flash = via TFTP. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00

3: System B= oot system code via Flash.
## Booting image at bf050000 ...
addr:bf05= 0000
We have SEAMA, Image Size =3D 3506208
Verifying Checksum ...
= Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (= at address 81f46ec0) ...
## Giving linux memsize in MB, 32

Starti= ng kernel ...

LINUX started...

=C2=A0THIS IS ASIC
is_RT305= 2 =3D 0, is_RT3352 =3D 0
is_RT3350 =3D 1, is_RT5350 =3D 0
Linux versi= on 2.6.33.2 (kwest@enzo) (gcc version 4.3.3 (GCC) ) #1 Fri Dec 10 17:24:50 = CST 2010
...

Thanks and best regards= ,
Archimedes



On Fri, Aug 1= 9, 2022 at 8:56 AM Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:


On Fri, Aug 19, 2022 at 8:33 AM Mori Hiroki <yamori813@yahoo.co.jp> wrote:<= br>
Hi.

0x80800000=C2=A0 is only u-boot image load offset. You will do bootm comman= d
on u-boot then start at 0x80001100 if you create this address by uboot_mkim= age .

Hiroki Mori

Hi Hiroki Mori,

Oh I see, got it, thanks for = the explanation!

Best regards,
Archimede= s
=C2=A0

----- Original Message -----

From: "Archimedes Gaviola" <archimedes.gaviola@gmail.com>
To: "fre= ebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Date: 2022/08/18 =E6=9C=A8 21:38
Subject: Ralink RT3050F


Hi,

I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-= RELEASE by following this reference here https://wiki.freebsd.o= rg/mips/RT3052F. However, I want to know how this value 0x80800000 is d= erived for the tftpboot? My generated image entry point value address is 80= 001100.

root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel= | grep 'Entry point address:'
=C2=A0Entry point address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x80001= 100

Thanks and best regards,
Archimedes

--000000000000ed388605e748c000-- From nobody Mon Aug 29 02:15:13 2022 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 4MGDYm68tkz4ZyV6 for ; Mon, 29 Aug 2022 02:15:40 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) (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 4MGDYm1jF3z3Hq8 for ; Mon, 29 Aug 2022 02:15:40 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-33dce2d4bc8so163425637b3.4 for ; Sun, 28 Aug 2022 19:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=hSE020nxYDPXBElTonBCEFrK2h5vW49c4FqGdlvrLso=; b=A9Vka31g78Wp+7ilppUcrUSTirKOg8CDq8y6pvtJT6JwCgiNmQdgoCwvf6XaqL7BQp rVSQbAPL+yduiM8JrfTno8dJE3xR/XMXyvHCfRUGSsMI6x13spcfh0jUUS92vZjROLUT yg2f1bvpaklbHt6hYVL7d5mEJ6dgCOoqtGGhegVLISuKVJe7Ls66RoVfN39chz2dhbgc kg07W0BygzjhCjtulWVBpAGa08wqUeDdAZT2nPidpYTP5G+9j5CFr67iMoUOuwyQwUAN bN+s8xIwFfNyfcKBNQlhWU71SzWXO78gYH4DNi/4Ms204LBC8mCgQryA9cug/G0A0CTV FedQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=hSE020nxYDPXBElTonBCEFrK2h5vW49c4FqGdlvrLso=; b=kxGTJrsLsuHq9zIdKDL1Ah0S7/xFp1rtPCrXusSVZpFacKzOLtmo8V2WXjbaHFqaLl aTTPFqlffagbwiGkABcCCbteLL+Y3bPOc4g8sVAY2gftEuW2hTvNU8e3RAfhufW/kJnl OodPNNoinSGfYbFX6tv74VyrNB55HG08wfnlAFZgbCbYnFBPR48xTH6uGkHg5LTtTMt+ 0E/vm0uxf4pfaDHn/iTSP/sV6GhOJOebjn44tZVkb60wwBfbsxmlq1ydONxZ/CjceBJw jabgVtMsCNCVNKpV+Y4o3icE+QiNwx+CGMCyF7/IwqzNsGRUbUU2CtFh6Ki43vF7xlDg aJkQ== X-Gm-Message-State: ACgBeo1TdKOsXFBXJo2XNDl9lsmmXzbLmIb7ZKowqJtxQBQoaOMf8UQ0 YoLaOeAOQXXkL4v4dixUdischXw2RNFJshH1pUcX3WfENkA= X-Google-Smtp-Source: AA6agR7hbiVYhvbLkvTXbGhkBRImTmcfxqlDRIjhPS9xd4+Cd/vik100f1mzBedqFlHrcHbAHpXRivu15/zxn2UT8ms= X-Received: by 2002:a81:a708:0:b0:335:17af:e96a with SMTP id e8-20020a81a708000000b0033517afe96amr8576515ywh.34.1661739339396; Sun, 28 Aug 2022 19:15:39 -0700 (PDT) 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: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: From: Archimedes Gaviola Date: Mon, 29 Aug 2022 10:15:13 +0800 Message-ID: Subject: Re: Ralink RT3050F To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000008b9da05e757d71d" X-Rspamd-Queue-Id: 4MGDYm1jF3z3Hq8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=A9Vka31g; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2607:f8b0:4864:20::112d as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.98)[-0.977]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112d:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[yahoo.co.jp]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000008b9da05e757d71d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Aug 28, 2022 at 4:15 PM Archimedes Gaviola < archimedes.gaviola@gmail.com> wrote: > Hi, > > After I successfully accessed the serial console, I proceeded to load the > kernel image (this is an old D-link DIR-600 (B2) Wi-Fi device) and > encountered this error -> > > Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover= . > > Any idea what have I missed? After this failure, it booted to the default > image of the Linux system. Haven't flashed the image yet when this error > occurred. > > TFTP from server 192.168.1.209; our IP address is 192.168.1.188 > Filename 'dlink/kernel.bin.lzma.uboot'. > > TIMEOUT_COUNT=3D10,Load address: 0x80800000 > Loading: Got ARP REQUEST, return our IP > > ArpTimeoutCheck > Got ARP REPLY, set server/gtwy eth addr (b8:27:eb:64:8b:57) > Got it > ################################################################# > ################################################################= # > ################################################################= # > ################################################ > done > Bytes transferred =3D 1243362 (12f8e2 hex) > NetBootFileXferSize=3D 0012f8e2 > > RT3052 # bootm 0x80800000 > ## Booting image at 80800000 ... > Image Name: FreeBSD Kernel Image > Created: 2022-08-18 5:51:56 UTC > Image Type: MIPS Linux Kernel Image (lzma compressed) > Data Size: 1243298 Bytes =3D 1.2 MB > Load Address: 80001100 > Entry Point: 80001100 > Verifying Checksum ... OK > Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to > recover > > > U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA) > > SVN revision: 482 > Target board: WRG-N23 > > Board: Ralink APSoC DRAM: 32 MB > config usb..*** Error: D+/D- is 1/1, config usb failed. > ..*** Error: D+/D- is 1/1, config usb failed. > > ****************************** > Software System Reset Occurred > ****************************** > > Set info->start[0]=3DBF000000 > =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 > Ralink UBoot Version: 3.5.1.0 > -------------------------------------------- > ASIC 3052_MP2 (Port5<->None) > DRAM component: 256 Mbits SDR > DRAM bus: 16 bit > Total memory: 32 MBytes > Flash component: NOR Flash > Date:Jan 12 2011 Time:21:35:28 > =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 > icache: sets:256, ways:4, linesz:32 ,total:32768 > dcache: sets:128, ways:4, linesz:32 ,total:16384 > ## Powering down port 0 ~ 3. > > Please choose the operation: > 1: Load system code to SDRAM via TFTP. > 2: Load system code then write to Flash via TFTP. > 3: Boot system code via Flash (default). > 4: Entr boot command line interface. > 7: Load Boot Loader code then write to Flash via Serial. > 9: Load Boot Loader code then write to Flash via TFTP. > 0 > > 3: System Boot system code via Flash. > ## Booting image at bf050000 ... > addr:bf050000 > We have SEAMA, Image Size =3D 3506208 > Verifying Checksum ... > Uncompressing SEAMA linux.lzma ... OK > ## Transferring control to Linux (at address 81f46ec0) ... > ## Giving linux memsize in MB, 32 > > Starting kernel ... > > LINUX started... > > THIS IS ASIC > is_RT3052 =3D 0, is_RT3352 =3D 0 > is_RT3350 =3D 1, is_RT5350 =3D 0 > Linux version 2.6.33.2 (kwest@enzo) (gcc version 4.3.3 (GCC) ) #1 Fri Dec > 10 17:24:50 CST 2010 > ... > > Thanks and best regards, > Archimedes > Hi, Alright I made some progress, I used gzip compression instead of LZMA and the kernel image is now booting. U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA) SVN revision: 482 Target board: WRG-N23 Board: Ralink APSoC DRAM: 32 MB config usb..*** Error: D+/D- is 1/1, config usb failed. ..*** Error: D+/D- is 1/1, config usb failed. ****************************** Software System Reset Occurred ****************************** Set info->start[0]=3DBF000000 =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 Ralink UBoot Version: 3.5.1.0 -------------------------------------------- ASIC 3052_MP2 (Port5<->None) DRAM component: 256 Mbits SDR DRAM bus: 16 bit Total memory: 32 MBytes Flash component: NOR Flash Date:Jan 12 2011 Time:21:35:28 =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 icache: sets:256, ways:4, linesz:32 ,total:32768 dcache: sets:128, ways:4, linesz:32 ,total:16384 ## Powering down port 0 ~ 3. Please choose the operation: 1: Load system code to SDRAM via TFTP. 2: Load system code then write to Flash via TFTP. 3: Boot system code via Flash (default). 4: Entr boot command line interface. 7: Load Boot Loader code then write to Flash via Serial. 9: Load Boot Loader code then write to Flash via TFTP. 0 3: System Boot system code via Flash. ## Booting image at bf050000 ... Image Name: FreeBSD Kernel Image Created: 2022-08-29 1:55:22 UTC Image Type: MIPS Linux Kernel Image (gzip compressed) Data Size: 1724519 Bytes =3D 1.6 MB Load Address: 80001100 Entry Point: 80001100 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... U-Boot args (from 0 args): None Environment: entry: mips_init() Cache info: picache_stride =3D 4096 picache_loopcount =3D 8 pdcache_stride =3D 4096 pdcache_loopcount =3D 4 cpu0: MIPS Technologies processor v76.150 MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes) L1 i-cache: 4 ways of 256 sets, 32 bytes per line L1 d-cache: 4 ways of 128 sets, 32 bytes per line L2 cache: disabled Config1=3D0xbea3319e Config2=3D0x80000000 Config3=3D0x420 Physical memory chunk(s): 0x438000 - 0x1ffffff, 29130752 bytes (7112 pages) Maxmem is 0x2000000 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.4-RELEASE #1: Sun Aug 28 18:35:56 UTC 2022 root@:/usr/obj/mips.mipsel/usr/src/sys/RT305X mips gcc version 4.2.1 20070831 patched [FreeBSD] Preloaded elf kernel "kernel" at 0x804323d0. real memory =3D 33554432 (32768K bytes) Physical memory chunk(s): 0x004c4000 - 0x01f46fff, 27799552 bytes (6787 pages) avail memory =3D 27365376 (26MB) ULE: setup cpu 0 wlan: <802.11 Link Layer> random: entropy device external interface mem: null: nfslock: pseudo-device nexus0: random: harvesting attach, 8 bytes (4 bits) from nexus0 nvram2env0: base=3D0x1f030000 sig=3D0xe5e60a74 maxsize=3D0x00002000 flags=3D0x00000003 nvram2env1: base=3D0x1f032000 sig=3D0x5a045e94 maxsize=3D0x00004000 flags=3D0x00000003 clock0: on nexus0 Timecounter "MIPS32" frequency 192000000 Hz quality 800 Event timer "MIPS32" frequency 192000000 Hz quality 800 random: harvesting attach, 8 bytes (4 bits) from clock0 obio0 at mem 0x10000000-0x1fffffff on nexus0 rt305x_sysctl0: at mem 0x10000000-0x100000ff irq 0 on obio0 Chip ID: "RT3350 " SYSCTL_SYSCFG=3D0x3400000 GE0 mode 3 Boot from 0x1f000000 Boot from 0 Bootstrap test code 0 SRAM_CS mode 0 8mA SDRAM_CLK driving SYSCTL_CLKCFG0=3D0x40000000 SDRAM_CLK_SKEW 1ns SYSCTL_CLKCFG1=3D0x04283c USB OTG clock is enabled I2S clock is internal 15.625MHz I2S clock divider 40 PCM clock is internal 15.625MHz PCM clock divider 60 SYSCTL_GPIOMODE=3D0x00039c random: harvesting attach, 8 bytes (4 bits) from rt305x_sysctl0 rt305x_ic0: at mem 0x10000200-0x100002ff on obio0 random: harvesting attach, 8 bytes (4 bits) from rt305x_ic0 uart0: at mem 0x10000500-0x100005ff irq 5 on obio0 uart0: fast interrupt uart0: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart0 gpio0: at mem 0x10000600-0x100006ff irq 6 on obio0 gpio0: Use reset_gpio 10 gpiobus0: on gpio0 gpiobus0: at pin 0 gpiobus0: at pin 7 gpioled0: at pin 8 on gpiobus0 random: harvesting attach, 8 bytes (4 bits) from gpioled0 gpioled1: at pin 9 on gpiobus0 random: harvesting attach, 8 bytes (4 bits) from gpioled1 gpiobus0: at pin 10 gpiobus0: at pin 11 gpioled2: at pin 14 on gpiobus0 random: harvesting attach, 8 bytes (4 bits) from gpioled2 random: harvesting attach, 8 bytes (4 bits) from gpiobus0 gpioc0: on gpio0 random: harvesting attach, 8 bytes (4 bits) from gpioc0 random: harvesting attach, 8 bytes (4 bits) from gpio0 uart1: at mem 0x10000c00-0x10000cff irq 12 on obio0 uart1: console (115200,n,8,1) uart1: fast interrupt uart1: PPS capture mode: DCDinvalid random: harvesting attach, 8 bytes (4 bits) from uart1 random: harvesting attach, 8 bytes (4 bits) from obio0 rt0: at mem 0x10100000-0x1010ffff irq 3 on nexus0 rt0: RT305XF Ethernet MAC (rev 0x00000000) rt0: use hardcoded 00:18:e7:d5:83:90 macaddr rt0: bpf attached rt0: Ethernet address: 00:18:e7:d5:83:90 random: harvesting attach, 8 bytes (4 bits) from rt0 Device configuration finished. Timecounters tick every 10.000 msec vlan: initialized, using hash tables with chaining lo0: bpf attached tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512 bootpc_init: wired to interface 'rt0' Sending DHCP Discover packet from interface rt0 (00:18:e7:d5:83:90) Received DHCP Offer packet on rt0 from 192.168.1.1 (accepted) Received DHCP Offer packet on rt0 from 192.168.1.1 (ignored) Sending DHCP Request packet from interface rt0 (00:18:e7:d5:83:90) Received DHCP Ack packet on rt0 from 192.168.1.1 (accepted) rt0 at 192.168.1.225 server 192.168.1.1 subnet mask 255.255.255.0 router 192.168.1.1 Adjusted interface rt0 Trying to mount root from cd9660:/dev/map/rootfs.uzip []... mountroot: waiting for device /dev/map/rootfs.uzip... Mounting from cd9660:/dev/map/rootfs.uzip failed with error 19. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> Another challenge is this last part on mounting the root filesystem? Any ideas? I'm almost there. Thanks and best regards, Archimedes > > > > On Fri, Aug 19, 2022 at 8:56 AM Archimedes Gaviola < > archimedes.gaviola@gmail.com> wrote: > >> >> >> On Fri, Aug 19, 2022 at 8:33 AM Mori Hiroki >> wrote: >> >>> Hi. >>> >>> 0x80800000 is only u-boot image load offset. You will do bootm command >>> on u-boot then start at 0x80001100 if you create this address by >>> uboot_mkimage . >>> >>> Hiroki Mori >>> >> >> Hi Hiroki Mori, >> >> Oh I see, got it, thanks for the explanation! >> >> Best regards, >> Archimedes >> >> >>> >>> ----- Original Message ----- >>> >>> From: "Archimedes Gaviola" >>> To: "freebsd-mips@freebsd.org" >>> Date: 2022/08/18 =E6=9C=A8 21:38 >>> Subject: Ralink RT3050F >>> >>> >>> Hi, >>> >>> I have successfully compiled an RT3050F SoC kernel image with FreeBSD >>> 11.4-RELEASE by following this reference here >>> https://wiki.freebsd.org/mips/RT3052F. However, I want to know how this >>> value 0x80800000 is derived for the tftpboot? My generated image entry >>> point value address is 80001100. >>> >>> root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h >>> kernel | grep 'Entry point address:' >>> Entry point address: 0x80001100 >>> >>> Thanks and best regards, >>> Archimedes >>> >>> --00000000000008b9da05e757d71d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Aug 28, 2022 at 4:15 PM Archimedes Gaviola <archimedes.gaviola@gmail.com> wro= te:
Hi,

After I successfully accessed the se= rial console, I proceeded to load the kernel image (this is an old D-link D= IR-600 (B2) Wi-Fi device) and encountered this error ->
<= br>
Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET boar= d to recover.

Any idea what have I missed? After t= his failure, it booted to the default image of the Linux system. Haven'= t flashed the image yet when this error occurred.

TFTP from server 192.168.1.209; our IP address is= 192.168.1.188
Filename 'dlink/kernel.bin.lzma.uboot'.

= =C2=A0TIMEOUT_COUNT=3D10,Load address: 0x80800000
Loading: Got ARP REQUE= ST, return our IP

ArpTimeoutCheck
Got ARP REPLY, set server/gtwy = eth addr (b8:27:eb:64:8b:57)
Got it
#################################= ################################
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#####= ############################################################
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0###################################################= ##############
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#######################= #########################
done
Bytes transferred =3D 1243362 (12f8e2 = hex)
NetBootFileXferSize=3D 0012f8e2

RT3052 # bootm 0x80800000## Booting image at 80800000 ...
=C2=A0 =C2=A0Image Name: =C2=A0 FreeBS= D Kernel Image
=C2=A0 =C2=A0Created: =C2=A0 =C2=A0 =C2=A02022-08-18 =C2= =A0 5:51:56 UTC
=C2=A0 =C2=A0Image Type: =C2=A0 MIPS Linux Kernel Image = (lzma compressed)
=C2=A0 =C2=A0Data Size: =C2=A0 =C2=A01243298 Bytes =3D= =C2=A01.2 MB
=C2=A0 =C2=A0Load Address: 80001100
=C2=A0 =C2=A0Entry = Point: =C2=A080001100
=C2=A0 =C2=A0Verifying Checksum ... OK
=C2=A0 = =C2=A0Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to rec= over


U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA)

SVN re= vision: 482
Target board: WRG-N23

Board: Ralink APSoC DRAM: =C2= =A032 MB
config usb..*** Error: D+/D- is 1/1, config usb failed.
..**= * Error: D+/D- is 1/1, config usb failed.

**************************= ****
Software System Reset Occurred
******************************
=C2=A0Set info->start[0]=3DBF000000
=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
Ralink UBoot Version: 3.5.1.0
--------= ------------------------------------
ASIC 3052_MP2 (Port5<->None)<= br>DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MB= ytes
Flash component: NOR Flash
Date:Jan 12 2011 =C2=A0Time:21:35:28<= br>=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
icache: set= s:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:3= 2 ,total:16384
## Powering down port 0 ~ 3.

Please choose the ope= ration:
=C2=A0 =C2=A01: Load system code to SDRAM via TFTP.
=C2=A0 = =C2=A02: Load system code then write to Flash via TFTP.
=C2=A0 =C2=A03: = Boot system code via Flash (default).
=C2=A0 =C2=A04: Entr boot command = line interface.
=C2=A0 =C2=A07: Load Boot Loader code then write to Flas= h via Serial.
=C2=A0 =C2=A09: Load Boot Loader code then write to Flash = via TFTP. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00

3: System B= oot system code via Flash.
## Booting image at bf050000 ...
addr:bf05= 0000
We have SEAMA, Image Size =3D 3506208
Verifying Checksum ...
= Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (= at address 81f46ec0) ...
## Giving linux memsize in MB, 32

Starti= ng kernel ...

LINUX started...

=C2=A0THIS IS ASIC
is_RT305= 2 =3D 0, is_RT3352 =3D 0
is_RT3350 =3D 1, is_RT5350 =3D 0
Linux versi= on 2.6.33.2 (kwest@enzo) (gcc version 4.3.3 (GCC) ) #1 Fri Dec 10 17:24:50 = CST 2010
...

Thanks and best regards= ,
Archimedes

Hi,

Alright I made some progress, I used gzip= compression instead of LZMA and the kernel image is now booting.

U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA)

SVN re= vision: 482
Target board: WRG-N23

Board: Ralink APSoC DRAM: =C2= =A032 MB
config usb..*** Error: D+/D- is 1/1, config usb failed.
..**= * Error: D+/D- is 1/1, config usb failed.

**************************= ****
Software System Reset Occurred
******************************
=C2=A0Set info->start[0]=3DBF000000
=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
Ralink UBoot Version: 3.5.1.0
--------= ------------------------------------
ASIC 3052_MP2 (Port5<->None)<= br>DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MB= ytes
Flash component: NOR Flash
Date:Jan 12 2011 =C2=A0Time:21:35:28<= br>=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
icache: set= s:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:3= 2 ,total:16384
## Powering down port 0 ~ 3.

Please choose the ope= ration:
=C2=A0 =C2=A01: Load system code to SDRAM via TFTP.
=C2=A0 = =C2=A02: Load system code then write to Flash via TFTP.
=C2=A0 =C2=A03: = Boot system code via Flash (default).
=C2=A0 =C2=A04: Entr boot command = line interface.
=C2=A0 =C2=A07: Load Boot Loader code then write to Flas= h via Serial.
=C2=A0 =C2=A09: Load Boot Loader code then write to Flash = via TFTP. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00

3: System B= oot system code via Flash.
## Booting image at bf050000 ...
=C2=A0 = =C2=A0Image Name: =C2=A0 FreeBSD Kernel Image
=C2=A0 =C2=A0Created: =C2= =A0 =C2=A0 =C2=A02022-08-29 =C2=A0 1:55:22 UTC
=C2=A0 =C2=A0Image Type: = =C2=A0 MIPS Linux Kernel Image (gzip compressed)
=C2=A0 =C2=A0Data Size:= =C2=A0 =C2=A01724519 Bytes =3D =C2=A01.6 MB
=C2=A0 =C2=A0Load Address: = 80001100
=C2=A0 =C2=A0Entry Point: =C2=A080001100
=C2=A0 =C2=A0Verify= ing Checksum ... OK
=C2=A0 =C2=A0Uncompressing Kernel Image ... OK
Starting kernel ...

U-Boot args (from 0 args):
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 None
Environment:
entry: mips_init()
Cache info:
= =C2=A0 picache_stride =C2=A0 =C2=A0=3D 4096
=C2=A0 picache_loopcount =3D= 8
=C2=A0 pdcache_stride =C2=A0 =C2=A0=3D 4096
=C2=A0 pdcache_loopcou= nt =3D 4
cpu0: MIPS Technologies processor v76.150
=C2=A0 MMU: Standa= rd TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)
=C2=A0 L1 = i-cache: 4 ways of 256 sets, 32 bytes per line
=C2=A0 L1 d-cache: 4 ways= of 128 sets, 32 bytes per line
=C2=A0 L2 cache: disabled
=C2=A0 Conf= ig1=3D0xbea3319e<PerfCount,WatchRegs,MIPS16,EJTAG>
=C2=A0 Config2= =3D0x80000000
=C2=A0 Config3=3D0x420
Physical memory chunk(s):
0x4= 38000 - 0x1ffffff, 29130752 bytes (7112 pages)
Maxmem is 0x2000000
KD= B: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 199= 2-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, = 1989, 1991, 1992, 1993, 1994
=C2=A0 =C2=A0 =C2=A0 =C2=A0 The Regents of = the University of California. All rights reserved.
FreeBSD is a register= ed trademark of The FreeBSD Foundation.
FreeBSD 11.4-RELEASE #1: Sun Aug= 28 18:35:56 UTC 2022
=C2=A0 =C2=A0 root@:/usr/obj/mips.mipsel/usr/src/s= ys/RT305X mips
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded= elf kernel "kernel" at 0x804323d0.
real memory =C2=A0=3D 3355= 4432 (32768K bytes)
Physical memory chunk(s):
0x004c4000 - 0x01f46fff= , 27799552 bytes (6787 pages)
avail memory =3D 27365376 (26MB)
ULE: s= etup cpu 0
wlan: <802.11 Link Layer>
random: entropy device ext= ernal interface
mem: <memory>
null: <full device, null devic= e, zero device>
nfslock: pseudo-device
nexus0: <MIPS32 root nex= us>
random: harvesting attach, 8 bytes (4 bits) from nexus0
nvram2= env0: base=3D0x1f030000 sig=3D0xe5e60a74 maxsize=3D0x00002000 flags=3D0x000= 00003
nvram2env1: base=3D0x1f032000 sig=3D0x5a045e94 maxsize=3D0x0000400= 0 flags=3D0x00000003
clock0: <Generic MIPS32 ticker> on nexus0
= Timecounter "MIPS32" frequency 192000000 Hz quality 800
Event = timer "MIPS32" frequency 192000000 Hz quality 800
random: harv= esting attach, 8 bytes (4 bits) from clock0
obio0 at mem 0x10000000-0x1f= ffffff on nexus0
rt305x_sysctl0: <RT305X System Control driver> at= mem 0x10000000-0x100000ff irq 0 on obio0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Ch= ip ID: "RT3350 =C2=A0"
=C2=A0 =C2=A0 SYSCTL_SYSCFG=3D0x3400000=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 GE0 mode 3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 B= oot from 0x1f000000
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Boot from 0
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 Bootstrap test code 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 S= RAM_CS mode 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 8mA SDRAM_CLK driving
=C2= =A0 =C2=A0 SYSCTL_CLKCFG0=3D0x40000000
=C2=A0 =C2=A0 =C2=A0 =C2=A0 SDRAM= _CLK_SKEW 1ns
=C2=A0 =C2=A0 SYSCTL_CLKCFG1=3D0x04283c
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 USB OTG clock is enabled
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I2S c= lock is internal 15.625MHz
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I2S clock divider= 40
=C2=A0 =C2=A0 =C2=A0 =C2=A0 PCM clock is internal 15.625MHz
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 PCM clock divider 60
=C2=A0 =C2=A0 SYSCTL_GPIOM= ODE=3D0x00039c
random: harvesting attach, 8 bytes (4 bits) from rt305x_s= ysctl0
rt305x_ic0: <RT305X Interrupt Controller driver> at mem 0x1= 0000200-0x100002ff on obio0
random: harvesting attach, 8 bytes (4 bits) = from rt305x_ic0
uart0: <rt305x_uart> at mem 0x10000500-0x100005ff = irq 5 on obio0
uart0: fast interrupt
uart0: PPS capture mode: DCDinva= lid
random: harvesting attach, 8 bytes (4 bits) from uart0
gpio0: <= ;RT305X GPIO driver> at mem 0x10000600-0x100006ff irq 6 on obio0
gpio= 0: =C2=A0Use reset_gpio 10
gpiobus0: <GPIO bus> on gpio0
gpiobu= s0: <unknown device> at pin 0
gpiobus0: <unknown device> at = pin 7
gpioled0: <GPIO led> at pin 8 on gpiobus0
random: harvest= ing attach, 8 bytes (4 bits) from gpioled0
gpioled1: <GPIO led> at= pin 9 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpio= led1
gpiobus0: <unknown device> at pin 10
gpiobus0: <unknown= device> at pin 11
gpioled2: <GPIO led> at pin 14 on gpiobus0random: harvesting attach, 8 bytes (4 bits) from gpioled2
random: harv= esting attach, 8 bytes (4 bits) from gpiobus0
gpioc0: <GPIO controlle= r> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpioc0random: harvesting attach, 8 bytes (4 bits) from gpio0
uart1: <rt30= 5x_uart> at mem 0x10000c00-0x10000cff irq 12 on obio0
uart1: console = (115200,n,8,1)
uart1: fast interrupt
uart1: PPS capture mode: DCDinva= lid
random: harvesting attach, 8 bytes (4 bits) from uart1
random: ha= rvesting attach, 8 bytes (4 bits) from obio0
rt0: <Ralink RT3050 onCh= ip Ethernet driver> at mem 0x10100000-0x1010ffff irq 3 on nexus0
rt0:= RT305XF Ethernet MAC (rev 0x00000000)
rt0: use hardcoded 00:18:e7:d5:83= :90 macaddr
rt0: bpf attached
rt0: Ethernet address: 00:18:e7:d5:83:9= 0
random: harvesting attach, 8 bytes (4 bits) from rt0
Device configu= ration finished.
Timecounters tick every 10.000 msec
vlan: initialize= d, using hash tables with chaining
lo0: bpf attached
tcp_init: net.in= et.tcp.tcbhashsize auto tuned to 512
bootpc_init: wired to interface = 9;rt0'
Sending DHCP Discover packet from interface rt0 (00:18:e7:d5:= 83:90)
Received DHCP Offer packet on rt0 from 192.168.1.1 (accepted)
= Received DHCP Offer packet on rt0 from 192.168.1.1 (ignored)
Sending DHC= P Request packet from interface rt0 (00:18:e7:d5:83:90)
Received DHCP Ac= k packet on rt0 from 192.168.1.1 (accepted)
rt0 at 192.168.1.225 server = 192.168.1.1
subnet mask 255.255.255.0 router 192.168.1.1
Adjusted int= erface rt0
Trying to mount root from cd9660:/dev/map/rootfs.uzip []...mountroot: waiting for device /dev/map/rootfs.uzip...
Mounting from cd= 9660:/dev/map/rootfs.uzip failed with error 19.

Loader variables:
Manual root filesystem specification:
=C2=A0 <fstype>:<dev= ice> [options]
=C2=A0 =C2=A0 =C2=A0 Mount <device> using filesy= stem <fstype>
=C2=A0 =C2=A0 =C2=A0 and with the specified (optiona= l) option list.

=C2=A0 =C2=A0 eg. ufs:/dev/da0s1a
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 zfs:tank
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd9660:/dev/cd0 ro=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (which is equivalent to: mount -t cd966= 0 -o ro /dev/cd0 /)

=C2=A0 ? =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 List valid disk boot devices
=C2=A0 . =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 Yield 1 second (for background tasks)
=C2=A0= <empty line> =C2=A0 =C2=A0Abort manual input

mountroot>

Another challenge is this last part on mounting the = root filesystem? Any ideas? I'm almost there.

<= div>Thanks and best regards,
Archimedes
=C2=A0
=



On Fri, Aug 19, 2022 at 8:56 AM Archimedes Ga= viola <archimedes.gaviola@gmail.com> wrote:

On Fri, = Aug 19, 2022 at 8:33 AM Mori Hiroki <yamori813@yahoo.co.jp> wrote:
Hi.

0x80800000=C2=A0 is only u-boot image load offset. You will do bootm comman= d
on u-boot then start at 0x80001100 if you create this address by uboot_mkim= age .

Hiroki Mori

Hi Hiroki Mori,

Oh I see, got it, thanks for = the explanation!

Best regards,
Archimede= s
=C2=A0

----- Original Message -----

From: "Archimedes Gaviola" <archimedes.gaviola@gmail.com>
To: "fre= ebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Date: 2022/08/18 =E6=9C=A8 21:38
Subject: Ralink RT3050F


Hi,

I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-= RELEASE by following this reference here https://wiki.freebsd.o= rg/mips/RT3052F. However, I want to know how this value 0x80800000 is d= erived for the tftpboot? My generated image entry point value address is 80= 001100.

root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel= | grep 'Entry point address:'
=C2=A0Entry point address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x80001= 100

Thanks and best regards,
Archimedes

--00000000000008b9da05e757d71d-- From nobody Tue Aug 30 15:03:42 2022 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 4MH9Yt6HCbz4ZgNP for ; Tue, 30 Aug 2022 15:04:02 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (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 4MH9Yt0Lslz3vfl for ; Tue, 30 Aug 2022 15:04:02 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-11e7e0a63e2so16494043fac.4 for ; Tue, 30 Aug 2022 08:04:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=ii/IiR5u5n4q2D7dPa9ld4AgKNA1f91JWgKstpSzENA=; b=DAa9vAXB7A6O/iJyDQFaOh4Zf/qhPWKyfbu1JN+VsvUUFpYFlt8AVKv878Cimxktih plqhE9KT+qeAHTxc9aqDp1+PW1PnfDiuGe9tOGkpJYbz9Q6daLxf2hwksLKNP8aLHsei PEp0RDN9cAmupWjS3iI/cOakoTmyAIcVaGfuxIQHYg+FtdHvGPkys8Q05tiL75H8upRN +/mIkBXfPC5nc/KaObv+oGmgCBO4xM75YdH+pGiTaFEevhr1dDRtAAuovyaB85YJBSvL OjmvjE3XZ2leGR7BSEO3DlBD4XZd39wMOjf+/Dt+jbGaZA8l+1R2ZNG3poMCuq/UJnvl 6hVg== X-Gm-Message-State: ACgBeo3FUjcBtHudeiZF8b3xzw4bljuWAgEVa64uDwZmeQTWO5ECUG/1 oaCvaF9P5TD0rkSy9vpz17gEJlq3DD4F7k2Tf+wWkg== X-Google-Smtp-Source: AA6agR43gfex6OyLEuoWqBaed98y6DdnvJUfcDIltrw1eijtD2j86N3oAeiqgoCq7me7s50UZCtTpWoa1stTWuFH0K4= X-Received: by 2002:a05:6870:961f:b0:10b:ad08:8909 with SMTP id d31-20020a056870961f00b0010bad088909mr10031249oaq.269.1661871839466; Tue, 30 Aug 2022 08:03:59 -0700 (PDT) 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: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: From: Aleksandr Rybalko Date: Tue, 30 Aug 2022 18:03:42 +0300 Message-ID: Subject: Re: Ralink RT3050F To: Archimedes Gaviola Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000a76d5905e776b021" X-Rspamd-Queue-Id: 4MH9Yt0Lslz3vfl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 209.85.160.50 is neither permitted nor denied by domain of ray@ddteam.net) smtp.mailfrom=ray@ddteam.net X-Spamd-Result: default: False [-2.90 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[ray@dlink.ua,ray@ddteam.net]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.160.50:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; DMARC_NA(0.00)[dlink.ua]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.50:from]; FREEFALL_USER(0.00)[ray]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; R_SPF_SOFTFAIL(0.00)[~all]; TO_DN_SOME(0.00)[]; FREEMAIL_CC(0.00)[yahoo.co.jp,freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ray@dlink.ua,ray@ddteam.net]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000a76d5905e776b021 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Archimedes, for a good start you can setup bootp, since network working. Otherwise use geom_map to split flash into parts and put ulzma compressed rootfs into a filesystem partition. After deletion of MIPS support from the tree, interest in it grew :) Thanks. =D0=BF=D0=BD, 29 =D1=81=D0=B5=D1=80=D0=BF. 2022 =D1=80. =D0=BE 05:21 Archim= edes Gaviola < archimedes.gaviola@gmail.com> =D0=BF=D0=B8=D1=88=D0=B5: > On Sun, Aug 28, 2022 at 4:15 PM Archimedes Gaviola < > archimedes.gaviola@gmail.com> wrote: > >> Hi, >> >> After I successfully accessed the serial console, I proceeded to load th= e >> kernel image (this is an old D-link DIR-600 (B2) Wi-Fi device) and >> encountered this error -> >> >> Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recove= r. >> >> Any idea what have I missed? After this failure, it booted to the defaul= t >> image of the Linux system. Haven't flashed the image yet when this error >> occurred. >> >> TFTP from server 192.168.1.209; our IP address is 192.168.1.188 >> Filename 'dlink/kernel.bin.lzma.uboot'. >> >> TIMEOUT_COUNT=3D10,Load address: 0x80800000 >> Loading: Got ARP REQUEST, return our IP >> >> ArpTimeoutCheck >> Got ARP REPLY, set server/gtwy eth addr (b8:27:eb:64:8b:57) >> Got it >> ################################################################# >> ###############################################################= ## >> ###############################################################= ## >> ################################################ >> done >> Bytes transferred =3D 1243362 (12f8e2 hex) >> NetBootFileXferSize=3D 0012f8e2 >> >> RT3052 # bootm 0x80800000 >> ## Booting image at 80800000 ... >> Image Name: FreeBSD Kernel Image >> Created: 2022-08-18 5:51:56 UTC >> Image Type: MIPS Linux Kernel Image (lzma compressed) >> Data Size: 1243298 Bytes =3D 1.2 MB >> Load Address: 80001100 >> Entry Point: 80001100 >> Verifying Checksum ... OK >> Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to >> recover >> >> >> U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA) >> >> SVN revision: 482 >> Target board: WRG-N23 >> >> Board: Ralink APSoC DRAM: 32 MB >> config usb..*** Error: D+/D- is 1/1, config usb failed. >> ..*** Error: D+/D- is 1/1, config usb failed. >> >> ****************************** >> Software System Reset Occurred >> ****************************** >> >> Set info->start[0]=3DBF000000 >> =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 >> Ralink UBoot Version: 3.5.1.0 >> -------------------------------------------- >> ASIC 3052_MP2 (Port5<->None) >> DRAM component: 256 Mbits SDR >> DRAM bus: 16 bit >> Total memory: 32 MBytes >> Flash component: NOR Flash >> Date:Jan 12 2011 Time:21:35:28 >> =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 >> icache: sets:256, ways:4, linesz:32 ,total:32768 >> dcache: sets:128, ways:4, linesz:32 ,total:16384 >> ## Powering down port 0 ~ 3. >> >> Please choose the operation: >> 1: Load system code to SDRAM via TFTP. >> 2: Load system code then write to Flash via TFTP. >> 3: Boot system code via Flash (default). >> 4: Entr boot command line interface. >> 7: Load Boot Loader code then write to Flash via Serial. >> 9: Load Boot Loader code then write to Flash via TFTP. >> 0 >> >> 3: System Boot system code via Flash. >> ## Booting image at bf050000 ... >> addr:bf050000 >> We have SEAMA, Image Size =3D 3506208 >> Verifying Checksum ... >> Uncompressing SEAMA linux.lzma ... OK >> ## Transferring control to Linux (at address 81f46ec0) ... >> ## Giving linux memsize in MB, 32 >> >> Starting kernel ... >> >> LINUX started... >> >> THIS IS ASIC >> is_RT3052 =3D 0, is_RT3352 =3D 0 >> is_RT3350 =3D 1, is_RT5350 =3D 0 >> Linux version 2.6.33.2 (kwest@enzo) (gcc version 4.3.3 (GCC) ) #1 Fri >> Dec 10 17:24:50 CST 2010 >> ... >> >> Thanks and best regards, >> Archimedes >> > > Hi, > > Alright I made some progress, I used gzip compression instead of LZMA and > the kernel image is now booting. > > U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA) > > SVN revision: 482 > Target board: WRG-N23 > > Board: Ralink APSoC DRAM: 32 MB > config usb..*** Error: D+/D- is 1/1, config usb failed. > ..*** Error: D+/D- is 1/1, config usb failed. > > ****************************** > Software System Reset Occurred > ****************************** > > Set info->start[0]=3DBF000000 > =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 > Ralink UBoot Version: 3.5.1.0 > -------------------------------------------- > ASIC 3052_MP2 (Port5<->None) > DRAM component: 256 Mbits SDR > DRAM bus: 16 bit > Total memory: 32 MBytes > Flash component: NOR Flash > Date:Jan 12 2011 Time:21:35:28 > =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 > icache: sets:256, ways:4, linesz:32 ,total:32768 > dcache: sets:128, ways:4, linesz:32 ,total:16384 > ## Powering down port 0 ~ 3. > > Please choose the operation: > 1: Load system code to SDRAM via TFTP. > 2: Load system code then write to Flash via TFTP. > 3: Boot system code via Flash (default). > 4: Entr boot command line interface. > 7: Load Boot Loader code then write to Flash via Serial. > 9: Load Boot Loader code then write to Flash via TFTP. > 0 > > 3: System Boot system code via Flash. > ## Booting image at bf050000 ... > Image Name: FreeBSD Kernel Image > Created: 2022-08-29 1:55:22 UTC > Image Type: MIPS Linux Kernel Image (gzip compressed) > Data Size: 1724519 Bytes =3D 1.6 MB > Load Address: 80001100 > Entry Point: 80001100 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > > Starting kernel ... > > U-Boot args (from 0 args): > None > Environment: > entry: mips_init() > Cache info: > picache_stride =3D 4096 > picache_loopcount =3D 8 > pdcache_stride =3D 4096 > pdcache_loopcount =3D 4 > cpu0: MIPS Technologies processor v76.150 > MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes= ) > L1 i-cache: 4 ways of 256 sets, 32 bytes per line > L1 d-cache: 4 ways of 128 sets, 32 bytes per line > L2 cache: disabled > Config1=3D0xbea3319e > Config2=3D0x80000000 > Config3=3D0x420 > Physical memory chunk(s): > 0x438000 - 0x1ffffff, 29130752 bytes (7112 pages) > Maxmem is 0x2000000 > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2020 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.4-RELEASE #1: Sun Aug 28 18:35:56 UTC 2022 > root@:/usr/obj/mips.mipsel/usr/src/sys/RT305X mips > gcc version 4.2.1 20070831 patched [FreeBSD] > Preloaded elf kernel "kernel" at 0x804323d0. > real memory =3D 33554432 (32768K bytes) > Physical memory chunk(s): > 0x004c4000 - 0x01f46fff, 27799552 bytes (6787 pages) > avail memory =3D 27365376 (26MB) > ULE: setup cpu 0 > wlan: <802.11 Link Layer> > random: entropy device external interface > mem: > null: > nfslock: pseudo-device > nexus0: > random: harvesting attach, 8 bytes (4 bits) from nexus0 > nvram2env0: base=3D0x1f030000 sig=3D0xe5e60a74 maxsize=3D0x00002000 > flags=3D0x00000003 > nvram2env1: base=3D0x1f032000 sig=3D0x5a045e94 maxsize=3D0x00004000 > flags=3D0x00000003 > clock0: on nexus0 > Timecounter "MIPS32" frequency 192000000 Hz quality 800 > Event timer "MIPS32" frequency 192000000 Hz quality 800 > random: harvesting attach, 8 bytes (4 bits) from clock0 > obio0 at mem 0x10000000-0x1fffffff on nexus0 > rt305x_sysctl0: at mem > 0x10000000-0x100000ff irq 0 on obio0 > Chip ID: "RT3350 " > SYSCTL_SYSCFG=3D0x3400000 > GE0 mode 3 > Boot from 0x1f000000 > Boot from 0 > Bootstrap test code 0 > SRAM_CS mode 0 > 8mA SDRAM_CLK driving > SYSCTL_CLKCFG0=3D0x40000000 > SDRAM_CLK_SKEW 1ns > SYSCTL_CLKCFG1=3D0x04283c > USB OTG clock is enabled > I2S clock is internal 15.625MHz > I2S clock divider 40 > PCM clock is internal 15.625MHz > PCM clock divider 60 > SYSCTL_GPIOMODE=3D0x00039c > random: harvesting attach, 8 bytes (4 bits) from rt305x_sysctl0 > rt305x_ic0: at mem > 0x10000200-0x100002ff on obio0 > random: harvesting attach, 8 bytes (4 bits) from rt305x_ic0 > uart0: at mem 0x10000500-0x100005ff irq 5 on obio0 > uart0: fast interrupt > uart0: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart0 > gpio0: at mem 0x10000600-0x100006ff irq 6 on obio0 > gpio0: Use reset_gpio 10 > gpiobus0: on gpio0 > gpiobus0: at pin 0 > gpiobus0: at pin 7 > gpioled0: at pin 8 on gpiobus0 > random: harvesting attach, 8 bytes (4 bits) from gpioled0 > gpioled1: at pin 9 on gpiobus0 > random: harvesting attach, 8 bytes (4 bits) from gpioled1 > gpiobus0: at pin 10 > gpiobus0: at pin 11 > gpioled2: at pin 14 on gpiobus0 > random: harvesting attach, 8 bytes (4 bits) from gpioled2 > random: harvesting attach, 8 bytes (4 bits) from gpiobus0 > gpioc0: on gpio0 > random: harvesting attach, 8 bytes (4 bits) from gpioc0 > random: harvesting attach, 8 bytes (4 bits) from gpio0 > uart1: at mem 0x10000c00-0x10000cff irq 12 on obio0 > uart1: console (115200,n,8,1) > uart1: fast interrupt > uart1: PPS capture mode: DCDinvalid > random: harvesting attach, 8 bytes (4 bits) from uart1 > random: harvesting attach, 8 bytes (4 bits) from obio0 > rt0: at mem 0x10100000-0x1010ffff > irq 3 on nexus0 > rt0: RT305XF Ethernet MAC (rev 0x00000000) > rt0: use hardcoded 00:18:e7:d5:83:90 macaddr > rt0: bpf attached > rt0: Ethernet address: 00:18:e7:d5:83:90 > random: harvesting attach, 8 bytes (4 bits) from rt0 > Device configuration finished. > Timecounters tick every 10.000 msec > vlan: initialized, using hash tables with chaining > lo0: bpf attached > tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512 > bootpc_init: wired to interface 'rt0' > Sending DHCP Discover packet from interface rt0 (00:18:e7:d5:83:90) > Received DHCP Offer packet on rt0 from 192.168.1.1 (accepted) > Received DHCP Offer packet on rt0 from 192.168.1.1 (ignored) > Sending DHCP Request packet from interface rt0 (00:18:e7:d5:83:90) > Received DHCP Ack packet on rt0 from 192.168.1.1 (accepted) > rt0 at 192.168.1.225 server 192.168.1.1 > subnet mask 255.255.255.0 router 192.168.1.1 > Adjusted interface rt0 > Trying to mount root from cd9660:/dev/map/rootfs.uzip []... > mountroot: waiting for device /dev/map/rootfs.uzip... > Mounting from cd9660:/dev/map/rootfs.uzip failed with error 19. > > Loader variables: > > Manual root filesystem specification: > : [options] > Mount using filesystem > and with the specified (optional) option list. > > eg. ufs:/dev/da0s1a > zfs:tank > cd9660:/dev/cd0 ro > (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) > > ? List valid disk boot devices > . Yield 1 second (for background tasks) > Abort manual input > > mountroot> > > Another challenge is this last part on mounting the root filesystem? Any > ideas? I'm almost there. > > Thanks and best regards, > Archimedes > > >> >> >> >> On Fri, Aug 19, 2022 at 8:56 AM Archimedes Gaviola < >> archimedes.gaviola@gmail.com> wrote: >> >>> >>> >>> On Fri, Aug 19, 2022 at 8:33 AM Mori Hiroki >>> wrote: >>> >>>> Hi. >>>> >>>> 0x80800000 is only u-boot image load offset. You will do bootm comman= d >>>> on u-boot then start at 0x80001100 if you create this address by >>>> uboot_mkimage . >>>> >>>> Hiroki Mori >>>> >>> >>> Hi Hiroki Mori, >>> >>> Oh I see, got it, thanks for the explanation! >>> >>> Best regards, >>> Archimedes >>> >>> >>>> >>>> ----- Original Message ----- >>>> >>>> From: "Archimedes Gaviola" >>>> To: "freebsd-mips@freebsd.org" >>>> Date: 2022/08/18 =E6=9C=A8 21:38 >>>> Subject: Ralink RT3050F >>>> >>>> >>>> Hi, >>>> >>>> I have successfully compiled an RT3050F SoC kernel image with FreeBSD >>>> 11.4-RELEASE by following this reference here >>>> https://wiki.freebsd.org/mips/RT3052F. However, I want to know how >>>> this value 0x80800000 is derived for the tftpboot? My generated image = entry >>>> point value address is 80001100. >>>> >>>> root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h >>>> kernel | grep 'Entry point address:' >>>> Entry point address: 0x80001100 >>>> >>>> Thanks and best regards, >>>> Archimedes >>>> >>>> --=20 WBW ------- Rybalko Aleksandr aka Alex RAY D-Link.ua --000000000000a76d5905e776b021 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Archim= edes,
<= span>
for a good start you can setup bootp, since network working.
Otherw= ise use geom_map to split flash into parts and put ulzma compressed rootfs = into a filesystem partition.

After deletion of MIPS support from th= e tree, interest in it grew :)

Thanks.

=D0=BF=D0=BD, 29 =D1=81=D0=B5=D1=80=D0=BF. 2022 =D1=80. =D0=BE 05:21 Archi= medes Gaviola <archimede= s.gaviola@gmail.com> =D0=BF=D0=B8=D1=88=D0=B5:
On Sun, Aug 28, 2022 at 4:15 P= M Archimedes Gaviola <archimedes.gaviola@gmail.com> wrote:
Hi,
=

After I successfully accessed the serial console, I pro= ceeded to load the kernel image (this is an old D-link DIR-600 (B2) Wi-Fi d= evice) and encountered this error ->

Uncom= pressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover.
=

Any idea what have I missed? After this failure, it boo= ted to the default image of the Linux system. Haven't flashed the image= yet when this error occurred.

TFTP from server 192.168.1.209; our IP address is= 192.168.1.188
Filename 'dlink/kernel.bin.lzma.uboot'.

= =C2=A0TIMEOUT_COUNT=3D10,Load address: 0x80800000
Loading: Got ARP REQUE= ST, return our IP

ArpTimeoutCheck
Got ARP REPLY, set server/gtwy = eth addr (b8:27:eb:64:8b:57)
Got it
#################################= ################################
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#####= ############################################################
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0###################################################= ##############
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#######################= #########################
done
Bytes transferred =3D 1243362 (12f8e2 = hex)
NetBootFileXferSize=3D 0012f8e2

RT3052 # bootm 0x80800000## Booting image at 80800000 ...
=C2=A0 =C2=A0Image Name: =C2=A0 FreeBS= D Kernel Image
=C2=A0 =C2=A0Created: =C2=A0 =C2=A0 =C2=A02022-08-18 =C2= =A0 5:51:56 UTC
=C2=A0 =C2=A0Image Type: =C2=A0 MIPS Linux Kernel Image = (lzma compressed)
=C2=A0 =C2=A0Data Size: =C2=A0 =C2=A01243298 Bytes =3D= =C2=A01.2 MB
=C2=A0 =C2=A0Load Address: 80001100
=C2=A0 =C2=A0Entry = Point: =C2=A080001100
=C2=A0 =C2=A0Verifying Checksum ... OK
=C2=A0 = =C2=A0Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to rec= over


U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA)

SVN re= vision: 482
Target board: WRG-N23

Board: Ralink APSoC DRAM: =C2= =A032 MB
config usb..*** Error: D+/D- is 1/1, config usb failed.
..**= * Error: D+/D- is 1/1, config usb failed.

**************************= ****
Software System Reset Occurred
******************************
=C2=A0Set info->start[0]=3DBF000000
=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
Ralink UBoot Version: 3.5.1.0
--------= ------------------------------------
ASIC 3052_MP2 (Port5<->None)<= br>DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MB= ytes
Flash component: NOR Flash
Date:Jan 12 2011 =C2=A0Time:21:35:28<= br>=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
icache: set= s:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:3= 2 ,total:16384
## Powering down port 0 ~ 3.

Please choose the ope= ration:
=C2=A0 =C2=A01: Load system code to SDRAM via TFTP.
=C2=A0 = =C2=A02: Load system code then write to Flash via TFTP.
=C2=A0 =C2=A03: = Boot system code via Flash (default).
=C2=A0 =C2=A04: Entr boot command = line interface.
=C2=A0 =C2=A07: Load Boot Loader code then write to Flas= h via Serial.
=C2=A0 =C2=A09: Load Boot Loader code then write to Flash = via TFTP. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00

3: System B= oot system code via Flash.
## Booting image at bf050000 ...
addr:bf05= 0000
We have SEAMA, Image Size =3D 3506208
Verifying Checksum ...
= Uncompressing SEAMA linux.lzma ... OK
## Transferring control to Linux (= at address 81f46ec0) ...
## Giving linux memsize in MB, 32

Starti= ng kernel ...

LINUX started...

=C2=A0THIS IS ASIC
is_RT305= 2 =3D 0, is_RT3352 =3D 0
is_RT3350 =3D 1, is_RT5350 =3D 0
Linux versi= on 2.6.33.2 (kwest@enzo) (gcc version 4.3.3 (GCC) ) #1 Fri Dec 10 17:24:50 = CST 2010
...

Thanks and best regards= ,
Archimedes

Hi,

Alright I made some progress, I used gzip= compression instead of LZMA and the kernel image is now booting.

U-Boot 1.1.3 (Jan 12 2011 - 21:35:28) (ALPHA)

SVN re= vision: 482
Target board: WRG-N23

Board: Ralink APSoC DRAM: =C2= =A032 MB
config usb..*** Error: D+/D- is 1/1, config usb failed.
..**= * Error: D+/D- is 1/1, config usb failed.

**************************= ****
Software System Reset Occurred
******************************
=C2=A0Set info->start[0]=3DBF000000
=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
Ralink UBoot Version: 3.5.1.0
--------= ------------------------------------
ASIC 3052_MP2 (Port5<->None)<= br>DRAM component: 256 Mbits SDR
DRAM bus: 16 bit
Total memory: 32 MB= ytes
Flash component: NOR Flash
Date:Jan 12 2011 =C2=A0Time:21:35:28<= br>=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
icache: set= s:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:3= 2 ,total:16384
## Powering down port 0 ~ 3.

Please choose the ope= ration:
=C2=A0 =C2=A01: Load system code to SDRAM via TFTP.
=C2=A0 = =C2=A02: Load system code then write to Flash via TFTP.
=C2=A0 =C2=A03: = Boot system code via Flash (default).
=C2=A0 =C2=A04: Entr boot command = line interface.
=C2=A0 =C2=A07: Load Boot Loader code then write to Flas= h via Serial.
=C2=A0 =C2=A09: Load Boot Loader code then write to Flash = via TFTP. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00

3: System B= oot system code via Flash.
## Booting image at bf050000 ...
=C2=A0 = =C2=A0Image Name: =C2=A0 FreeBSD Kernel Image
=C2=A0 =C2=A0Created: =C2= =A0 =C2=A0 =C2=A02022-08-29 =C2=A0 1:55:22 UTC
=C2=A0 =C2=A0Image Type: = =C2=A0 MIPS Linux Kernel Image (gzip compressed)
=C2=A0 =C2=A0Data Size:= =C2=A0 =C2=A01724519 Bytes =3D =C2=A01.6 MB
=C2=A0 =C2=A0Load Address: = 80001100
=C2=A0 =C2=A0Entry Point: =C2=A080001100
=C2=A0 =C2=A0Verify= ing Checksum ... OK
=C2=A0 =C2=A0Uncompressing Kernel Image ... OK
Starting kernel ...

U-Boot args (from 0 args):
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 None
Environment:
entry: mips_init()
Cache info:
= =C2=A0 picache_stride =C2=A0 =C2=A0=3D 4096
=C2=A0 picache_loopcount =3D= 8
=C2=A0 pdcache_stride =C2=A0 =C2=A0=3D 4096
=C2=A0 pdcache_loopcou= nt =3D 4
cpu0: MIPS Technologies processor v76.150
=C2=A0 MMU: Standa= rd TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)
=C2=A0 L1 = i-cache: 4 ways of 256 sets, 32 bytes per line
=C2=A0 L1 d-cache: 4 ways= of 128 sets, 32 bytes per line
=C2=A0 L2 cache: disabled
=C2=A0 Conf= ig1=3D0xbea3319e<PerfCount,WatchRegs,MIPS16,EJTAG>
=C2=A0 Config2= =3D0x80000000
=C2=A0 Config3=3D0x420
Physical memory chunk(s):
0x4= 38000 - 0x1ffffff, 29130752 bytes (7112 pages)
Maxmem is 0x2000000
KD= B: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 199= 2-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, = 1989, 1991, 1992, 1993, 1994
=C2=A0 =C2=A0 =C2=A0 =C2=A0 The Regents of = the University of California. All rights reserved.
FreeBSD is a register= ed trademark of The FreeBSD Foundation.
FreeBSD 11.4-RELEASE #1: Sun Aug= 28 18:35:56 UTC 2022
=C2=A0 =C2=A0 root@:/usr/obj/mips.mipsel/usr/src/s= ys/RT305X mips
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded= elf kernel "kernel" at 0x804323d0.
real memory =C2=A0=3D 3355= 4432 (32768K bytes)
Physical memory chunk(s):
0x004c4000 - 0x01f46fff= , 27799552 bytes (6787 pages)
avail memory =3D 27365376 (26MB)
ULE: s= etup cpu 0
wlan: <802.11 Link Layer>
random: entropy device ext= ernal interface
mem: <memory>
null: <full device, null devic= e, zero device>
nfslock: pseudo-device
nexus0: <MIPS32 root nex= us>
random: harvesting attach, 8 bytes (4 bits) from nexus0
nvram2= env0: base=3D0x1f030000 sig=3D0xe5e60a74 maxsize=3D0x00002000 flags=3D0x000= 00003
nvram2env1: base=3D0x1f032000 sig=3D0x5a045e94 maxsize=3D0x0000400= 0 flags=3D0x00000003
clock0: <Generic MIPS32 ticker> on nexus0
= Timecounter "MIPS32" frequency 192000000 Hz quality 800
Event = timer "MIPS32" frequency 192000000 Hz quality 800
random: harv= esting attach, 8 bytes (4 bits) from clock0
obio0 at mem 0x10000000-0x1f= ffffff on nexus0
rt305x_sysctl0: <RT305X System Control driver> at= mem 0x10000000-0x100000ff irq 0 on obio0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Ch= ip ID: "RT3350 =C2=A0"
=C2=A0 =C2=A0 SYSCTL_SYSCFG=3D0x3400000=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 GE0 mode 3
=C2=A0 =C2=A0 =C2=A0 =C2=A0 B= oot from 0x1f000000
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Boot from 0
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 Bootstrap test code 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 S= RAM_CS mode 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 8mA SDRAM_CLK driving
=C2= =A0 =C2=A0 SYSCTL_CLKCFG0=3D0x40000000
=C2=A0 =C2=A0 =C2=A0 =C2=A0 SDRAM= _CLK_SKEW 1ns
=C2=A0 =C2=A0 SYSCTL_CLKCFG1=3D0x04283c
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 USB OTG clock is enabled
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I2S c= lock is internal 15.625MHz
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I2S clock divider= 40
=C2=A0 =C2=A0 =C2=A0 =C2=A0 PCM clock is internal 15.625MHz
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 PCM clock divider 60
=C2=A0 =C2=A0 SYSCTL_GPIOM= ODE=3D0x00039c
random: harvesting attach, 8 bytes (4 bits) from rt305x_s= ysctl0
rt305x_ic0: <RT305X Interrupt Controller driver> at mem 0x1= 0000200-0x100002ff on obio0
random: harvesting attach, 8 bytes (4 bits) = from rt305x_ic0
uart0: <rt305x_uart> at mem 0x10000500-0x100005ff = irq 5 on obio0
uart0: fast interrupt
uart0: PPS capture mode: DCDinva= lid
random: harvesting attach, 8 bytes (4 bits) from uart0
gpio0: <= ;RT305X GPIO driver> at mem 0x10000600-0x100006ff irq 6 on obio0
gpio= 0: =C2=A0Use reset_gpio 10
gpiobus0: <GPIO bus> on gpio0
gpiobu= s0: <unknown device> at pin 0
gpiobus0: <unknown device> at = pin 7
gpioled0: <GPIO led> at pin 8 on gpiobus0
random: harvest= ing attach, 8 bytes (4 bits) from gpioled0
gpioled1: <GPIO led> at= pin 9 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpio= led1
gpiobus0: <unknown device> at pin 10
gpiobus0: <unknown= device> at pin 11
gpioled2: <GPIO led> at pin 14 on gpiobus0random: harvesting attach, 8 bytes (4 bits) from gpioled2
random: harv= esting attach, 8 bytes (4 bits) from gpiobus0
gpioc0: <GPIO controlle= r> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpioc0random: harvesting attach, 8 bytes (4 bits) from gpio0
uart1: <rt30= 5x_uart> at mem 0x10000c00-0x10000cff irq 12 on obio0
uart1: console = (115200,n,8,1)
uart1: fast interrupt
uart1: PPS capture mode: DCDinva= lid
random: harvesting attach, 8 bytes (4 bits) from uart1
random: ha= rvesting attach, 8 bytes (4 bits) from obio0
rt0: <Ralink RT3050 onCh= ip Ethernet driver> at mem 0x10100000-0x1010ffff irq 3 on nexus0
rt0:= RT305XF Ethernet MAC (rev 0x00000000)
rt0: use hardcoded 00:18:e7:d5:83= :90 macaddr
rt0: bpf attached
rt0: Ethernet address: 00:18:e7:d5:83:9= 0
random: harvesting attach, 8 bytes (4 bits) from rt0
Device configu= ration finished.
Timecounters tick every 10.000 msec
vlan: initialize= d, using hash tables with chaining
lo0: bpf attached
tcp_init: net.in= et.tcp.tcbhashsize auto tuned to 512
bootpc_init: wired to interface = 9;rt0'
Sending DHCP Discover packet from interface rt0 (00:18:e7:d5:= 83:90)
Received DHCP Offer packet on rt0 from 192.168.1.1 (accepted)
= Received DHCP Offer packet on rt0 from 192.168.1.1 (ignored)
Sending DHC= P Request packet from interface rt0 (00:18:e7:d5:83:90)
Received DHCP Ac= k packet on rt0 from 192.168.1.1 (accepted)
rt0 at 192.168.1.225 server = 192.168.1.1
subnet mask 255.255.255.0 router 192.168.1.1
Adjusted int= erface rt0
Trying to mount root from cd9660:/dev/map/rootfs.uzip []...mountroot: waiting for device /dev/map/rootfs.uzip...
Mounting from cd= 9660:/dev/map/rootfs.uzip failed with error 19.

Loader variables:
Manual root filesystem specification:
=C2=A0 <fstype>:<dev= ice> [options]
=C2=A0 =C2=A0 =C2=A0 Mount <device> using filesy= stem <fstype>
=C2=A0 =C2=A0 =C2=A0 and with the specified (optiona= l) option list.

=C2=A0 =C2=A0 eg. ufs:/dev/da0s1a
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 zfs:tank
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd9660:/dev/cd0 ro=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (which is equivalent to: mount -t cd966= 0 -o ro /dev/cd0 /)

=C2=A0 ? =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 List valid disk boot devices
=C2=A0 . =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 Yield 1 second (for background tasks)
=C2=A0= <empty line> =C2=A0 =C2=A0Abort manual input

mountroot>

Another challenge is this last part on mounting the = root filesystem? Any ideas? I'm almost there.

<= div>Thanks and best regards,
Archimedes
=C2=A0
=



On Fri, Aug 19, 2022 at 8:56 AM Archimedes Ga= viola <archimedes.gaviola@gmail.com> wrote:

On Fri, = Aug 19, 2022 at 8:33 AM Mori Hiroki <yamori813@yahoo.co.jp> wrote:
Hi.

0x80800000=C2=A0 is only u-boot image load offset. You will do bootm comman= d
on u-boot then start at 0x80001100 if you create this address by uboot_mkim= age .

Hiroki Mori

Hi Hiroki Mori,

Oh I see, got it, thanks for = the explanation!

Best regards,
Archimede= s
=C2=A0

----- Original Message -----

From: "Archimedes Gaviola" <archimedes.gaviola@gmail.com>
To: "fre= ebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Date: 2022/08/18 =E6=9C=A8 21:38
Subject: Ralink RT3050F


Hi,

I have successfully compiled an RT3050F SoC kernel image with FreeBSD 11.4-= RELEASE by following this reference here https://wiki.freebsd.o= rg/mips/RT3052F. However, I want to know how this value 0x80800000 is d= erived for the tftpboot? My generated image entry point value address is 80= 001100.

root@freebsd114:/usr/obj/mips.mipsel/usr/src/sys/RT305X # readelf -h kernel= | grep 'Entry point address:'
=C2=A0Entry point address:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00x80001= 100

Thanks and best regards,
Archimedes



--
WBW
-------
Rybalko Aleksandr <ray@dlink.ua>
aka Alex RAY <ray@ddteam.net>
= D-Link.ua
--000000000000a76d5905e776b021-- From nobody Wed Aug 31 15:07:59 2022 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 4MHncD2ffMz4bdKv for ; Wed, 31 Aug 2022 15:08:12 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) (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 4MHncC5LbJz3sGj for ; Wed, 31 Aug 2022 15:08:11 +0000 (UTC) (envelope-from archimedes.gaviola@gmail.com) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-3378303138bso309943427b3.9 for ; Wed, 31 Aug 2022 08:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=GzpSRPAHIRr0EuF3bfl/IawkuhfOYsG3W6js43sYOzo=; b=HsCqNjNgiofR6EKZ9Lso+DWlcZKLCuKJDtTf15ulRmrw5wipEdD0o0Letz+OI9Z/hj 0m7gJY1HHsTUveO7Uuzmysf+hrJN6XF0ui8gSw+ue09XQ1LXBiYNqXx50cqvRyB/ap6v j9dzFBZfxjUwZY+MPqv9pJsb4qQNuGO6Hxn+ysNK2OlEUtZVtWHEJ6+QdxAj5BluokCp ThNVOUEcKTBgfk4yNt0FeTy1V9Ge7h55V+cikaY6q4kEI3eaMhKAb9/Qja1qiFyhIyl5 xp+RIvOaxv5Gmd3QGiL8wgOs4Hi2Ql4nZZqL9lWSxJLJWlGI0vRqUw1uzPO77fu2lyO5 ROiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=GzpSRPAHIRr0EuF3bfl/IawkuhfOYsG3W6js43sYOzo=; b=eSCdu5KWrGF/TbkXzOXpF9obGB5aN6gp9WkZbAPlq2NIMKQ1itDSyBsj29SHxo5nv1 Sbx5eepJUEtbEzhWMry1ZGcW6/NFzOkCDpwW16Hj3NotTp6tG0UvxFINvy6GF/IsYn/8 kz+U19lFcDYELJft5JAvC6woqcFRwpZhRWL6kp39Z98qwYw+eOWp/uJCphNUTywrjEC3 Zbaz7RyNkpr5CODC3lXMV6VYAMlVkTAiQJOeeh1OKVG4UMFoiP7f+qdveMg9Dh2E9zDI s1LTQ2DGPCVnWQiyCH5atB6fBpwkIzolFupMy92tY1XhjsuZ4Z+Ar0PDucLXChd7f0Ip r2aQ== X-Gm-Message-State: ACgBeo1FTSEru8ojARAHVWepEy7JTO5bZ0nVuhtXnr1xcG1u4dQHeCT7 7RWJ4irg7siRcLz8s8kk8XivvGtkp75ft3QnP+c6j3ewRnZKJg== X-Google-Smtp-Source: AA6agR7A1xvTcVB+wJ21X/E2ruRp9X4B8u0Qe5Ptdcbvw+hdgomkdK/Uo4eTWULGPHZyzxYTVWnmkKLnnjnOh9D8GV4= X-Received: by 2002:a81:e449:0:b0:340:dd7f:8e1f with SMTP id t9-20020a81e449000000b00340dd7f8e1fmr15071107ywl.387.1661958490683; Wed, 31 Aug 2022 08:08:10 -0700 (PDT) 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: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: From: Archimedes Gaviola Date: Wed, 31 Aug 2022 23:07:59 +0800 Message-ID: Subject: Re: Ralink RT3050F To: Aleksandr Rybalko Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000077ff8905e78addb7" X-Rspamd-Queue-Id: 4MHncC5LbJz3sGj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=HsCqNjNg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of archimedes.gaviola@gmail.com designates 2607:f8b0:4864:20::1136 as permitted sender) smtp.mailfrom=archimedes.gaviola@gmail.com X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.995]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1136:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_CC(0.00)[yahoo.co.jp,freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000077ff8905e78addb7 Content-Type: text/plain; charset="UTF-8" Hi Aleksandr, On Tue, Aug 30, 2022 at 11:04 PM Aleksandr Rybalko wrote: > Hey Archimedes, > > for a good start you can setup bootp, since network working. > Otherwise use geom_map to split flash into parts and put ulzma compressed > rootfs into a filesystem partition. > Thanks for your inputs, this is well noted, I'll try this out as well. I stumbled an article here https://www.bidouilliste.com/blog/2015/07/22/FreeBSD-on-Olimex-RT5350F-OLinuXino/ though his using RT5350F chipset but the outcome is very similar to my DIR-600 RT3050F. The next step he did is also the step that I am figuring-out at the moment on creating an mfsroot. It is also described in the manual https://www.freebsd.org/cgi/man.cgi?query=md&sektion=4&apropos=0&manpath=FreeBSD+13.1-RELEASE+and+Ports. At least I have two options to explore. After deletion of MIPS support from the tree, interest in it grew :) > Ah okay, so that explains why I could no longer find mips directory source in the 14-CURRENT. Too bad I'm already at a dead-end :) but it's alright, maybe there were deeper reasons behind such decision. In my case, I'm reviving an old DIR-600 which I bought 11 years ago. I attempted exploring flashing different firmware at that time but fell short with support of this chipset because at the time, if I remember correctly, only Atheros-based chipsets were popular and common with firmware support. So, I decided to keep it until 2 weeks ago I found and remembered this device again as someone is cleaning my room and placing it into another location. I opened it again to check what the chipset was, as I really forgot it. I also plugged the power cable and found out that it is still operational. I searched the internet and found some documentation and most especially the link howto from FreeBSD on compiling a kernel, so I decided to try again. So, that's the reason why I'm here :) As I searched further online there were still modules available for sale that are using Ralink and Atheros chipsets. Maybe this is the reason why interest is still growing. Thanks and best regards, Archimedes --00000000000077ff8905e78addb7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Aleksandr,

On Tue, Aug 30, 2022 at 11:04 PM Aleksan= dr Rybalko <ray@dlink.ua> wrote:<= br>
Hey A= rchimedes,

for a good start yo= u can setup bootp, since network working.
Otherwise use= geom_map to split flash into parts and put ulzma compressed rootfs into a = filesystem partition.
Thanks for your inputs, this is well noted, I'll try this o= ut as well. I stumbled an article here https://www.bidou= illiste.com/blog/2015/07/22/FreeBSD-on-Olimex-RT5350F-OLinuXino/ though= his using RT5350F chipset but the outcome is very similar to my DIR-600 RT= 3050F. The next step he did is also the step that I am figuring-out at the = moment on creating an mfsroot. It is also described in the manual https://www.freebsd.o= rg/cgi/man.cgi?query=3Dmd&sektion=3D4&apropos=3D0&manpath=3DFre= eBSD+13.1-RELEASE+and+Ports. At least I have two options to explore.
After deletion of MIPS support from the tree, interest in it= grew :)

Ah okay, so that explains why I could no longer find mips director= y source in the 14-CURRENT. Too bad I'm already at a dead-end :) but it= 's alright, maybe there were deeper reasons behind such decision. In my= case, I'm reviving an old DIR-600 which I bought 11 years ago. I attem= pted exploring flashing different firmware at that time but fell short with= support of this chipset because at the time, if I remember correctly, only= Atheros-based chipsets were popular and common with firmware support. So, = I decided to keep it until 2 weeks ago I found and remembered this device a= gain as someone is cleaning my room and placing it into another location. I= opened it again to check what the chipset was, as I really forgot it. I al= so plugged the power cable and found out that it is still operational. I se= arched the internet and found some documentation and most especially the li= nk howto from FreeBSD on compiling a kernel, so I decided to try again. So,= that's the reason why I'm here :) As I searched further online the= re were still modules available for sale that are using Ralink and Atheros = chipsets. Maybe this is the reason why interest is still growing.

Thanks and best regards,
Archimedes


=
--00000000000077ff8905e78addb7-- From nobody Fri Sep 2 22:38:02 2022 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 4MKCVj5yLdz4bWjv for ; Fri, 2 Sep 2022 22:38:21 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) (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 4MKCVh1hF1z4600 for ; Fri, 2 Sep 2022 22:38:20 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by mail-ot1-f54.google.com with SMTP id t11-20020a05683014cb00b0063734a2a786so2383489otq.11 for ; Fri, 02 Sep 2022 15:38:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=JUIlQ0Tymb1NdKO8A+0jN8Cr+/9oAIedBetxw5+08gE=; b=4oSltAkKGlVfZAoOtYUjonH/U6riK0UEgkxA0gmlgYaX221MToHjKeCkHDdr1pYcSJ lmDdCCnaHAwONUMIIMhoBC0JU0gQM6CiN5GiIcvktpt22vzVWLK13vo266AgzG4N7MWI V7p3G1oifxafEr/NkFLs2aBDvrMY1PhxVdYKG/pwlzMHQTDy4ZM7hhqnZxTj3oNiMkPY hRXrI17Hlte7bVnLHA60EHP7vVyPqrL7kJG2mUY3LEjAPVa0q43c+GHSbvSL4G/vxTNW JqRLap+rp7LG9u7/6G6GcqUmk4Ho6bVLQFE0qtlzSoUKgyTxDTIJOlrcxWGz85gXRZbz HMtw== X-Gm-Message-State: ACgBeo00n0DWGd+uLmOESUuO9qW/I0zwCubsYsclQn8ddCPeAvpZCLvq bo5+nsbad5k5llb/umAoZhXY/JfVfTCrUmHWQBIvFA== X-Google-Smtp-Source: AA6agR6w63tmS5ENsaeEeGiE6n9prVHbFvLe/CAJ/9lEfaSxTYlRI9iMTIM/3gqMg3YK86pEqsaEo4GRRZWgXZa4/1Q= X-Received: by 2002:a9d:6e9a:0:b0:638:96f2:634a with SMTP id a26-20020a9d6e9a000000b0063896f2634amr15526824otr.205.1662158299044; Fri, 02 Sep 2022 15:38:19 -0700 (PDT) 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: <1424252983.14315.1660869185156.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: From: Aleksandr Rybalko Date: Sat, 3 Sep 2022 01:38:02 +0300 Message-ID: Subject: Re: Ralink RT3050F To: Archimedes Gaviola Cc: Mori Hiroki , "freebsd-mips@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000f9b4d805e7b96262" X-Rspamd-Queue-Id: 4MKCVh1hF1z4600 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 209.85.210.54 is neither permitted nor denied by domain of ray@ddteam.net) smtp.mailfrom=ray@ddteam.net X-Spamd-Result: default: False [-2.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[ray@dlink.ua,ray@ddteam.net]; RWL_MAILSPIKE_GOOD(-0.10)[209.85.210.54:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-mips@freebsd.org]; DMARC_NA(0.00)[dlink.ua]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[209.85.210.54:from]; FREEFALL_USER(0.00)[ray]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; R_SPF_SOFTFAIL(0.00)[~all]; TO_DN_SOME(0.00)[]; FREEMAIL_CC(0.00)[yahoo.co.jp,freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ray@dlink.ua,ray@ddteam.net]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --000000000000f9b4d805e7b96262 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Archimedes, I love MIPS, like many of us love some childhood toys :) But I think we should not waste our free time on something not popular. Otherwise our love FreeBSD will become a childhood toy. Thanks! =D1=81=D1=80, 31 =D1=81=D0=B5=D1=80=D0=BF. 2022 =D1=80. =D0=BE 18:08 Archim= edes Gaviola < archimedes.gaviola@gmail.com> =D0=BF=D0=B8=D1=88=D0=B5: > Hi Aleksandr, > > On Tue, Aug 30, 2022 at 11:04 PM Aleksandr Rybalko wrote: > >> Hey Archimedes, >> >> for a good start you can setup bootp, since network working. >> Otherwise use geom_map to split flash into parts and put ulzma compresse= d >> rootfs into a filesystem partition. >> > > Thanks for your inputs, this is well noted, I'll try this out as well. I > stumbled an article here > https://www.bidouilliste.com/blog/2015/07/22/FreeBSD-on-Olimex-RT5350F-OL= inuXino/ > though his using RT5350F chipset but the outcome is very similar to my > DIR-600 RT3050F. The next step he did is also the step that I am > figuring-out at the moment on creating an mfsroot. It is also described i= n > the manual > https://www.freebsd.org/cgi/man.cgi?query=3Dmd&sektion=3D4&apropos=3D0&ma= npath=3DFreeBSD+13.1-RELEASE+and+Ports. > At least I have two options to explore. > > After deletion of MIPS support from the tree, interest in it grew :) >> > > Ah okay, so that explains why I could no longer find mips directory sourc= e > in the 14-CURRENT. Too bad I'm already at a dead-end :) but it's alright, > maybe there were deeper reasons behind such decision. In my case, I'm > reviving an old DIR-600 which I bought 11 years ago. I attempted explorin= g > flashing different firmware at that time but fell short with support of > this chipset because at the time, if I remember correctly, only > Atheros-based chipsets were popular and common with firmware support. So,= I > decided to keep it until 2 weeks ago I found and remembered this device > again as someone is cleaning my room and placing it into another location= . > I opened it again to check what the chipset was, as I really forgot it. I > also plugged the power cable and found out that it is still operational. = I > searched the internet and found some documentation and most especially th= e > link howto from FreeBSD on compiling a kernel, so I decided to try again. > So, that's the reason why I'm here :) As I searched further online there > were still modules available for sale that are using Ralink and Atheros > chipsets. Maybe this is the reason why interest is still growing. > > Thanks and best regards, > Archimedes > > > --=20 WBW ------- Rybalko Aleksandr aka Alex RAY D-Link.ua --000000000000f9b4d805e7b96262 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Archimedes,
=

I love MIPS, like many of us l= ove some childhood toys :)
But I think we should not waste our free time= on something not popular.
Otherwise our love FreeBSD will become a chil= dhood toy.

Th= anks!



=D1=81=D1=80, 31 = =D1=81=D0=B5=D1=80=D0=BF. 2022 =D1=80. =D0=BE 18:08 Archimedes Gaviola <= archimedes.gaviola@gmail.co= m> =D0=BF=D0=B8=D1=88=D0=B5:
Hi Aleksandr,

On Tue, Aug 30, 2022 at 11:04 PM Aleksan= dr Rybalko <ray@dlink.= ua> wrote:
Hey Archimedes,

<= /div>
f= or a good start you can setup bootp, since network working.
<= span>Otherwise use geom_map to split flash into parts and put ulzma compres= sed rootfs into a filesystem partition.

Thanks for your inputs, this is well noted, I= 'll try this out as well. I stumbled an article here https://www.bidouilliste.com/blog/2015/07/22/FreeBSD-on-= Olimex-RT5350F-OLinuXino/ though his using RT5350F chipset but the outc= ome is very similar to my DIR-600 RT3050F. The next step he did is also the= step that I am figuring-out at the moment on creating an mfsroot. It is al= so described in the manual https://www.freebsd.org/cgi/man.cgi?query=3D= md&sektion=3D4&apropos=3D0&manpath=3DFreeBSD+13.1-RELEASE+and+P= orts. At least I have two options to explore.

=
After de= letion of MIPS support from the tree, interest in it grew :)

Ah okay, so th= at explains why I could no longer find mips directory source in the 14-CURR= ENT. Too bad I'm already at a dead-end :) but it's alright, maybe t= here were deeper reasons behind such decision. In my case, I'm reviving= an old DIR-600 which I bought 11 years ago. I attempted exploring flashing= different firmware at that time but fell short with support of this chipse= t because at the time, if I remember correctly, only Atheros-based chipsets= were popular and common with firmware support. So, I decided to keep it un= til 2 weeks ago I found and remembered this device again as someone is clea= ning my room and placing it into another location. I opened it again to che= ck what the chipset was, as I really forgot it. I also plugged the power ca= ble and found out that it is still operational. I searched the internet and= found some documentation and most especially the link howto from FreeBSD o= n compiling a kernel, so I decided to try again. So, that's the reason = why I'm here :) As I searched further online there were still modules a= vailable for sale that are using Ralink and Atheros chipsets. Maybe this is= the reason why interest is still growing.

Thanks = and best regards,
Archimedes




--
WBW
-------
Rybalko Aleksandr <ray@dlink.ua>
aka Alex RAY <ray@ddteam.net>
= D-Link.ua
--000000000000f9b4d805e7b96262-- From nobody Mon Sep 5 10:21:30 2022 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 4MLl1K17jsz4bx1R for ; Mon, 5 Sep 2022 10:21:41 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh5003-vm1.mail.kks.yahoo.co.jp (sonicconh5003-vm1.mail.kks.yahoo.co.jp [114.110.61.44]) (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 4MLl1G5kJfz3TKp for ; Mon, 5 Sep 2022 10:21:38 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: KeJeCP4VM1lo1Hsq2gC8mrqHZTRFXtMKYoTKwm4_E8LDi4ZExMoEc7.1Y0pe798 SFWXKKjwR.Y.z8Iba8XuBbCliTTdSC74OaQclBEOpRvyHMbzH7GwY0Mm5WiduJZNmVUEdWv8dAGT xXtt7pekwravOiuGGXuyQfKGzxJHII5RiDRcCb8fE2Nqh0.95u1w9nfpRNwzj8YNKUicY7ody65W dGY50veVWhEP2KSE5pCu70jrKyj8BqYhY1_3iKG1gxyXOJNqb3OneF9d5kfy1nfsNzr7PPMLinvy da4c_sw.sG2pb.uBpQXaTop5Cub68eXx9WZwJHOEXPphLjrXvu3lrv1lR9.Ab8ZlTGy7L9dFs9lK NVO_nUri8jncA90kRDXTH.TGBCv0ya89fng_MkAwSWaJdJbZR3N4UHDfo3MYRY_c1ZIA.bLHrCZO 4uKV9jBnAsvX6aC5WIVzShbfb_x3d3uSZGGI8tfR2WBEuxvO5rdx6zeq_mZbLP3BiG.P.btlgpR. 7qSSJLm51exosTr8p14HE7mUfJ2e9KhNK8kY_cOlqtEjcY27C.7p7dvpzriLWbC_gOd_CHxX6bWq vQLmiORzEiBijbs4Lpu_9UgZ5hMz_D_Z93rrlHmEZDFksArqCFYehg5lf.SnvU1oU4MM_mkl9ol4 NTfRuE.S7dsa13Pjig1A1CGYfW40Ytjuyy1.UMHu23VGg_fT56VYvuDuOP_4ee1FLcpIAkTW.FhX dlV9sH2TdwfdJeJvmi91V7I2zG96Ro39yywPYNtKsL0gdq6Uuzx9u1H1HpdNHHoL31X_IJ.lT8av v5xDGYdVNdIsfipsRBDMfFF7hRQ6aouFS2UExpdYBDy.IV2aq_mOfTGHtw0zMJnKycbLcQbX4rUy RqSGvUaWbBm.3eCZfYQzC_JhiA_Pw44Oivstj091QFw-- Received: from sonicgw.mail.yahoo.co.jp by sonicconh5003.mail.kks.yahoo.co.jp with HTTP; Mon, 5 Sep 2022 10:21:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1662373294; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=K+ZzdWjo1XyShTnU1AhagF0Harq2p1FkHDcnOhyU6bA=; b=LiunwaAuccGGAJnntBQfxX4LLVw47adPJFKWPX5dBmKyZe6IHmi8OsiroA3IGRgf gXHS2SDgz0gBMmPHVi8B1GLDPaL/0PFhYPorO82tsuOkI5Phzr1/oWMt+/aLVSsgAJW cye7MefN6M/t6HH35nOqSyCzH5wi/GRSEKcXS3iU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=OHrw0P9NUTRGOVhEuYCibKatPDzK7xPNgdKxg+DWOmBKQ4Aca3tb8CERBi8ZTq+r qzghIOXZLAqPa/NgimotLqItzOI/71XTtKZ+hvor7Kyr5sLZVBdz0wX+SwRwBj0awav qqaXIFDMSYYeaWUAKCRJlmVEH+Ye+sYet8oIBscs=; Date: Mon, 5 Sep 2022 19:21:30 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" , "adrian@freebsd.org" Message-ID: <733986553.319132.1662373290304.JavaMail.yahoo@mail.yahoo.co.jp> Subject: atheros i2s 512fs support 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <733986553.319132.1662373290304.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Rspamd-Queue-Id: 4MLl1G5kJfz3TKp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=LiunwaAu; dmarc=pass (policy=quarantine) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 114.110.61.44 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-0.23 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.78)[-0.784]; NEURAL_SPAM_MEDIUM(0.55)[0.554]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,quarantine]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; R_SPF_ALLOW(-0.20)[+ip4:114.110.48.0/20]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; RCVD_IN_DNSWL_NONE(0.00)[114.110.61.44:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:24572, ipnet:114.110.48.0/20, country:JP]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I thing better support Atheros sound asic more than raspai. Because of no support on SPDIF on raspai. Linux code only support 256fs. I don't think atheros support 512fs. Do you know how to support 512fs on I2S on atheros? I want use FN1241 DAC that is only support 384fs and 512fs. Regards Hiroki Mori From nobody Wed Sep 7 15:30:47 2022 X-Original-To: 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 4MN5n35hwkz4bSGT for ; Wed, 7 Sep 2022 15:30:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MN5n34WCmz3sS5 for ; Wed, 7 Sep 2022 15:30:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MN5n33bFdzZbN for ; Wed, 7 Sep 2022 15:30:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 287FUlHH022976 for ; Wed, 7 Sep 2022 15:30:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 287FUl2Y022975 for mips@FreeBSD.org; Wed, 7 Sep 2022 15:30:47 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: mips@FreeBSD.org Subject: [Bug 241029] Mk/Uses/compiler.mk fails to add GCC dependency on 11.2 MIPS64 with USES=compiler:c11 Date: Wed, 07 Sep 2022 15:30:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tcberner@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662564647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4X2qBgmJRHqCzIl7px6XyqlfUUKCCh2wDnKzmd6C+dY=; b=uRa8yJ5hho3fIjyIhUZYdALNPo41ofvSVFR3OfqyJicgE+NdE/3kvvoJGobLXfNfbYBtRm 88mRtyMOzJHlxhsdD3SWGWcfNwWbPT77234J/ZcCb6QE07/C8Q7IZ354jWYhUWobZ/QlNh lWK+XaujFmljKQrNB6/QvJ5S2AU41qIsbDM201s7SLYBwV+/bQsi7uZIxqEhQT+VmgTI2C /J0WH0HmaG9uA5bvgZBc89Q9Wqt5Qyn2Uq7KPd0w/zEQ5l2mKAr8P1p3eN27xH18FCRJhC Pf7f98FeLNQ9Jc6bA4InBxfFlE/3i2tYG5+HwNaBURG7N3VtSVvIk/KIiagRBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662564647; a=rsa-sha256; cv=none; b=J0n3F5mowyEki4xFW6Be9CnuV+AOBQGh607D7Uzq7KxnGb8dpoDjkum2XMrLEaKmiXz2Jv tDoTdCW9ua+Sd3eyKlyjX8i29iCvAhjxJDfUxhHyEsPhlmRs9xq96KIa8z2rqrsrZ96wIF tDt+1vZ1nNjstUzYlrrH8qG3mGwnGGXrAIis2xbXM5WkL8PTUJLh5vmJa01LjiL4opWg73 VuWajPoBkH4la3T9q9stb1Yy4daYmjowY6f2chxWGLmzCGNhvOmS8qfz2ye8PVDYymkwOz 0T4slenMEOVqDwl0UbJz+y+d3mnUMLhghYq48Xy2uIfK4swvGR+KbKCwvLtZZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241029 Tobias C. Berner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tcberner@freebsd.org Status|New |Closed Resolution|--- |Overcome By Events --- Comment #5 from Tobias C. Berner --- Moin moin=20 Closing this due to old age. Please re-open if it is still an relevant. mfg Tobias --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Thu Nov 10 21:38:32 2022 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 4N7Zw52l36z4XKrQ for ; Thu, 10 Nov 2022 21:38:45 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh5003-vm3.mail.kks.yahoo.co.jp (sonicconh5003-vm3.mail.kks.yahoo.co.jp [114.110.61.46]) (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 4N7Zw15Q8hz4HLN for ; Thu, 10 Nov 2022 21:38:41 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=sVfPGtf9; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 114.110.61.46 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp; dmarc=pass (policy=quarantine) header.from=yahoo.co.jp X-YMail-OSG: tsFhEkQVM1kB3iiz8cBZjIHbon_5GrCIdqVoY6L3bdN2EXHCg8RyizqnblposWA TMoubkOdQ6tDTr676rvW8BLb9iu0FMpVRtmVgqa.TINXR4HEaAPbx701Wl3.YFjNZr7B2DIJrmWi gFbDMKnnH4nILhJbTM1Pdkih0kk4BgVrOtAehHmlfDQ0IMu6ro7K5SMTsGJAH67ntr_3sM5YaUO4 MhgBhar9OV79rMZI9_Q5EjlDubnew9OFci3H_JfnDU9YNFOSiWvf0BsTyFiRZ5M0mSGseBzBWlCl 0wHtUrHjzT6WJM0GMValTlFBpBP_NHoVILoUbBoGvQnfOkybm9l4Mn6k.3pfpScAM_Yk3KjqnQDq uwuW8J_bfGCDbUI.KivB8msVETIuUR5m25tiq3lrwqbuwg9ejK_TwCy5hnzG7bO7vCRqjPdlkoWT yvY3lKtpYr7BNM7hq_S3s5bZRQmyHFkmZDmS9RUDzP9mwoLi_zm97PY8yxNIDQAn8TdRAARFTqNC Lwqeb_5xfcPi1pqZrEwFx9AbhQ6HVWEF8wc0y60.FqtGTueAM4i.sFl3BlNfPx8gw3dhOfZwYiQc COY_65R07w8gEJauaDuCxLl5c1_5_YGkWChQRv8YRddByziYe.YZjAqOQgGer2rb.dF9RFcqT8us nk2tPRmIX9_2cNDYAU8wz_L.jBsvCSmSqVzff6xOsgHOCX.eyZWaBLtSTmAyTHyFVATwC9oqvkhS MAdysH9xSGzrR8.txsZ3rsB0Yrdv_nj0UYy.0y7WDPLJX7xiLUD3iiAscWAMCLqTrGwrDQhWOJRL A25yvNrKgasXUoDxTYQaNoB4nwsU6jS.jTg.XgZ5rJboLXUc1PSKMHecxe4LpmQWCM5tKTLKWKNl 4rpmHdgC8GWJdLMkQ1JJE7joGO86Z3CEsQi.ti6Q- Received: from sonicgw.mail.yahoo.co.jp by sonicconh5003.mail.kks.yahoo.co.jp with HTTP; Thu, 10 Nov 2022 21:38:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1668116316; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=rQndAPQBoFzy06BEqr/q6nOIpapvGZt9u67Mh3uqYX4=; b=sVfPGtf9GaH5Z6rJfT8w7VaDvkFQ5goTmTBUx8UJTKTVtxixqslTH/5oZ/S/Z5jN GjTi6rfw58Czn0lEf74WOhPVJDert6yVTQH5XFY7uG1PqHLbHkweQC8iDrdt+oVMDyB xS0HwMRG4IODg3/JqTXP1TIfmZG2YYS9L1D7krao= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=AKu+YMoGp3tICuX1s/0NGv0sW96z1ssnMaoAxAefFGeg3Dov8Y9Mcl5aAqEcA/wb h5V6Uk56wirE7WgMT1VAj5/UGwRnoXTauKhBpTx055pvmWqaty+k0fdQr3AB3DkRyMV 9W8SoyFFWG6xDgAMgHfR04Ct7+MkN+myYq+5KucU=; Date: Fri, 11 Nov 2022 06:38:32 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <257709876.852230.1668116312479.JavaMail.yahoo@mail.yahoo.co.jp> Subject: How to delete WARNING messsage 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <257709876.852230.1668116312479.JavaMail.yahoo.ref@mail.yahoo.co.jp> X-Spamd-Bar: / X-Spamd-Result: default: False [-0.82 / 15.00]; NEURAL_SPAM_MEDIUM(0.98)[0.982]; NEURAL_HAM_SHORT(-0.96)[-0.959]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:114.110.48.0/20]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; NEURAL_SPAM_LONG(0.16)[0.160]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[114.110.61.46:from]; REPLYTO_EQ_FROM(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MLMMJ_DEST(0.00)[freebsd-mips@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24572, ipnet:114.110.48.0/20, country:JP]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4N7Zw15Q8hz4HLN X-ThisMailContainsUnwantedMimeParts: N Hi I do build sometime FreeBSD/mips. And I know mips is delete at 14.0 https://dmesgd.nycbug.org/index.cgi?do=index I don't want see this message. WARNING: Device "g_ctl" is Giant locked and may be deleted before FreeBSD 14.0. It's very eyesore. How to delete this type warning message. Thanks. Hiroki Mori From nobody Thu Nov 10 21:45:35 2022 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 4N7b4564Bcz4XMZG for ; Thu, 10 Nov 2022 21:45:41 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (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 4N7b454Bbjz4Hp6 for ; Thu, 10 Nov 2022 21:45:41 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Authentication-Results: mx1.freebsd.org; none Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id B16E23C0199; Thu, 10 Nov 2022 21:45:35 +0000 (UTC) Date: Thu, 10 Nov 2022 21:45:35 +0000 From: Brooks Davis To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Subject: Re: How to delete WARNING messsage Message-ID: <20221110214535.GA49722@spindle.one-eyed-alien.net> References: <257709876.852230.1668116312479.JavaMail.yahoo.ref@mail.yahoo.co.jp> <257709876.852230.1668116312479.JavaMail.yahoo@mail.yahoo.co.jp> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <257709876.852230.1668116312479.JavaMail.yahoo@mail.yahoo.co.jp> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4N7b454Bbjz4Hp6 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US] X-ThisMailContainsUnwantedMimeParts: N --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 11, 2022 at 06:38:32AM +0900, Mori Hiroki wrote: > Hi >=20 > I do build sometime FreeBSD/mips. And I know mips is delete at 14.0 The message has nothing to do with mips. > https://dmesgd.nycbug.org/index.cgi?do=3Dindex >=20 > I don't want see this message. >=20 > WARNING: Device "g_ctl" is Giant locked and may be deleted before FreeBSD= 14.0. >=20 > It's very eyesore. >=20 > How to delete this type warning message. We don't have a mechanism to disable such messages. If you really bothers you, you can edit sys/kern/kern_conf.c locally and comment it out. -- Brooks --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJjbXD/AAoJEKzQXbSebgfAXKEH/1yjVq4heQ3UjfYzuhU5Lu1G AuIoPkbuxrJSJazh5JUz/s9hcWjMrGtnI+2VjY/YYqurHUyHfT2gm//22cDVUsTz hOcAzOqVYXsoB0VXqGcocbQU9pmugEalv/JiZjN5PJ+Y+vA6wZHTjZv7Vjxk1b+2 xBQpiQP5sZOlrexd//GNuZg3nqzaSWHb+j/yvgmScc91g9NwOnyhL0WXug6kuh4u SFCZsO4sg/kT4Eo2HSGKZgq62ucZq6MG/EXq+zWdJ/MdPKVZhlvukF/Kmb3YQ9ul 91Q7Wbi+iDP6fPK9NiV8jtjoZyzjv/avChqSxgJ0qc3MumFAlymcFO2leC5G/6U= =ouLL -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--