TrungNguyen1909 / qemu-t8030

iPhone 11 emulated on QEMU
Other
1.97k stars 194 forks source link

could not boot the secure rom for iphone 6s #53

Closed Jichao closed 2 years ago

Jichao commented 2 years ago

Followed the wiki.

 qemu-t8030/build/qemu-system-aarch64 -s -M s8000,force-dfu=false \
-bios "s8000/SecureROM for s8000si, iBoot-2234.0.0.3.3" \
-dtb DeviceTree.n71ap.im4p \
-cpu max -smp 1 -nographic \
-d guest_errors \
-m 4G -serial mon:stdio \
-drive file=s8000.nor,format=raw,if=none,id=nor \
-device m25p128,drive=nor,bus=spi0.bus \
-monitor telnet:127.0.0.1:1235,server,nowait
Register redefined: cp=19 32 bit crn=15 crm=0 opc1=4 opc2=4, was ARM64_REG_APCTL_EL1, now APCTL_EL1
**
ERROR:../target/arm/helper.c:8836:add_cpreg_to_hashtable: code should not be reached
Bail out! ERROR:../target/arm/helper.c:8836:add_cpreg_to_hashtable: code should not be reached
[1]    11936 abort      qemu-t8030/build/qemu-system-aarch64 -s -M s8000,force-dfu=false -bios  -dtb 
TrungNguyen1909 commented 2 years ago

Looks like I forgot to commit some stuff. Should be fixed in 396cf55.