mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Premi, Sanjeev" <premi@ti.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Query on default environment
Date: Mon, 28 Dec 2009 19:54:30 +0530	[thread overview]
Message-ID: <B85A65D85D7EB246BE421B3FB0FBB59301E1C30908@dbde02.ent.ti.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1154 bytes --]

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=y
+CONFIG_DEFAULT_ENVIRONMENT="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


[-- Attachment #1.2: Type: text/html, Size: 4842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2009-12-28 14:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-28 14:24 Premi, Sanjeev [this message]
2010-01-08  9:18 ` Premi, Sanjeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B85A65D85D7EB246BE421B3FB0FBB59301E1C30908@dbde02.ent.ti.com \
    --to=premi@ti.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox