From nobody Sat Apr 13 23:28:38 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 4VH8kt6Jhwz5GTDW for ; Sat, 13 Apr 2024 23:28:38 +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 4VH8kt3GPMz417f for ; Sat, 13 Apr 2024 23:28:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713050918; a=rsa-sha256; cv=none; b=UWSbOpX0iwm9avb4oLyxmuxTGR4cyGf2flzQFA/+8zhofAPeXixN84tvij6YyzneVvq4Kn U3J/ifM2x4So8EBbFrMgHE0YZwTiU/A9Nt4Jn5MOL7nJZ6vqH1IcnqBh5QdoxXOd6+v2qJ o79Lptpk4IlbyyNXaHR5yqLnfF+SgYl/qMijnEVIkjW0ItPthM7MgxBIt/aroz9/7/sSHQ NtyJZxFJGuLQm2EWIjTyF0H4D353QgjXXg74nwJgdGICQiYXdjOU4Tb3PLNKlimLMuIAY0 L3nyK9F36wzgwoQ/EHKN0TCUAmrIGIbIH23sqVaRh2/31tZALdblmytwPS0qmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713050918; 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=U8b+/IuXgZQ3/veoDtoDYbT0PBdfivswWUYkD4Y3cr4=; b=CBN6wNlk7ASKY1KhfEnuISGf7DEQFsFCGq8F+9qFtcVqXdSvuGn0tZtXL5Q0MHmskhDtNd pIjcIWcGQFVcJLMsl/lxbweHqp+CX0OutjzEL1OO0pNc5ve4Mtc4XIY5wlLhu6l9XtgrpM zZLQSMiYLdWd766sh5p985GPobbJd9hoFMiw7Jh9o7BWNdsQippjVn2Wnnw4+FGXPWhtJM 5g3fCNtWhGvGDb3Fu6vocA2GIdI1nB9A+/u7jrEDjVWaEpF6xhrh3LVvRLxWzppWqyGhVL nWBdL70HnWScfXJ2gFBZpMf0/sYPoDOka8ZHCujPhUlZYrg2N14fIWU9qAo8yA== 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 4VH8kt2smvzsd3 for ; Sat, 13 Apr 2024 23:28:38 +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 43DNScbP056583 for ; Sat, 13 Apr 2024 23:28:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43DNScoE056576 for freebsd-arm@FreeBSD.org; Sat, 13 Apr 2024 23:28: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: freebsd-arm@FreeBSD.org Subject: [Bug 278352] Post-12.4 updates to DTB break Banana Pi M3 Date: Sat, 13 Apr 2024 23:28:38 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu 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: MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278352 Bug ID: 278352 Summary: Post-12.4 updates to DTB break Banana Pi M3 Product: Base System Version: 15.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: jfc@mit.edu FreeBSD 12.4 runs on a Banana Pi M3 (Allwinner A83T). 13.3, 14.0, and 15.0 have some device tree and interrupt related errors and shut down in 30 seco= nds to a few minutes allegedly due to overheating. I don't believe the chip is really overheating. There is no load, the CPUs are running at 400 MHz, and= the chip doesn't feel hot. The difference in behavior is driven by the version of dtb/sun8i-a83t-bananapi-m3.dtb on the MSDOS boot partition, not the kernel version or the UFS /boot directory. I booted 14.0 with the old DTB and it worked. With the newer DTB it failed. While this DTB depends on several files, the culprit for the thermal shutdown looks like extra nodes in the "thermal-zones" section of sun8i-a83t.dtsi added in commit c66ec88fed842fbaad62c30d510644ceb7bd2d71 in 2021. See also commit 937eaf8bbdcf7e2cd3231b71940f9221e6857210 "Import DTS files from Linux 5.6". Some of the messages with the newer DTB: Nov 10 09:58:53 generic kernel: axp8xx_pmu0: at addr 0x746 irq 45 on iicbus0 Nov 10 09:58:53 generic kernel: gic0: unsupported trigger/polarity configuration 0x08 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator dldo2 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator dldo4 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator eldo1 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator eldo2 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator eldo3 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator ldo-io0 Nov 10 09:58:53 generic kernel: axp8xx_pmu0: regulator_parse_ofw_stdparam: Missing regulator name Nov 10 09:58:53 generic kernel: axp8xx_pmu0: cannot attach regulator ldo-io1 Nov 10 09:58:53 generic kernel: gic0: unsupported trigger/polarity configuration 0x08 Nov 10 09:58:53 generic kernel: gpiobus2: on axp8xx_pmu0 Nov 10 09:58:53 generic kernel: mmc_pwrseq0: on ofwbus0 Nov 10 09:58:53 generic kernel: mmc_pwrseq0: Node have a clocks property bu= t no clocks named "ext_clock" Nov 10 09:58:53 generic kernel: device_attach: mmc_pwrseq0 attach returned 6 Nov 10 09:58:53 generic kernel: mmc_pwrseq0: on ofwbus0 Nov 10 09:58:53 generic kernel: mmc_pwrseq0: Node have a clocks property bu= t no clocks named "ext_clock" Nov 10 09:58:53 generic kernel: device_attach: mmc_pwrseq0 attach returned 6 and finally, hundreds of aw_thermal0: WARNING - current temperature exceeds safe limits before the system powers itself off. Sometimes the aw_thermal0 message alternates with gic0: Spurious interrupt detected: last irq: 32 on CPU1 The interrupt number varies. --=20 You are receiving this mail because: You are the assignee for the bug.=