* [U-Boot-Users] Reading environment in IXDP425
@ 2007-06-17 9:48 Ori Idan
2007-06-17 9:54 ` Sellathu
0 siblings, 1 reply; 6+ messages in thread
From: Ori Idan @ 2007-06-17 9:48 UTC (permalink / raw)
To: u-boot
Hello
I have an IXDP425 working with U-boot.
Saving environment with saveenv works fine (I tried md command to
verify it was saved).
After reset, the board does not read the environment from flash and
keeps using the default environment.
Does anyone have an idea what might go wrong?
I have CFG_ENV_IS_IN_FLASH
I do not have CFG_ENV_ADDR_REDUND defined.
--
Ori Idan
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Reading environment in IXDP425
2007-06-17 9:48 [U-Boot-Users] Reading environment in IXDP425 Ori Idan
@ 2007-06-17 9:54 ` Sellathu
2007-06-17 10:00 ` Ori Idan
0 siblings, 1 reply; 6+ messages in thread
From: Sellathu @ 2007-06-17 9:54 UTC (permalink / raw)
To: u-boot
Ori Idan wrote:
> Hello
>
> I have an IXDP425 working with U-boot.
> Saving environment with saveenv works fine (I tried md command to
> verify it was saved).
> After reset, the board does not read the environment from flash and
> keeps using the default environment.
>
> Does anyone have an idea what might go wrong?
>
> I have CFG_ENV_IS_IN_FLASH
> I do not have CFG_ENV_ADDR_REDUND defined.
>
>
Check whether your environment variable is assigned by any other code.
I've faced the same problem with 'ethact' variable, which is set at
runtime from net/eth.c
--
Sellathu
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Reading environment in IXDP425
2007-06-17 9:54 ` Sellathu
@ 2007-06-17 10:00 ` Ori Idan
2007-06-17 10:59 ` Ori Idan
0 siblings, 1 reply; 6+ messages in thread
From: Ori Idan @ 2007-06-17 10:00 UTC (permalink / raw)
To: u-boot
This is not the case, I tried changing a variable using setenv,
verified it was changed, the did saveenv and verified it was saved.
I then reseted the board and checked the environment
--
Ori Idan
On 6/17/07, Sellathu <selathu@gmail.com> wrote:
> Ori Idan wrote:
> > Hello
> >
> > I have an IXDP425 working with U-boot.
> > Saving environment with saveenv works fine (I tried md command to
> > verify it was saved).
> > After reset, the board does not read the environment from flash and
> > keeps using the default environment.
> >
> > Does anyone have an idea what might go wrong?
> >
> > I have CFG_ENV_IS_IN_FLASH
> > I do not have CFG_ENV_ADDR_REDUND defined.
> >
> >
> Check whether your environment variable is assigned by any other code.
> I've faced the same problem with 'ethact' variable, which is set at
> runtime from net/eth.c
>
> --
> Sellathu
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Reading environment in IXDP425
2007-06-17 10:00 ` Ori Idan
@ 2007-06-17 10:59 ` Ori Idan
2007-06-17 12:56 ` Sellathu
0 siblings, 1 reply; 6+ messages in thread
From: Ori Idan @ 2007-06-17 10:59 UTC (permalink / raw)
To: u-boot
It seems that saveenv is working.
I checked it using md and verified all variables are saved.
When resetting the board, it hanged up during eth_initialize so it
seems it did read
the flash environment but probably read something wrong.
Does anyone have any idea?
--
Ori Idan
On 6/17/07, Ori Idan <ori@helicontech.co.il> wrote:
> This is not the case, I tried changing a variable using setenv,
> verified it was changed, the did saveenv and verified it was saved.
> I then reseted the board and checked the environment
>
> --
> Ori Idan
>
>
> On 6/17/07, Sellathu <selathu@gmail.com> wrote:
> > Ori Idan wrote:
> > > Hello
> > >
> > > I have an IXDP425 working with U-boot.
> > > Saving environment with saveenv works fine (I tried md command to
> > > verify it was saved).
> > > After reset, the board does not read the environment from flash and
> > > keeps using the default environment.
> > >
> > > Does anyone have an idea what might go wrong?
> > >
> > > I have CFG_ENV_IS_IN_FLASH
> > > I do not have CFG_ENV_ADDR_REDUND defined.
> > >
> > >
> > Check whether your environment variable is assigned by any other code.
> > I've faced the same problem with 'ethact' variable, which is set at
> > runtime from net/eth.c
> >
> > --
> > Sellathu
> >
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Reading environment in IXDP425
2007-06-17 10:59 ` Ori Idan
@ 2007-06-17 12:56 ` Sellathu
2007-06-17 17:53 ` Ori Idan
0 siblings, 1 reply; 6+ messages in thread
From: Sellathu @ 2007-06-17 12:56 UTC (permalink / raw)
To: u-boot
Ori Idan wrote:
> seems it did read
> the flash environment but probably read something wrong.
>
Are you getting wrong value with all the variables?
--
Sellathu
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot-Users] Reading environment in IXDP425
2007-06-17 12:56 ` Sellathu
@ 2007-06-17 17:53 ` Ori Idan
0 siblings, 0 replies; 6+ messages in thread
From: Ori Idan @ 2007-06-17 17:53 UTC (permalink / raw)
To: u-boot
That's the strange thing when displaying the memory area using md
before reset the values seem to be Ok.
After reset, the board hangs up when initializing the network.
--
Ori Idan
On 6/17/07, Sellathu <selathu@gmail.com> wrote:
> Ori Idan wrote:
> > seems it did read
> > the flash environment but probably read something wrong.
> >
> Are you getting wrong value with all the variables?
>
> --
> Sellathu
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-17 17:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-17 9:48 [U-Boot-Users] Reading environment in IXDP425 Ori Idan
2007-06-17 9:54 ` Sellathu
2007-06-17 10:00 ` Ori Idan
2007-06-17 10:59 ` Ori Idan
2007-06-17 12:56 ` Sellathu
2007-06-17 17:53 ` Ori Idan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.