Date: Tue, 16 May 2023 17:19:27 +0100 From: Doug Rabson <dfr@rabson.org> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi POE+ hat overlay Message-ID: <CACA0VUhdi2%2BGXpjmco0%2B5801t0Vso50Bat1UxJ2a4RJChxkU9w@mail.gmail.com> In-Reply-To: <CACA0VUhDwx%2BRmHU_OSFfGhjfbbbiy6HpurGL7WjM_i%2B0U7UpBQ@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>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000001f89a605fbd1f07e Content-Type: text/plain; charset="UTF-8" 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 the cpu temperature below 65 degrees which is nice, especially since I set arm_boost=1 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? --0000000000001f89a605fbd1f07e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <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= <<a href=3D"mailto:dfr@rabson.org">dfr@rabson.org</a>> wrote:<br></d= iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord= er-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204= );padding-left:1ex"><div dir=3D"ltr">I was able to build an updated rpi-fir= mware 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.</div></blockquote><div><br></div><div>I have a first approximation o= f a fan driver which works with the 1.20210805 firmware (actually, I substi= tuted rpi-poe-plus.dtbo from 1.20210831 which just changes the fan levels f= or the POE+). I'm testing with an rpi4B rev 1.5 with 'make -j4 buil= dworld' and the fan is keeping the cpu temperature below 65 degrees whi= ch is nice, especially since I set arm_boost=3D1 in config.txt which boosts= the cpu frequency up to 1800 for this board.</div><div><br></div><div>Does= anyone have a pointer to the problem with firmware later than 20210805? Wo= uld 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> --0000000000001f89a605fbd1f07e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACA0VUhdi2%2BGXpjmco0%2B5801t0Vso50Bat1UxJ2a4RJChxkU9w>