From nobody Wed May 17 12:44:48 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 4QLt9T5QNMz4B5L7 for ; Wed, 17 May 2023 12:45:01 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QLt9T4yjsz4LkG for ; Wed, 17 May 2023 12:45:01 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684327501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YeGSUMW+lncc0O66BH3ba6W2BTcQNE8JiYziu4LCgD8=; b=nlYb9Jhn3y/86txlVClt/AkPySBI/4FBhagg7v35mUVN5lwnSfoF+iXizdI7Z28f+F7Tl1 hhGDhkz8lCMH7fB9oFvNiZuOofBt2qAScAj2Du3pbD4IY4rrw5IQMfjbGV+gTtM56/Cmbs RjkDHuWK6jhL3q4n/GvnnG0WQSCOyadB99VMtwxdSB/DHxBkQwu2IQKxzXbk/fu4oH9PMd YGmvJH7tdnmXnlU34KNyw0oXDelFIMUXJTXlHAAJJSwuZtf4i870YvHHNHDM7UgG/yqF55 q4T1MamJzDEKXZBgqVDzqo7vj3daNW/j+pLOvzujmU/8jVUSYUsyhXVEiEHqaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684327501; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YeGSUMW+lncc0O66BH3ba6W2BTcQNE8JiYziu4LCgD8=; b=tMQGV0ZqZa12z+Rfs7EKA0lZ3sc1VBwTdZvYtRLI3GOnSeWfKBa5f5bIBv5123IWZXJptJ DeMzXnAs1O3QqeZm7j6texHDLx7CgZU1L98OAW6Hj7/YdEgP8S/AaO/xy5TCN4fA5cpR4M 22/lxUljvNXEv3ijCKYzFLeeVBKY4n7gNA8FuQBB2N+2LbJdoO6mZl2uM2MCPM0yRZQGYO 15+UvrYWfDo6ovxrdDlG6Nm8d7Wo6MfwAQTgSjKKKG7xXP9m6H7AxT10ainp8q7QLARGK4 JQD4fDSMMKu84/20C6BKQFCsNLBtHkxzRLf9TvoJdvIpI+GsQhZKi8woLf+KDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684327501; a=rsa-sha256; cv=none; b=X6NChJfkKozPiNq1Guls3GeaCWpLFnDDiChENmQCg+Sx3xwtgjEZs/hrA2hm0NWR6VI4lS 53UFGfYF0xWm81ye0xAVZs2rwMIJ4s2sBoQKM3HP3NkRtk+SilYfUGnkPoAhvK/HhTQZyX Qk1utuYuPB52Rp5Lf7MFKL41tguie79cfoSEejRI3HfuAmR7dQi6v076xFt/Cx9oEBDWxe 5xMAK5ywDddNeugcCVjM9UT/wH+O7aDVpUiMf2Tmz/WYw447oGp5lOs9sXaKMLfmr5EXtp HJ3Evvp//WgInSoJWtIDFHT7KuRVjOrJzAhTSD+4pl6CeAUqZ9Qh0FjUxgLikw== Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4QLt9T3yhLzwHy for ; Wed, 17 May 2023 12:45:01 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-643846c006fso666346b3a.0 for ; Wed, 17 May 2023 05:45:01 -0700 (PDT) X-Gm-Message-State: AC+VfDxcBb0l1Eli7dQkrJjHTDVQk2KPvf8mF2nmkCS5Oa+7U4glS80S XELMSn5Mw21NVZ6/z8elq2VJHRTVx+6j1P9W5bs= X-Google-Smtp-Source: ACHHUZ707R5xyE79jkFE2hQsXaWsHNH9s4vcm6KFUuo9WMDN1EjilzwmDKV17zOFk5GE/L/yUI4jF8g19UM0bcYS0J4= X-Received: by 2002:a05:6a20:8e1d:b0:101:47d8:ff86 with SMTP id y29-20020a056a208e1d00b0010147d8ff86mr35562329pzj.34.1684327500027; Wed, 17 May 2023 05:45:00 -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: <77CD0716-3BC8-47EB-8743-F2BD9CA43D31@yahoo.com> <432A1A16-9FE5-4339-AB38-8F3E03A5D4EF@yahoo.com> In-Reply-To: From: Nuno Teixeira Date: Wed, 17 May 2023 13:44:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Raspberry Pi POE+ hat overlay To: Doug Rabson Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000531deb05fbe30ea5" X-ThisMailContainsUnwantedMimeParts: N --000000000000531deb05fbe30ea5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey, Ok. I'm new to rpi4 and arm in general but tomorrow I will force 'arm_freq=3D1800' again just to see it it crashes again. I will check too what values linux shows. I don't know if firmware/uboot version included in 12.3 supports this feature. Cheers, Doug Rabson escreveu no dia quarta, 17/05/2023 =C3=A0(s) 1= 3:11: > Hi Nuno, > > I'm not sure where to start - I just happened to notice in the > documentation here: > https://www.raspberrypi.com/documentation/computers/config_txt.html that > the cpu frequency Pi4B R1.4 was listed as 1800 if arm_boot=3D1 so I tried= it. > > Doug. > > > > On Wed, 17 May 2023 at 11:11, Nuno Teixeira wrote: > >> Hello Doug, >> >> I have too a 1.5 rpi but arm_boost=3D1 isn't doing anything, htop shows >> 1500Mhz when doing something intensive. >> I'm running 13.2 stable >> >> Do I missing something? >> >> Could you take a look at my setup? >> >> Thanks, >> >> Doug Rabson escreveu no dia ter=C3=A7a, 16/05/2023 =C3= =A0(s) >> 17:19: >> >>> >>> On Sat, 13 May 2023 at 13:45, Doug Rabson wrote: >>> >>>> I was able to build an updated rpi-firmware port based on 1.20210805 >>>> and this boots successfully on pi400 as well as rpi4. With this, I can= load >>>> the rpi-poe-plus overlay and I just need to try and reverse engineer t= he >>>> undocumented mailbox API by reading the Linux code. >>>> >>> >>> I have a first approximation of a fan driver which works with the >>> 1.20210805 firmware (actually, I substituted rpi-poe-plus.dtbo from >>> 1.20210831 which just changes the fan levels for the POE+). I'm testing >>> with an rpi4B rev 1.5 with 'make -j4 buildworld' and the fan is keeping= the >>> cpu temperature below 65 degrees which is nice, especially since I set >>> arm_boost=3D1 in config.txt which boosts the cpu frequency up to 1800 f= or >>> this board. >>> >>> Does anyone have a pointer to the problem with firmware later than >>> 20210805? Would it make any kind of sense to try to get the fix into >>> releng/13.2 as an errata? >>> >>> >> >> -- >> Nuno Teixeira >> FreeBSD Committer (ports) >> > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000531deb05fbe30ea5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey,

Ok. I'm new to rpi4= and arm in general but tomorrow I will force 'arm_freq=3D1800' aga= in just to see it it crashes again.
I will check too what values = linux shows.

I don't know if firmware/uboot ve= rsion included in 12.3 supports this feature.

Chee= rs,

Doug Rabson <dfr@rabson.o= rg> escreveu no dia quarta, 17/05/2023 =C3=A0(s) 13:11:
Hi Nuno,
I'm not sure where to start - I just happened to notic= e in the documentation here:=C2=A0https://www.raspbe= rrypi.com/documentation/computers/config_txt.html that the cpu frequenc= y Pi4B R1.4 was listed as 1800 if arm_boot=3D1 so I tried it.
Doug.



On Wed, 17 May 2023 = at 11:11, Nuno Teixeira <eduardo@freebsd.org> wrote:
Hello Doug,

I have too a 1.5 rpi but arm_boost=3D1 isn't doing any= thing, htop shows 1500Mhz when doing something intensive.
I'm= running 13.2 stable

Do I missing something?
=

Could you take a look at my setup?

=
Thanks,



--
Nuno TeixeiraFreeBSD Committer (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--000000000000531deb05fbe30ea5--