From nobody Sun Aug 20 13:50:41 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RTH7j0zGnz4rDkF for ; Sun, 20 Aug 2023 13:50:57 +0000 (UTC) (envelope-from guyyur@gmail.com) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 4RTH7h6VJYz4GdZ for ; Sun, 20 Aug 2023 13:50:56 +0000 (UTC) (envelope-from guyyur@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4ffa248263cso3677140e87.2 for ; Sun, 20 Aug 2023 06:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692539453; x=1693144253; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=orH7E0JuMbciSJi+b7TD4LbsJ3a+9Rllz6f+SKJisoc=; b=ZWcP0aFuhAPjWllylz17DsPbRiKhT60Ij6Wv3M/XFJOnHnDKFhdVEtv6hyQWCKdOpm ZuGy7dH9PnyuGIltTQqLkY2EpXJpGkTBa/Mdwrq5xK2c6FnAig5br67u8WE7zjyeiiL1 LzPBxp5jDkI+7cYZt0OYvO8qFwos1SZdmx4ancPSg7s0yYwTxjj4sNWWP7OsPlRsscdl k4nqmHO6Jk/ImRDucqJ4WYEfjjjLpb3xgIbUM43ouFccnuu42lb1aswOEHkzLie5zaZr jBiWIj39gUzBb6jpCKz00vq3bZdfjmj7rr9riLUKyOGKlPjQF/p5aO64GSUBOjGf+7oR NFNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692539453; x=1693144253; 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=orH7E0JuMbciSJi+b7TD4LbsJ3a+9Rllz6f+SKJisoc=; b=GBB2lZgsGKRNo5Addm9UIN87wCu7fZFUYTeo9P4hiPivq0lY38FlIQ+HfBpm1awTYo iIv473uy0qqibdSjS0TMPTS8uA1UGjblRJcStCP+2vgQQLxiTdaCxpwOzbQEKAj2WxeL simHRHKx60c+Y4aUZxpP3BILrYhEBsh9zmxX4p2O8npVl1b6UqRVuMcdgLhkd8chISwG RufEJpXp7fIF5f0qSxWPsJzTfDwnjZKk2cz6wQpepHzQF2Au8diSKuJDi2ePTn7R/p22 dk00fv9f/8LDjRLPUvwDhX5H04OSXPJFczU8i70eJZPZ5sGp1t/d4fwdpSLkqBtr1+0a Vmuw== X-Gm-Message-State: AOJu0YwzQ8dfchDfEu1cM8RuHgyf2Pa8OM1jzVmWXBzg5kin7hvaEIWm oLHoN4IMasYtdavfVfEXBaLMO6UnnjQ3K8UJY/Hp35kXP0U= X-Google-Smtp-Source: AGHT+IHEoOPkolXihGLoInEplDEc+aOvoFAvUF9lPSv1qakvwOEz6/K3FlU+cEkV2XXgj1bAQBwBWa7k9NK/R/q2tlI= X-Received: by 2002:ac2:4e08:0:b0:4fd:f590:1ff7 with SMTP id e8-20020ac24e08000000b004fdf5901ff7mr3608622lfr.40.1692539452743; Sun, 20 Aug 2023 06:50:52 -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: In-Reply-To: From: Guy Yur Date: Sun, 20 Aug 2023 16:50:41 +0300 Message-ID: Subject: Re: Rock64 vs. USB3 for 14.0-ALPHA2 's Rock64 snapshot vs. device tree update(?) To: Mark Millard Cc: freebsd-arm Content-Type: multipart/alternative; boundary="000000000000d965c106035b0cb4" X-Rspamd-Queue-Id: 4RTH7h6VJYz4GdZ 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:15169, ipnet:2a00:1450::/32, country:US] --000000000000d965c106035b0cb4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Aug 20, 2023 at 9:57=E2=80=AFAM Mark Millard wr= ote: > If I interpret my experiments correctly, 14.0-ALPHA2 no longer > supports the Rock64 USB3 port. This might be a side effect of > importing more modern device tree source files from Linux. (At > least one past import had such an issue for the Rock64, if I > remember correctly.) > Hi, Does u-boot see the XHCI controller? I had to backport u-boot changes to sysutils/u-boot-rock64 (sysutils/u-boot-master) 2023.07.02 to get it working in u-boot and 14.0-ALPHA1 for Rock64 and Orange Pi R1 Plus. I took the following (I don't know if all are needed): https://source.denx.de/u-boot/u-boot/-/commit/caaeac88466f4152bd126e2342765= a4b740955ae https://source.denx.de/u-boot/u-boot/-/commit/b71f74eab42782199757e14648312= 6aee5e3c271 https://source.denx.de/u-boot/u-boot/-/commit/559911ff2ed09812fc0a87513183a= 44d9ee100cf https://source.denx.de/u-boot/u-boot/-/commit/185571b6ec301cd228cb059326e51= fb51e76e816 https://source.denx.de/u-boot/u-boot/-/commit/5d334b70cce1d8299202d247011b6= 09faeb8e583 https://source.denx.de/u-boot/u-boot/-/commit/9aa93d84038bb47bcd4e9ac4287ef= 63e1b022971 https://source.denx.de/u-boot/u-boot/-/commit/c0165258582078c206faca352b0f6= 3ccdf535ce7 https://source.denx.de/u-boot/u-boot/-/commit/b6fd3c63f4c5ba8cad518fa34e6a3= 289a6976f2e For Orange Pi R1 Plus I also needed the patch adding it: https://source.denx.de/u-boot/u-boot/-/commit/69e16c7b1cdd03907b86bb31abee2= 4f5d4836400 Unfortunately, there is some issue with the XHCI controller, at list with Realtek RTL8153 USB nic (built in on R1 Plus and tested external card plugged into Rock64) so it might have issues for other USB devices too. The nic doesn't work until the USB bus is reset and can get stuck again. It didn't work on 13.x either. Regards, Guy Yur > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > > > --000000000000d965c106035b0cb4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sun, Aug 20, 2023 at 9:57=E2=80=AFAM M= ark Millard <marklmi@yahoo.com&= gt; wrote:
If I = interpret my experiments correctly, 14.0-ALPHA2 no longer
supports the Rock64 USB3 port. This might be a side effect of
importing more modern device tree source files from Linux. (At
least one past import had such an issue for the Rock64, if I
remember correctly.)

Hi,

=
Does u-boot see the XHCI controller?
I had to backport= u-boot changes to=C2=A0sysutils/u-boot-rock64
(sysutils/u-boot-m= aster) 2023.07.02 to get it working in
u-boot and 14.0-ALPHA1 for= Rock64 and Orange Pi R1 Plus.

I took the followin= g (I don't know if all are needed):

For Orange Pi R1 Plus I also n= eeded the patch adding it:




=3D=3D=3D
Mark Millard
marklmi at
yahoo.com


--000000000000d965c106035b0cb4--