<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3640" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>I was trying
to create a default environment for the OMAP3EVM to contain</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>basic
settings </FONT></SPAN><SPAN class=207411014-28122009><FONT face="Courier New"
size=2>and a 'hello world' script before I could do/add
something</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>useful.
</FONT></SPAN><SPAN class=207411014-28122009><FONT face="Courier New" size=2>My
changes were:</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>-#
CONFIG_PARTITION is not set<BR>-# CONFIG_DEFAULT_ENVIRONMENT is not
set<BR>+CONFIG_PARTITION=y<BR>+CONFIG_DEFAULT_ENVIRONMENT="board/omap/omap3evm/env"</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>But, I did
come across this error:</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>premi #
make<BR>scripts/kconfig/conf -s arch/arm/Kconfig<BR>Makefile:1261: *** default
environment path empty. Stop.<BR></FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>make
distclean did not help as well. Somehow, the value of</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2>CONFIG_DEFAULT_ENVIRONMENT in the defconfig seem to
take</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>precedence
over .config. Though, i can;t be sure as I</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>was
tinkering all over. But finally when the defconfig</FONT></SPAN></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>and
.config were same, build was successful.</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=207411014-28122009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>Will
try to see if i can create a reproducible scenario;</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>but,
if it give hints, may be a problem to look at. Or</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>simple
ignore as user error.</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=207411014-28122009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=207411014-28122009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>Now, I
have "barebox_default_env" built alongside
barebox.bin</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>How do
I get this envronment on the EVM?</SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=207411014-28122009></SPAN></FONT></FONT> </DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>Did go
thru docs (<FONT face="Courier New"><FONT size=2><SPAN
class=207411014-28122009><A
href="http://barebox.org/documentation/barebox-2009.12.0/">http://barebox.org/documentation/barebox-2009.12.0/</A>)</SPAN></FONT></FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=207411014-28122009>but
did not find the next </SPAN></FONT></FONT><FONT face="Courier New"><FONT
size=2><SPAN class=207411014-28122009>step.</SPAN></FONT></FONT><FONT
face="Courier New"><FONT size=2><SPAN
class=207411014-28122009></DIV></SPAN></FONT></FONT>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New" size=2>Best
regards,<BR>Sanjeev</FONT></SPAN></DIV>
<DIV><SPAN class=207411014-28122009><FONT face="Courier New"
size=2></FONT></SPAN> </DIV></BODY></HTML>