diff --git a/ports-foc/run/l4linux.run b/ports-foc/run/l4linux.run index f53439a21..524b3f5a6 100644 --- a/ports-foc/run/l4linux.run +++ b/ports-foc/run/l4linux.run @@ -13,6 +13,7 @@ set build_components { lappend_if [have_spec x86] build_components drivers/nic lappend_if [have_spec pci] build_components drivers/pci +lappend_if [have_spec acpi] build_components drivers/acpi lappend_if [have_spec ps2] build_components drivers/input/ps2 lappend_if [have_spec lan9118] build_components drivers/nic @@ -44,17 +45,31 @@ set config { - + - + } -append_if [have_spec pci] config { +append_if [have_spec acpi] config { + + + + + + + + + + + + } + +append_if [expr ![have_spec acpi] && [have_spec pci]] config { - - - } + + + } append_if [have_spec framebuffer] config { @@ -66,13 +81,13 @@ append_if [have_spec ps2] config { - } + } append_if [have_spec x86] config { - } + } append_if [have_spec lan9118] config { @@ -82,28 +97,26 @@ append_if [have_spec lan9118] config { append config { - -} + } append_if [have_spec x86] config { - -} + } append_if [have_spec arm] config { - -} + } append config { -} + } install_config $config # # Boot modules # -set boot_modules { core init timer uart_drv l4linux initrd.gz } +set boot_modules { core init timer kdb_uart_drv l4linux initrd.gz } lappend_if [have_spec pci] boot_modules pci_drv +lappend_if [have_spec acpi] boot_modules acpi_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec x86] boot_modules nic_drv @@ -125,7 +138,6 @@ build_boot_image [join $boot_modules " "] # Qemu # append qemu_args " -m 128 -nographic " -append qemu_args " -serial file:kdb.log " append qemu_args " -serial mon:stdio " append_if [have_spec x86] qemu_args " -smp 2,cores=2 " append_if [have_spec x86] qemu_args " -net nic,model=e1000 -net user " @@ -146,4 +158,4 @@ expect { } puts "Test succeeded" -exec rm bin/initrd.gz kdb.log +exec rm bin/initrd.gz