Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Frank Svendsbøe
On Tue, Feb 24, 2009 at 1:01 PM, Norbert van Bolhuis wrote: > Hi Frank, > > You're right. > At the time I discovered this, I wasn't sure what 'monitor' exactly > is (I feared there was more to it than just the u-boot binary code itself). > So I decided to fix it this way, let the list know and not

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Norbert van Bolhuis
Hi Frank, You're right. At the time I discovered this, I wasn't sure what 'monitor' exactly is (I feared there was more to it than just the u-boot binary code itself). So I decided to fix it this way, let the list know and not submit a patch. If you want, you can submit a patch. I think correctin

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread rudresh
i fix this issue with the help of all u-boot USERS, Thanks for helping .. This problem occurred because of u-boot.bin size taking 2 sector of Flash, and less space for Environment(few bytes in 2nd sector) . Then i incremented one sector in config env address , shown below. #define CFG_ENV_ADDR

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Frank Svendsbøe
Hi Norbert, I just looked at your comment in the gmane archive. You shouldn't hardcode a new CONFIG_ENV_ADDR. Instead, you should correct the CONFIG_SYS_MONITOR_LEN, which is the number of bytes the U-Boot image uses rounded up to the next flash sector address. Maybe we should define this in terms

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Norbert van Bolhuis
rudresh wrote: > i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR > Flash , u-boot stored in NOR flash. when i do the saveenv , reset command > the u-boot is erased. i'm not able to fix this issue. help me to fix this > issue > > Thanks > Rudresh > > > > I had a s

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-23 Thread Michael Lawnick
rudresh said the following: [quoting repaired] > Michael Lawnick wrote: >> >> rudresh said the following: >>> i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , >>> NOR >>> Flash , u-boot stored in NOR flash. when i do the saveenv , reset command >>> the u-boot is erased. i'm

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-23 Thread Wolfgang Denk
Dear rudresh, In message <22160018.p...@talk.nabble.com> you wrote: > > same u-boot-1.3.0 working in other customize MPC8313 board with some v1.3.0 is old and you will probably find very few people here who are willing to spend (or actually waste) their time on problems that most probably have b

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-23 Thread rudresh
same u-boot-1.3.0 working in other customize MPC8313 board with some different peripherals, NOR flash of 16MB is same in both the case .. but the MPC8313 evaluation board having 256MB NAND flash.. why not u-boot-1.3.0 is not working in evaluation board.. wd wrote: > > Dear rudresh, > > In mes

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-23 Thread rudresh
Details are as follows .. the flash size 16Mbyte Nor flash.. NAND flash 256MB. /* * Environment */ #if defined(CONFIG_NAND_U_BOOT) #define CFG_ENV_IS_IN_NAND 1 #define CFG_ENV_SIZECFG_NAND_BLOCK_SIZE #define CFG_ENV_OFFSET ((1024<<10) - (CFG_NA

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-23 Thread Wolfgang Denk
Dear rudresh, In message <22156928.p...@talk.nabble.com> you wrote: > > i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR > Flash , u-boot stored in NOR flash. when i do the saveenv , reset command > the u-boot is erased. i'm not able to fix this issue. help me to fix

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-23 Thread Michael Lawnick
rudresh said the following: > i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR > Flash , u-boot stored in NOR flash. when i do the saveenv , reset command > the u-boot is erased. i'm not able to fix this issue. help me to fix this > issue Sounds U-Boot and environment

[U-Boot] saveenv command erases flash u-boot

2009-02-22 Thread rudresh
i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR Flash , u-boot stored in NOR flash. when i do the saveenv , reset command the u-boot is erased. i'm not able to fix this issue. help me to fix this issue Thanks Rudresh -- View this message in context: http://www.