Advertisement
MdSadmanSiraj

qemu_arm_versatile.sh

Jul 15th, 2022
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.38 KB | None | 0 0
  1. #!/bin/bash
  2. # Script to run Image on Arm
  3. # ==========================
  4. qemu-system-arm \
  5. -M versatilepb \
  6. -kernel output/images/zImage \
  7. -dtb output/images/versatile-pb.dtb \
  8. -drive file=output/images/rootfs.ext2,if=scsi,format=raw \
  9. -append "root=/dev/sda console=ttyAMA0,115200" \
  10. -serial stdio \
  11. -netdev user,id=ether0,hostfwd=udp:127.0.0.1:2222-:22 \
  12. -device rtl8139,netdev=ether0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement