
--- Yuli Barcohen yuli@arabellasw.com wrote:
No, I used CFG_ENV_SECT_SIZE instead of CFG_ENV_SIZE. It's not the same. BTW, the original comment mentioned "Total Size of Environment Sector" which is not CFG_ENV_SIZE.
Ummm, CFG_ENV_SIZE is really a misleading config item. No matter how small the ENV size is, it take up one or several FLASH sectors. I have no idea when we use CFG_ENV_SIZE:-)
Sam> from 0x4000 to 0x40000. Is it your flash
sector size?
Yes, it is. There are four Am29LV800BB chips so you can't have 0x4000 bytes in sector (this would require 4KB sector on individual flash chip while in fact the smallest sectors are 8KB). The board is configured for high boot (don't know why Embedded Planet designers used high boot with bottom boot block flashes) so the U-Boot "lives" at 0xFFF00000. I put
So they produce other kind of rpxlite to work right in low boot mode with bottom boot block flashes later:-)
the environment to the next sector. The sector's size is 4x64KB = 0x40000. With the original configuration, saveenv must fail and it indeed failed.
Well, it failed on your rpxlite board but doesn't mean it would fail on Yoo.Jonghoon's rpxlite board:-)
Have you got an RPXlite board with different flash configuration?
Yeah, I got one. It uses 4 AM29DL323DB90VI devices (4x8bit) in 16MB(4x4MB) and leaves the u-boot home at 0xff000000. I ported u-boot on this one and named RPXlite DW as 2.4 Linux code did.
From your discussion, you assume there is one standard
rpxlite board. Actually, there are at least five different combination boards known as RPXlite CW.
So your changelog on FLASH size could use update rather than correct.
Sam> I cannot understand why CFG_RESET_ADDRESS
should be set as 0x09900000.
It can be set to any illegal address so that memory access at this address will cause checkstop and then reset. 0x09900000 was used on some other boards, it has no special meaning.
Thanks for your notes,
Sam
___________________________________________________________ 雅虎免费G邮箱-中国最强免费防毒反垃圾超大邮箱 http://cn.mail.yahoo.com/?id=77072