[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST v2 2/2] uboot: make flask loading address host property
From: Wei Liu <wei.liu2@xxxxxxxxxx> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- v2: [ijc] Rebase over change to preceding patch --- Osstest/Debian.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 3a0993b..3ca319c 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -158,10 +158,16 @@ sub setupboot_uboot ($$$$) { # Use the flaskpolicy from tools build job because we might # want to test cross releases policy compatibility. my $flaskpolicy = get_runvar('flaskpolicy',$r{buildjob}); + my $flask_policy_addr_r = + get_host_property($ho, 'UBootSetFlaskAddrR', undef); + my $set_flask_addr_r = + $flask_policy_addr_r ? + "setenv flask_policy_addr_r $flask_policy_addr_r" : ""; + $xenhopt .= " flask=enforcing"; $flask_commands = <<END; -setenv flask_policy_addr_r 0x1200000 +${set_flask_addr_r} flaskpolicy=$flaskpolicy ext2load scsi 0 \\\${flask_policy_addr_r} \$flaskpolicy fdt mknod /chosen module\@2 -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |