All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] command 'saveenv' fails to write into QSPI memory Macronix MX25U25645GMI00
@ 2019-06-19  7:45 Manoel, Florian
  2019-06-19 11:49 ` [U-Boot] [EXT] " Ashish Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Manoel, Florian @ 2019-06-19  7:45 UTC (permalink / raw)
  To: u-boot

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.

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
www.siemens.com/ingenuityforlife<https://siemens.com/ingenuityforlife>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [EXT] command 'saveenv' fails to write into QSPI memory Macronix MX25U25645GMI00
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Ashish Kumar @ 2019-06-19 11:49 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-19 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19  7:45 [U-Boot] command 'saveenv' fails to write into QSPI memory Macronix MX25U25645GMI00 Manoel, Florian
2019-06-19 11:49 ` [U-Boot] [EXT] " Ashish Kumar

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.