Change barebox default config

bluscape
Where can I change the default barebox config so that I don't have to
change the config every time I load barebox onto the Mini2440?

For example the default rootfs_type=jffs2 I have to change it the ext3
evertytime. I want to compile my personal default config into my barebox.
How do I do that?

davef
The section 8.21.1.1 "Run-time Environment (env) and how it is controlled
by Barebox" in the Quickstart guide should help here.

Specifically, starting at "The environment is a collection . . .

Juergen Beisert
The default environment gets compiled in. There are various locations where
the default environment content can be modified and it depends on the build
environment. If you build your Barebox by your own, the default environment
will be a collection of the locations 'arch/arm/boards/mini2440/env' and
'defaultenv/'.

If you are using the PTXdist based Mini2440 BSP the content of the
'configs/platform-friendlyarm-mini2440/barebox-64m-env' or
'configs/platform-friendlyarm-mini2440/barebox-128m-env' (depends on your
hardware) is used in addition.
If files with the same name exist in all these locations, the file with the
highest priority will be compiled in.
Priority high to low:
 - configs/platform-friendlyarm-mini2440/barebox-(64|128)m-env
 -
platform-mini2440/build-target/barebox-2011.05.0/arch/arm/boards/mini2440/env
 - platform-mini2440/build-target/barebox-2011.05.0/defaultenv/

Hope this helps.