mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
fa7329a3e6
Fixes #820
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
#
|
|
# \brief Example for using Vancouver on Genode
|
|
# \author Norman Feske
|
|
# \author Markus Partheymueller
|
|
# \date 2011-11-21
|
|
#
|
|
# This run script starts the Vancouver VMM booting the multiboot modules
|
|
# listed in the 'multiboot' config node. It assumes that the module files
|
|
# are present at '<build-dir>/bin/' (see the 'boot_modules' variable).
|
|
#
|
|
|
|
set use_multiboot 1
|
|
|
|
set use_block_ide 0
|
|
set use_block_sata 0
|
|
|
|
set use_nic_session 1
|
|
set use_nic_bridge 1
|
|
|
|
set use_usb 0
|
|
|
|
set use_fancy_stuff 1
|
|
|
|
set multiboot_files {
|
|
<rom name="munich"/>
|
|
<rom name="bzImage-3.1" cmdline="root=/dev/ram0 earlyprintk=ttyS0 vga=0x314"/>
|
|
<rom name="tc-browser.gz"/>
|
|
}
|
|
|
|
set guest_os_binaries { munich bzImage-3.1 tc-browser.gz }
|
|
|
|
#
|
|
# Download demo kernel, image and
|
|
# munich (part of Oslo framework http://os.inf.tu-dresden.de/~kauer/oslo)
|
|
#
|
|
set uri "http://genode.org/files/seoul"
|
|
|
|
foreach binary $guest_os_binaries {
|
|
if {![file exists bin/$binary]} {
|
|
puts "Download file bin/$binary"
|
|
exec >& /dev/null wget -c -O bin/$binary $uri/$binary
|
|
}
|
|
}
|
|
|
|
source ${genode_dir}/ports/run/seoul.inc
|
|
|
|
append qemu_args " -m 1024 "
|
|
append qemu_args " -cpu phenom "
|
|
append qemu_args " -net nic,model=e1000 "
|
|
|
|
run_genode_until forever
|