From nobody Tue Sep 17 20:19:15 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X7Y693vn5z5VrFY for ; Tue, 17 Sep 2024 20:19:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7Y685t0yz47XZ for ; Tue, 17 Sep 2024 20:19:28 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=QgB3joEK; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::632) smtp.mailfrom=wlosh@bsdimp.com Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-2068acc8a4fso46666885ad.1 for ; Tue, 17 Sep 2024 13:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1726604367; x=1727209167; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=om76sWyPw5EaJSeOBtO6ZWhprLkJFz/le7KcA9CLqJE=; b=QgB3joEK+W1zczRML+Jzzpk2YsPB48i2+TdVCU7g6u3V3Rgvi5iRb4Ypk0WAGLf8H1 FKYO7tTWX/oKy82g05qrFX12WMPB6d+luM+uWw6wm6WKwIofhJTiKx+HASkPmmL7xsDo q/WARTxWV1tualvTSvpi62MN9hTpVvnUvc5CVO/FJu/EOi2QHjPzXKXhIuexcuY8h+0p MXwBu/QUIERvQUyNkAuqdywFgLQ2htYE8Nh1kC2S7+UaV9TtRS9+QqM4rXrWsg2HOra2 nx5vGS2ccu9B1zEU3khi8R8t6KnJ4SmuZu9BTXpkBuOP4wesaW93Py8wiOzR27wCC7nn 7bdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726604367; x=1727209167; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=om76sWyPw5EaJSeOBtO6ZWhprLkJFz/le7KcA9CLqJE=; b=C7OWysO8751UkLPP2k4a9NiwL9CiHpsjfptyPmuxgI+oVdfxThfFH6IEA7XhlRihx+ q2kPf+lOZVrsyCbX+sAW+v04bOqwug2yQ2KnBBGM7dvk2z1CVfCBajxj+WbJGwR6Y309 iJnQiMTMRGNu2EgqjlanqpBbExJo/enGAh2Y9AAW5+lf1iuAKm7097F66+AP/jVJMimT zI7PhAesN2DvvbgELtRW5DXbyN0vwPb70hhwu8Zm2xvhv9oqSeuT3z/ueM2w1bieRnNU t6K2MyLP7PSks8bYRgTe2X8q4n0W9nBNo2jpYQMVnAxZklxE+tOqWVajtDRIB4uM1A2y wleg== X-Gm-Message-State: AOJu0YzWarcl3IeOCH9aAQgUKzWXjrs1lzxu+9+YIdWcWj23kCo5ovPd NrEl2KQENhRNR9Jjx9q0G+8t3yaGFlYOZ2rFn0OQhs+Pk7EWq/qFK4cNWIfDSpjmnGugvvVDLUj 6ksxpz/D1MKz3+0sR+zUzD2txhLTEv9CuNCJVgw== X-Google-Smtp-Source: AGHT+IHbx3omiIb3/M74B3lnR+pvA+cp/tNGNaHE7Ablaa2Zbsd8kEbnwoBs0DGud5N+9YsaGlQcBQaT/wvWfo3QIjw= X-Received: by 2002:a17:90b:3a8f:b0:2c9:9643:98f4 with SMTP id 98e67ed59e1d1-2dbb9dbd708mr22423184a91.5.1726604367317; Tue, 17 Sep 2024 13:19:27 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: <276f57f2-5194-cad1-d859-e49b2bce2580@pobox.com> <69E08B38-7388-46A6-8864-20074BFFF8F4@yahoo.com> <88d2cc76-f980-600e-0da4-2fa1070d76ba@pobox.com> <6b848423-bdd1-b215-889a-1f07e5064412@pobox.com> In-Reply-To: <6b848423-bdd1-b215-889a-1f07e5064412@pobox.com> From: Warner Losh Date: Tue, 17 Sep 2024 21:19:15 +0100 Message-ID: Subject: Re: Beaglebone Black/Green/Blue support (volunteering) To: Zach Metzinger Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000fb6d1d062256674a" X-Spamd-Bar: -- X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MISSING_XM_UA(0.00)[]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::632:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4X7Y685t0yz47XZ --000000000000fb6d1d062256674a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Sep 14, 2024 at 3:45=E2=80=AFPM Zach Metzinger = wrote: > On 9/13/24 17:06, Warner Losh wrote: > > Yea, the TI support isn't in GENERIC, but you can still build a the > > TI kernel you need for this. > > > > It's broken on -current (which is why it isn't in GENERIC) due to DTS > > changes in Linux (there's a lot of churn there, and we need someone > > that can help us keep up as we import new DTS from Linux). > > > > armv7 will be in 15, so if you get it working, and plan on sticking > > around to keep it working, we should get that into main. > I've been able to boot 13.4 on my BBG, albeit with some complaining from > the kernel and what appears to be horrifically-slow SD card I/O. I've > got a TFTP/NFS server but haven't tried booting/mountroot via that path > just yet. > > I'll take a look at -current and the Linux device tree files for this > board. I'm familiar enough with device trees (having used SunOS and > Solaris on many things sun4c, 4m, .. back in my admin days). > Sounds good. The issues are all that the nodes in the FDT have changed from what they used to be. You might find yourself finding 'stable' points just before DTS imports from Linux you can use to puzzle out what's going wrong. Warner > --- Zach > --000000000000fb6d1d062256674a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Sep 14, 2024 at 3:45=E2=80=AF= PM Zach Metzinger <zmetzing@pobox.= com> wrote:
On 9/13/24 17:06, Warner Losh wrote:
> Yea, the TI support isn't in GENERIC, but you can still build a th= e
> TI kernel you need for this.
>
> It's broken on -current (which is why it isn't in GENERIC) due= to DTS
>=C2=A0 changes in Linux (there's a lot of churn there, and we need = someone
> that can help us keep up as we import new DTS from Linux).
>
> armv7 will be in 15, so if you get it working, and plan on sticking > around to keep it working, we should get that into main.
I've been able to boot 13.4 on my BBG, albeit with some complaining fro= m
the kernel and what appears to be horrifically-slow SD card I/O. I've <= br> got a TFTP/NFS server but haven't tried booting/mountroot via that path=
just yet.

I'll take a look at -current and the Linux device tree files for this <= br> board. I'm familiar enough with device trees (having used SunOS and Solaris on many things sun4c, 4m, .. back in my admin days).

Sounds good. The issues are all that the nodes in the= FDT have changed
from what they used to be. You might find yours= elf finding 'stable' points just
before DTS imports from = Linux you can use to puzzle out what's going wrong.

Warner
=C2=A0
--- Zach
--000000000000fb6d1d062256674a--