Thank you very much Sir Alex,
you are a big help.
Can you help me with something? Im trying to make a tutorial to get all t he information together in one thread in english.
Im trying to generate my key for mmc0 and got your initramfs.cpio, gdb and uImage
But I cant get the uImage to run. How do i boot this thing up with qemu?
I extracted initramfs.cpio with 7z but files in /dev are not being extracted and if I execute qemu-arm with with the following command : "qemu-arm -L initramfs -g 1234 -cpu arm1136 initramfs/bin/recovery-util "
it boots up fine (waiting for gdb to connect)
after that i start gdb and get the following:
(gdb) target remote :1234
Remote debugging using :1234
warning: Can not parse XML target description; XML support was disabled at compile time
[New Remote target]
[Switching to Remote target]
0x01800200 in ?? ()
So far so good, but when i set the first brakepoint i get an error :
(gdb) b * 0x18af8
Cannot access memory at address 0x0
Breakpoint 1 at 0x18af8
After typing continue qemu starts but gets lots of errors.
I think the main problem here is that i cant extract initramfs correctly and thus the virtual machine does not boot up correctly.
Can you tell me why you uploaded the uImage? Can I boot into that and execute /bin/recovery-util wthin that image?
I know you can create me my Password and Im very thankful to you. But my tutorial would be incomplete without that. so please can you help me get this thing right.
Best Regards,
jlove
|