Re: [U-Boot] [Almost solved] M5282EVB undefined reference to `environment'

2011-11-30 Thread James Steward
On 30/11/11 17:58, Igor Grinberg wrote: On 11/30/11 00:58, James Steward wrote: On 25/11/11 14:52, James Steward wrote: So it compiles env_embedded.c, but doesn't include it in libcommon.o? vim common/Makefile XCOBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o becomes

Re: [U-Boot] [Almost solved] M5282EVB undefined reference to `environment'

2011-11-29 Thread James Steward
On 25/11/11 14:52, James Steward wrote: So it compiles env_embedded.c, but doesn't include it in libcommon.o? vim common/Makefile XCOBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o becomes COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o :q make all Hey, presto, build now comp

Re: [U-Boot] [Almost solved] M5282EVB undefined reference to `environment'

2011-11-24 Thread James Steward
On 24/11/11 17:36, Igor Grinberg wrote: On 11/24/11 01:58, James Steward wrote: A search with grep CONFIG_ENV_IS_EMBEDDED `find . -name "*.h"` indicates the answer is no. Should it be set? AFAIK, environment variable is used only when you have ENV_IS_EMBEDDED set. Also, there is

Re: [U-Boot] M5282EVB undefined reference to `environment'

2011-11-24 Thread James Steward
On 24/11/11 17:36, Igor Grinberg wrote: On 11/24/11 01:58, James Steward wrote: Hi Igor, On 23/11/11 23:19, Igor Grinberg wrote: Hi James, On 11/22/11 07:22, James Steward wrote: On 22/11/11 15:51, Marek Vasut wrote: Hi, I'm trying to build U-Boot for the above mentioned board. Basi

Re: [U-Boot] M5282EVB undefined reference to `environment'

2011-11-23 Thread James Steward
Hi Igor, On 23/11/11 23:19, Igor Grinberg wrote: Hi James, On 11/22/11 07:22, James Steward wrote: On 22/11/11 15:51, Marek Vasut wrote: Hi, I'm trying to build U-Boot for the above mentioned board. Basically, I've done the following on a Ubuntu 10.04: wget https://sourcery.

Re: [U-Boot] M5282EVB undefined reference to `environment'

2011-11-21 Thread James Steward
On 22/11/11 15:51, Marek Vasut wrote: Hi, I'm trying to build U-Boot for the above mentioned board. Basically, I've done the following on a Ubuntu 10.04: wget https://sourcery.mentor.com/public/gnu_toolchain/m68k-elf/freescale-coldfir e-4.4-215-m68k-elf-i686-pc-linux-gnu.tar.bz2 sudo tar xvfj

[U-Boot] M5282EVB undefined reference to `environment'

2011-11-21 Thread James Steward
Hi, I'm trying to build U-Boot for the above mentioned board. Basically, I've done the following on a Ubuntu 10.04: wget https://sourcery.mentor.com/public/gnu_toolchain/m68k-elf/freescale-coldfire-4.4-215-m68k-elf-i686-pc-linux-gnu.tar.bz2 sudo tar xvfj freescale-coldfire-4.4-215-m68k-el