From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 24 Aug 2018 14:37:28 +0200 Subject: [Buildroot] [PATCH] package/rauc: needs kernel headers >= 3.0 In-Reply-To: <20180824120119.GO9365@scaer> References: <20180824080217.16181-1-yann.morin.1998@free.fr> <20180824134900.1ccc9c2c@windsurf> <20180824120119.GO9365@scaer> Message-ID: <20180824143728.05576d39@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Fri, 24 Aug 2018 14:01:19 +0200, Yann E. MORIN wrote: > That is not really possible, because emmc support is core to rauc; it is > not even optional in the current code. Removing it (by making it > conditional) does not make sense IMHO (but I'm not using rauc). > > And then, technically, it would require quite some overhaul in rauc, > because access to the emmc code is made from a lot of places. Tadada. The problematic piece of code is not used for eMMC support in general, just for eMMC boot partition support. It was added by a single commit between v0.3 and v0.4 and is pretty self-contained and well-isolated. So I took what you said as a challenge, and came up with: http://patchwork.ozlabs.org/patch/961842/ Which has the added benefit of fixing the build issue of host-rauc :-) Since it took me 36 minutes between your e-mail and this e-mail being, I don't think "quite some overhaul in rauc" was really needed :-P Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com