From nobody Thu Dec 29 20:38:20 2022 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 4NjgGB2FzCz2lCPM for ; Thu, 29 Dec 2022 20:38:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-21.consmr.mail.gq1.yahoo.com (sonic310-21.consmr.mail.gq1.yahoo.com [98.137.69.147]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NjgG95KVvz3hfl for ; Thu, 29 Dec 2022 20:38:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672346319; bh=UO88P1wNtuswq8ADnEJnoxrVeJPMQ3++KM8DLc2Ra0I=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=nBuIy2NF9cosd7JgP3lBReL+NkOeY6wuu1mTXGuNHgIl2CErc9CL2kMGIJ/Ofj2Y7TfcmRm+uuT4Xv8uuFIWj+PZi+38ccWvR8NWWb9gd2UQhxzvcLbZv4Nqx3XWfEE2EKxouafE7CGT75zsTv2rWq92GNm1SHpuEW9LJM/R5vqPLKvMk0rholELCM0IgaINGVcmSLBCYvqxcst5b5op0pxGQKmwLdirQsVXcRfhcgRkU8BpQkxMSxWVEB5msSnlUbjtgP6Sa8L/zV/JBuiEsNmIUWj2ObjbNJmpmDJCvZQHV0jM3goxpmkBZWB6zzHt0oYWyD0rla+oDXuXXlRuDA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672346319; bh=qGNEWoY7J8UK+kLqSWId69Gw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6W87MVzGTxk9lcrMlEC53VxdG5r6fQz3GYy4NhnN4yZIv_ZxCR rz6DqJMP75EpGheARc5BynMstvq11WNC1p9LjAlkBTSxJIMO4PCy1jxSp0DiU6_SfDJWfcl3c.mM hgskHsvHTBBU0U3FjF1_yxJIwqzd.YWneFXHpHGqmbbxLhX_JSaZ8gKD3OM0LdqYMtzCgM8QMcTa fdBGHfFkSROwNt1jZItT_xx_h3kF5F4YIroBsPlvbjK9TjpLuYJGF.0DVT7PLyv5l_CaEgfOweGy L3vfsgnYQvfUlZ22czcKNEN37rp5w7QAMtTFwLclFJZ6VZVPB1Dh4dBlBG7wFYUfJEm0S7yUgkl2 alSXhu8fJvN0pPwBrc0JpTf0vmE.jJ2l9hscH1fk4fPMxspEyj7gYWE0kZeNeu26UeNyBx2wi8Ks 288t1uo24.vQ9UQiFDepRkJ2DRt4n5UTv5vuWHzXjaegFeZFtv9aMdGDsoGCFhKh1vOyDcwBCK.a 7QoFRffcNjtMi1vdoRpLqAUOwPrtiH3ogUN2clSY_41YP8yqCHS4mmzW.mx.BDACJVEpYi96bivB MmZ7SUDMD X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Thu, 29 Dec 2022 20:38:39 +0000 Received: by hermes--production-bf1-5458f64d4-2b7vw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cff4e634a8158beb14140f71bf157374; Thu, 29 Dec 2022 20:38:33 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: rpi3b+ ue0 too late to be configured on boot? From: Mark Millard In-Reply-To: <52FD04A5-27B4-4C61-9C97-795D2D65135E@karels.net> Date: Thu, 29 Dec 2022 12:38:20 -0800 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <09EDBF79-75B7-486E-AE85-07E6FFA2FED3@yahoo.com> References: <8srop579-r4sq-278-356p-nr7q81n31s4@mnoonqbm.arg> <52FD04A5-27B4-4C61-9C97-795D2D65135E@karels.net> To: Mike Karels , "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4NjgG95KVvz3hfl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Dec 29, 2022, at 11:39, Mike Karels wrote: > On 28 Dec 2022, at 16:42, Bjoern A. Zeeb wrote: >=20 >> Hi, >>=20 >> does anyone else have the problem on latest main that the ue0 on an >> rpi3b+ doesn't show up in time for the rc netif to configure it (or = at >> least it looks like)? >=20 > I don=E2=80=99t see that problem. I tried the 12/24 snapshot of main = on an > RPi3B+, and ue0 configured via DHCP on the initial boot, and on a = reboot. Are you also using EDK2's UEFI via the boot materials from: https://github.com/pftf/RPi3/releases/tag/v1.38 instead of the using the normal FreeBSD ports used in official builds (the RPi firmware and a U-Boot)? The "pfpt" RPi3 materials include both RPi* firmware and the EDK2 based material. Bjoern did not report enough information for the configuration of that EDK2 based context to replicate his boot context in a test. I'll note that the intructions for that EDK2 variant indicate that linux should not use ACPI but instead should use the Device Tree. As I remember, the ACPI is documented somewhere to follow some non-standard Microsoft specifics. (The RPi4 "pfpt" does not have the same issue.) Some related quotes from https://github.com/pftf/RPi3 are: QUOTE With recent Linux installs, please assure that the firmware is running in DT mode, either via "Device Manager"->"Raspberry Pi Configuration" ->"Advanced Configuration"->"System Table Selection" or the Linux/Grub command line with "acpi=3Doff". END QUOTE > I did have problems with the HDMI console, some of which are new; I = will > follow up on that separately. Specifically, USB keyboard input = didn=E2=80=99t > work to the loader, and I didn=E2=80=99t see console output from = user-level > startup until I disabled boot_multicons and boot_serial. The second > problem is relatively new. >=20 > Mike >=20 >> While during boot USB seems to need a wait-delay now, which it hadn't = in >> the last years for me? >>=20 >> = ------------------------------------------------------------------------ >> ... >> Feeding entropy: . >> ELF ldconfig path: /lib /usr/lib >> ugen1.2: at usbus1 >> uhub1 on uhub0 >> uhub1: on usbus1 >> uhub1: MTT enabled >> lo0: link state changed to UP >> uhub1: 5 ports with 4 removable, self powered >> ugen1.3: at usbus1 >> smsc0 on uhub1 >> smsc0: on = usbus1 >> smsc0: chip 0xec00, rev. 0002 >> miibus0: on smsc0 >> smscphy0: PHY 1 on miibus0 >> smscphy0: OUI 0x00800f, model 0x000c, rev. 3 >> smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> ue0: on smsc0 >> ue0: bpf attached >> ue0: Ethernet address: xx:xx:xx:xx:xx:xx >> Starting Network: lo0. >> lo0: flags=3D8049 metric 0 mtu 16384 >> ... >> = ------------------------------------------------------------------------ >>=20 >> If running manually after boot (again) it all works fine? >>=20 >> # sh /etc/rc.d/netif start ue0 >> smsc0: chip 0xec00, rev. 0002 >> Starting Network: ue0. >> ue0: flags=3D8843 metric 0 = mtu 1500 >> ... >>=20 >>=20 >>=20 >> Not that it should matter - this is with = https://github.com/pftf/RPi3/releases/tag/v1.38 >>=20 >> /bz >>=20 >> --=20 >> Bjoern A. Zeeb = r15:7 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com