From: James Thomas <james.thomas-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [flasher PATCH] Set bootdelay to 0
Date: Wed, 26 Nov 2014 17:57:06 +0000 [thread overview]
Message-ID: <1417024626-6616-2-git-send-email-james.thomas@codethink.co.uk> (raw)
In-Reply-To: <1417024626-6616-1-git-send-email-james.thomas-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.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 = ''
--
1.9.3
next prev parent reply other threads:[~2014-11-26 17:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-26 17:57 [flasher PATCH] Set a boot delay of 0 instead of -2 James Thomas
[not found] ` <1417024626-6616-1-git-send-email-james.thomas-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
2014-11-26 17:57 ` James Thomas [this message]
[not found] ` <1417024626-6616-2-git-send-email-james.thomas-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>
2014-12-01 18:05 ` [flasher PATCH] Set bootdelay to 0 Stephen Warren
[not found] ` <547CADF7.8030506-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-12-04 11:50 ` James Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1417024626-6616-2-git-send-email-james.thomas@codethink.co.uk \
--to=james.thomas-4ydnlxn2s6swdatgbsphta@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox