From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from snt0-omc4-s19.snt0.hotmail.com ([65.55.90.222]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SPYD0-0002NA-Km for ptxdist@pengutronix.de; Wed, 02 May 2012 13:59:04 +0200 Message-ID: From: barhoumi mohtadi Date: Wed, 2 May 2012 12:58:55 +0100 In-Reply-To: <159404761dca398eb1e588865c442c08@idefix.lespocky.dyndns.org> References: , , , , <159404761dca398eb1e588865c442c08@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Subject: Re: [ptxdist] Loading kernel configuration from an existing platform ( where is the file ??? :D ) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0326771784==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0326771784== Content-Type: multipart/alternative; boundary="_03cc7608-c088-4c85-8ec3-008228177cf8_" --_03cc7608-c088-4c85-8ec3-008228177cf8_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Great ! it worked=2C ( but in fact i thought that he old config is saved in= old.config and that we don't require to save the configuration to .config = )!! thanks again :) Regards=2C Mohtadi Barhoumi > Date: Wed=2C 2 May 2012 13:52:24 +0200 > From: post@lespocky.de > To: ptxdist@pengutronix.de > Subject: Re: [ptxdist] Loading kernel configuration from an existing plat= form ( where is the file ??? :D ) >=20 > Hei hei=2C=20 >=20 > Am 2012-05-02 09:53=2C schrieb barhoumi mohtadi: > > I've tried to load that file =2C i can see that options are checked=2C = i > > save my configuration=2C but when running kernelconfig another time=2C > > it's like i've done nothing!! the confiugration has not been loaded > > properly i guess... >=20 > This sounds like a problem one has with upgrading kernels too. In our > BSP there's this: >=20 > PTXCONF_KERNEL_CONFIG=3D"kernelconfig-${PTXCONF_KERNEL_VERSION}" >=20 > So there's one config for each kernel version. When upgrading I do the > following: >=20 > * `ptxdist kernelconfig` > * "Load an Alternate Configuration File" =96 Here load your old config= =2C > the in background called 'make menuconfig' for the kernelconfig handles > new options. > * Do your settings or check your old ones. > * "Save an Alternate Configuration File" =96 Enter '.config' here. >=20 > ptxdist handles copying .config to > kernelconfig-${PTXCONF_KERNEL_VERSION} in both directions=2C at least thi= s > is what I guessed from the behaviour. >=20 > So you do not only need to load your old config but save it to .config > (without path before). You can now call `ptxdist kernelconfig` again and > your config should still be there. >=20 > HTH & Greets > Alex >=20 > --=20 > =BBWith the first link=2C the chain is forged. The first speech censured= =2C > the first thought forbidden=2C the first freedom denied=2C chains us all > irrevocably.=AB (Jean-Luc Picard=2C quoting Judge Aaron Satie) > *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 *** >=20 > --=20 > ptxdist mailing list > ptxdist@pengutronix.de = --_03cc7608-c088-4c85-8ec3-008228177cf8_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Great ! it worked=2C ( but in fact i thought that he old config is saved in= old.config and that we don't require to save the configuration to .config = )!!
thanks again :)

Regards=2C

Mohtadi Barhoumi

>=3B Date: Wed=2C 2 May 2012 13:5= 2:24 +0200
>=3B From: post@lespocky.de
>=3B To: ptxdist@pengutron= ix.de
>=3B Subject: Re: [ptxdist] Loading kernel configuration from an= existing platform ( where is the file ??? :D )
>=3B
>=3B Hei he= i=2C
>=3B
>=3B Am 2012-05-02 09:53=2C schrieb barhoumi mohtadi:=
>=3B >=3B I've tried to load that file =2C i can see that options a= re checked=2C i
>=3B >=3B save my configuration=2C but when running = kernelconfig another time=2C
>=3B >=3B it's like i've done nothing!!= the confiugration has not been loaded
>=3B >=3B properly i guess...=
>=3B
>=3B This sounds like a problem one has with upgrading ker= nels too. In our
>=3B BSP there's this:
>=3B
>=3B PTXCONF= _KERNEL_CONFIG=3D"kernelconfig-${PTXCONF_KERNEL_VERSION}"
>=3B
>= =3B So there's one config for each kernel version. When upgrading I do the<= br>>=3B following:
>=3B
>=3B * `ptxdist kernelconfig`
>= =3B * "Load an Alternate Configuration File" =96 Here load your old confi= g=2C
>=3B the in background called 'make menuconfig' for the kernelcon= fig handles
>=3B new options.
>=3B * Do your settings or check = your old ones.
>=3B * "Save an Alternate Configuration File" =96 Ent= er '.config' here.
>=3B
>=3B ptxdist handles copying .config to<= br>>=3B kernelconfig-${PTXCONF_KERNEL_VERSION} in both directions=2C at l= east this
>=3B is what I guessed from the behaviour.
>=3B
>= =3B So you do not only need to load your old config but save it to .config<= br>>=3B (without path before). You can now call `ptxdist kernelconfig` ag= ain and
>=3B your config should still be there.
>=3B
>=3B H= TH &=3B Greets
>=3B Alex
>=3B
>=3B --
>=3B =BBWith= the first link=2C the chain is forged. The first speech censured=2C
>= =3B the first thought forbidden=2C the first freedom denied=2C chains us al= l
>=3B irrevocably.=AB (Jean-Luc Picard=2C quoting Judge Aaron Satie)<= br>>=3B *** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601 D1D5 8FBA 7744 CC87 10D0 = ***
>=3B
>=3B --
>=3B ptxdist mailing list
>=3B ptxdi= st@pengutronix.de
= --_03cc7608-c088-4c85-8ec3-008228177cf8_-- --===============0326771784== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0326771784==--