From patchwork Mon Oct 12 06:14:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317605 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp4320342ilm; Sun, 11 Oct 2020 22:48:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxijPZB7RLYWGeTu6rztWQy2OePRGv2oamiQAa3Ml1/az2H1rZM59lBvr2d/Cj4fnMPksQV X-Received: by 2002:a50:c05b:: with SMTP id u27mr12108477edd.290.1602481689569; Sun, 11 Oct 2020 22:48:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602481689; cv=pass; d=google.com; s=arc-20160816; b=QZoppZIiVw3fO38SjYJV+rx+5MUM7hHWfh4ZHqWL8tej7j/06QQWVqEUHTXxWPBuLO fNOa2LiFInRn363nK63Nn9YhcLhrUp3S8B+Z6HcYmcanU5FHNxEl1I2iAYHHdCDj9b5c 12TVIK7Yv4j41wJ4mWQPDzuwVS6Miaa7SrXKzF6W/+WHHA2KhbHhh5sb+QLc1oRIEKyD 1SZZ663PO1VOW3aFW67Vm6DecaaNfe4SDUZhILPT8yfdJroeDG3pZC0sQBkl4P7iLuZh fLodM3Vor+GbN4H59FosIBx6dA4sb5YefPYUjZ/Ijfh1OOd9/2kyskM3T4gjnGv4Zhad kClA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature; bh=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=W9Wb/6zQaSlnCq2nSLJ/N8pYl00ritqjcmnD2rXw/WJ2M0+gGGsFBSTH89U0kl5BcH 59k4y0lLXLa4KPVUiVgTnHXeMspmkvf08tD0VAuKC/gcaXkWYSlLx24Rq63n42A3knrJ SrS7fJO+RPIFzO/v9B/IH0Le8xj11GQKE0TdfLTE3toXnTfAbffkX1UOiC9qWPAJyDIZ YNwiXbR58QcZ+L55ZCS0fW5yBe7hN7bx+WAF7evLQiNr37xmZt93jf4HZ8Y47Eyaci8S hn3Wlq6aw32bxiRK/X5ynNYJgX4/PKkcmCHMRPEvjX8UPWatZRWsTcWxi/KXzArz/jHF p7ow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=brEdBqBf; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id ml22si10987012ejb.172.2020.10.11.22.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 22:48:09 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=brEdBqBf; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 87A3F82443; Mon, 12 Oct 2020 07:48:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="brEdBqBf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8A35382444; Mon, 12 Oct 2020 07:48:06 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::60c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4754F82440 for ; Mon, 12 Oct 2020 07:48:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPZy+qTXKkpKkD0nsa13lCap1QZA/83PW7doJjKe9NxsJdHpn8l7d6jIyWWiZ1oAJkBtWUgqTfjtSTKxFCZ+RaTxpggSNJeV0bBuEl27F5xKXiDoAxX5rXfZUyT57OhJ0ZFI0JhdL6Pd6COWaiKHRBvvYiqyiofBQUKORkZcFsgyXXmP+YSijwlbPX4Xgr1XLUBCssstslDOr9jMsbW5iIjmlfG0DEo/1JcEhAS5kcmp4pWSNGkse/gj129JCVBjLr3c6Lm0o/49by1SBbOT0F0d2cNUCmo8H5iV1+jbZ35Q2zJ/ccQQ1vxbdtlbI1njzm54Jpr8XMAb4cHXVg1HqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=ccHiSqP+KjFbGiBagnrfOqwRLdx80mpKmCpR1NT/B4aMygfA99i59gsMc9ej4Mj8vVI2kdBdATmHXQyBMoWkYR33jaP6I95j7TqQb09iJ8ljqwhRyOqDXNQ7nVX6rqBSD1TizzGL8X5ZHfvQJyYjB0MowIGVy81e6zgGdRyABF/9XZBX896i8ZoTprgpKdkY7xyJaGRry/qMl55tq23/WRzf5Rv5QRxcnbL2jQyHDvJjwzd3aKzhWmtsgghmiImV97Ie6H0jwnlqfOan565dw8Zmuo88Fl7lixChfYC7WdaHgvwDNIkfyyOgWpWlOXgAd4yDHdoTEz49ZxEynVfFOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=brEdBqBfvzj2FZ77lsKKvTwTTFX2WihJ0/KWTpxsaMgf3i8yKMocda7m9QuYbJbF8wZsHc7GWKcluVn81xrGMYFfqI7ldY5t9daIRRhkw46lYRGZmZxKUJ7Qf/+zDC6ZQ6yvWV7LyeVIzqI6sByW6JwXM9ZMg6CNLAAgxefsGHc= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB8PR04MB6620.eurprd04.prod.outlook.com (2603:10a6:10:107::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.26; Mon, 12 Oct 2020 05:48:01 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::35c5:8c71:91f3:6bc6]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::35c5:8c71:91f3:6bc6%12]) with mapi id 15.20.3455.029; Mon, 12 Oct 2020 05:48:01 +0000 From: Peng Fan To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH] board: imx: address dd usage in README Date: Mon, 12 Oct 2020 14:14:43 +0800 Message-Id: <20201012061443.3157-1-peng.fan@nxp.com> X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR03CA0098.apcprd03.prod.outlook.com (2603:1096:4:7c::26) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR03CA0098.apcprd03.prod.outlook.com (2603:1096:4:7c::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.11 via Frontend Transport; Mon, 12 Oct 2020 05:47:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3cf07879-98ef-4bd1-a72a-08d86e726170 X-MS-TrafficTypeDiagnostic: DB8PR04MB6620: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fVIbFqfOeiQW8BxqQVLInsCBaNG5Az0jrZz2A4qTZ6evS92b+j9Lx0mOsLfjkq0/atJlGiXisPDpi5agIBEPKjPOxt/3tH/YfDoJCXE31L3IZ1XJAwGxyV1P3AvpjNmTDVdHfR+vcFfGvxA7KQbcSUB/Fc7Eb6gOSRNdgnZCccglzpYvv3MbPH6CUuo099r5+8Uc2ukRSCUzcnwV8DC5jRnG0IFy+PIM/wf2ME5ISlWIQZi30dtH0WO9ulqpF0fHyv1qlcBkhNQOF4mo60ZOdhPlsWje2xzze2FxdcQN3YWRaFewY6i1Yi3pb6vmHjUEsABTPSeXtWTN/5cJ57b86w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(136003)(396003)(376002)(346002)(44832011)(8676002)(316002)(8936002)(5660300002)(83380400001)(36756003)(6512007)(6486002)(1076003)(52116002)(4326008)(86362001)(66556008)(66476007)(956004)(2616005)(6666004)(6506007)(2906002)(26005)(186003)(16526019)(478600001)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: CjLRjQ5MotkLNnTGd/4GTbr4S4MZYv5/ChlvsWzr1/a8AE6mSB4M7KPjLf2PQlRILFJIEOYNJ8pb0l9OX9Faa3uzMOZQD1a+9HC5sWwp4fKzqBVopWg+ed9hpcq7RTeo0yr4HC/10EpkHhqdB9XiOt3egWgm621Lg8tEL+8Bh4ty8e+3A3suYkMKuwIzEBwSWRcDp8bNx7wjGajhWMriL2bXX7soZ121e0XlOqZBXRRxGGi+it2a7eJSp4kfkuwUde4ldiTHLueaiVmJE1YjrfrLSyY0uyMZQGrBPHS0tC6Skgj19FcmJAjfLoREwIs/1CUhaQvkHixJlTaUzufn7iznXPcO+dF7y0SMqTYSZXfHk7+y6Zk1clKt+I6s5OXz5u6gmzYS9c1x5dAkV0Onq/tTWeN7WHuwhIQu9J9Itf1A5ygWF1O2rg1LKJVejoOjDoXV7oKd3zRtyoXwQHJiLbE1MDduWJjiByh7dpLF93FS5QAh7uW1I6aftynNaP8CWwfQ7bZE3ZtSa+1jjgcTcKlRvABL8US0bwQcFAfQky9rWNt48gH8vym1T3X1uxipWox1mh9oJLEfEdX4Idv/fbejjpHpGlDmO3DSYfPhjMzgUWucJqyH9LkVzu49JW6ZcHe5TPU3xNdBQsNPvjhTBw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3cf07879-98ef-4bd1-a72a-08d86e726170 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2020 05:48:01.7553 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7WdCI9HcOMVrhjG8ooC6hbt3wiPwmRPvAkFcPmpWI3lwRy/eVESnf4rxOdADIyqffvIBx4BtDFCDuK4NSgxawg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6620 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean When using cygwin64 "dd (coreutils) 8.26 Packaged by Cygwin (8.26-2)", the last not 512bytes aligned data wat cut off and not burned into SD card. Saying the flash.bin size is 1085608 bytes, not 512bytes aligned. It only burned 1085440 bytes, the leaving 168 bytes were not burnned and cause boot issue. So update README dd command to add "conv=notrunc" Signed-off-by: Peng Fan --- board/freescale/imx8mm_evk/README | 2 +- board/freescale/imx8mn_evk/README | 2 +- board/freescale/imx8mp_evk/README | 2 +- board/freescale/imx8mq_evk/README | 2 +- board/freescale/imx8qxp_mek/README | 2 +- board/freescale/imxrt1020-evk/README | 4 ++-- board/freescale/imxrt1050-evk/README | 4 ++-- board/freescale/mx6sabreauto/README | 8 ++++---- board/freescale/mx6sabresd/README | 12 ++++++------ board/freescale/mx6ul_14x14_evk/README | 4 ++-- board/freescale/mx6ullevk/README | 2 +- 11 files changed, 22 insertions(+), 22 deletions(-) -- 2.28.0 diff --git a/board/freescale/imx8mm_evk/README b/board/freescale/imx8mm_evk/README index fa3f079f31..3307711d5d 100644 --- a/board/freescale/imx8mm_evk/README +++ b/board/freescale/imx8mm_evk/README @@ -30,7 +30,7 @@ $ export ATF_LOAD_ADDR=0x920000 $ make flash.bin Burn the flash.bin to MicroSD card offset 33KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 +$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc Boot ==== diff --git a/board/freescale/imx8mn_evk/README b/board/freescale/imx8mn_evk/README index ff3d15c02b..ec007afb25 100644 --- a/board/freescale/imx8mn_evk/README +++ b/board/freescale/imx8mn_evk/README @@ -30,7 +30,7 @@ $ export ATF_LOAD_ADDR=0x960000 $ make flash.bin Burn the flash.bin to MicroSD card offset 32KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 +$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc Boot ==== diff --git a/board/freescale/imx8mp_evk/README b/board/freescale/imx8mp_evk/README index 7dd3a9352a..3c64979be9 100644 --- a/board/freescale/imx8mp_evk/README +++ b/board/freescale/imx8mp_evk/README @@ -33,7 +33,7 @@ $ export ATF_LOAD_ADDR=0x960000 $ make flash.bin Burn the flash.bin to the MicroSD card at offset 32KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32; sync +$sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync Boot ==== diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README index 859f852255..2689459b9f 100644 --- a/board/freescale/imx8mq_evk/README +++ b/board/freescale/imx8mq_evk/README @@ -30,7 +30,7 @@ $ make imx8mq_evk_defconfig $ make flash.bin Burn the flash.bin to MicroSD card offset 33KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 +$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc Boot ==== diff --git a/board/freescale/imx8qxp_mek/README b/board/freescale/imx8qxp_mek/README index 6e4eb5996b..6f99d0e13e 100644 --- a/board/freescale/imx8qxp_mek/README +++ b/board/freescale/imx8qxp_mek/README @@ -43,7 +43,7 @@ Flash the binary into the SD card Burn the flash.bin binary to SD card offset 32KB: -$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 +$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc Boot ==== diff --git a/board/freescale/imxrt1020-evk/README b/board/freescale/imxrt1020-evk/README index abee7ca5f3..9bc5bc00bc 100644 --- a/board/freescale/imxrt1020-evk/README +++ b/board/freescale/imxrt1020-evk/README @@ -11,11 +11,11 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync +sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync +sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync - Jumper settings: diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README index a7e68fa9b3..f321300246 100644 --- a/board/freescale/imxrt1050-evk/README +++ b/board/freescale/imxrt1050-evk/README @@ -11,11 +11,11 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync +sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync +sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync - Jumper settings: diff --git a/board/freescale/mx6sabreauto/README b/board/freescale/mx6sabreauto/README index 4c0fda1a2d..710026a05e 100644 --- a/board/freescale/mx6sabreauto/README +++ b/board/freescale/mx6sabreauto/README @@ -13,11 +13,11 @@ This will generate the SPL and u-boot-dtb.img binaries. - Flash the SPL binary into the SD card: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync - Flash the u-boot-dtb.img binary into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync Booting via Falcon mode ----------------------- @@ -36,11 +36,11 @@ This will generate the SPL image called SPL and the u-boot-dtb.img. - Flash the SPL image into the SD card: -$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 && sync +$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 conv=notrunc && sync - Flash the u-boot-dtb.img image into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 conv=notrunc && sync Create a FAT16 boot partition to store uImage and the dtb file, then copy the files there: diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sabresd/README index 4ea4454b9f..974b0be175 100644 --- a/board/freescale/mx6sabresd/README +++ b/board/freescale/mx6sabresd/README @@ -25,11 +25,11 @@ This will generate the SPL and u-boot-dtb.img binaries. - Flash the SPL binary into the SD card: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync - Flash the u-boot-dtb.img binary into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync 2. Booting from eMMC @@ -53,8 +53,8 @@ Mount the eMMC in the host PC: - Flash SPL and u-boot-dtb.img binaries into the eMMC: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync Set SW6 to eMMC 8-bit boot: 11010110 @@ -69,11 +69,11 @@ This will generate the SPL image called SPL and the u-boot-dtb.img. - Flash the SPL image into the SD card: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none conv=notrunc && sync - Flash the u-boot-dtb.img image into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none conv=notrunc && sync Create a partition for root file system and extract it there: diff --git a/board/freescale/mx6ul_14x14_evk/README b/board/freescale/mx6ul_14x14_evk/README index e101abe48c..70eb86efba 100644 --- a/board/freescale/mx6ul_14x14_evk/README +++ b/board/freescale/mx6ul_14x14_evk/README @@ -14,11 +14,11 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync +sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync +sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69 conv=notrunc; sync - Jumper settings: diff --git a/board/freescale/mx6ullevk/README b/board/freescale/mx6ullevk/README index d5c8770863..47a35f61a2 100644 --- a/board/freescale/mx6ullevk/README +++ b/board/freescale/mx6ullevk/README @@ -15,7 +15,7 @@ This generates the u-boot-dtb.imx image in the current directory. - Flash the u-boot-dtb.imx image into the micro SD card: -$ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 && sync +$ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 conv=notrunc && sync - Jumper settings: