From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i7CxJ-0005rX-5d for ptxdist@pengutronix.de; Mon, 09 Sep 2019 08:15:17 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1i7CxI-0005sT-TF for ptxdist@pengutronix.de; Mon, 09 Sep 2019 08:15:16 +0200 Date: Mon, 9 Sep 2019 08:15:16 +0200 From: Michael Olbrich Message-ID: <20190909061516.xvly7rxz4jx3lkmh@pengutronix.de> References: <20190903135311.5kclg2f5dmv6imqz@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] RPi3b+ boot sequence with DistroKit (barebox) List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Sat, Sep 07, 2019 at 04:06:24PM -0400, Jon Ringle wrote: > On Sat, Sep 7, 2019 at 1:42 AM Jon Ringle wrote: > > On Tue, Sep 3, 2019 at 9:53 AM Roland Hieber wrote: > > > >> On Sat, Aug 31, 2019 at 10:35:05PM -0400, Jon Ringle wrote: > >> > B) If so, where should the overlays/ directory live...? > >> > >> If you put the DTBOs into configs/platform-v7a/rpi-firmware/overlays/, > >> you can change configs/platform-v7a/rules/image-rpi3.make to pick them > >> up when you add the files to IMAGE_RPI3_DATA (this works by passing the > >> variable contents to genimage by replacing @FIRMWARE_RPI3@ in > >> configs/platform-v7a/config/images/rpi3.config) (and accordingly for > >> s/rpi3/rpi2/). > >> > >> > > The problem I am having is that there doesn't seem to be a way to tell > > genimage to create files in a subdirectory. > > In the image there needs to be a subdir `overlays/`, but genimage is > > putting all files in the root dir of the image. > > > > > It was a pain in the ass to figure out how to get genimage to cooperate > with putting the *.dtbo in the overlays/ dir in the image. The file / files syntax is really only meant for very simple stuff. The vfat image type supports the rootdir just like other filesystem types. So maybe it would be easier to use that instead. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de