On Sat, Sep 07, 2019 at 04:06:24PM -0400, Jon Ringle wrote: > On Sat, Sep 7, 2019 at 1:42 AM Jon Ringle <[email protected]> wrote: > > On Tue, Sep 3, 2019 at 9:53 AM Roland Hieber <[email protected]> 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 [email protected]
