devos50 / qemu-ios

A QEMU emulator for legacy Apple devices
Other
865 stars 63 forks source link

Ipod touch 2 zsh: no such file or directory: path #135

Closed angryduck1 closed 5 months ago

angryduck1 commented 5 months ago

zsh: no such file or directory: path I am writing command ./arm-softmmu/qemu-system-arm -M iPod-Touch,bootrom=,nand=,nor= -serial mon:stdio -cpu max -m 2G -d unimp

MrDiagnose commented 5 months ago

you need these files https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1

angryduck1 commented 5 months ago

you need these files https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1Hello! This error occurred on my Intel MacBook - zsh: no such file or directory: path I installed all the necessary files, went to the directory where these files were and I get this error iPod Touch 2

MrDiagnose commented 5 months ago

you didn't provide the location of where the files are in your command

./arm-softmmu/qemu-system-arm -M iPod-Touch,bootrom=<paste_boot_rom_location_here>,nand=<paste_nand_location_here>,nor=<paste_nor_location_here> -serial mon:stdio -cpu max -m 2G -d unimp

you also need to extract the nand

angryduck1 commented 5 months ago

вы не указали местонахождение файлов в вашей команде

./arm-softmmu/qemu-system-arm -M iPod-Touch,bootrom=<paste_boot_rom_location_here>,nand=<paste_nand_location_here>,nor=<paste_nor_location_here> -serial mon:stdio -cpu max -m 2G -d unimp

вам также необходимо извлечь NAND

Can you please tell me where in that command I need to change something and what to change it to?

MrDiagnose commented 5 months ago

https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1Hello

after downloading these copy them all to one location like say ipod_files extract the nand file there and also copy the qemu-system-arm executable from the build directory there & then use this command -

./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp

https://github.com/devos50/qemu-ios/issues/128#issuecomment-1899008568 297845757-d351eac1-daf8-4a66-85f6-799d49a25789

https://www.youtube.com/watch?v=bxg4QlwENsI

angryduck1 commented 5 months ago

https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1Hello

after downloading these copy them all to one location like say ipod_files extract the nand file there and also copy the qemu-system-arm executable from the build directory there & then use this command -

./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp

#128 (comment) 297845757-d351eac1-daf8-4a66-85f6-799d49a25789

https://www.youtube.com/watch?v=bxg4QlwENsI

Property 'iPod-Touch-machine.nor' not found . (I did everything right and then this error)

MrDiagnose commented 5 months ago

was your build completed successfully? does this work ./qemu-system-arm --version ? does it show qemu version?

angryduck1 commented 5 months ago

ваша сборка завершилась успешно? Это работает ./qemu-system-arm --version? он показывает версию qemu?

yes

MrDiagnose commented 5 months ago

can your share a screenshot of your folder like I have shared

angryduck1 commented 5 months ago

можешь ли ты поделиться снимком экрана своей папки, как я поделился

Снимок экрана 2024-01-28 в 20 16 30
MrDiagnose commented 5 months ago

idk should have worked maybe @devos50 can help

MrDiagnose commented 5 months ago

qemu-system-arm binary for mac is only 17 mb 🤔 do one thing try moving everything to the build directory

angryduck1 commented 5 months ago

qemu-system-arm binary for mac is only 17 mb 🤔 do one thing try moving everything to the build directory

What do I need to do?

MrDiagnose commented 5 months ago

qemu-system-arm binary for mac is only 17 mb 🤔 do one thing try moving everything to the build directory

What do I need to do?

try moving https://github.com/devos50/qemu-ios/issues/135#issuecomment-1913665595 to the build directory and then run the command

angryduck1 commented 5 months ago

Бинарный файл qemu-system-arm для Mac занимает всего 17 МБ 🤔 сделайте одну вещь и попробуйте переместить все в каталог сборки

Что мне нужно делать?

попробуйте переместить # 135 (комментарий) в каталог сборки, а затем выполните команду

ok I'll try

MrDiagnose commented 5 months ago

Ok so I tried it out on Mac OS Catalina it worked the qemu-system-arm binary was about 28mb yours is 17mb so make sure you cloned ipod2g & not ipog1g

git clone https://github.com/devos50/qemu-ios.git

VirtualBox_Catalina_29_01_2024_19_10_00

angryduck1 commented 5 months ago

Хорошо, я попробовал это на Mac OS Catalina, все сработало, qemu-system-armдвойной файл был около 28 МБ, ваш — 17 МБ, поэтому убедитесь, что вы клонировали ipod2g, а не ipog1g.

git clone https://github.com/devos50/qemu-ios.git

VirtualBox_Catalina_29_01_2024_19_10_00

why is there no build after execution?

MrDiagnose commented 5 months ago

wait I'll post all my steps make sure you followed them

angryduck1 commented 5 months ago

подождите, я опубликую все свои действия, убедитесь, что вы их выполнили

Because of this, I can’t get qemu-system-arm from there

angryduck1 commented 5 months ago

подождите, я опубликую все свои действия, убедитесь, что вы их выполнили

ok

MrDiagnose commented 5 months ago
  1. brew install glib ninja pixman pkg-config sdl2

  2. git clone https://github.com/devos50/qemu-ios.git

  3. cd qemu-ios

  4. ./configure --target-list=arm-softmmu --extra-cflags=-I/usr/local/opt/openssl@3/include --extra-ldflags='-L/usr/local/opt/openssl@3/lib -lcrypto'

  5. make -j4

  6. Copy qemu-system-arm and store it in a different directory with the iPod Touch 2G Emulation Files: https://github.com/devos50/qemu-ios/releases/tag/n72ap_v1 (extract the nand zip file in that same directory)

  7. ./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp

angryduck1 commented 5 months ago

4. ./configure --target-list=arm-softmmu --extra-cflags=-I/usr/local/opt/openssl@3/include --extra-ldflags='-L/usr/local/opt/openssl@3/lib -lcrypto'

./configure --target-list=arm-softmmu --extra-cflags=-I/usr/local/opt/openssl@3/include --extra-ldflags='-L/usr/local/opt/openssl@3/lib -lcrypto' - ./build' as the directory for build output

angryduck1 commented 5 months ago

where is build

MrDiagnose commented 5 months ago

where is build

it will be created automatically

angryduck1 commented 5 months ago

where is build

it will be created automatically

Why is build not being created hmm

MrDiagnose commented 5 months ago

not needed

angryduck1 commented 5 months ago
  • make -j4

yeah build is crated

angryduck1 commented 5 months ago

7. ./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp

Thank you very much! It started!

angryduck1 commented 5 months ago

not needed

I wonder if it's possible to put a jailbreak in there?

MrDiagnose commented 5 months ago
  1. ./qemu-system-arm -M iPod-Touch,bootrom=bootrom_240_4,nand=nand,nor=nor_n72ap.bin -serial mon:stdio -cpu max -m 2G -d unimp

Thank you very much! It started!

Happy to help 😊 since the issue was resolved you should close it 👍

suoko commented 3 months ago

Trying on Ubuntu 24.04 this way after installing ninja-build, meson, libssl-dev, libssl3 and python3-sphinx:

/configure --target-list=arm-softmmu --disable-werror
make -j4

but got a:

FAILED: qemu-system-arm 
cc -m64 -mcx16 @qemu-system-arm.rsp
...
collect2: error: ld returned 1 exit status
...
ninja: build stopped: subcommand failed.