From nobody Sat Apr 9 05:57:30 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 60ACC1A9023B for ; Sat, 9 Apr 2022 05:57:30 +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 4Kb4CG0SDKz4bSh for ; Sat, 9 Apr 2022 05:57:30 +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 DA4D414749 for ; Sat, 9 Apr 2022 05:57:29 +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 2395vTlo061625 for ; Sat, 9 Apr 2022 05:57:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2395vTDm061624 for freebsd-arm@FreeBSD.org; Sat, 9 Apr 2022 05:57:29 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: freebsd-arm@FreeBSD.org Subject: [Bug 263170] RPi3B+ U-Boot Saveenv fails Date: Sat, 09 Apr 2022 05:57:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jollyrogue@dangertoaster.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649483850; 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; bh=IhDFaP0aORxWLvWiog/Dtys9IQenSxufAa88TjeSCGc=; b=Fzrrq22vvbrD9FMVSJ3k3r4BBE12NFB/Vl0JZBmTGwAscGOTq4c9SPRAyk1eZks6yTr4aV +8f27518CqxEVIJr+N6IhSJsOKJV8i7TcE95d5xUwgWum3bBdWXq8yQ9F5T+RasDXRhr3u tE4g4epF1+H92uSYnoUiWvfSn7nUo7o/pQVkCy5wsX6GO7z3LPsgfLbt/aA9FvwfJ1wPBH r6lFquBwOYat6+ExluqSAS99nx3QntC3a3BbksFWhM/Pch3wlkVBkqMTBJds8BqAhHdvne P2S/BTfbTyggximS8obQfP77LhEb92vDP8u5vCJY/f+YwkL4KalJYJ5mWAr+Jg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649483850; a=rsa-sha256; cv=none; b=oOmTczrmVJihQOITOIoPwBDi/fSJZI8k/DIjjkhJrCz9NnZaWm3fQTfbh5tOktt8UuEBb5 ytqtm2SlXJq0EkfcxUHPCEIOepAYtnXMaJpz92h6d6+79RBUCdfu9TnvP7EPvwKAMyfuwv 2op++8g9JKpT9HGCiRHfu22RXB39OXDRhpgxzRyR3u2EXr+EcGx65nAzfUwxjZWoYy3VL8 GJ+dNd9yDZt/sTLRE1+1viPm6vLh0YvgrNbodRbA4M30HT8N1NE4h8/3zAkTv0gFL2uLOI v3r3W56Ecx+MOXSqs7C66b5GUManBRrR/WKKO5obK8eq2xIU6knT7yYFSghBwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 1633 Lines: 59 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263170 Bug ID: 263170 Summary: RPi3B+ U-Boot Saveenv fails Product: Base System Version: 13.0-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: jollyrogue@dangertoaster.com Short story... My RPi3+ fails to save my edited u-boot environment. ``` U-Boot> editenv usb_pgood_delay edit: 10000 U-Boot> saveenv Saving Environment to FAT... Failed (1) U-Boot> ``` Any suggestions about what I should look at? Long story... I'm trying to get my RPi 3B+ to mount home on an external USB HD, but the external HD spins down just as the filesystems are being checked. The home = dir on the HD isn't found, and FreeBSD drops down to single user mode. The HD is found about 3 seconds later, and I can exit single user mode to finish boot= ing. Weirdly, the swap partition on the HD is found and works without problem. I switched to an external SSD, and that works fine. home and the swap are f= ound and mounted without any problems. I started working throught Bob Prohaska's notes as linked in the FreeBSD Arm wiki, and that's when I got to the u-boot saveenv problem. ``` % uname -a FreeBSD gopher 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 #0: Tue Apr 5 18:58:59 UTC 2022=20=20=20=20 root@arm64-builder.daemonology.net:/usr/obj/usr/src/arm64.aarch64/sys/GENER= IC=20 arm64 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=