
Hi Kuldeep,
After bringing my local U-Boot to the v2020.01, applied your series of patch and do the necessary modifications. Our U-Boot is now correctly working with the QSPI NOR Flash. Even better, it's now compatible with the 2 variants of our board (32MiB <=> 128MiB QSPI NOR Flash) without any particular modification. Of course, we still need to perform more test but it is already looking better than before.
Thanks for your support and your reactivity.
Regards, Florian
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@siemens.com
www.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 -----Ursprüngliche Nachricht----- Von: Kuldeep Singh kuldeep.singh@nxp.com Gesendet: Donnerstag, 23. Januar 2020 07:39 An: Manoel, Florian (DI PA CI R&D 2) florian.manoel@siemens.com Cc: Schertler, Daniel (DI PA CI R&D 2) daniel.schertler@siemens.com; u-boot@lists.denx.de Betreff: RE: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB
Hi Florian,
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of florian.manoel@siemens.com Sent: Wednesday, January 22, 2020 7:13 PM To: u-boot@lists.denx.de Cc: daniel.schertler@siemens.com Subject: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB
Caution: EXT Email
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
Please apply patch series [1] on top of denx tree. Please let me know in case of any failure.
Thanks Kuldeep [1] https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... Detail of this series: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.... https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork....
"
=> 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@siemens.com https://eur01.safelinks.protection.outlook.com/?url=www.siemens.com%2F ing enuityforlife&data=02%7C01%7Ckuldeep.singh%40nxp.com%7C2fa80e44 8dc24ad8ed1308d79f411443%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0% 7C1%7C637152974174541907&sdata=naUNOT%2FqfND%2B7uEMPDvzmi HK33QsGZZsfYUy2hNAiJw%3D&reserved=0https://eur01.safelinks.protec tion.outlook.com/?url=https%3A%2F%2Feur01.safelinks.prote&data=02% 7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a %7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514800964&s data=X81VpYTXzlq4TxlTOxtQzpngcmMGCIQoS6FselIToUU%3D&reserved=0 ction.outlook.com/?url=https%3A%2F%2Fsiemens.com%2Fingenuityforlife&am p;data=02%7C01%7Ckuldeep.singh%40nxp.com%7C2fa80e448dc24ad8ed1308 d79f411443%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C6371529 74174541907&sdata=d41afMBGhTOC8mskURQ4vrXZR205s9TitKxjzeIqy% 2FQ%3D&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