Skip to main content
Tweeted twitter.com/StackReverseEng/status/1023538885480079362
Better usage of the wiki syntax
Source Link
perror
  • 19.2k
  • 29
  • 87
  • 150

I have a vmlinux ELF file to run under QEMU.

My arguments to qemu-system-arm.exeqemu-system-arm.exe are:

  • theThe correct -cpu-cpu argument.
  • theThe versatilepb -machine-machine which I'm not sure if it's the right choose, but can't see the other options with -cpu help-cpu help.
  • theThe -kernel-kernel flag to pass the vmlinuxvmlinux file.
  • theThe -serial stdio -nographic-serial stdio -nographic flags with "console=ttyAMA0 console=tty1 console=ttyS0""console=ttyAMA0 console=tty1 console=ttyS0" kernel arguments.

Why I don't see any output? I also tried the -D-D flag to get a log file.

I have a vmlinux ELF file to run under QEMU.

My arguments to qemu-system-arm.exe are:

  • the correct -cpu argument
  • the versatilepb -machine which I'm not sure if it's the right choose, but can't see the other options with -cpu help
  • the -kernel flag to pass the vmlinux file
  • the -serial stdio -nographic flags with "console=ttyAMA0 console=tty1 console=ttyS0" kernel arguments.

Why I don't see any output? I also tried the -D flag to get a log file.

I have a vmlinux ELF file to run under QEMU.

My arguments to qemu-system-arm.exe are:

  • The correct -cpu argument.
  • The versatilepb -machine which I'm not sure if it's the right choose, but can't see the other options with -cpu help.
  • The -kernel flag to pass the vmlinux file.
  • The -serial stdio -nographic flags with "console=ttyAMA0 console=tty1 console=ttyS0" kernel arguments.

Why I don't see any output? I also tried the -D flag to get a log file.

Source Link
Reflection
  • 403
  • 4
  • 7

Running vmlinux ELF under QEMU

I have a vmlinux ELF file to run under QEMU.

My arguments to qemu-system-arm.exe are:

  • the correct -cpu argument
  • the versatilepb -machine which I'm not sure if it's the right choose, but can't see the other options with -cpu help
  • the -kernel flag to pass the vmlinux file
  • the -serial stdio -nographic flags with "console=ttyAMA0 console=tty1 console=ttyS0" kernel arguments.

Why I don't see any output? I also tried the -D flag to get a log file.