Morning Wolfgang
On Tue, 3 Feb 2009, Wolfgang Denk wrote:
Why not? The only thing env_nand.c needs to know is the address of the
environment in memory - it does not care if it's embedded or
elsewhere.
I think we should not artifically split this into two cases when it's
really one. There
Dear Guennadi Liakhovetski,
In message pine.lnx.4.64.0902030842390.4...@axis700.grange you wrote:
I think we should not artifically split this into two cases when it's
really one. There is two things that need to be done: (1) nand_spl must
locate a valid copy of the environment and load
Guennadi Liakhovetski wrote:
On Tue, 3 Feb 2009, Wolfgang Denk wrote:
I don't see what nand(_spl) maintainers should comment here - their
code is so far completley unaffected. We just agreed on needing
another call to the load routine.
We still have the other possibility - properly
Hi,
below is a patch / rfc that allows me to read the envorinment from NAND
early enough to be used in the console initialisation. It turns out this
is not only an ARM problem, rather it is common to all platforms storing
environment in NAND. Similarly, probably, env in SPI flash would have
Is this a catch 22? If console is initialized after loading environment
variables, this
means NAND (or other memories) driver are loaded before console being
available
and there is no console output to debug NAND driver initialization. If
console is
initialized before loading NAND driver,
Dear Guennadi Liakhovetski,
In message pine.lnx.4.64.0902021725100.4...@axis700.grange you wrote:
-#ifdef ENV_IS_EMBEDDED
+#if defined(ENV_IS_EMBEDDED)
extern uchar environment[];
env_t *env_ptr = (env_t *)(environment[0]);
+#elif defined(CFG_ENV_IS_APPENDED)
What makes you think an
On Mon, 2 Feb 2009, Wolfgang Denk wrote:
Dear Guennadi Liakhovetski,
In message pine.lnx.4.64.0902021725100.4...@axis700.grange you wrote:
-#ifdef ENV_IS_EMBEDDED
+#if defined(ENV_IS_EMBEDDED)
extern uchar environment[];
env_t *env_ptr = (env_t *)(environment[0]);
+#elif
Dear Guennadi Liakhovetski,
In message pine.lnx.4.64.0902022141190.8...@axis700.grange you wrote:
-#ifdef ENV_IS_EMBEDDED
+#if defined(ENV_IS_EMBEDDED)
extern uchar environment[];
env_t *env_ptr = (env_t *)(environment[0]);
+#elif defined(CFG_ENV_IS_APPENDED)
What makes
On Mon, 2 Feb 2009, Wolfgang Denk wrote:
Dear Guennadi Liakhovetski,
In message pine.lnx.4.64.0902022141190.8...@axis700.grange you wrote:
-#ifdef ENV_IS_EMBEDDED
+#if defined(ENV_IS_EMBEDDED)
extern uchar environment[];
env_t *env_ptr = (env_t *)(environment[0]);
tor 2009-01-15 klockan 08:33 +0100 skrev Guennadi Liakhovetski:
Hi,
a user is reporting, that setting silent and baudrate environment
variables on ARM have no effect on the console bahaviour. I didn't test
this but looking at the code it looks logical - the console is initialised
before
Hi,
a user is reporting, that setting silent and baudrate environment
variables on ARM have no effect on the console bahaviour. I didn't test
this but looking at the code it looks logical - the console is initialised
before environment variables are read. Question - is this a bug that has
to
11 matches
Mail list logo