From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com
Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: [PATCH OSSTEST] Debian: Allow per-host additional u-boot script commands
Date: Fri, 25 Oct 2013 11:40:42 +0100 [thread overview]
Message-ID: <1382697642-7220-1-git-send-email-ian.campbell@citrix.com> (raw)
On marilith boxes an appropriate setting is:
HostProp_marilith-n4_UBootScriptEarlyCommands= <<END
fdt set /soc/ethernet@fff50000 dma-coherent
fdt set /soc/ethernet@fff51000 dma-coherent
END
---
Osstest/Debian.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index c675e0d..e51a233 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -136,6 +136,8 @@ sub setupboot_uboot ($$$) {
logm("Xen options: $xenhopt");
logm("Linux options: $xenkopt");
+ my $early_commands = get_host_property($ho, 'UBootScriptEarlyCommands', '');
+
target_cmd_root($ho, <<END);
if test ! -f /boot/$kern ; then
exit 1
@@ -154,6 +156,8 @@ scsi scan
fdt addr \\\${fdt_addr}
fdt resize
+${early_commands}
+
fdt set /chosen \\\#address-cells <1>
fdt set /chosen \\\#size-cells <1>
--
1.7.10.4
next reply other threads:[~2013-10-25 10:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 10:40 Ian Campbell [this message]
2013-10-28 15:38 ` [PATCH OSSTEST] Debian: Allow per-host additional u-boot script commands Ian Jackson
2013-10-31 12:07 ` Ian Campbell
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=1382697642-7220-1-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).