AW: [EXT] Issue with saveenv() and the QSPI NOR memory MICRON MT25QU01GBBB

florian.manoel at siemens.com florian.manoel at siemens.com
Fri Jan 24 09:30:14 CET 2020


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 at 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 at nxp.com>
Gesendet: Donnerstag, 23. Januar 2020 07:39
An: Manoel, Florian (DI PA CI R&D 2) <florian.manoel at siemens.com>
Cc: Schertler, Daniel (DI PA CI R&D 2) <daniel.schertler at siemens.com>; u-boot at 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 at lists.denx.de> On Behalf Of
> florian.manoel at siemens.com
> Sent: Wednesday, January 22, 2020 7:13 PM
> To: u-boot at lists.denx.de
> Cc: daniel.schertler at 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.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fseries%3D152743&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=uWYw50s0Yx35NhfZoV2B06wlxs8bbIvQMYa%2Fv27YFcc%3D&reserved=0
Detail of this series:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221983%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=EiwqI%2F11dmdWKIJ1T27vyiFnKqXE8QKdo3CNMbVc4z4%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221977%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=%2B5YejNj8dZAz7SvZdvb8SQFrnSzH14hhuwrbRLqahCw%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221979%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=PThYrAfg2n%2BG8rGPGfB3t20EWsYN8rKD8Fdw6IMpA4k%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221978%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=q9vE2qA1KBgT8V16MHIgMAR3C9H0R12evZ0IEJB4jl4%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221980%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=klsEea%2FCL5d39M%2FIHRcWynS3sNcJz%2BRF7%2FjVc5x080o%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221981%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=LwrSMGnZn3tvj7n8fFJmVmt9YTeyVg3QP%2BboabtVa5k%3D&reserved=0
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F1221982%2F&data=02%7C01%7Cflorian.manoel%40siemens.com%7C702732098f074629b05d08d79fcef40a%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637153583514790967&sdata=Id%2FdQ%2FDj7MeO8h3TS8ZdCXJywSyzfS5mUM4sUC7EDjU%3D&reserved=0

> "
>
> => 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
> 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=0<https://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



More information about the U-Boot mailing list