assert_spec x86 set build_components { } # fuji4 proc libuvc_vendor_id {} { return "0x04f2" } proc libuvc_product_id {} { return "0xb564" } # c270 #proc libuvc_vendor_id {} { return "0x046d" } #proc libuvc_product_id {} { return "0x0825" } # quickcam #proc libuvc_vendor_id {} { return "0x046d" } #proc libuvc_product_id {} { return "0x09c1" } # t470 #proc libuvc_vendor_id {} { return "0x0bda" } #proc libuvc_product_id {} { return "0x58db" } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/init \ [depot_user]/src/nitpicker \ [depot_user]/src/dynamic_rom \ [depot_user]/src/rom_reporter \ [depot_user]/src/report_rom \ [depot_user]/src/pc_usb_host_drv \ [depot_user]/src/vesa_drv \ [depot_user]/src/test-capture \ [depot_user]/pkg/usb_webcam source ${genode_dir}/repos/base/run/platform_drv.inc append_platform_drv_build_components build $build_components append config { } append_platform_drv_config append config { } install_config $config append_platform_drv_boot_modules append boot_modules { } build_boot_image $boot_modules append qemu_args { -usb -device usb-host,vendorid=[libuvc_vendor_id],productid=[libuvc_product_id] } run_genode_until forever