Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2023 11:10:55 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Doug Rabson <dfr@rabson.org>, freebsd-arm@freebsd.org
Subject:   Re: Raspberry Pi POE+ hat overlay
Message-ID:  <CAFDf7UL9iSHcaaOYwU5A8RVYZpYDL65v-2FCprsyL2FLz8Cc8Q@mail.gmail.com>
In-Reply-To: <CACA0VUhdi2%2BGXpjmco0%2B5801t0Vso50Bat1UxJ2a4RJChxkU9w@mail.gmail.com>
References:  <CACA0VUh9-7o55pXcyn=Ep9mPexAkgjKLEKUh6HqMovTxe2_R0Q@mail.gmail.com> <E615D3BE-C12D-4960-BB01-AD2D40CA90A5@yahoo.com> <CACA0VUjCyhPCxBTn6h_HMOGjdFnivi5bnq4jgcg4i0bKY%2BF0PA@mail.gmail.com> <D6869D48-5661-4054-90D8-2B394CA5D25E@yahoo.com> <77CD0716-3BC8-47EB-8743-F2BD9CA43D31@yahoo.com> <432A1A16-9FE5-4339-AB38-8F3E03A5D4EF@yahoo.com> <CACA0VUhDwx%2BRmHU_OSFfGhjfbbbiy6HpurGL7WjM_i%2B0U7UpBQ@mail.gmail.com> <CACA0VUhdi2%2BGXpjmco0%2B5801t0Vso50Bat1UxJ2a4RJChxkU9w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000000531e805fbe0e835
Content-Type: multipart/alternative; boundary="0000000000000531e605fbe0e833"

--0000000000000531e605fbe0e833
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 <dfr@rabson.org> escreveu no dia ter=C3=A7a, 16/05/2023 =C3=A0(=
s) 17:19:

>
> On Sat, 13 May 2023 at 13:45, Doug Rabson <dfr@rabson.org> 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 the
>> 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 t=
he
> 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 for
> 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?
>
>

--=20
Nuno Teixeira
FreeBSD Committer (ports)

--0000000000000531e605fbe0e833
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello Doug,</div><div><br></div><div>I have too a 1.5=
 rpi but arm_boost=3D1 isn&#39;t doing anything, htop shows 1500Mhz when do=
ing something intensive.</div><div>I&#39;m running 13.2 stable</div><div><b=
r></div><div>Do I missing something?</div><div><br></div><div>Could you tak=
e a look at my setup?</div><div><br></div><div>Thanks,<br></div></div><br><=
div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Doug Rabson=
 &lt;<a href=3D"mailto:dfr@rabson.org">dfr@rabson.org</a>&gt; escreveu no d=
ia ter=C3=A7a, 16/05/2023 =C3=A0(s) 17:19:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"></div><br><div=
 class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, 13 May=
 2023 at 13:45, Doug Rabson &lt;<a href=3D"mailto:dfr@rabson.org" target=3D=
"_blank">dfr@rabson.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><div dir=3D"ltr">I was able to build an updated rpi-=
firmware port based on 1.20210805 and this boots successfully on pi400 as w=
ell as rpi4. With this, I can load the rpi-poe-plus overlay and I just need=
 to try and reverse engineer the undocumented mailbox API by reading the Li=
nux code.</div></blockquote><div><br></div><div>I have a first approximatio=
n of a fan driver which works with the 1.20210805 firmware (actually, I sub=
stituted rpi-poe-plus.dtbo from 1.20210831 which just changes the fan level=
s for the POE+). I&#39;m testing with an rpi4B rev 1.5 with &#39;make -j4 b=
uildworld&#39; 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 boo=
sts the cpu frequency up to 1800 for this board.</div><div><br></div><div>D=
oes 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?</div><div><br></div></div></div>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ=
er (ports)</span></div></div>

--0000000000000531e605fbe0e833--
--0000000000000531e805fbe0e835
Content-Type: text/plain; charset="US-ASCII"; name="cpuinfo.txt"
Content-Disposition: attachment; filename="cpuinfo.txt"
Content-Transfer-Encoding: base64
Content-ID: <f_lhrjllk11>
X-Attachment-Id: f_lhrjllk11

cHJvY2Vzc29yCTogMApCb2dvTUlQUwk6IDEwOC4wMApGZWF0dXJlcwk6IGZwIGFzaW1kIGV2dHN0
cm0gY3JjMzIgY3B1aWQKQ1BVIGltcGxlbWVudGVyCTogMHg0MQpDUFUgYXJjaGl0ZWN0dXJlOiA4
CkNQVSB2YXJpYW50CTogMHgwCkNQVSBwYXJ0CTogMHhkMDgKQ1BVIHJldmlzaW9uCTogMwoKcHJv
Y2Vzc29yCTogMQpCb2dvTUlQUwk6IDEwOC4wMApGZWF0dXJlcwk6IGZwIGFzaW1kIGV2dHN0cm0g
Y3JjMzIgY3B1aWQKQ1BVIGltcGxlbWVudGVyCTogMHg0MQpDUFUgYXJjaGl0ZWN0dXJlOiA4CkNQ
VSB2YXJpYW50CTogMHgwCkNQVSBwYXJ0CTogMHhkMDgKQ1BVIHJldmlzaW9uCTogMwoKcHJvY2Vz
c29yCTogMgpCb2dvTUlQUwk6IDEwOC4wMApGZWF0dXJlcwk6IGZwIGFzaW1kIGV2dHN0cm0gY3Jj
MzIgY3B1aWQKQ1BVIGltcGxlbWVudGVyCTogMHg0MQpDUFUgYXJjaGl0ZWN0dXJlOiA4CkNQVSB2
YXJpYW50CTogMHgwCkNQVSBwYXJ0CTogMHhkMDgKQ1BVIHJldmlzaW9uCTogMwoKcHJvY2Vzc29y
CTogMwpCb2dvTUlQUwk6IDEwOC4wMApGZWF0dXJlcwk6IGZwIGFzaW1kIGV2dHN0cm0gY3JjMzIg
Y3B1aWQKQ1BVIGltcGxlbWVudGVyCTogMHg0MQpDUFUgYXJjaGl0ZWN0dXJlOiA4CkNQVSB2YXJp
YW50CTogMHgwCkNQVSBwYXJ0CTogMHhkMDgKQ1BVIHJldmlzaW9uCTogMwoKSGFyZHdhcmUJOiBC
Q00yODM1ClJldmlzaW9uCTogZDAzMTE1ClNlcmlhbAkJOiAxMDAwMDAwMDI3NzlkNTQwCk1vZGVs
CQk6IFJhc3BiZXJyeSBQaSA0IE1vZGVsIEIgUmV2IDEuNQo=
--0000000000000531e805fbe0e835
Content-Type: text/plain; charset="US-ASCII"; name="config.txt"
Content-Disposition: attachment; filename="config.txt"
Content-Transfer-Encoding: base64
Content-ID: <f_lhrjllj80>
X-Attachment-Id: f_lhrjllj80

W2FsbF0KYXJtXzY0Yml0PTEKI2R0cGFyYW09YXVkaW89b24saTJjX2FybT1vbixzcGk9b24KZHRv
dmVybGF5PW1tYwpkdG92ZXJsYXk9ZGlzYWJsZS1idApkZXZpY2VfdHJlZV9hZGRyZXNzPTB4NDAw
MAprZXJuZWw9dS1ib290LmJpbgphcm1fYm9vc3Q9MQoKW3BpNF0KaGRtaV9zYWZlPTAKYXJtc3R1
Yj1hcm1zdHViOC1naWMuYmluCm1heF9mcmFtZWJ1ZmZlcnM9MgpoZG1pX2ZvcmNlX2hvdHBsdWc9
MQpoZG1pX2dyb3VwPTIKaGRtaV9kcml2ZT0yCmhkbWlfbW9kZT04MgpkaXNhYmxlX292ZXJzY2Fu
PTEK
--0000000000000531e805fbe0e835
Content-Type: text/plain; charset="US-ASCII"; name="eeprom.txt"
Content-Disposition: attachment; filename="eeprom.txt"
Content-Transfer-Encoding: base64
Content-ID: <f_lhrjllk32>
X-Attachment-Id: f_lhrjllk32

Qk9PVExPQURFUjogdXAgdG8gZGF0ZQogICBDVVJSRU5UOiBxdWEgMTEgamFuIDIwMjMgMTc6NDA6
NTIgVVRDICgxNjczNDU4ODUyKQogICAgTEFURVNUOiBxdWEgMTEgamFuIDIwMjMgMTc6NDA6NTIg
VVRDICgxNjczNDU4ODUyKQogICBSRUxFQVNFOiBkZWZhdWx0ICgvbGliL2Zpcm13YXJlL3Jhc3Bi
ZXJyeXBpL2Jvb3Rsb2FkZXIvZGVmYXVsdCkKICAgICAgICAgICAgVXNlIHJhc3BpLWNvbmZpZyB0
byBjaGFuZ2UgdGhlIHJlbGVhc2UuCgogIFZMODA1X0ZXOiBVc2luZyBib290bG9hZGVyIEVFUFJP
TQogICAgIFZMODA1OiB1cCB0byBkYXRlCiAgIENVUlJFTlQ6IDAwMDEzOGMwCiAgICBMQVRFU1Q6
IDAwMDEzOGMwCg==
--0000000000000531e805fbe0e835--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UL9iSHcaaOYwU5A8RVYZpYDL65v-2FCprsyL2FLz8Cc8Q>