From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 References: <20190903135311.5kclg2f5dmv6imqz@pengutronix.de> In-Reply-To: <20190903135311.5kclg2f5dmv6imqz@pengutronix.de> From: Jon Ringle Date: Sat, 7 Sep 2019 01:42:47 -0400 Message-ID: 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, jon@ringle.org Content-Type: multipart/mixed; boundary="===============1342286101==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Roland Hieber Cc: ptxdist@pengutronix.com --===============1342286101== Content-Type: multipart/alternative; boundary="000000000000fc30bb0591f00614" --000000000000fc30bb0591f00614 Content-Type: text/plain; charset="UTF-8" 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. -Jon --000000000000fc30bb0591f00614 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Tue, Sep 3, 2019 at 9:53 AM Roland Hie= ber <rhi@pengutronix.de> wr= ote:
On Sat, Aug= 31, 2019 at 10:35:05PM -0400, Jon Ringle wrote:
> B) If so, where sh= ould 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 hav= ing is that there doesn't seem to be a way to tell genimage to create f= iles 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.=

-Jon

--000000000000fc30bb0591f00614-- --===============1342286101== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de --===============1342286101==--