i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command
PATCH v2 1/1 i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command
board/freescale/mx6qsabrelite/README explain a procedure to update the SPI-NOR on the SabreLite board without Freescale manufacturing tool but following this procedure leads to both "sf erase" and "sf write" failing on a mx6qsabrelite board:
MX6QSABRELITE U-Boot > sf probe 1 MX6QSABRELITE U-Boot > sf erase 0 0x40000 SPI flash erase failed
MX6QSABRELITE U-Boot > sf write 0x10800000 0 0x40000 SPI flash write failed
This is because the chip-select 1 is wrong and the correct value is 0x7300.
Since commit c1173bd0 ("sf command: allow default bus and chip selects") the chip-select and bus arguments for the sf probe command are optional so let's just remove it and use "sf probe" instead.
---
Changes since v1:
- Fix the description by explaining that the chip-select can be passed but the value "1" is wrong and is not strictly required; suggested by Stefano Babic.
board/freescale/mx6qsabrelite/README | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
board/freescale/mx6qsabrelite/README +1 -1
@@ -40,7 +40,7 @@ enter the following commands: MX6Q SABRELITE U-Boot > mmc dev 0 MX6Q SABRELITE U-Boot > mmc read 0x10800000 0 200 - MX6Q SABRELITE U-Boot > sf probe 1 + MX6Q SABRELITE U-Boot > sf probe MX6Q SABRELITE U-Boot > sf erase 0 0x40000 MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000
Signature · 1 line
1.7.7.6
PATCH v2 1/1 i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command
Quoted 14 lines · Javier Martinez Canillas
board/freescale/mx6qsabrelite/README explain a procedure to update the SPI-NOR on the SabreLite board without Freescale manufacturing tool but following this procedure leads to both "sf erase" and "sf write" failing on a mx6qsabrelite board:
MX6QSABRELITE U-Boot > sf probe 1 MX6QSABRELITE U-Boot > sf erase 0
0x40000SPI flash erase failed
MX6QSABRELITE U-Boot > sf write0x1080000000x40000SPI flash write failedThis is because the chip-select 1 is wrong and the correct value is
0x7300.
Quoted 6 lines
Since commit
c1173bd0("sf command: allow default bus and chip selects") the chip-select and bus arguments for the sf probe command are optional so let's just remove it and use "sf probe" instead.Signed-off-by Javier Martinez Canillas <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================