Canon 80D

Started by ariznaf, June 02, 2016, 09:27:03 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kotik

@a1ex
I can confirm that the latest autoexec.bin is writing data to the SFDATA.BIN file.
Compared SFDATA.BIN to the one I received from OlRivrRat (yesterday), there are 70 differences.

@OlRivrRat
I used an old 2GB SD Card and didn't know how I used it before.
Nowadays I only use 128GB cards for video.
So this time I didn't format in the camera, but used SD Card Formatter.
Like you I used MacBoot to set the bootflag.

The rest I did was the same as I did in message #337.
Hope this helps.
My first Canon: FTb QL (Quick Loading), my first digital Canon: 20D 2.0.3
The current one: Canon EOS R

OlRivrRat

      @Alex

   So had some BrainFood for lunch & gave it another whirl with info I had gleaned from

Mistakes & got it to work > Now have 259.4MB SD & Complete? ROM & SFData Dumps .

   SD Card looks like >



ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

kotik

Where do I put the ROM1.BIN and SFDATA.BIN and how to start emulation?
Can I still use Danne's Compiler.app? Danne thought that a1ex or dfort were the ones who could help.

Where to put or make a SD-card image?
magic-lantern -> contrib -> qemu -> scripts -> 80D?
or
magic-lantern -> platform -> 80D.102?
My first Canon: FTb QL (Quick Loading), my first digital Canon: 20D 2.0.3
The current one: Canon EOS R


kotik

Yep, even a few times. But all the simple testing (or install) command lines like

# all EOS models should run this without any trickery
/path/to/qemu-eos$  ./run_canon_fw.sh 60D,firmware="boot=1"


are giving me:
No such file or directory
My first Canon: FTb QL (Quick Loading), my first digital Canon: 20D 2.0.3
The current one: Canon EOS R

Danne

Best of luck Kotik. I spent too little time on qemu concepts but I'm certain it's worth every minute digging.

a1ex


Danne

Installing qemu as we speak and verbosity is zip. Is this correct?
*** Setting up QEMU in /Users/dan/qemu-eos...

Been waiting 10minutes and no progress so far. Checking console window:
AMFI: allowing exception handler for 'bash' (13379) because the handler was set by master-entitled process 'init' (1).

Will wait a little longer...

EDIT: Hold on, working:
     0K ........ ........ ........         100% 2.61M=9.3s

Initialized empty Git repository in /Users/dan/qemu-eos/qemu-2.5.0/.git/

Now compiling...

Ok:
Installed and compiled qemu through Compiler.app and then I put in both rom files from my 100D and did following:
dans-MacBook-Pro:qemu-eos dan$ ./run_canon_fw.sh 100D,firmware=boot=1

There´s a reaction but cannot load the image .
DebugMsg=0x4A74 (from GDB script)
Lockdown read 0
Lockdown read 0
Lockdown read 1
Lockdown read 1
Lockdown read 2
Lockdown read 2
Lockdown read 3
Lockdown read 3
Lockdown read 4
Lockdown read 4
00000000 - 00000FFF: eos.tcm_code
40000000 - 40000FFF: eos.tcm_data
00001000 - 0FFFFFFF: eos.ram
40001000 - 4FFFFFFF: eos.ram_uncached
F0000000 - F0FFFFFF: eos.rom0
F1000000 - F1FFFFFF: eos.rom0_mirror
F2000000 - F2FFFFFF: eos.rom0_mirror
F3000000 - F3FFFFFF: eos.rom0_mirror
F4000000 - F4FFFFFF: eos.rom0_mirror
F5000000 - F5FFFFFF: eos.rom0_mirror
F6000000 - F6FFFFFF: eos.rom0_mirror
F7000000 - F7FFFFFF: eos.rom0_mirror
F8000000 - F8FFFFFF: eos.rom1
F9000000 - F9FFFFFF: eos.rom1_mirror
FA000000 - FAFFFFFF: eos.rom1_mirror
FB000000 - FBFFFFFF: eos.rom1_mirror
FC000000 - FCFFFFFF: eos.rom1_mirror
FD000000 - FDFFFFFF: eos.rom1_mirror
FE000000 - FEFFFFFF: eos.rom1_mirror
FF000000 - FFFFFFFF: eos.rom1_mirror
C0000000 - DFFFFFFF: eos.mmio
[EOS] loading './100D/ROM0.BIN' to 0xF0000000-0xF0FFFFFF
[EOS] loading './100D/ROM1.BIN' to 0xF8000000-0xF8FFFFFF
Could not open ./100D/SFDATA.BIN


I miss this file:
Could not open ./100D/SFDATA.BIN
So, sf_dump module needed...

Compiling sf_dump.mo and enabling and:
Wrong version (v6.0, expected v7.0)
phew, so close...

Oops. Update sf_dump here:
https://bitbucket.org/hudson/magic-lantern/src/crop_rec_4k/modules/sf_dump/

Ok, we´re home:

kotik

Solved it myself.   :D

Running /Users/xxxx/qemu-eos/qemu-2.5.0/.git/
asked me this time for my email address and name.
The Compiler.app never did, and therefore the installation was incomplete and kept saying:"No such file or directory".

So I am up and running now.



@a1ex
Yes, I had seen the sticky tweet for Mac. I even loaded the animated GIF in PhotoShop to examine it frame by frame.
My first Canon: FTb QL (Quick Loading), my first digital Canon: 20D 2.0.3
The current one: Canon EOS R

Danne

Cool, my credentials worked over here so will keep an eye on this issue.

kotik

Many thanks Danne!   ;)
My first Canon: FTb QL (Quick Loading), my first digital Canon: 20D 2.0.3
The current one: Canon EOS R

OlRivrRat

                     @Danne

       OK Danne, Feelin Gutsy > Going to give Compiler a Shot. Got to step3 & 80D is not on list so what do I choose
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

Danne

Step three 3? Is that from the qemu install? I only installed qemu twice so not very familiar atm. I guess if no 80D present this is a bleeding edge case...

OlRivrRat

Yes, qemu install
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

OlRivrRat

Thought I'd try 100D but it isn't on list either ~
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

Danne

I have the 100D folder in my qemu folder. Checked inside the installed folder?

OlRivrRat

I think I'm TooOld for this stuff > I'm finding Lots of evidence that I somehow was running QEMU back in Dec17 but I have No Recollection of doing so or how I would have done it. Just lost the Gutsy Feelin ~
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

OlRivrRat

There is a 100D & 80D Folder in My QEMU Folder & Both contain ROM & SFData. Appears as though there is a Folder for Dang Near Every Canon that ever was, in that QEMU Folder.
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

Danne

wow, 80D too.
Put your rom files and create SFDATA.BIN with sf_dump.mo
Files into 100D folder.
ROM0.BIN
ROM1.BIN
SFDATA.BIN


What the heck. Here´s the sfdata.bin file.
https://bitbucket.org/Dannephoto/magic-lantern/downloads/SFDATA.BIN

cd into your qemu folde then run:
./run_canon_fw.sh 100D,firmware=boot=1

kotik

@a1ex
Trying some older stuff:
(
>   sleep 3; echo "akashimorino";
>   sleep 1; echo "dumpf";
> ) | (
>   ./run_canon_fw.sh 80D -serial stdio -s -S &
>    arm-none-eabi-gdb -x 80D/patches.gdb
> )
-bash: arm-none-eabi-gdb: command not found
iMac-27:qemu-eos $ qemu-system-arm 25643   12u   REG   1,10 259522560 8133999 sd.img

Error: please unmount the SD image.
My first Canon: FTb QL (Quick Loading), my first digital Canon: 20D 2.0.3
The current one: Canon EOS R

OlRivrRat

       @Danne

That link gives > "Link Has No Power Here"
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

OlRivrRat

       @Danne

Both 80D & 100D Folders Already have Rom & SFData. Where do I run

"./run_canon_fw.sh 100D,firmware=boot=1"

If I Run that in Terminal it says "No such file or directory"

I Really have No Clue what I am doing ~
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

Danne

in terminal write:
cd [drag your qemu folder here] press enter

On my computer it looks like this when inside the folder:
dans-MacBook-Pro:qemu-eos dan$
Now let´s run this:
dans-MacBook-Pro:qemu-eos dan$ ./run_canon_fw.sh 100D,firmware=boot=1

If you still have issues maybe there are credential issues like Kotik describes above.

tip:
You can also set your preferences to open terminal by right clicking a folder:
http://www.betterhostreview.com/open-terminal-window-at-folder-finder-mac.html

OlRivrRat

When I do >

in terminal write:
cd [drag your qemu folder here] press enter

I Get >

WDeans-Mac-Pro:~ ORRz$ cd/Users/ORRz/qemu
-bash: cd/Users/ORRz/qemu: No such file or directory
WDeans-Mac-Pro:~ ORRz$
ORR~DeanB  ~~  80D-ML  &  SL1+ML  &  5D2+ML  &  5DC+ML  &  70D+ML(AliveAgain)

Danne

cd/Users/ORRz/qemu  should be cd /Users/ORRz/qemu
try space after the word cd
Anyway. If you ran qemu installation through Compiler.app it should hav a folder named qemu-eos in home folder. Not sure why it´s called qemu only.