Message ID | 1364983043-8488-1-git-send-email-javier.martinez@collabora.co.uk |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
On 03/04/2013 11:57, Javier Martinez Canillas wrote: > 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. > > Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> > --- Applied to u-boot-imx, thanks. Best regards, Stefano
diff --git a/board/freescale/mx6qsabrelite/README b/board/freescale/mx6qsabrelite/README index 6f2f534..324b116 100644 --- a/board/freescale/mx6qsabrelite/README +++ b/board/freescale/mx6qsabrelite/README @@ -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
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. Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> --- 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(-)