All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.