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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- Ian





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