run ./arm-softmmu/qemu-arm-system show Segmentation fault (core dumped)
I was run the command ./arm-softmmu/qemu-system-arm -M iPod-Touch,bootrom=
this is the screen shot
Question, what OS are you using (with architecture, or what CPU you're using)?
Because, I've fixed this once myself on an Apple Silicon Mac, but not on a Windows or Linux machine.
Let me know, and I'll see if I can come up with a fix for the SegFault.
I'm getting the same on Debian aarch64, but without the "core dumped" part:
./arm-softmmu/qemu-system-arm -M iPod-Touch,bootrom='<bootrom>',nand='<nand>',nor='<nor>' -serial mon:stdio -cpu max -m 2G -d unimp
Segmentation fault
I meet the problem too I used macOS 15.3.1 mbp m3 pro
liuzexuan@liuzexuandeMacBook-Pro ipod1g % ./start.sh ./start.sh: line 1: 52935 Segmentation fault: 11 '/Users/liuzexuan/Desktop/qemu-ios-ipod_touch_2g/build/qemu-system-arm-unsigned' -M iPod-Touch,bootrom=/Users/liuzexuan/Desktop/ipod1g/bootrom_s5l8900,iboot=/Users/liuzexuan/Desktop/ipod1g/iboot_204_n45ap.bin,nand=/Users/liuzexuan/Desktop/ipod1g/nand -serial mon:stdio -cpu max -m 1G -d unimp -pflash /Users/liuzexuan/Desktop/ipod1g/nor_n45ap.bin liuzexuan@liuzexuandeMacBook-Pro ipod1g %
by the way the link file don't work ./aarch64-softmmu/qemu-system-aarch64 is there someone can solve this
It's QEMU making itself unsigned. Use ./qemu-system-arm-unsigned in the build folder.
emm
liuzexuan@liuzexuandeMacBook-Pro build % ./qemu-system-arm-unsigned
qemu-system-arm-unsigned: No machine specified, and there is no default
Use -machine help to list supported machines
liuzexuan@liuzexuandeMacBook-Pro build % ./qemu-system-arm-unsigned -M iPod-Touch,bootrom=/Users/liuzexuan/Desktop/ipod1g/bootrom_s5l8900,iboot=/Users/liuzexuan/Desktop/ipod1g/iboot_204_n45ap.bin,nand=/Users/liuzexuan/Desktop/ipod1g/nand -serial mon:stdio -cpu max -m 1G -d unimp -pflash /Users/liuzexuan/Desktop/ipod1g/nor_n45ap.bin
zsh: segmentation fault ./qemu-system-arm-unsigned -M -serial mon:stdio -cpu max -m 1G -d unimp
liuzexuan@liuzexuandeMacBook-Pro build %
I have used the ./qemu-system-arm-unsigned command, but SegFault. still appears
I have used the ./qemu-system-arm-unsigned command, but SegFault. still appears
I'll try to see what I can fix to make this error go away. It's either:
- The OS
- The code
- The executable's permissions.
executable — the command
Could you offer me a executable binary file of qemu-system-arm-unsigned by Google Drive?
Thanks , I update my OS to 15.6, I succeeded in building it and It works.
i recognized that terminal, its the kde plasma one