Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2021 17:04:25 +0700
From:      Olivier <Olivier.Nicole@cs.ait.ac.th>
To:        freebsd-arm@freebsd.org
Subject:   Re: Patching a kernel on RPi
Message-ID:  <wu75ytxxp3q.fsf@banyan.cs.ait.ac.th>
In-Reply-To: <842857e232438ab4734e2e6100473451f99ef967.camel@freebsd.org> (message from Ian Lepore on Fri, 15 Oct 2021 08:53:35 -0600)

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Lepore <ian@freebsd.org> writes:

> On Fri, 2021-10-15 at 11:41 +0700, Olivier wrote:
>> Hi,
>> 
>> I am trying to work on a Raspberry Pi with FreeBSD for the first
>> time.
>> 
>> One thing I need it enabling interrupts on GPIO. I have found the
>> patch
>> to applied, but I am not fully sure how to recompile the kernel and
>> install the new kernel on RPi.
>> 
>> I understand that the disk/boot organisation is not really the same
>> as
>> with another arcitecture and would prefer to not do something that
>> would
>> make the system unbootable.
>> 
>> TIA,
>> 
>> Olivier
>
> There is no need to patch and recompile the kernel to use gpio
> interrupts on RPi.  The native RPi gpio driver supports interrupts.

Is that for FreeBSD 12.2 or 13? From all information I could find, it
said that kernel 12.2 needs patch.

Thank you,

Olivier




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