mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-04 18:22:08 +00:00
autopilot: disable run script not supported by riscv
- libc and nic driver are currently not available on RISC-V issue #4021
This commit is contained in:
parent
7318ca6084
commit
b6d20b4742
@ -1,3 +1,8 @@
|
|||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
set build_components {
|
set build_components {
|
||||||
core init timer
|
core init timer
|
||||||
lib/vfs/lxip
|
lib/vfs/lxip
|
||||||
|
@ -2,6 +2,11 @@ if {[have_spec arm]} {
|
|||||||
assert_spec arm_v7
|
assert_spec arm_v7
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check used commands
|
# Check used commands
|
||||||
#
|
#
|
||||||
|
@ -3,6 +3,11 @@ set block_number 12345
|
|||||||
|
|
||||||
set test_rounds 10000
|
set test_rounds 10000
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
build "core init test/aes_cbc_4k"
|
build "core init test/aes_cbc_4k"
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
@ -5,6 +5,11 @@ if {[have_board linux] || [have_board rpi3] || [have_board imx53_qsb_tz]} {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
import_from_depot [depot_user]/src/[base_src] \
|
import_from_depot [depot_user]/src/[base_src] \
|
||||||
[depot_user]/pkg/[drivers_nic_pkg] \
|
[depot_user]/pkg/[drivers_nic_pkg] \
|
||||||
[depot_user]/src/report_rom \
|
[depot_user]/src/report_rom \
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
import_from_depot \
|
import_from_depot \
|
||||||
[depot_user]/src/[base_src] \
|
[depot_user]/src/[base_src] \
|
||||||
[depot_user]/src/coreutils \
|
[depot_user]/src/coreutils \
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
build { app/sequence server/vfs lib/vfs/import test/libc }
|
build { app/sequence server/vfs lib/vfs/import test/libc }
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
import_from_depot [depot_user]/src/[base_src] \
|
import_from_depot [depot_user]/src/[base_src] \
|
||||||
[depot_user]/src/init
|
[depot_user]/src/init
|
||||||
|
|
||||||
|
@ -9,7 +9,8 @@ if {[have_board rpi3] || [have_board imx53_qsb_tz]} {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if {[get_cmd_switch --autopilot] && [have_board linux]} {
|
if {[get_cmd_switch --autopilot] && ([have_board linux] ||
|
||||||
|
[have_board riscv_qemu])} {
|
||||||
puts "Autopilot mode is not supported on this platform."
|
puts "Autopilot mode is not supported on this platform."
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,11 @@ if {[have_board rpi]} {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
build "core init test/ieee754"
|
build "core init test/ieee754"
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
|
@ -9,6 +9,11 @@ if {[have_board zynq_qemu]} {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
# use SD on Qemu/pbxa9
|
# use SD on Qemu/pbxa9
|
||||||
set use_sd_card_drv [expr [have_include "power_on/qemu"] && [have_board pbxa9]]
|
set use_sd_card_drv [expr [have_include "power_on/qemu"] && [have_board pbxa9]]
|
||||||
|
|
||||||
|
@ -22,10 +22,14 @@
|
|||||||
|
|
||||||
if {[have_board linux] ||
|
if {[have_board linux] ||
|
||||||
[have_board imx53_qsb_tz] ||
|
[have_board imx53_qsb_tz] ||
|
||||||
[have_board rpi3] ||
|
[have_board rpi3]} {
|
||||||
[have_board spike]} {
|
|
||||||
puts "\n Run script is not supported on this platform. \n"; exit 0 }
|
puts "\n Run script is not supported on this platform. \n"; exit 0 }
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
set lynx [installed_command lynx]
|
set lynx [installed_command lynx]
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Lua C++ library test
|
# Lua C++ library test
|
||||||
#
|
#
|
||||||
|
@ -8,6 +8,11 @@ if {[have_board rpi3]} {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
import_from_depot [depot_user]/src/[base_src] \
|
import_from_depot [depot_user]/src/[base_src] \
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
source ${genode_dir}/repos/base/run/platform_drv.inc
|
source ${genode_dir}/repos/base/run/platform_drv.inc
|
||||||
|
|
||||||
set targets "core init timer server/nic_router server/nic_bridge
|
set targets "core init timer server/nic_router server/nic_bridge
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
if { [get_cmd_switch --autopilot] } {
|
if {[get_cmd_switch --autopilot]} {
|
||||||
if {[have_include "power_on/qemu"]} {
|
if {[have_include "power_on/qemu"]} {
|
||||||
puts "\nRun script does not support Qemu.\n"
|
puts "\nRun script does not support Qemu.\n"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if {[have_board linux] || [have_board spike]} {
|
if {[have_board linux]} {
|
||||||
puts "\n Run script is not supported on this platform. \n";
|
puts "\n Run script is not supported on this platform. \n";
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,8 @@ if {[have_board imx7d_sabre] ||
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if {[get_cmd_switch --autopilot] && [have_spec linux]} {
|
if {[get_cmd_switch --autopilot] && ([have_spec linux] ||
|
||||||
|
[have_board riscv_qemu])} {
|
||||||
puts "\nAutopilot run is not supported on this platform\n"
|
puts "\nAutopilot run is not supported on this platform\n"
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,11 @@ if {[have_spec foc] || [have_spec linux] || [have_board rpi3] ||
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
set on_hardware [expr ![have_include power_on/qemu]]
|
set on_hardware [expr ![have_include power_on/qemu]]
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
@ -5,6 +5,11 @@ if {![have_include power_on/qemu] || [have_spec foc] || [have_spec linux] ||
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
import_from_depot [depot_user]/src/[base_src] \
|
import_from_depot [depot_user]/src/[base_src] \
|
||||||
|
@ -7,6 +7,11 @@ if {![have_include power_on/qemu] ||
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
proc test_timeout { } {
|
proc test_timeout { } {
|
||||||
if {[have_spec sel4] && [have_spec x86]} {
|
if {[have_spec sel4] && [have_spec x86]} {
|
||||||
return 240
|
return 240
|
||||||
|
@ -37,8 +37,9 @@ if {[have_spec foc] || [have_board rpi3] || [have_board imx53_qsb_tz]} {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
if {[get_cmd_switch --autopilot] && [have_spec linux]} {
|
if {[get_cmd_switch --autopilot] && ([have_spec linux] ||
|
||||||
puts "Run script does not support autopilot on Linux."
|
[have_board riscv_qemu])} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,6 +4,11 @@ if {[have_spec foc] || [have_spec linux] || [have_board rpi3] ||
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
set on_hardware [expr ![have_include power_on/qemu]]
|
set on_hardware [expr ![have_include power_on/qemu]]
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
#
|
#
|
||||||
# Check for platform support
|
# Check for platform support
|
||||||
#
|
#
|
||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
proc buffer_size_kib {} {
|
proc buffer_size_kib {} {
|
||||||
if {[have_board pbxa9]} { return [expr 12 * 1024] }
|
if {[have_board pbxa9]} { return [expr 12 * 1024] }
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
if {[get_cmd_switch --autopilot] && [have_board riscv_qemu]} {
|
||||||
|
puts "Autopilot mode is not supported on this platform."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
import_from_depot [depot_user]/src/[base_src] \
|
import_from_depot [depot_user]/src/[base_src] \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user