opps! defined DEVICE2_OFFSET as
#define DEVICE2_OFFSET DEVICE1_OFFSET+ENV1_SIZE
Thanks
S
From: Sridhar Addagada
To: "u-boot@lists.denx.de"
Sent: Tuesday, August 14, 2012 11:09 PM
Subject: Redundant Env
When enabling HAVE_REDUND in uboot-t
When enabling HAVE_REDUND in uboot-tools, will it work if i have the redundant
partition in the same sector
#define DEVICE1_NAME "/dev/mtd1"
#define DEVICE2_NAME "/dev/mtd1"
#define DEVICE1_OFFSET 0x0
#define ENV1_SIZE 0x1
#define DEVICE1_ESIZE 0x2
#define DE
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
in i get "Yes"
Thanks
Sridhar
________
From: Wolfgang Denk
To: Sridhar Addagada
Cc: "u-boot@lists.denx.de"
Sent: Tuesday, January 24, 2012 4:13 PM
Subject: Re: [U-Boot] u-boot script "test"
Dear Sridhar Addagada,
In message <1327396
What is the behavior of test command when the variable is not present in the
uboot env
set x
if test $x = 1; then echo "Yes"; else echo "No"; fi
in the above case I get Yes echoed back.
Is there any way to test the presence of a variable in uboot script?
Thanks
Sridhar
Hello,
Is it possible to use i2c output in a u-boot script something like
if test "i2c md.0 68 f = 0x80";then; echo "Watchdog Triggered";else; echo
"Power Cycle"; fi
the only problem is that i2c command outputs something like=> i2c md 68 f
000f: 00 .
and comparing the entire string is not wo
Freescale folks! no suggestions:(
From: Sridhar Addagada
To: "u-boot@lists.denx.de"
Sent: Tuesday, December 20, 2011 8:59 AM
Subject: Boot Count Support for MPC8377E
It's been almost a month and have not heard any suggestions from anyone..
This will avoid flash writes for fw_setenv command where the key is not present
the environment and no value has been provided.
Signed-off-by: Sridhar Addagada
---
tools/env/fw_env.c | 11 ++-
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/tools/env/fw_env.c b/tools/env
Thought so, i was looking at the wrong manual 837x, hence did not find the
section
Thanks
S
From: Wolfgang Denk
To: Sridhar Addagada
Cc: "u-boot@lists.denx.de"
Sent: Tuesday, December 20, 2011 5:18 PM
Subject: Re: [U-Boot] Reset Status on MPC8
In an effort to find the cause of reboot from linux userspace, which was always
returning hardreset, i traced the reason for the reset status register being
cleared is from file arch/powerpc/cpu/mpc83xx/cpu_init.c,
/* RSR - Reset Status Register - clear all status (4.6.1.3) */
gd->reset_sta
It's been almost a month and have not heard any suggestions from anyone..
Can Freescale folks on the list suggest some reg's or memory location where
boot count value can be saved across reboots.
Thanks
S
____
From: Sridhar Addagada
To: "u-boo
The board is based on MPC8377ERDB
S
From: Mike Frysinger
To: u-boot@lists.denx.de; Sridhar Addagada
Sent: Tuesday, November 29, 2011 11:20 AM
Subject: Re: [U-Boot] uboot to load uboot
On Tuesday 29 November 2011 00:38:40 Sridhar Addagada wrote:
> Here
Here is a scenario, i have a working version of the u-boot on my board, and am
trying my changes. Am not sure it is going to freeze the board, so would like
the present version to load the new version for testing before it can be burned
to flash. Is it possible to do this or is it already done
Sorry! my mistake, the code is in main.c
:
:
bootcount_store(bootcount);
sprintf (bcs_set, "%lu", bootcount);
setenv("bootcount", bcs_set);
:
:
____
From: Sridhar Addagada
To: "u-boot@lists.denx.de"
Sent: Tuesday, Novembe
From: Sridhar Addagada
To: "u-boot@lists.denx.de"
Sent: Friday, November 25, 2011 5:24 PM
Subject: CONFIG_BOOTCOUNT_LIMIT
I' need to enable CONFIG_BOOTCOUNT_LIMIT, which is based one MPC8377ERDB, and
am looking for recommended address for CONFIG_BOOTCOUNT_ADDR,
I' need to enable CONFIG_BOOTCOUNT_LIMIT, which is based one MPC8377ERDB, and
am looking for recommended address for CONFIG_BOOTCOUNT_ADDR, any suggestions.
Thanks
S
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-b
16 matches
Mail list logo