> -----Original Message-----
> From: U-Boot <u-boot-boun...@lists.denx.de> On Behalf Of Manoel, Florian
> Sent: Wednesday, June 19, 2019 1:16 PM
> To: u-boot@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.man...@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@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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to