From patchwork Wed Oct 14 09:11:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317733 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp213900ilm; Wed, 14 Oct 2020 01:45:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGS/RQrUGxK4SlbIx7RTY/ZY9ahfxHTTP94UOxa5W5L+167Fjze7UM1FGl6BBagJRACcn4 X-Received: by 2002:a05:6402:2055:: with SMTP id bc21mr3930382edb.67.1602665145567; Wed, 14 Oct 2020 01:45:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665145; cv=pass; d=google.com; s=arc-20160816; b=Nwm6/O9d9AHfPBBt3KmQ2RqiCWAcBrvFTsVrXQaKnvOyRRbJOV/VsItQbLWfjQavAz e0HphGpzVxROSYwcCgXy4vcR1lBuCw9JRLGYaEMl3iCwk/Bc5p/Nz4steS+a/in9s2ym IW62d/3I//VhuW8VK4Je6hMPSTlUiYOd7gVHpbD5ZjWMrsP0J5B56DDoI1u3D1kNUW7L eskQU47A6f8v3kiiyJfqrYREqbKgsMe7Cl6RRAaKYnIcsVcI8daehpk+9daiol5w3wC4 4JmNBXMehDrJWgQP4UTpmmBiaLWk3HhH7ZRX2lJXkAu2Uxr7Er37sOsorv38XgkQJhhV 5vLQ== 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:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=RVTEASFUvfyqXPKzFNyJAHQbZgscHMCd8ryueVKAGhwkU8FgjSzfP6ybpmXkQ5feBe Y54mfLKoE44QHQoOxlm3YDexo7kNU+lBiE1tibe/9lbD/IQnIR8+wsdEra9g3JMqLOHM 8/fvgfjrluvdH2oe5A83YSyKg/pLRGZHbYOwWnCMgjRsQn0ZUGs5oI5xGl4WjneRl40W Au6OoRQ21LwWL0l0UjmMOoa067NtL0BtYbaAta1jsH3VPfDotzgjtkCo4v8WHhOXVuXb Hcd+cZRQkf7eqLLpdcG1P2NEGm3F1TIFw+5+Zec/wk4nTYCeg6871+/ZCfxZX7eaW57m lYrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="qLQqsST/"; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id n9si1749952ejx.364.2020.10.14.01.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:45:45 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="qLQqsST/"; 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 85.214.62.61 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 5B78B82416; Wed, 14 Oct 2020 10:45:39 +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="qLQqsST/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 47C0982400; Wed, 14 Oct 2020 10:45:37 +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=-1.0 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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::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 B955D82313 for ; Wed, 14 Oct 2020 10:45:33 +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=INPGUxvah4KbZ7jxdUmhIC1N7frN2FyPdBhHhDGbcgsVbdnp9jGTUZ+lEGcsytkJljJarReyo1iGK7vvycgZ5w2ItxsoawgmLfIU9g1A72Wdrc087UmfzSZKOxDhPta+Zgqcc28K8IZp8I8Th9q026AOjBdhUCnqcyLT8iQjyY96ecWwrOeIIkhCj5VxCDMU8tlYc9QSLtX1MSSjU3hEgTX4eGpFFQ2Y1CQaSjQ/M6rqYEfX22xXumQvS8olfzDXGCXRCkVi9lPbvtCDPXLD6KStIyGtU79o2tXUODuOmUPdWdGCUUD4Ze2BJStJEPGvlLOzCVwyXSCSQEDHo2s8Zg== 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=S283T4DhQ9RenQYo0wnsiTfAd6RRj9mMQk4NQynNc9nNPt0UvVRiYNHboBKzfvR+ezPKEscEePZpSzU+qWn6bnvkSkAnzxs6HhRiDbGBdkb0Fc916S0pTDkd+X9c1TDLUAFmZ2j6pqONtJJK1dwo78qcIQcBrOqVjBO8k+97bmrvATSSd4THFbfJa81GCe/CDpyYWsNkJGQpMB8ooLZDV8KJwoMjiEwHDDVxCCAy93Yp8MyDvw+iHUzbAArsys16ODZndSOprmoyVlPyzNmw/5s7kTBMroQzyzNq5q8PhMxsmz4YPSZEacV3Dcwzcxz1IVtt4aBubVCwNozhB5hAeg== 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=qLQqsST/QT9bPaFV6V5inqwR26dqSWhtsdNCaYdtcE1SvcC2aaPfxmC/5XHO7ECwpZ3DXovghdKESCEhl2Jh6R0LQiiyggNSncytfMpEzbtSMPwQekm9tQ5YrVSy6OpxcJ5ZsZetEwRgAyZb1k0g5zZozNqI6sPqy3tjvD32oMM= 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 DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Wed, 14 Oct 2020 08:45:32 +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.031; Wed, 14 Oct 2020 08:45:32 +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 V2 01/12] board: imx: address dd usage in README Date: Wed, 14 Oct 2020 17:11:59 +0800 Message-Id: <20201014091210.12113-2-peng.fan@nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201014091210.12113-1-peng.fan@nxp.com> References: <20201014091210.12113-1-peng.fan@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR02CA0117.apcprd02.prod.outlook.com (2603:1096:4:92::33) 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 SG2PR02CA0117.apcprd02.prod.outlook.com (2603:1096:4:92::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Wed, 14 Oct 2020 08:45:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0e590e79-abc8-449b-0b15-08d8701d8256 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: 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: OGtmfypYc9f8igy6uHUy97pYpEQMP6FpVCuPUzph8CIJcc9wMSY6pPQpro4lqCTKky5JvkrU+Yud1fYF7TF7nHwgBwJaIVbtxx2+yRB/yN2S4AtrGv3V1zCcYqKp0XCA2MUpbZxx6dKkpkiL9gFQvfKxg55SWKKv4vkn52fZIGL9BjnwcINXknBIp84lFbtF0rFdI0Fl29aICgDKU7ix1sfgR3MmNnUC+4lIODIuUv4m7CRC5S9I/xWW/i8Yp12XUWEjD1w3uNohVX3rs9MuPeghT4GTwimuDwyQTWp8zTLVx5j9e8V9zgO39N8wLN+xmd25EqFWCjSZXF/KcS7p9w== 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)(396003)(39860400002)(366004)(136003)(346002)(376002)(478600001)(4326008)(316002)(1076003)(2906002)(26005)(16526019)(52116002)(6512007)(2616005)(36756003)(86362001)(956004)(8676002)(44832011)(186003)(8936002)(83380400001)(6506007)(6486002)(66556008)(66476007)(6666004)(5660300002)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: FqNIjic7RcKvpEUwkwO766oXSfde8STdg23YzssloUo1y743qWd2l5tI0yiS+OWYyZDrlMmmTWUXa+64260EyKrZBVHQLD0MHdQ33bszXmAQvdQVq3gMoWAa4LMDQNkbIlxKNN+uho2hs0BWpVR6gg+vzn3T6kSn/CUKuSjLAyyrnG1Db+1NY/UW/7IMAkJoEnm54h6mcmNnPabzFi+fFif6lBg34LQ5RG1py+P+otpfyrh4C8+briyZcuCH8R3+Th94EBze7Dg2JahGqU8PhiOhInkdihcgIJivOQkr+Qk3rkU5B8Y6h8zCwMTk0cnyFdrIdrBrBfeN4llO3ey0nghF3y+J67yFkZILaU3veG+c+JfunjtcTF4l29evezgq+PC7fNOlsV52lFmnojdacwklxTJlVi8iJSt4Y1YVenCT07oiI6o6lhwYs5vQyAT5/NE8oExMOJ2P9SOlYQqSs5Te8L9EzacbOTPjQUCLkSQJNNNZB8YN3tNQ3RSXPLkS2Mpu3tza+tpK7KjdwpeZgPec4cuN4oLfnQTKNyXrSzC9S7g6oqGqC965Rm19v+q9uzraVyk7S5uHapIq39hrotNnXqfM5MeDKYFg8dZOAha7NOVMs56a6Uph90DgcSS2GhkhGKd70HUHIr3iwFhiMA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e590e79-abc8-449b-0b15-08d8701d8256 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2020 08:45:31.9902 (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: pDvmsabjoasXK1xwx1HfMXRIzD1EwhTe6uYDojehJy9tlTZcvoUhkucWV1HI+GyxLdllZLmdn+3MBgSHkFHcmg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2760 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: