Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB

florian.manoel at siemens.com florian.manoel at siemens.com
Wed Jan 22 14:43:17 CET 2020


Hello U-Boot team,



I am Florian, working at Siemens in Germany.

I am in charge of bringing up a custom board based on the processor NXP QorIQ LS1043a.



So far, I have been able to bring U-Boot on the board without too much troubles.

However I can not get the command 'saveenv' to work. Our environment variables are stored in the QSPI NOR memory that is also used as boot memory.



The 'saveenv' command always ends up in a

"

=> saveenv

Saving Environment to SPI Flash... Erasing SPI flash...flash operation timed out

Failed (-110)

"



Few more information:

- No issue with a Lauterbach debugger

- I noticed that the NOR memory at offset address 0 get erased during the operation. The normal offset of the env variable is normally 0x900000.

- The memory used is the 'MT25QU01GBBB' from MICRON (Device ID 0x20bb21). I can provide the datasheet.

- the NOR memory is correctly discovered, 'sf probe => SF: Detected n25q00a with page size 256 Bytes, erase size 64 KiB, total 128 MiB'

- I have tried to activate the debug logs but they didn't bring any interesting information.

- current version :

"

=> version

U-Boot 2019.10-00062-gc71ef945eb-dirty (Jan 22 2020 - 14:14:26 +0100)



aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516

GNU ld (GNU Binutils for Debian) 2.28

"



Can you provide support to fix this issue ?

Of course, I can provide more info/logs.



Regards,

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.cfg
Type: application/octet-stream
Size: 24203 bytes
Desc: u-boot.cfg
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200122/155531c3/attachment.obj>


More information about the U-Boot mailing list