[U-Boot] flash configuration in u-boot

Hi, I am configuring u-boot to my board running on arm926ejs. the flash is Nand512-A, 64Mbyte, configured on 8bit I/O bus. page size: 512 bytes block size: 16k
Now, in u-boot they accept in sectors, but am not having any clue how this is related to sectors.
Can anybody please advice what values should I give for CFG_MAX_FLASH_SECT, CFG_ENV_ADDR(considering if I have to write my env in 2nd sector, then I need to know the sector size).....the datasheet doesnot seem to provide information about this..actually, i am trying to correlate between, pages, blocks and sectors as in flash data sheet and sector size meant by uboot. And also wondering which flash driver I should select from u-boot as my board is not listed there.
Thanks a lot, zix

hi everybody, any idea about this? I am desperately looking for an answer in this regard...not finding anything in any forums also...am very new to uboot..
Regards, zix
zix wrote:
Hi, I am configuring u-boot to my board running on arm926ejs core atmel board. the flash is Nand512-A, 64Mbyte, configured on 8bit I/O bus. page size: 512 bytes block size: 16k
Now, in u-boot they accept in sectors, but am not having any clue how this is related to sectors.
Can anybody please advice what values should I give for CFG_MAX_FLASH_SECT, CFG_ENV_ADDR(considering if I have to write my env in 2nd sector, then I need to know the sector size).....the datasheet doesnot seem to provide information about this..actually, i am trying to correlate between, pages, blocks and sectors as in flash data sheet and sector size meant by uboot. And also wondering which flash driver I should select from u-boot as my board is not listed there.
Thanks a lot, zix

hi me too new to u-boot .pls tell me what are configuration files i need to chage for new board. by abi
zix wrote:
hi everybody, any idea about this? I am desperately looking for an answer in this regard...not finding anything in any forums also...am very new to uboot..
Regards, zix
zix wrote:
Hi, I am configuring u-boot to my board running on arm926ejs core atmel board. the flash is Nand512-A, 64Mbyte, configured on 8bit I/O bus. page size: 512 bytes block size: 16k
Now, in u-boot they accept in sectors, but am not having any clue how this is related to sectors.
Can anybody please advice what values should I give for CFG_MAX_FLASH_SECT, CFG_ENV_ADDR(considering if I have to write my env in 2nd sector, then I need to know the sector size).....the datasheet doesnot seem to provide information about this..actually, i am trying to correlate between, pages, blocks and sectors as in flash data sheet and sector size meant by uboot. And also wondering which flash driver I should select from u-boot as my board is not listed there.
Thanks a lot, zix

Dear zix,
In message 22075448.post@talk.nabble.com you wrote:
hi everybody, any idea about this? I am desperately looking for an answer in this regard...not finding anything in any forums also...am very new to uboot..
I guess you can find a lot of useful information here:
http://catb.org/esr/faqs/smart-questions.html
Best regards,
Wolfgang Denk

Hi wd, dont u think this info is enough? Its right that we everybody is getting benefited by the experts here, but this info is quite just right to give the answer if anybody knows..u shouldnt criticize this saying the question is not smart or lacking information!!
thanx so much...
Regards, zix
zix wrote:
Hi, I am configuring u-boot to my board running on arm926ejs. the flash is Nand512-A, 64Mbyte, configured on 8bit I/O bus. page size: 512 bytes block size: 16k
Now, in u-boot they accept in sectors, but am not having any clue how this is related to sectors.
Can anybody please advice what values should I give for CFG_MAX_FLASH_SECT, CFG_ENV_ADDR(considering if I have to write my env in 2nd sector, then I need to know the sector size).....the datasheet doesnot seem to provide information about this..actually, i am trying to correlate between, pages, blocks and sectors as in flash data sheet and sector size meant by uboot. And also wondering which flash driver I should select from u-boot as my board is not listed there.
Thanks a lot, zix
participants (3)
-
ABIRAMA SUNDARI
-
Wolfgang Denk
-
zix