Re: [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?

Hi Wolf,
Thanks for your responses.
Board is same like IMX6q sabelite board, only difference is we have Spansion Nor Flash S29GL01GS in our board, which is connected via WEIM Bus Chip slect 0 and Data bus is 16 bit(D16-D31).
I have weim bus io mux config and cs0 initialization in mx6q_saberlite_board.c file and also i have added the Flash base address as WEIM_CS0_BASE_ADDR, Flash width as FLASH_CFI_16 bit,Max sector details(1024), Max Bank(1) etc in the config file.
You have mentioned memory map in your mail, is that what i mentioned above in the config file.
Thanks , ShivBalaji ________________________________________ From: Wolfgang Denk [wd@denx.de] Sent: Sunday, March 11, 2012 12:40 AM To: Balaji Sivakumar, ERS, HCLTech Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
Dear Balaji Sivakumar,
In message loom.20120310T113930-255@post.gmane.org you wrote:
I am Balaji. am using IMX6 base custom board. In my board am using S29GL01G NOR Flash to srore u-boot and kernel. I understand from the data sheet this NOR Flash is CFI based on. So i have added Configurations for CFI Flash driver.
Thi sis of course only part of the configuration that is needed.
Currently am loading the U-boot into DDR3 and able to excute U-boot test commands. When i put flinfo , am getting "missing or unknow flash type" and while loading the u-boot it is printing as " Unknown flash on BANK 1 - Size - 0MB". So am not sure what am missing here or i have to add anything extra in teh config file. Please request you to check and provide your suggestion.
For example, you must also set up the memory controller and memory map as needed for your board.
Best regards,
Wolfgang Denk
-- 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@denx.de A dog always bit deepest on the veterinary hand. - Terry Pratchett, _Wyrd Sisters_
::DISCLAIMER:: -----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------

Dear "Balaji Sivakumar, ERS, HCLTech",
please stop top posting / full quoting. Please read http://www.netmeister.org/news/learn2quote.html
In message A41DC312BCC9DA4E8B8B954805B8C9FDF7D162FC11@CHN-HCLT-EVS06.HCLT.CORP.HCL.IN you wrote:
Hi Wolf,
My name is Wolfgang.
Thanks for your responses.
Board is same like IMX6q sabelite board, only difference is we have Spansion Nor Flash S29GL01GS in our board,
This is an oxymoron. Your board cannot be "the same" when it uses different flash.
It is a _different_ board so you must adapt U-Boot for it. Just running the Saber Lite code on it is bound to fail.
Best regards,
Wolfgang Denk

Hi Wolfgang,
Am sorry to misspell your name.
I have modified u-boot according to our board design. We are able to load the u-boot into ddr3 ram and execute it. I have mentioned that design is same like imx6q saberlite board.
My query is that When I try to read the flash information from u-boot, Am getting as Unknown flash on bank1.
So I just want to understand whether I missed anything.
Thanks for your responses.
Thanks,
-Balaji ________________________________________ From: Wolfgang Denk [wd@denx.de] Sent: Sunday, March 11, 2012 2:01 PM To: Balaji Sivakumar, ERS, HCLTech Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
Dear "Balaji Sivakumar, ERS, HCLTech",
please stop top posting / full quoting. Please read http://www.netmeister.org/news/learn2quote.html
In message A41DC312BCC9DA4E8B8B954805B8C9FDF7D162FC11@CHN-HCLT-EVS06.HCLT.CORP.HCL.IN you wrote:
Hi Wolf,
My name is Wolfgang.
Thanks for your responses.
Board is same like IMX6q sabelite board, only difference is we have Spansion Nor Flash S29GL01GS in our board,
This is an oxymoron. Your board cannot be "the same" when it uses different flash.
It is a _different_ board so you must adapt U-Boot for it. Just running the Saber Lite code on it is bound to fail.
Best regards,
Wolfgang Denk
-- 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@denx.de "Most people would like to be delivered from temptation but would like it to keep in touch." - Robert Orben
::DISCLAIMER:: -----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
participants (2)
-
Balaji Sivakumar, ERS, HCLTech
-
Wolfgang Denk