All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash?
Date: Sun, 11 Mar 2012 07:38:54 +0100	[thread overview]
Message-ID: <4F5C487E.6050405@googlemail.com> (raw)
In-Reply-To: <A41DC312BCC9DA4E8B8B954805B8C9FDF7D162FC10@CHN-HCLT-EVS06.HCLT.CORP.HCL.IN>

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.
>
> -----------------------------------------------------------------------------------------------------------------------
>

  reply	other threads:[~2012-03-11  6:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11  5:47 [U-Boot] Does U-boot supports Spansion S29GL01GS NOR Flash? Balaji
2012-03-11  6:38 ` Dirk Behme [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F5C487E.6050405@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.