u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Prabhakar Kushwaha <prabhakar@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL
Date: Wed, 11 Dec 2013 12:30:29 +0530	[thread overview]
Message-ID: <52A80D8D.4000205@freescale.com> (raw)
In-Reply-To: <5d27987f1d694ae9977cba2e8a78d843@DM2PR03MB317.namprd03.prod.outlook.com>


On 12/11/2013 8:24 AM, Liu Po-B43644 wrote:
>>   -----Original Message-----
>>   From: Scott Wood [mailto:scottwood at freescale.com]
>>   Sent: Wednesday, December 11, 2013 2:20 AM
>>   To: Kushwaha Prabhakar-B32579
>>   Cc: Liu Po-B43644; u-boot at lists.denx.de; Sun York-R58495
>>   Subject: Re: [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot
>>   support base on TPL/SPL
>>   
>>   On Tue, 2013-12-10 at 11:37 +0530, Prabhakar Kushwaha wrote:
>>   > On 12/9/2013 11:21 PM, Scott Wood wrote:
>>   > > On Mon, 2013-12-09 at 11:10 +0530, Prabhakar Kushwaha wrote:
>>   > >> On 12/7/2013 6:51 AM, Scott Wood wrote:
>>   > >>> Prabhakar, why did you extend that to other uses?  Why are both
>>   > >>> entries ifdeffed here, but only the 0xffffe000 entry on existing
>>   boards?
>>   > >> both entry should not be in ifdef. p1010rdb/bsc9131rdb/bsc9132qds
>>   > >> does not have this.
>>   > >> i dont think NOR boot tested after this patch. NOR boot will not
>>   > >> work after applying this patch.
>>   > > So what happens if there's a speculative access to the non-ifdeffed
>>   > > 0xfffff000 when we're not booting from that (e.g. ramboot, SPL
>>   > > payload, SD/SPI...)?
>>   > >
>>   > >
>>   > If I understand the question correctly,
>>   >     Ideally ramboot, SPL payload, SD/SPI should not make access to
>>   > this address.  They assumed to be running from DDR whose TLB has
>>   > already been created by IBR, or First stage boot loader.
>>   
>>   Speculative accesses don't come (directly) from software.  They are
>>   initiated by the hardware and are not predictable.
> Remove the:
> -#ifdef CONFIG_SPL_NAND_MINIMAL
> -       SET_TLB_ENTRY(1, 0xfffff000, 0xfffff000,
> -                       MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
> -                       0, 10, BOOKE_PAGESZ_4K, 1),
> -       SET_TLB_ENTRY(1, 0xffffe000, 0xffffe000,
> -                       MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
> -                       0, 11, BOOKE_PAGESZ_4K, 1),
> -#endif
> Do not effect the NAND/NOR boot after I test in C29XPCIE.
>

I just wonder how it is working without both TLBs. I can guess what is 
happening
    -  NOR boot:  After coming to AS1--> AS0, system is running with NOR 
TLB entry
    -  NAND boot:  after coming to AS1--> AS0, It is 
usingCONFIG_SYS_INIT_L2_ADDR TLB entry

so, it can be removed for c293PCIe.

Regards,
Prabhakar

  parent reply	other threads:[~2013-12-11  7:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02  4:12 [U-Boot] [PATCH] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL Po Liu
2013-12-05  6:18 ` [U-Boot] [PATCH v2 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL Po Liu
2013-12-05  6:19   ` [U-Boot] [PATCH v2 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL Po Liu
2013-12-07  1:21     ` Scott Wood
2013-12-09  5:40       ` Prabhakar Kushwaha
2013-12-09 17:51         ` Scott Wood
2013-12-10  6:07           ` Prabhakar Kushwaha
2013-12-10 18:20             ` Scott Wood
     [not found]               ` <5d27987f1d694ae9977cba2e8a78d843@DM2PR03MB317.namprd03.prod.outlook.com>
2013-12-11  3:00                 ` Po.Liu at freescale.com
2013-12-11  7:00                 ` Prabhakar Kushwaha [this message]
2013-12-11  6:40               ` Prabhakar Kushwaha
2013-12-11 16:42                 ` Scott Wood
     [not found]       ` <c957f7e802e245488c0c0e0fc0f425ed@DM2PR03MB317.namprd03.prod.outlook.com>
2013-12-11  2:46         ` Po.Liu at freescale.com
2013-12-13 21:22           ` Scott Wood
     [not found]       ` <ce05f24a72e0474f82d7f99c215353e6@DM2PR03MB317.namprd03.prod.outlook.com>
2013-12-11  6:20         ` Po.Liu at freescale.com
2013-12-13 20:25         ` Scott Wood
     [not found]           ` <8cbfa2585cd04b348c5883a628e3a33c@DM2PR03MB317.namprd03.prod.outlook.com>
2013-12-14  3:21             ` Scott Wood
2013-12-14  3:08     ` [U-Boot] [PATCH v3 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL Po Liu
2013-12-14  3:08       ` [U-Boot] [PATCH v3 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL Po Liu
2014-01-02 22:01       ` [U-Boot] [PATCH v3 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL Scott Wood
2014-01-06  6:15       ` [U-Boot] [PATCH v4 " Po Liu
2014-01-06  6:15         ` [U-Boot] [PATCH v4 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL Po Liu
2014-01-07  3:37           ` [U-Boot] [PATCH v5 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL Po Liu
2014-01-07  3:37             ` [U-Boot] [PATCH v5 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL Po Liu
2014-01-08  0:03             ` [U-Boot] [PATCH v5 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL Scott Wood
2014-01-10  2:10             ` [U-Boot] [PATCH v6 " Po Liu
2014-01-10  2:10               ` [U-Boot] [PATCH v6 2/2] powerpc/c29xpcie: 8k page size NAND boot support base on TPL/SPL Po Liu
2014-01-21 22:54                 ` York Sun
2014-01-10 19:03               ` [U-Boot] [PATCH v6 1/2] powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL Scott Wood
2014-01-21 22:54                 ` York Sun
2014-01-13  6:28               ` Prabhakar Kushwaha
2014-01-14  1:09                 ` Scott Wood
2014-01-14  3:44                   ` Prabhakar Kushwaha
2013-12-07  1:33   ` [U-Boot] [PATCH v2 " Scott Wood

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=52A80D8D.4000205@freescale.com \
    --to=prabhakar@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).