From nobody Mon Dec 30 16:14:27 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 4YMLlS02b5z5k7wb for ; Mon, 30 Dec 2024 16:14:28 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMLlR3hmVz4pXq for ; Mon, 30 Dec 2024 16:14:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735575267; 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=SPuJNV+5oKLoByxwgoP7BEQIzhBy2qKBwm7htpc1BmM=; b=ejxQQnjBye+MYh9A/qy1gjv0pH658U75PiFHTmrPk9lVwyxXTNaw4mPAMg0otCAvfmKjp3 UbI/Ehs8mRs8/9afY7F3oG8LDGYvgDG7K9Q9+IdvKnQgdkNcEp8ihCa0SHwvl17GnFc/EC Pfa13R7Hs5dPOAWoLwgTrCqBAQny1mObBaqS54+sJB8lSPZaprX9SjZ9ePGwC79j3s3dPl uvmg4YHvB5atxRxGIfJtl1JiMYscfSRoNnk9JiWv8jnV5qpzjTQsnFXh0FdHDDJRWPSCqJ UQHS1+iU9HH4uJTqvvnHMfjcslhUxXldSvLPKsiIGYvn4y0wnOx3G6grtCRtkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735575267; a=rsa-sha256; cv=none; b=r0OHzRu25sfAqSKfrX9ehyqEKb7yNRDEcx7E+ZIhsDRfebmwPlAWuy1Aporh62DQG196Hi fanrJ1sO19R1OWQtSSTCkR2SwIDjgCZP4UYuUvqGPVob33FuhFBWbwZ5hXFj/ebtJ8lcoz ZzYo7UNc8h+gYUm8Ltah1wF++gmd3ehAXEidad9nESsvpuanRq0E+uqNyL3ntCP9DdIH90 PXy4QRJS7CTNiXCKpIopz9T9E0DcF1chjz/+xRHGqTsdZM6tdB8Ee252LUy1mdBUw6cmPP gSMsdxxs2NC5D/KBaUdwUYnKfyFKEOrujwkzZSjkjQVNmmZuYQRvoqlwiM6MRg== 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 4YMLlR3HxTz11ct for ; Mon, 30 Dec 2024 16:14:27 +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 4BUGEReV096079 for ; Mon, 30 Dec 2024 16:14:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BUGERWN096078 for freebsd-arm@FreeBSD.org; Mon, 30 Dec 2024 16:14:27 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 283746] LEDs not working on RPI2 Date: Mon, 30 Dec 2024 16:14:27 +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: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: gerrit.kuehn@aei.mpg.de 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283746 Bug ID: 283746 Summary: LEDs not working on RPI2 Product: Base System Version: 14.2-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: gerrit.kuehn@aei.mpg.de I installed 14.2 (releng/14.2-n269506-c8918d6c7412 GENERIC arm) on a RPI2 M= odel B V1.1. It works overall fine, but the PWR and ACT LEDs do not work at all. They are found as gpioled0: on ofwbus0 and /dev/led/ has PWR and ACT, but echoing "1" to them does not turn them o= n, either. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Wed Jan 1 00:16:29 2025 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 4YN9PR5frRz5hyd6 for ; Wed, 01 Jan 2025 00:16:43 +0000 (UTC) (envelope-from freebsd-arm-freebsd-org097@ketas.si.pri.ee) Received: from mail.ketas.si.pri.ee (d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13e8:21e:bff:fea2:d004]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4YN9PQ0TPMz42Hc for ; Wed, 1 Jan 2025 00:16:41 +0000 (UTC) (envelope-from freebsd-arm-freebsd-org097@ketas.si.pri.ee) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ketas.si.pri.ee header.s=ketas-si-pri-ee-20240416002854-4096 header.b=Lk8TF83I; spf=pass (mx1.freebsd.org: domain of freebsd-arm-freebsd-org097@ketas.si.pri.ee designates 2001:7d0:8437:13e8:21e:bff:fea2:d004 as permitted sender) smtp.mailfrom=freebsd-arm-freebsd-org097@ketas.si.pri.ee; dmarc=pass (policy=reject) header.from=ketas.si.pri.ee X-Original-To: freebsd-arm@freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ketas.si.pri.ee; s=ketas-si-pri-ee-20240416002854-4096; t=1735690591; bh=Cbln2ljOs5TPNX1DZUad91FiKu6j5cBABcSibP2bQPk=; h=Date:From:To:Subject; b=Lk8TF83IsstUyRWeVHwWmYSxc8McBboUHxJi9jfpQTXKeWhuoR76v6HxDkx/MGtvM YMb7QOaNCbhjUR/5DqhRnDFdCATFiZYBwRfPv+vYALyv3fgnDDiqYeIDrZrO9WBhoi wINQMHLHW8SOELFAdwoLiZ8EoDT04+Mege6JB8wuw7g7UoBoXo6Ns+vDycxBh5kXGh 8++3PqnNCzugPCoqdFOG68GAzdPsNo9KoYQNTOV4wF9ZxLCr7m1n0ZbWKxmX+1F4lv WDvaSOwr4z21zGJyoWSJIqeb36gsED6ta4He8F5lsIP3Q1KmlulJL0y5frECfDBDtQ AdkzCqpGIphkl/VeKafI/wAPApdbt9bmDCTv9ZGpnXQqCC45IBjzfm6zR7bQbFs1l7 0JR29ROE3vIEyEkBdWDo5KGW692ZUdGRPgCYKFkvAjNeBlNCtCMmWshCH5+lLjAXTU GQgyR6Oay2FZp307FwEOWUbeclcNjNvRofJQhJOzw3wJkfCeq8MwgjMUBG6OEcGbrD 3IhJBBM29KblQ9OG2JQn50cBIbhNN/faMHiqdJb6NYrPGjXFLa1eJQIa2Bm0XRD2zv 5se+LvZYX8mg8GO//AXgtk7xNlEzHFUHQNLJwuar3+rwQ9Ex2xVL8RHHQ3EIf7N8mo pzvkE1P3ZVP7nOmxf53cWIyY= Received: from [IPv6:::1] (0114-0000-0000-0000-13c8-8437-07d0-2001.dyn.estpak.ee [IPv6:2001:7d0:8437:13c8::114]) (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) (No client certificate requested) by mail.ketas.si.pri.ee (Postfix) with ESMTPSA id F41A95AF0C9 for ; Wed, 01 Jan 2025 02:16:30 +0200 (EET) Date: Wed, 01 Jan 2025 02:16:29 +0200 From: Sulev-Madis Silber To: freebsd-arm@FreeBSD.org Subject: allwinner h618 / orange pi zero 2w User-Agent: K-9 Mail for Android Message-ID: 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-0.55 / 15.00]; HFILTER_HOSTNAME_5(3.00)[d004-fea2-0bff-021e-13e8-8437-07d0-2001.dyn.estpak.ee]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.65)[-0.647]; DMARC_POLICY_ALLOW(-0.50)[ketas.si.pri.ee,reject]; R_SPF_ALLOW(-0.20)[+ip6:2001:7d0:8437:1300::/56]; R_DKIM_ALLOW(-0.20)[ketas.si.pri.ee:s=ketas-si-pri-ee-20240416002854-4096]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3249, ipnet:2001:7d0::/32, country:EE]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[ketas.si.pri.ee:+] X-Rspamd-Queue-Id: 4YN9PQ0TPMz42Hc X-Spamd-Bar: / is there anyone working on that? i heard there is! but i don't see anything= appearing in tree i have code from titus / forum-covacat, i want to make it work on current = instead of 13=2E2=2E it needs syntax reformat, etc=2E other things i'm not = sure, i don't know how it all works tried to make uboot for that too, patched master uboot port for more bl31'= s=2E added atf port for h618, uboot port for orange pi zero 2w=2E apparentl= y it won't build=2E bummer! i had such a high hopes=2E titus said use older= device specific src tree=2E kind of sucks anyone working on that? motivation is that this is cheap a la h3=2E not lts it seems but 64bit problem is that this isn't really single person task, nevermind for one wh= o hasn't done any of this before i have one piece of that hw, it would be sad if it won't work or maybe the suggestion is to take another hw with more devs / users? whic= h is also kind of chicken and egg problem too i'm aware of h6, etc=2E however most seem to be only 32bit which seems han= ging on cliff edge, armv7 too=2E i also realize that there are literal metr= ic ton of hw out there=2E including new archs like riscv From nobody Sat Jan 4 09:31:57 2025 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 4YQFZj3PCrz5k25F for ; Sat, 04 Jan 2025 09:31:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQFZj1SGbz41f4 for ; Sat, 4 Jan 2025 09:31:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735983117; 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=V797djcG0LR4Bus89xkRrsjCiLVxUlMY9oeCBThv+xc=; b=FB/BjqFLG+IQmkfnkubBOubQeg2q2zJt0nqopB7zUrRiM06Y8HoC6tUYrX86JqRQWyjd5v rHSrkTPGgcXvfFnYXOez1IYLubCFG4JbEdLk/b/B+NnQaBTUJU7Di5SzgDvwDj9/ObbSie qAvxgxc5J+re0oJqbhLXb8l/CPAVHoUNoQXFgcAF+MmT7ZdqmMKPTM2VhsJtda0qECmhXc XKkqmV8sYqTr7UUpA/O+5CmK3SGx/FelpfRs/DxbRkHFNBCoJO2pXI1mEAjTLlsxZjpJWz P7jkbZoakBjF7peb5Kk4FWqLwQzx0eQHeVXIDzwprX5ffTVXvW0Hg9DiGj8x5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735983117; a=rsa-sha256; cv=none; b=V1iX17I3rRJDZBa9jXoXTLiN8NDXJIlk/3Mcd26EE0nL05cH2xcUnJ1w9vHuKO0DRXwH8z StDuE1epKTMS5XYvNEnZbVzC3VWtDAoiSsQQJETxFoE/GCueN6e26BNGFlvDrjGbj7+ZdY bzAZcH95+/aJ/27DI3WbHmEmxAotEBkfL774hNOQC2c/V9TRSrjYkUe30vcmnp+T8CmJFC rxCkF/ETW8ctYjKMaj7dsDva0I0zr5UnCFXCKxItA/9Qy17rQrLOqjI5d9NKTFoBCnoxYV jd4K8hgosL0nwLT/1nmH8d4MrpbskqMEEAa6MDs8cyd3wfBDf2mpXHnM0wVcsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YQFZj0w1NznWH for ; Sat, 04 Jan 2025 09:31:57 +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 5049VuEr085997 for ; Sat, 4 Jan 2025 09:31:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5049Vu5V085996 for freebsd-arm@FreeBSD.org; Sat, 4 Jan 2025 09:31:56 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 283840] inline asm error on armv7: expected '%' or "" (port devel/outcome) Date: Sat, 04 Jan 2025 09:31:57 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283840 Bug ID: 283840 Summary: inline asm error on armv7: expected '%' or "" (port devel/outcome) Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: yuri@freebsd.org The port devel/outcome fails to build on armv7: :1:41: error: expected '%' or "" 1 | .pushsection ".debug_gdb_scripts", "MS",@progbits,1 | ^ :100:12: error: .popsection without corresponding .pushsection 100 | .popsection | ^ 2 errors generated. Log: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/pd594ba04490= 5_s6ea1ce222c/logs/outcome-2.2.11.log --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jan 4 09:50:00 2025 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 4YQFzX3Tglz5k2dy for ; Sat, 04 Jan 2025 09:50:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQFzX0knrz42gx for ; Sat, 4 Jan 2025 09:50:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735984200; 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=6BIW2b9Mlj4IsDKCIj7Rx3oB6qwzy3otSYvtnJLgxb8=; b=K1m0tETLUX40xjd3JYeqXoAzL6P9tjPEIPBika/0Uaog81EOp5XpnrA0oxhLMF+XaP00Tv 7D8FYpWJaOMpYZj1WEfGJ5NHtuWeNnzbxkWXoNl0MIsIIoBsaw6GMUdIGub+ro3KIQqkkZ ufwLRjOQETDDSWLP1iCUPWphdfvG/r0CAq/7VAsYuZyJaOCoIrA54iI6qtZr2om6/JD+NG ElVf11w+zSO8hfwQ/g7g9NgiIHLCUQbFtZHSdfL3wLy8bGImIovJN7Fp8HnkE79PazjGJa kbg5mCw+mgXtk1fp7InK2Lgf1yIlaVNhUR2Bl7iZHmBYXb+XhcpJPpWaxNO+RQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735984200; a=rsa-sha256; cv=none; b=rm/KVPUdfRQ8nXulUR4q44PrakpfiqnGXbbCJo61d6DaDPJefZD0mYb+41VM/C0zoS4sal QOWbCmF6QaUKjQKxoP4PNOxwqSjk43zPhEt3KBDyb3ncJACMZeHjbTfIPH/dOwsslkGThq vSPDrioaVKIOW4ERiDHu+ZLK/0+jVkOrqhVmI+zOPVu0GbkVB1tws7qcHQWtUHRqbHGIhe WJmcWEeRjESMFIQ6JcKGF2LwS9bD/cPtA2WjISPvDfPocMXts3Obup27u5G2LrIcNmlF0d b1L/30EAd3zhK4kGZUZSq5G3mIKxazRj3t14wWGqVAXhVoXPGTe2e8MRoxLQnQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YQFzX0D24znS2 for ; Sat, 04 Jan 2025 09:50:00 +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 5049nxLa011224 for ; Sat, 4 Jan 2025 09:49:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5049nxL9011223 for freebsd-arm@FreeBSD.org; Sat, 4 Jan 2025 09:49:59 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 283841] link fails: undefined symbol: _Unwind_SjLj_Register (port finance/electrs) Date: Sat, 04 Jan 2025 09:50:00 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283841 Bug ID: 283841 Summary: link fails: undefined symbol: _Unwind_SjLj_Register (port finance/electrs) Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: yuri@freebsd.org =3D note: ld: error: undefined symbol: _Unwind_SjLj_Register >>> referenced by blob_contents.cc >>>=20=20=20=20=20=20=20=20=20=20=20=20=20=20 blob_contents.o:(rocksdb::BlobContents::GetCacheItemHelper()) in archive /wrkdirs/usr/ports/finance/electrs/work/rustcjPjR5M/libelectrs_librocksdb_s= ys-327b4b91bc3e735a.rlib >>> referenced by blob_contents.cc >>> blob_contents.o:(void (*rocksdb::GetCacheEntryDeleterForRole())(rocksdb::Slice const&, void*)) in archive /wrkdirs/usr/ports/finance/electrs/work/rustcjPjR5M/libelectrs_librocksdb_s= ys-327b4b91bc3e735a.rlib >>> referenced by blob_contents.cc >>>=20=20=20=20=20=20=20=20=20=20=20=20=20=20 blob_contents.o:(rocksdb::BlobContents::CreateCallback(std::__1::unique_ptr= &&, void const*, unsigned int, void**, unsigned int*)) in archive /wrkdirs/usr/ports/finance/electrs/work/rustcjPjR5M/libelectrs_librocksdb_s= ys-327b4b91bc3e735a.rlib Log: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/pd594ba04490= 5_s6ea1ce222c/logs/electrs-0.10.7.log --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jan 5 10:48:02 2025 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 4YQvDX4wmQz5j0LN for ; Sun, 05 Jan 2025 10:48:28 +0000 (UTC) (envelope-from toby@tobykurien.com) Received: from spe14.ucebox.co.za (spe14.ucebox.co.za [197.242.154.255]) (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 (2048 bits) client-digest SHA256) (Client CN "*.ucebox.co.za", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQvDT5PP3z4YvV for ; Sun, 5 Jan 2025 10:48:25 +0000 (UTC) (envelope-from toby@tobykurien.com) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=tobykurien.com header.s=default header.b=SEZAMfig; spf=pass (mx1.freebsd.org: domain of toby@tobykurien.com designates 197.242.154.255 as permitted sender) smtp.mailfrom=toby@tobykurien.com; dmarc=none Received: from doxy.aserv.co.za ([154.0.166.100]) by spe3.ucebox.co.za with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1tUOB0-009sv9-LK for freebsd-arm@freebsd.org; Sun, 05 Jan 2025 12:48:14 +0200 Received: from cloud.tobykurien.com (unknown [41.79.79.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by doxy.aserv.co.za (Postfix) with ESMTPSA id E0D2A266129 for ; Sun, 5 Jan 2025 12:48:08 +0200 (SAST) DKIM-Signature: a=rsa-sha256; bh=ICkmc1MQmYmmVaydE0BziPdmDkRQUDH4OHAdNCCfcwc=; c=relaxed/relaxed; d=tobykurien.com; h=Subject:Subject:Sender:To:To:Cc:From:From:Date:Date:MIME-Version:MIME-Version:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Reply-To:In-Reply-To:In-Reply-To:Message-Id:Message-Id:References:References:Autocrypt:Openpgp; i=@tobykurien.com; s=default; t=1736074089; v=1; x=1736506089; b=SEZAMfig+fsq8T7fGr/dZyvtCTNUS0AsNVJ5qTMTpIxYikICGtP6Ll15pb/2cbirOuZDuZoQ odBi+GZHnhpKfotO6Mz+wYm80yfom6FqSG+3G9FddhA/RXvy+cnuBlktMWXZdbC4nNNMAzF82K3 pFwPOGWNado++uTS4mqSshnuOVCbHSqbfyNmA4j+2nzwBXXf4ScA4dNRa88aqaCSL5P8N1B/BGw XRK4PFvhVqp59KLu8vX6PH7JatOVS5vL3w7eB3ApsG9JtJ+7mTC0mgTtQG9vKi6z/PBZkC+CwnK n8XWlbjvhb4cOJHmhTVTCznEPW7wL+NGvjWT043784+1A== Received: by cloud.tobykurien.com (envelope-sender ) with ESMTPS id efd29e66; Sun, 05 Jan 2025 10:48:09 +0000 Date: Sun, 5 Jan 2025 12:48:02 +0200 From: Toby Kurien To: freebsd-arm@freebsd.org Subject: Re: EFI framebuffer blanks during boot Message-ID: References: <20241218115610.Horde.ZMws8aj0Si_tufYawGSkq16@cloud.nextcloudhosting.co.za> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Originating-IP: 154.0.166.100 X-Afrihost-Domain: doxy.aserv.co.za X-Afrihost-Username: 154.0.166.100 X-Afrihost-Outgoing-Class: ham X-Afrihost-Outgoing-Evidence: Combined (0.11) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9mdHJkJEGDqVteTDib6odKPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wOvGg18h18lTsuUGH1KgAagLCWYuPCxwJEfxKP87A95+fH zJ6mVE7ewsipSVIfs4aPYs9Wj2g67stcO4BJ8hXvABHVTw1lV42ob3hDgXVUNbZJMuJHHFnTdGKa 3VxxhLA8U1774x9DQql3n5V1vHjnkuW1FFLwEW3UVQ/02r/eitdn5CXCG6zzUxxWbE5VnshrtABe TE0tY9RQlsEW5d+kXzxdcSEOF5ZgjdwpVsfMm9dCYgcgr835yVjKQZA6hJL1LiMHCxRezvZaFOrU Vh8zNqs59tg7m1SQLJtFApHh60KEcxAcIwRZNf0cSHBI/j8xKX6Z6/Qz1w7TE/bz3YPRDfgblxZ8 KT4UwlLW+nAm2eZE7YJwhBWCb1PmFojBOyjXs2KsRjKrCowEavDwQuKoDMwQiNpECc6NeluD4mMa /1YmDHeI9dU6Rq238kXYC+KNLtSRWKGmohoil/1AiKo+tkgXyuidojvEg3qjfiiAf/vg7iEFLP+S SY+Av5+AiC4+cZX8WknokmSP3xzvf1AnqkgFz88vkNuG2+19Snt2LnYwFCR7ot70rQU00NUAUIYt uctFVQp078svLEqHvTCZstIYjMKgSmf0fMSGkoiSbtO6UlGm0ycQh0Ylbt1+Ear3Y80OmAux3oN1 3+ztUzneeH9vrfuk7fRvn0o9yycTJzaslDewd9SvuBEMrxmqkujdsHSNrzIWTAsLxS0ncvwRNs5T Bl8VfoSfYIQ4LCBTzYP+xmzYtBWHAoRTGsqGxCCpv6/nAnrLfB175ek9DRRm9R/2gMGq0KWAzmMf +ibVDghxtC6SPrOXv6rESukjSA5vnpiNotwN38VVUYyvwlIhJdgQGsN+N1qJPtNMC+RP0KRvQDwO 6ur/Di47GnmH3wummAO4viSzvvpPzgJUfnLxUuXi8ijc+7N/ems+rzGkbzEvuGslKTrRIXcXpFg5 ivY= X-Report-Abuse-To: spam@spe1.ucebox.co.za X-Rspamd-Queue-Id: 4YQvDT5PP3z4YvV X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.80 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:197.242.144.0/20]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[tobykurien.com:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[tobykurien.com]; R_DKIM_PERMFAIL(0.00)[tobykurien.com:s=default]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:37611, ipnet:197.242.144.0/20, country:ZA]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; HAS_XOIP(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[] I made some progress, this might help others who are facing a similar issue: - In /src/sys/dev/clk/rockchip/rk_cru.c:68 I commented out the "bus_write_4(...)" call, which stopped the screen from resetting during the clock initialization. This is a brute force hack. - The display now works for much longer but still got reset later on. I tracked this down to the regulators for the LCD power supply being shut off as being "unused", so I set it to "regulator-always-on" and "regulator-boot-on" in the DTB. This fixed the second reset. The screen now stays on and keeps displaying stuff! I could use advise on how to clean up the hack above: how can I detect that the clocks are already initialized in the hardware (by EFI) and avoid re-initializing it? -- tobykurien.com On Wed, Dec 18, 2024 at 05:51:04PM +0100, Klaus Cucinauomo wrote: > This issue, exactly as you describe, is known to me from the RK3328(after enabled an hdmi-driver in u-boot there) but not from the RK3399(efifb always worked there). > > > > Am 18.12.2024 um 12:56 schrieb Toby Kurien : > > > > An update on this, I did some more digging into why the display output blanks during boot. Firstly, I can confirm that the backlight stays on throughout, so that it not the issue. I tried disabling "grf" and "cru" in the device tree, and it seems it's the rk3399_cru0 module that ends up resetting the panel. If that's disabled, the screen stays on and continues displaying output, although of course the kernel panics. I'll dig into the rk3399_cru code, but if anyone has any pointers into what I could try, that would be super helpful. Thanks. > > > > -- > > tobykurien.com > > > > > > "Toby Kurien" toby@tobykurien.com – December 16, 2024 3:15 PM > >> On the Pinephone Pro I installed u-boot with EFI framebuffer support. Two strange things happen during the FreeBSD bootup: > >> > >> 1. Loader does not display on the EFI FB, instead it appears in the serial console. I tried adding `console="efi"` to loader.conf but to no avail. Any ideas why this might be even though (as below) some kernel output appears on EFI FB? > >> > >> 2. However, after loader, the kernel starts loading on the screen (even showing VT(efifb): resolution 720x1440), up until rk3399_cru0 is detected, then soon after it blanks. I took a video of the process to pinpoint where it blanks out, and it appears to be when rk_grf1 (general register files) is loaded and/or when the fixed regulators are being initialized. > >> > >> I did some digging, and I suspect that either the power to the panel is being interrupted, and/or the LCD reset pin is being set. I guess either of these will reset the panel, thus then requiring it to be re-initialized. I confirmed that rk_grf1 controls the GPIOs responsible for powering and resetting the LCD. Any ideas on how to prevent the GPIOs from being changed during bootup (if EFI FB is available)? Or maybe I'm mistaken and something else is going on? Any help would be appreciated, thanks! > >> > >> -- > >> > >> http://tobykurien.com > >> > >> > >> > > From nobody Sun Jan 5 21:44:19 2025 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 4YR9nH4y9jz5kJFL for ; Sun, 05 Jan 2025 21:44:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YR9nH31gXz4XNq for ; Sun, 5 Jan 2025 21:44:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736113459; 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: in-reply-to:in-reply-to:references:references; bh=7S65ibk5hPNoHjhHB9f3cwPQgWcv2VS6+r7wtM4qUbA=; b=IryWI7E9falu+bWJllfZt22CBERB1p1/IcTnR26AzG/LRXb9L3fJl2rnnzTricsyUGluK7 hCFhV3CRhQtAvYcEG1zPe/8BQl0+e4grmvT/sImN9x4+Yl0j/1/+LqvN/zD7TUBR2i+Uvc Hgb10Xu4h1R5NrDzcvfMiItmWnrHoFqpW2sBO/JxbQuWCd80xfRljc5lfyw9p/1meB8p2a 5gptjqEVNFbWxBqkufLDeep8jTFhYV3s/MKHUMZT18Q2RpQXSsi7GLzrEkI0VGKHneijnG 34sYVUzADPhW5ABvUIgf183FSM74sCrBSYH7+8SDLRJ7QR23hYjhZglHBiGVXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736113459; a=rsa-sha256; cv=none; b=GPieKIViIh56VRmi1Q5P8oMxBcznFlPtYmp/EyypPJr5e+K21qH9/6fIF5nc4OCMnhXkbe J1rmCEWP1eRwIAXuWLc1GD7XjaWrGU9tbD/D642Ay1h5OQ5fRC36D9TUfc5ThL8SPkUizb nAefKhdTApHUqTSA3kjbEnrhCevb0dA5d2I2afHH8QJZRtzYV0nhICxdCHyMdtjyH3bGnF wkVms7G7p/ro5Oa0E3LfhisuaSnQnzgkZ/4L3B9xP/HvNm7UXwggZvK1be6CTlIHZ2xyjs Xcw8CMU94ysBoXA1kyJv5VP9/E2pTTS8lsMiTi1fpUYSTgz+T9LgM+wN0xgx0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YR9nH2KKHzwJD for ; Sun, 05 Jan 2025 21:44:19 +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 505LiJVK035063 for ; Sun, 5 Jan 2025 21:44:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 505LiJRK035062 for freebsd-arm@FreeBSD.org; Sun, 5 Jan 2025 21:44:19 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 283841] link fails: undefined symbol: _Unwind_SjLj_Register (port finance/electrs) Date: Sun, 05 Jan 2025 21:44:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283841 Yuri Victorovich changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #4 from Yuri Victorovich --- Forwarded to the RocksDB upstream: https://github.com/facebook/rocksdb/issues/13268 --=20 You are receiving this mail because: You are the assignee for the bug.=