Dear Sridhar Addagada,
In message <1344359350.57879.yahoomail...@web162902.mail.bf1.yahoo.com> you
wrote:
>
> Is it possible to compare the contents of the memory location with a
> constant like if test #200010 == 1; then run boot0; else run boot1;fi
Yes, this is possible. For example:
I'm using spare bytes of the nvram of the RTC chip to determine which of my two
kernels should be booted. Trying to scrip that in u-boot script I'm doing the
following.
1. Load 200010 with 0 (mw.b 200010 0)
2. Load 200014 with value from nvram (i2c read 68 15 1 200014)
3. if cmp.b 200010 200014 1
2 matches
Mail list logo