Skip to content

Commit

Permalink
chore(arm64-vm): cortex-a55 -> a72
Browse files Browse the repository at this point in the history
  • Loading branch information
2moe committed Apr 6, 2024
1 parent c09d30d commit 16885d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/vm-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- arch: arm64
deb_arch: arm64
qemu_pkg_arch: arm
- arch: x64
deb_arch: amd64
qemu_pkg_arch: x86
# - arch: x64
# deb_arch: amd64
# qemu_pkg_arch: x86
runs-on: ubuntu-latest
env:
NOT_X86: ${{ !contains(fromJson('["x64", "x86"]'), matrix.arch) }}
Expand Down Expand Up @@ -289,7 +289,8 @@ jobs:
- name: run vm & wait ssh
timeout-minutes: 15
run: |
tmux new-session -d -s run-vm ./run
cat run
tmux new-session -d -s run-vm
sleep 2
while {! ssh -F ssh/vm.sshconf vm exit} {
sleep 1
Expand All @@ -315,9 +316,9 @@ jobs:
- name: pack vm
run: |
${{env.VM_SHUTDOWN}}
# loop_dev=${{steps.disk_partition.outputs.dev}}
# sudo kpartx -dv $loop_dev ||:
# sudo losetup --detach $loop_dev ||:
loop_dev=${{steps.disk_partition.outputs.dev}}
sudo kpartx -dv $loop_dev ||:
sudo losetup --detach $loop_dev ||:
apt-install b3sum
while {lsof disk.img} {
sleep 1
Expand Down
2 changes: 1 addition & 1 deletion assets/vm-minimal/run
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kvm_cpu=host
not_kvm_cpu_x64=qemu64-v1
#
# qemu-system-aarch64 -cpu help
not_kvm_cpu_arm64=cortex-a55
not_kvm_cpu_arm64=cortex-a72


# qemu-system-x86_64 -machine help
Expand Down

0 comments on commit 16885d0

Please sign in to comment.