From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([217.72.192.75]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2TrK-0003OI-Hk for ptxdist@pengutronix.de; Thu, 21 Jan 2021 07:54:23 +0100 Date: Thu, 21 Jan 2021 07:54:13 +0100 From: Alexander Dahl Message-ID: <20210121065412.im6mt7aw7darqyfg@falbala.internal.home.lespocky.de> References: MIME-Version: 1.0 In-Reply-To: Subject: Re: [ptxdist] Generate UBIFS Images List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0578340217==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Alex Vazquez Cc: ptxdist@pengutronix.de --===============0578340217== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ww5ofajimeqto2mo" Content-Disposition: inline --ww5ofajimeqto2mo Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alex, On Wed, Jan 20, 2021 at 11:56:55PM +0100, Alex Vazquez wrote: > I have some questions about generating UBIFS images. > First, I am using ptxdist-2018.05. For this version, I use Generate > UBIFS Images (NO new version). I would recommend to use the new approach, that should also work with ptxdist-2018.05 already. > - For the latest versions of ptxdist, it is possible to indicate > arguments to generate the *.ubifs? It is. Recent ptxdist versions use 'genimage' [1] to create those images. If the default genimage config files are not sufficient for you, you can just put your own config to your BSP. For example: in a BSP for an at91sam9g20 based board with the ptxdist platform named "foo", I put two files to 'configs/platform-foo/config/images': - ubi.config =20 - ubifs.config You find the files distributed with ptxdist also in 'config/images', e.g. in /usr/local/lib/ptxdist-2021.01.0/config/images or in the ptxdist source git tree. You can start with those files and adapt them to your needs. (For ubi/ubifs you actually should pick those as a start, because there are several placeholders for flash memory parameters to be substituted in there). There's some documentation on image packages, I found this: https://www.ptxdist.org/doc/ref_make_variables.html#image-packages Not sure if someone should write some more explanation on that? genimage itself is documented at [1] however. Greets Alex [1] https://github.com/pengutronix/genimage/ --=20 /"\ ASCII RIBBON | =BBWith the first link, the chain is forged. The first \ / CAMPAIGN | speech censured, the first thought forbidden, the X AGAINST | first freedom denied, chains us all irrevocably.=AB / \ HTML MAIL | (Jean-Luc Picard, quoting Judge Aaron Satie) --ww5ofajimeqto2mo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAmAJJRAACgkQNK3NAHIh XMYWfA/+N7UdJf08RUeMZW7azUtI8ZqpH8APXkJmgdmuBGZjAqm7GzPiwagW+0li lq0N9pvlcgtCIeNjjW7j8+akdtgskVvMZHUJgtuaPEVcxeXyyHwyfIgK2Hu+OvYW 4iMv+ReWfL+9sj9v5Zi1/krwEpFKb34T7Cgh8pzOQhAUWOrio43LZdC+v3qebRGg ly8Yk5Y6Xym0gpprDJKdxwdaQ6jqGMLeDJAtsWVVFVouOQKAjHui5McjgMAEGutR eCrSBOsZCzpyCgYa76V351VqnPoep00FJn8tn6rZBJpis9nLZ0xixzcaJy/D98Hg 03F9Id6SV7/AcsgqnWA0xQrT27CKxEFoiUVtx8+pEEJceZ4RsJMtrn2Y7AzdKUpC xCZETvvLEeEaumPkO6hItKQDEsTvOax1XikZSdZI9eWAyp5D0KmnAROOLAGzoX+d 1vMwExJg3AGhVEbxT2aRkU+XHAbAHIjnTzelu8g8MmtDJu6ZfWurO68rtgkN6CYx ZhBS3ooKwzmJMxAryDb6YhUc8fdi+wPgMecp0geujNf5V+iOsENLRQIwzmK99jxb p5lfZY21Ut2DVqLgtOLPqzL9idBTblvammv4ScloJjCxrfs7vbTsyRRQHKqiiXpg k0LRe6gTcHDPFZ6nWnqamvKyMXidUK0kfdHO38n0bI2oNmwtJtk= =Pxy6 -----END PGP SIGNATURE----- --ww5ofajimeqto2mo-- --===============0578340217== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de --===============0578340217==--