From patchwork Wed Apr 3 09:57:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 233337 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id BDE892C007A for ; Wed, 3 Apr 2013 20:57:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 106514A2A0; Wed, 3 Apr 2013 11:57:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QQM6Ik4jmxan; Wed, 3 Apr 2013 11:57:40 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7D70A4A096; Wed, 3 Apr 2013 11:57:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 657784A0B6 for ; Wed, 3 Apr 2013 11:57:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j3ibinUyKmUD for ; Wed, 3 Apr 2013 11:57:36 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by theia.denx.de (Postfix) with ESMTPS id 12C784A021 for ; Wed, 3 Apr 2013 11:57:34 +0200 (CEST) Received: by mail-wg0-f51.google.com with SMTP id b12so1401761wgh.30 for ; Wed, 03 Apr 2013 02:57:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=uhWscetnZnYeQjODqehBSl6xOaiPszuIh41A15emFFM=; b=MhVCeDHLY/JwQhODoC0nK7xKoPE37fWRjEsbYkP5fS83PM0NCcxTj3gx7dGoT7zCoq nP0MnDlm0Tq7TgWvzZWL7zPp7CMtr6sK2U7DixlJqRK/K7qdOk4mvTg5ClT0KYvXxbDD qYm6VEvO8YOLUFmWGFZa7xB1HDug6rRBL1hQJtTvgbRb24KAxlR1YBeaECJ4IAU3MPmq QNIxih7L0AALbQT//Zk/OTpMVXQpw6cBOupXxpIeGcNUW9FAJi2fOYAjPp8/IP+oLoJK xiTr9n/DEYrr4bOYsziIN7BXGBYl2jt8gjGI5a/dx1C3vuYxdyVHuII7vrtbNvI7KwZb ++Wg== X-Received: by 10.180.87.170 with SMTP id az10mr1743287wib.3.1364983054528; Wed, 03 Apr 2013 02:57:34 -0700 (PDT) Received: from localhost.localdomain (85.217.77.188.dynamic.jazztel.es. [188.77.217.85]) by mx.google.com with ESMTPS id bo1sm692462wib.0.2013.04.03.02.57.33 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Apr 2013 02:57:34 -0700 (PDT) From: Javier Martinez Canillas To: Stefano Babic Date: Wed, 3 Apr 2013 11:57:23 +0200 Message-Id: <1364983043-8488-1-git-send-email-javier.martinez@collabora.co.uk> X-Mailer: git-send-email 1.7.7.6 X-Gm-Message-State: ALoCoQncVOMRynqdfmb2cAqueTAmZBvOBG9klQz1AhUQAWChCXR+m1/MVcG9RhCOsvxOsGUnpsvA Cc: fabio.estevam@freescale.com, u-boot@lists.denx.de, Javier Martinez Canillas Subject: [U-Boot] [PATCH v2 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --- 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(-) 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