From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1NPGWU-0002RJ-JF for barebox@lists.infradead.org; Mon, 28 Dec 2009 14:24:43 +0000 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id nBSEOXSH025671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 28 Dec 2009 08:24:35 -0600 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nBSEOVtn025166 for ; Mon, 28 Dec 2009 19:54:32 +0530 (IST) From: "Premi, Sanjeev" Date: Mon, 28 Dec 2009 19:54:30 +0530 Message-ID: Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0822182779==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Query on default environment To: "barebox@lists.infradead.org" --===============0822182779== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_B85A65D85D7EB246BE421B3FB0FBB59301E1C30908dbde02enttico_" --_000_B85A65D85D7EB246BE421B3FB0FBB59301E1C30908dbde02enttico_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I was trying to create a default environment for the OMAP3EVM to contain basic settings and a 'hello world' script before I could do/add something useful. My changes were: -# CONFIG_PARTITION is not set -# CONFIG_DEFAULT_ENVIRONMENT is not set +CONFIG_PARTITION=3Dy +CONFIG_DEFAULT_ENVIRONMENT=3D"board/omap/omap3evm/env" But, I did come across this error: premi # make scripts/kconfig/conf -s arch/arm/Kconfig Makefile:1261: *** default environment path empty. Stop. make distclean did not help as well. Somehow, the value of CONFIG_DEFAULT_ENVIRONMENT in the defconfig seem to take precedence over .config. Though, i can;t be sure as I was tinkering all over. But finally when the defconfig and .config were same, build was successful. Will try to see if i can create a reproducible scenario; but, if it give hints, may be a problem to look at. Or simple ignore as user error. Now, I have "barebox_default_env" built alongside barebox.bin How do I get this envronment on the EVM? Did go thru docs (http://barebox.org/documentation/barebox-2009.12.0/) but did not find the next step. Best regards, Sanjeev --_000_B85A65D85D7EB246BE421B3FB0FBB59301E1C30908dbde02enttico_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
 
I= was trying=20 to create a default environment for the OMAP3EVM to contain
b= asic=20 settings and a 'hello world' script before I could do/add=20 something
u= seful.=20 My=20 changes were:
 
-= #=20 CONFIG_PARTITION is not set
-# CONFIG_DEFAULT_ENVIRONMENT is not=20 set
+CONFIG_PARTITION=3Dy
+CONFIG_DEFAULT_ENVIRONMENT=3D"board/omap/o= map3evm/env"
 
B= ut, I did=20 come across this error:
 
p= remi #=20 make
scripts/kconfig/conf -s arch/arm/Kconfig
Makefile:1261: *** defa= ult=20 environment path empty.  Stop.
m= ake=20 distclean did not help as well. Somehow, the value of
CONFIG_DEFAULT_ENVIRONMENT in the defconfig seem to=20 take
p= recedence=20 over .config. Though, i can;t be sure as I
w= as=20 tinkering all over. But finally when the defconfig
and=20 .config were same, build was successful.
 
Will=20 try to see if i can create a reproducible scenario;
but,=20 if it give hints, may be a problem to look at. Or
simple=20 ignore as user error.
 
 
Now, I=20 have "barebox_default_env" built alongside=20 barebox.bin
How do=20 I get this envronment on the EVM?
 
Did go=20 thru docs (http://barebox= .org/documentation/barebox-2009.12.0/)
but=20 did not find the next step.
 
B= est=20 regards,
Sanjeev
 
--_000_B85A65D85D7EB246BE421B3FB0FBB59301E1C30908dbde02enttico_-- --===============0822182779== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============0822182779==--