From nobody Fri Oct 15 14:53:35 2021 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 6D21E1809D9D for ; Fri, 15 Oct 2021 14:53:45 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound5b.ore.mailhop.org (outbound5b.ore.mailhop.org [54.190.72.79]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HW8RF10RDz3Dvk for ; Fri, 15 Oct 2021 14:53:45 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1634309618; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=I0mrknf2rIy4PcbTGdMc9Y6RoCF9G4IbpkH30e3aZPhWn6mBheQXGp0fRPHT/aZ2RZcrBYZDrX1OE TrLpXgiuno9U/buXcMwqQenLrbLmo6XYbC0yJcln1IkNSgwhiWUEa6UnarEauvFLIhXCjDuu0aMYvo EmFAct03WgLpunkhUqwANvuR/2KppQ4WYSjVb9BkARNIYCNDqzrMiRbp4UfTrQHd/szpZAal9QgWQ7 Ju5SMEFeaUfCgD/T1QiXbTyASzzpdV75p1+9aO4zKqmCKBeps3WR2fDiMwLT2vxfVC3qJgL5NFIM5g RJ1GSYOGkcWMytModDLWdgCky0lpmWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=ZVQb8vl5+TpvVXVI9J6l2HB9wwAW2yuRvbqLXZeWuNM=; b=n0WEuE+3aFKEBq6BIAH1ojDC1dyg6TAlZCGyrXHgzxjgYtNIKV7ngSOQqs/vENoLBHd8PphTkXUzk XR77DDRMv2UY4Z4k1wDOetIT6UkhYGN5p36B/JLzy7m1LZNVW/1wDmIhKQndebZTT+zqGFsXdGS3OU cGUsgxjFYOLY1j0niQWavOxilubCV0m1hzms7ag+7h7iJx5VLPzyXqAGTLC/fRQlaVAeV3ZJn+6LFL 9TIQnUjy0D1W+/zMi+bb3LcI3KcgkuCWJNJdHaJt20zYQkxD60egRYN29irVRhakuyLfIR7ZJJGjuP tKH7IiESHWwDEmf2qnBTqNAQuCgcHWg== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=24.8.225.114; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=ZVQb8vl5+TpvVXVI9J6l2HB9wwAW2yuRvbqLXZeWuNM=; b=LGTxpOPEaVpe6c454i3dzEQi5tWgk511GjTLq1t2nu+/mlIv+htyIg9u92arXdmJqzEU4yPGwDrRl 69XGrrJRXXzhi80+vRVVwayhm0Y4mip3jVcek1uvXH8IsefEmU/oG0jmu9HCMDcLFVTtPY9ga6cDJ+ ZdkjxGnFQD58m3dsdaGE09EEIK8W35hLKQ+gV52LsI2RdduDsDcjBeUh/3gvVs2KoifJi7f3DweB9H DFj30liAP8kLqQSIO62a7+zKbizt3kR2rEqg1iYT9H72sEvJLFOLroyVgpB048ZU1F/TBrbe/hEbAO YXqtMuXq5/q53V4y+nkM/rxDWdQhbMg== X-Originating-IP: 24.8.225.114 X-MHO-RoutePath: aGlwcGll X-MHO-User: ac45f96b-2dc7-11ec-9d09-bf9d68d023b6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (c-24-8-225-114.hsd1.co.comcast.net [24.8.225.114]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id ac45f96b-2dc7-11ec-9d09-bf9d68d023b6; Fri, 15 Oct 2021 14:53:37 +0000 (UTC) Received: from [172.22.42.84] (rev2.hippie.lan [172.22.42.84]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id 19FErZ7m055150; Fri, 15 Oct 2021 08:53:35 -0600 (MDT) (envelope-from ian@freebsd.org) X-Authentication-Warning: paranoia.hippie.lan: Host rev2.hippie.lan [172.22.42.84] claimed to be [172.22.42.84] Message-ID: <842857e232438ab4734e2e6100473451f99ef967.camel@freebsd.org> Subject: Re: Patching a kernel on RPi From: Ian Lepore To: Olivier , freebsd-arm@freebsd.org Date: Fri, 15 Oct 2021 08:53:35 -0600 In-Reply-To: References: Content-Type: text/plain; charset="ASCII" User-Agent: Evolution 3.40.3 FreeBSD GNOME Team 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 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HW8RF10RDz3Dvk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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