Skip to contentSkip to conversation

flash configuration in u-boot

U-Boot zix 3 participants 5 messages Feb 18, 2009

lore
Share & tools
lore

zix

author
#0 lore raw

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

Signature · 2 lines
View this message in context: http://www.nabble.com/flash-configuration-in-u-boot-tp22071753p22071753.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
author
#1 lore raw

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

Quoted 21 lines · zix

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

Signature · 2 lines
View this message in context: http://www.nabble.com/flash-configuration-in-u-boot-tp22071753p22075448.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#2 lore raw

hi
me too new to u-boot .pls tell me what are configuration files i need to chage for new board.
by
abi

Quoted 33 lines · 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

Quoted 21 lines · zix

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

Signature · 2 lines
View this message in context: http://www.nabble.com/flash-configuration-in-u-boot-tp22071753p22075622.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#3 lore raw
In reply to zix

Dear zix,

Quoted 4 lines · In message <[email protected]> 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

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Karl's version of Parkinson's Law: Work expands to  exceed  the  time
alloted it.
author
#4 lore raw
In reply to zix

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

Quoted 20 lines · zix

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

Signature · 2 lines
View this message in context: http://www.nabble.com/flash-configuration-in-u-boot-tp22071753p22076646.html
Sent from the Uboot - Users mailing list archive at Nabble.com.