From: Mike Frysinger Date: Mon, 10 Dec 2018 00:19:22 +0000 (-0500) Subject: cros-board: add arc++ details X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=93639020c1977093207dd0489fed06ead1d412a0;p=home.git cros-board: add arc++ details --- diff --git a/.bin/cros-board b/.bin/cros-board index e9ff570..b8c8e59 100755 --- a/.bin/cros-board +++ b/.bin/cros-board @@ -129,9 +129,16 @@ ${IMG_TO_USB} ### KVM ${d}/image_to_vm.sh --board=${BOARD} --from=../build/images/${BOARD}/latest ${d}/image_to_vm.sh --board=${BOARD} --from=../build/images/${BOARD}/latest --test_image -~/chromiumos/src/scripts/bin/cros_start_vm --no_graphics --image_path=\${HOME}/chromiumos/src/build/images/${BOARD}/latest/chromiumos_qemu_image.bin -qemu-system-x86_64 -enable-kvm -m 1024 -vga std -net nic,model=virtio -net user,hostfwd=tcp::9222-:22 -hda ~/chromiumos/src/build/images/${BOARD}/latest/chromiumos_qemu_image.bin -http://dev.chromium.org/chromium-os/testing/running-smoke-suite-on-a-vm-image +~/chromiumos/src/scripts/bin/cros_start_vm --no_graphics --image_path=\${HOME}/chromiumos/src/build/images/${BOARD}/latest/chromiumos_qemu_image.bin --kvm_cpu "max,vmx=on" +qemu-system-x86_64 -enable-kvm -cpu max,vmx=on -m 1024 -vga std -net nic,model=virtio -net user,hostfwd=tcp::9222-:22 -hda ~/chromiumos/src/build/images/${BOARD}/latest/chromiumos_qemu_image.bin + +https://dev.chromium.org/chromium-os/testing/running-smoke-suite-on-a-vm-image + +/usr/local/autotest/bin/autologin.py + +export CROS_USER_ID_HASH=$(ls /home/user/) +sudo -u chronos CROS_USER_ID_HASH="${CROS_USER_ID_HASH}" crosh + vmc start termina # might run twice ### RECOVERY ${d}/mod_image_for_recovery.sh --board=${BOARD}