mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 08:51:08 +00:00
b3655902ed
The run test 'hw_info' prints the content of the basic ARMv7 identification and feature registers in a pretty readable format. It is a kernel-internal test because many of these registers are restricted to privilege level 1 or higher. fix #1278
21 lines
537 B
Plaintext
21 lines
537 B
Plaintext
#
|
|
# \brief Print some useful information on the underlying hardware
|
|
# \author Martin Stein
|
|
# \date 2014-10-21
|
|
#
|
|
|
|
# build program images
|
|
build "test/hw_info"
|
|
|
|
# create directory where the boot files are written to
|
|
create_boot_directory
|
|
|
|
# create single boot image from the compiled program images
|
|
build_boot_image "test-hw_info" test
|
|
|
|
# configure qemu to use 64 MB RAM and avoid GUI mode
|
|
append qemu_args " -m 64 -nographic"
|
|
|
|
# execute the test in qemu if the targeted platform is supported
|
|
run_genode_until "------ End ------.*\n" 60
|