All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ashish Kumar <ashish.kumar@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [EXT] command 'saveenv' fails to write into QSPI memory Macronix MX25U25645GMI00
Date: Wed, 19 Jun 2019 11:49:57 +0000	[thread overview]
Message-ID: <VI1PR04MB4015A695C3F9570EF91139F495E50@VI1PR04MB4015.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <019BBB3CE5CE3B499F049A376DE465F012FE502F@DENBGAT9EM2MSX.ww902.siemens.net>

> -----Original Message-----
> From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Manoel, Florian
> Sent: Wednesday, June 19, 2019 1:16 PM
> To: u-boot at lists.denx.de
> Subject: [EXT] [U-Boot] command 'saveenv' fails to write into QSPI memory
> Macronix MX25U25645GMI00
> 
> Caution: EXT Email
> 
> Hello U-Boot community,
> 
> 
> 
> This is my first mail to this mailing list, so I quickly present myself and expose my
> problem .
> 
> I am Florian Manoel, working for Siemens AG in Germany. We are developing a
> custom board based on the processor NXP QorlQ Layerscape LS1043a (quad
> Cortex-A53 64-bit cores). We choosed to boot on QSPI memory.
> 
> 
> 
> Some works have already been done for our custom board concerning U-Boot :
> 
> *       Specific _defconfig and other files
> *       NXP prebootloader configured for QSPI Boot
> *       Specific Lauterbach scripts
> *       Adding the QSPI memory to the Device Tree
> *       Adding the freescale(NXP) SPI drivers to the config
> *       ...
> 
> 
> 
> We are now at the point where U-Boot compiles, boots on our board up to the
> console.
hi Manoel,

I believe you are using current u-boot from upstream to make it work.
In that you need to manually apply this patch on the top of denx.de uboot http://patchwork.ozlabs.org/patch/1091524/
This patch was preempted since maintainers wants to port Linux qspi driver to u-boot.

After applying this you need to add another patch which I will mail you one-on-one. I did not post it upstream stream since it was dependent on my first patch and
Maintainers have suggested that since this fsl-qspi.c will be removed so, they will not accept any further patch for current uboot driver.

For MX25U25645GMI00, please send me data sheet and u-boot log I can help with spi-nor-id.c patch.

Regards
Ashish  
> 
> However,  while making some test, I notice that the command 'saveenv' fails
> (Failed (-2)). I searched information on the net without success.
> 
> 
> 
> So, I would like to get support concerning this problem. Did some of you already
> use this memory (Macronix MX25U25645GMI00) in QSPI mode ? If yes, did you
> also encounter this problem ?
> 
> Any advice are welcome.
> 
> 
> 
> Of course, I can provide more details.
> 
> Mit freundlichen Grüßen
> Florian Manoël
> 
> Siemens AG
> Digital Industries
> Process Automation
> Software House Khe
> DI PA CI R&D 2
> Östliche Rheinbrückenstr. 50
> 76187 Karlsruhe, Deutschland
> Tel.: +49 721 595-1433
> mailto:florian.manoel at siemens.com
> https://eur01.safelinks.protection.outlook.com/?url=www.siemens.com%2Fing
> enuityforlife&amp;data=02%7C01%7CAshish.Kumar%40nxp.com%7Cf0e0cfce87
> ea476af66708d6f4a8ef6b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1
> %7C636965403758567159&amp;sdata=ISv%2BdZGuBj%2BIZTw%2BTL0dt2ZJR%
> 2F6ukrKuwpenJGZtvag%3D&amp;reserved=0<https://eur01.safelinks.protection
> .outlook.com/?url=https%3A%2F%2Fsiemens.com%2Fingenuityforlife&amp;dat
> a=02%7C01%7CAshish.Kumar%40nxp.com%7Cf0e0cfce87ea476af66708d6f4a8
> ef6b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C63696540375856
> 7159&amp;sdata=ilh7Wufcyb8MqKFtmSDRWdLu4WOSNG4oOljUEgsXt64%3D&a
> mp;reserved=0>
> 
> Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann
> Snabe; Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Lisa Davis, Klaus
> Helmrich, Janina Kugel, Cedrik Neike, Michael Sen, Ralf P. Thomas; Sitz der
> Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin
> Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.denx
> .de%2Flistinfo%2Fu-
> boot&amp;data=02%7C01%7CAshish.Kumar%40nxp.com%7Cf0e0cfce87ea476a
> f66708d6f4a8ef6b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C636
> 965403758567159&amp;sdata=hdCcJd1eyemaH29nCp1kKBxiPD%2BR1u7wSDT2
> MrDPY1E%3D&amp;reserved=0

      reply	other threads:[~2019-06-19 11:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19  7:45 [U-Boot] command 'saveenv' fails to write into QSPI memory Macronix MX25U25645GMI00 Manoel, Florian
2019-06-19 11:49 ` Ashish Kumar [this message]

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=VI1PR04MB4015A695C3F9570EF91139F495E50@VI1PR04MB4015.eurprd04.prod.outlook.com \
    --to=ashish.kumar@nxp.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.