* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
@ 2012-03-11 5:47 Balaji
2012-03-11 6:38 ` Dirk Behme
0 siblings, 1 reply; 8+ messages in thread
From: Balaji @ 2012-03-11 5:47 UTC (permalink / raw)
To: u-boot
Hi Dirk,
Thanks for your resonse. I have just added into this thread beacuse both are spansion flash.
my responses to your query:
1.am using u-boot_2099-08 U-boot. it came with imx6q saberlite board.
2.NOR Flash is connected to WEIM Bus Chip select 0 and 16 bit Data bus(D16:D31), I have done Weim Bus Mux Config in the Mx6q_saberlite_board .c and also Chip select 0 initailization.
3. CONFIG_SYS_FLASH_BASE is WEIM_CSO_BASE_ADDR(0x08000000)
I will attch the Config file soon.
Thanks ,
ShivBalaji
________________________________________
From: Dirk Behme [dirk.behme at googlemail.com]
Sent: Saturday, March 10, 2012 11:59 PM
To: Balaji Sivakumar, ERS, HCLTech
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
Dear Balaji,
On 10.03.2012 11:47, Balaji Sivakumar wrote:
> Stefan Roese<sr<at> denx.de> writes:
>
>>
>> Hi Prakash,
>>
>> On Friday 09 April 2010 07:26:37 prakash bedge wrote:
>>> In U-boot I am not seeing the support for Spansion S29GL512P NOR flash.
>>>
>>> This chip is CFI compliant so I believe the common CFI driver should work
>>> with this chip.
>>>
>>> Does U-boot supports S29GL512P NOR flash or I have to implement the
>>> functionality to support S29GL512P?
>>>
>>> If anyone has tried with S29GL512P NOR flash please share the experiecne.
>>
>> This chip is currently supported by the common CFI NOR FLASH driver. So it
>> should just work for your board as well.
>>
>> Cheers,
>> Stefan
>>
>> --
>> DENX Software Engineering GmbH, MD: Wolfgang Denk& Detlev Zundel
>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office<at> denx.de
>>
>
>
> Hi Stefan,
>
> 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.
>
> 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.
Just to be sure: Do you use the mainline U-Boot (u-boot.imx) or the
old Freescale one?
This thread talks about S29GL512P. You talk about S29GL01G?
Can you send us your flash/CFI configuration from the config file?
Which CONFIG_SYS_FLASH_BASE do you use?
Best regards
Dirk
::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.
-----------------------------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
@ 2012-03-11 5:53 Balaji
2012-03-11 8:31 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: Balaji @ 2012-03-11 5:53 UTC (permalink / raw)
To: u-boot
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 at denx.de]
Sent: Sunday, March 11, 2012 12:40 AM
To: Balaji Sivakumar, ERS, HCLTech
Cc: u-boot at 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 at 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.
-----------------------------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
2012-03-11 5:47 [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash? Balaji
@ 2012-03-11 6:38 ` Dirk Behme
2012-03-11 7:17 ` Balaji
0 siblings, 1 reply; 8+ messages in thread
From: Dirk Behme @ 2012-03-11 6:38 UTC (permalink / raw)
To: u-boot
Dear Balaji,
On 11.03.2012 06:47, Balaji Sivakumar, ERS, HCLTech wrote:
> Hi Dirk,
>
> Thanks for your resonse. I have just added into this thread beacuse both are spansion flash.
>
> my responses to your query:
> 1.am using u-boot_2099-08 U-boot. it came with imx6q saberlite board.
This is the 'old' U-Boot from Freescale which is modified heavily by
Freescale. Please ask the Freescale support for this.
Please try the recent mainline U-Boot, e.g.
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary
> 2.NOR Flash is connected to WEIM Bus Chip select 0 and 16 bit Data bus(D16:D31), I have done Weim Bus Mux Config in the Mx6q_saberlite_board .c and also Chip select 0 initailization.
Hmm, I'm not totally sure, but if you boot from NOR, the correct mux
should already be done by the boot ROM code.
> 3. CONFIG_SYS_FLASH_BASE is WEIM_CSO_BASE_ADDR(0x08000000)
This looks correct.
Best regards
Dirk
> ________________________________________
> From: Dirk Behme [dirk.behme at googlemail.com]
> Sent: Saturday, March 10, 2012 11:59 PM
> To: Balaji Sivakumar, ERS, HCLTech
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
>
> Dear Balaji,
>
> On 10.03.2012 11:47, Balaji Sivakumar wrote:
>> Stefan Roese<sr<at> denx.de> writes:
>>
>>>
>>> Hi Prakash,
>>>
>>> On Friday 09 April 2010 07:26:37 prakash bedge wrote:
>>>> In U-boot I am not seeing the support for Spansion S29GL512P NOR flash.
>>>>
>>>> This chip is CFI compliant so I believe the common CFI driver should work
>>>> with this chip.
>>>>
>>>> Does U-boot supports S29GL512P NOR flash or I have to implement the
>>>> functionality to support S29GL512P?
>>>>
>>>> If anyone has tried with S29GL512P NOR flash please share the experiecne.
>>>
>>> This chip is currently supported by the common CFI NOR FLASH driver. So it
>>> should just work for your board as well.
>>>
>>> Cheers,
>>> Stefan
>>>
>>> --
>>> DENX Software Engineering GmbH, MD: Wolfgang Denk& Detlev Zundel
>>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>>> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office<at> denx.de
>>>
>>
>>
>> Hi Stefan,
>>
>> 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.
>>
>> 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.
>
> Just to be sure: Do you use the mainline U-Boot (u-boot.imx) or the
> old Freescale one?
>
> This thread talks about S29GL512P. You talk about S29GL01G?
>
> Can you send us your flash/CFI configuration from the config file?
>
> Which CONFIG_SYS_FLASH_BASE do you use?
>
> Best regards
>
> Dirk
>
> ::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.
>
> -----------------------------------------------------------------------------------------------------------------------
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
2012-03-11 6:38 ` Dirk Behme
@ 2012-03-11 7:17 ` Balaji
2012-03-12 9:41 ` Balaji
0 siblings, 1 reply; 8+ messages in thread
From: Balaji @ 2012-03-11 7:17 UTC (permalink / raw)
To: u-boot
Hi Derk,
Thanks for your response.
I will download the latest one and check it.
Currently am booting the u-boot from DDR3 only and checking the flash information using "flinfo" command, but that itself fails for me. I have not programmed the u-boot into NOR FLASH yet.
To detect ,print flash information and its read, write, erase etc, do I have to add anything extra in the board file or flash_header.s file.
Am little confused whether i miss any configuration for FLASH, because we are able to read the MAN ID and Device ID through diagnostic Software. But through U-boot fails.
Please find my flash configuration details.
#define CONFIG_SYS_FLASH_BASE CS0_BASE_ADDR
#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
#define CONFIG_SYS_MAX_FLASH_SECT 1024/* max number of sectors on one chip */
/* Monitor at beginning of flash */
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
/*-----------------------------------------------------------------------
* CFI FLASH driver setup
*/
#define CONFIG_SYS_FLASH_CFI 1/* Flash memory is CFI compliant */
#define CONFIG_FLASH_CFI_DRIVER 1/* Use drivers/cfi_flash.c */
/* A non-standard buffered write algorithm */
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1/* Use buffered writes (~10x faster) */
#define CONFIG_SYS_FLASH_PROTECTION 1/* Use hardware sector protection *
Please request you to provide your suggestion.
Thanks ,
ShivBalaji
________________________________________
From: Dirk Behme [dirk.behme at googlemail.com]
Sent: Sunday, March 11, 2012 12:08 PM
To: Balaji Sivakumar, ERS, HCLTech
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
Dear Balaji,
On 11.03.2012 06:47, Balaji Sivakumar, ERS, HCLTech wrote:
> Hi Dirk,
>
> Thanks for your resonse. I have just added into this thread beacuse both are spansion flash.
>
> my responses to your query:
> 1.am using u-boot_2099-08 U-boot. it came with imx6q saberlite board.
This is the 'old' U-Boot from Freescale which is modified heavily by
Freescale. Please ask the Freescale support for this.
Please try the recent mainline U-Boot, e.g.
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary
> 2.NOR Flash is connected to WEIM Bus Chip select 0 and 16 bit Data bus(D16:D31), I have done Weim Bus Mux Config in the Mx6q_saberlite_board .c and also Chip select 0 initailization.
Hmm, I'm not totally sure, but if you boot from NOR, the correct mux
should already be done by the boot ROM code.
> 3. CONFIG_SYS_FLASH_BASE is WEIM_CSO_BASE_ADDR(0x08000000)
This looks correct.
Best regards
Dirk
> ________________________________________
> From: Dirk Behme [dirk.behme at googlemail.com]
> Sent: Saturday, March 10, 2012 11:59 PM
> To: Balaji Sivakumar, ERS, HCLTech
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
>
> Dear Balaji,
>
> On 10.03.2012 11:47, Balaji Sivakumar wrote:
>> Stefan Roese<sr<at> denx.de> writes:
>>
>>>
>>> Hi Prakash,
>>>
>>> On Friday 09 April 2010 07:26:37 prakash bedge wrote:
>>>> In U-boot I am not seeing the support for Spansion S29GL512P NOR flash.
>>>>
>>>> This chip is CFI compliant so I believe the common CFI driver should work
>>>> with this chip.
>>>>
>>>> Does U-boot supports S29GL512P NOR flash or I have to implement the
>>>> functionality to support S29GL512P?
>>>>
>>>> If anyone has tried with S29GL512P NOR flash please share the experiecne.
>>>
>>> This chip is currently supported by the common CFI NOR FLASH driver. So it
>>> should just work for your board as well.
>>>
>>> Cheers,
>>> Stefan
>>>
>>> --
>>> DENX Software Engineering GmbH, MD: Wolfgang Denk& Detlev Zundel
>>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>>> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office<at> denx.de
>>>
>>
>>
>> Hi Stefan,
>>
>> 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.
>>
>> 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.
>
> Just to be sure: Do you use the mainline U-Boot (u-boot.imx) or the
> old Freescale one?
>
> This thread talks about S29GL512P. You talk about S29GL01G?
>
> Can you send us your flash/CFI configuration from the config file?
>
> Which CONFIG_SYS_FLASH_BASE do you use?
>
> Best regards
>
> Dirk
>
> ::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.
>
> -----------------------------------------------------------------------------------------------------------------------
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
2012-03-11 5:53 Balaji
@ 2012-03-11 8:31 ` Wolfgang Denk
2012-03-11 11:08 ` Balaji
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2012-03-11 8:31 UTC (permalink / raw)
To: u-boot
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 at denx.de
"Most people would like to be delivered from temptation but would
like it to keep in touch." - Robert Orben
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
2012-03-11 8:31 ` Wolfgang Denk
@ 2012-03-11 11:08 ` Balaji
0 siblings, 0 replies; 8+ messages in thread
From: Balaji @ 2012-03-11 11:08 UTC (permalink / raw)
To: u-boot
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 at denx.de]
Sent: Sunday, March 11, 2012 2:01 PM
To: Balaji Sivakumar, ERS, HCLTech
Cc: u-boot at 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 at 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.
-----------------------------------------------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
2012-03-11 7:17 ` Balaji
@ 2012-03-12 9:41 ` Balaji
2012-03-12 10:54 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: Balaji @ 2012-03-12 9:41 UTC (permalink / raw)
To: u-boot
Hi Derk,
Can you please provide your suggestion??
Thanks ,
ShivBalaji
________________________________________
From: Balaji Sivakumar, ERS, HCLTech
Sent: Sunday, March 11, 2012 12:47 PM
To: Dirk Behme
Cc: u-boot at lists.denx.de
Subject: RE: [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
Hi Derk,
Thanks for your response.
I will download the latest one and check it.
Currently am booting the u-boot from DDR3 only and checking the flash information using "flinfo" command, but that itself fails for me. I have not programmed the u-boot into NOR FLASH yet.
To detect ,print flash information and its read, write, erase etc, do I have to add anything extra in the board file or flash_header.s file.
Am little confused whether i miss any configuration for FLASH, because we are able to read the MAN ID and Device ID through diagnostic Software. But through U-boot fails.
Please find my flash configuration details.
#define CONFIG_SYS_FLASH_BASE CS0_BASE_ADDR
#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
#define CONFIG_SYS_MAX_FLASH_SECT 1024/* max number of sectors on one chip */
/* Monitor at beginning of flash */
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
/*-----------------------------------------------------------------------
* CFI FLASH driver setup
*/
#define CONFIG_SYS_FLASH_CFI 1/* Flash memory is CFI compliant */
#define CONFIG_FLASH_CFI_DRIVER 1/* Use drivers/cfi_flash.c */
/* A non-standard buffered write algorithm */
#define CONFIG_SYS_FLASH_USE_BUFFER_WRITE 1/* Use buffered writes (~10x faster) */
#define CONFIG_SYS_FLASH_PROTECTION 1/* Use hardware sector protection *
Please request you to provide your suggestion.
Thanks ,
ShivBalaji
________________________________________
From: Dirk Behme [dirk.behme at googlemail.com]
Sent: Sunday, March 11, 2012 12:08 PM
To: Balaji Sivakumar, ERS, HCLTech
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
Dear Balaji,
On 11.03.2012 06:47, Balaji Sivakumar, ERS, HCLTech wrote:
> Hi Dirk,
>
> Thanks for your resonse. I have just added into this thread beacuse both are spansion flash.
>
> my responses to your query:
> 1.am using u-boot_2099-08 U-boot. it came with imx6q saberlite board.
This is the 'old' U-Boot from Freescale which is modified heavily by
Freescale. Please ask the Freescale support for this.
Please try the recent mainline U-Boot, e.g.
http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary
> 2.NOR Flash is connected to WEIM Bus Chip select 0 and 16 bit Data bus(D16:D31), I have done Weim Bus Mux Config in the Mx6q_saberlite_board .c and also Chip select 0 initailization.
Hmm, I'm not totally sure, but if you boot from NOR, the correct mux
should already be done by the boot ROM code.
> 3. CONFIG_SYS_FLASH_BASE is WEIM_CSO_BASE_ADDR(0x08000000)
This looks correct.
Best regards
Dirk
> ________________________________________
> From: Dirk Behme [dirk.behme at googlemail.com]
> Sent: Saturday, March 10, 2012 11:59 PM
> To: Balaji Sivakumar, ERS, HCLTech
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?
>
> Dear Balaji,
>
> On 10.03.2012 11:47, Balaji Sivakumar wrote:
>> Stefan Roese<sr<at> denx.de> writes:
>>
>>>
>>> Hi Prakash,
>>>
>>> On Friday 09 April 2010 07:26:37 prakash bedge wrote:
>>>> In U-boot I am not seeing the support for Spansion S29GL512P NOR flash.
>>>>
>>>> This chip is CFI compliant so I believe the common CFI driver should work
>>>> with this chip.
>>>>
>>>> Does U-boot supports S29GL512P NOR flash or I have to implement the
>>>> functionality to support S29GL512P?
>>>>
>>>> If anyone has tried with S29GL512P NOR flash please share the experiecne.
>>>
>>> This chip is currently supported by the common CFI NOR FLASH driver. So it
>>> should just work for your board as well.
>>>
>>> Cheers,
>>> Stefan
>>>
>>> --
>>> DENX Software Engineering GmbH, MD: Wolfgang Denk& Detlev Zundel
>>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>>> Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office<at> denx.de
>>>
>>
>>
>> Hi Stefan,
>>
>> 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.
>>
>> 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.
>
> Just to be sure: Do you use the mainline U-Boot (u-boot.imx) or the
> old Freescale one?
>
> This thread talks about S29GL512P. You talk about S29GL01G?
>
> Can you send us your flash/CFI configuration from the config file?
>
> Which CONFIG_SYS_FLASH_BASE do you use?
>
> Best regards
>
> Dirk
>
> ::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.
>
> -----------------------------------------------------------------------------------------------------------------------
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
2012-03-12 9:41 ` Balaji
@ 2012-03-12 10:54 ` Wolfgang Denk
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2012-03-12 10:54 UTC (permalink / raw)
To: u-boot
Dear "Balaji Sivakumar, ERS, HCLTech",
please _stop_ top posting / full quoting. I asked you before to read
http://www.netmeister.org/news/learn2quote.html - please do it now.
In message <A41DC312BCC9DA4E8B8B954805B8C9FDF7D162FC16@CHN-HCLT-EVS06.HCLT.CORP.HCL.IN> you wrote:
> Hi Derk,
I gues syou mean Dirk?
> Can you please provide your suggestion??
He already did:
> This is the 'old' U-Boot from Freescale which is modified heavily by
> Freescale. Please ask the Freescale support for this.
>
> Please try the recent mainline U-Boot, e.g.
>
> http://git.denx.de/?p=u-boot/u-boot-imx.git;a=summary
If you are running current U-Boot, you can enable debgging in the CFI
driver and report the results here (please include _complete_ boot
log).
If you prefer to continue using the old FSL port, then we cannot help
you. In this case you may try ans ask FSL support (who will
eventually tell you the same).
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 at denx.de
Never underestimate the bandwidth of a station wagon full of tapes.
-- Dr. Warren Jackson, Director, UTCS
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-03-12 10:54 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-11 5:47 [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash? Balaji
2012-03-11 6:38 ` Dirk Behme
2012-03-11 7:17 ` Balaji
2012-03-12 9:41 ` Balaji
2012-03-12 10:54 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2012-03-11 5:53 Balaji
2012-03-11 8:31 ` Wolfgang Denk
2012-03-11 11:08 ` Balaji
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.