From patchwork Wed Nov 26 17:57:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Thomas X-Patchwork-Id: 415218 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id DC078140182 for ; Thu, 27 Nov 2014 04:57:21 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753447AbaKZR5U (ORCPT ); Wed, 26 Nov 2014 12:57:20 -0500 Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]:33408 "EHLO ducie-dc1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753177AbaKZR5T (ORCPT ); Wed, 26 Nov 2014 12:57:19 -0500 Received: from localhost (localhost [127.0.0.1]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTP id EF363460393 for ; Wed, 26 Nov 2014 17:57:16 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at ducie-dc1.codethink.co.uk Received: from ducie-dc1.codethink.co.uk ([127.0.0.1]) by localhost (ducie-dc1.codethink.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FiylTfD6PGcV for ; Wed, 26 Nov 2014 17:57:12 +0000 (GMT) Received: from hal8000.dyn.ducie.codethink.co.uk (hal8000.dyn.ducie.codethink.co.uk [10.24.1.147]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTPA id CDBC8460214 for ; Wed, 26 Nov 2014 17:57:10 +0000 (GMT) From: James Thomas To: linux-tegra@vger.kernel.org Subject: [flasher PATCH] Set bootdelay to 0 Date: Wed, 26 Nov 2014 17:57:06 +0000 Message-Id: <1417024626-6616-2-git-send-email-james.thomas@codethink.co.uk> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1417024626-6616-1-git-send-email-james.thomas@codethink.co.uk> References: <1417024626-6616-1-git-send-email-james.thomas@codethink.co.uk> Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On 32-bit systems fdtput writes 0xfffffffe as 0x7fffffff, which takes some time to complete. Setting this to 0 accomplishes the same goal --- tegra-uboot-flasher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tegra-uboot-flasher b/tegra-uboot-flasher index b71f967..0121e7a 100755 --- a/tegra-uboot-flasher +++ b/tegra-uboot-flasher @@ -194,8 +194,8 @@ def func_flash(): u_boot_dtb_runflash = os.path.join(workdir, 'u-boot-runflash.dtb') cp(u_boot_dtb, u_boot_dtb_runflash) - # 0xfffffffe==-2; never delay or interrupt - cmd = ['fdtput', '-p', '-t', 'i', u_boot_dtb_runflash, '/config', 'bootdelay', '0xfffffffe'] + # Set a boot delay of 0 seconds + cmd = ['fdtput', '-p', '-t', 'i', u_boot_dtb_runflash, '/config', 'bootdelay', '0x0'] run(workdir, cmd) bootcmd = ''