Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - FelixJongleur42

Pages: [1]
1
Reverse Engineering / Re: Tutorial: finding stubs
« on: December 29, 2016, 05:29:07 PM »
Thank you for this tutorial.
I would be interested in supporting the 60D 1.1.2 - also to understand what it takes to support a new firmware version.
Apart from the build process (which I could probably figure out) - would it be also necessary to (re-)find all stubs in order to rewrite stubs.S ? And if so, how would we retrieve the ROM1.BIN if ML does not support it yet?
If my assumptions are correct could you edit the statement
Quote
The exact address is unique for each camera.
to
Quote
The exact address is unique for each camera model and firmware version.
in your initial post in order to clarify this.

Thank you!

2
Camera-specific Development / Re: Canon 1100D / T3
« on: December 29, 2016, 05:03:09 PM »
As I understand it: 1100D is still intentionally broken by undefining TG_FREQ_BASE as it seems.
But this also breaks "unified" (?) build, because reboot-all.c needs 1100D.105/magiclantern.bin.

As for now, I put
Code: [Select]
#undef FEATURE_FPS_OVERRIDEin
Code: [Select]
platform/1100D.105/features.hand I re-enabled the wrong
Code: [Select]
#define TG_FREQ_BASE 32070000in
Code: [Select]
src/fps-engio.cin my sandbox in order to be able to build "unified".

Basically, I wanted to try a unified build for two models I have, 60D and 550D. Am I correct that this is not possible at the moment?
Any suggestions where I can put in some work? I am willing to help and I know C and make.
I am still working my way through the build process - as for "unified" - that should possibly be another thread...

3
General Development / Small improvement to mkdoc-cam.py
« on: December 29, 2016, 02:51:09 AM »
(sorry, I have not found any information on how the process of source code contribution actually is - so I hope this is the right way)

Hi there,
   I just started compiling ML myself, and found an improvement I had to make to to the following script.
Can someone review this change and commit it?

Code: [Select]
linux-eq96:~/magic-lantern # hg diff doc/mkdoc-cam.py
diff -r 4f72a0eabb16 doc/mkdoc-cam.py
--- a/doc/mkdoc-cam.py  Sun Dec 18 15:08:37 2016 +0200
+++ b/doc/mkdoc-cam.py  Thu Dec 29 02:39:05 2016 +0100
@@ -180,7 +180,7 @@

 # from remap.py
 from pylab import *
-import Image
+from PIL import Image


 def read_ch(f):

this is according to: http://stackoverflow.com/a/29027755/1747140
(simply adding "from PIL")

The original error I got was:
Code: [Select]
remapping cam/page-001.png...
Traceback (most recent call last):
  File "mkdoc-cam.py", line 280, in <module>
    convert_page(i)
  File "mkdoc-cam.py", line 273, in convert_page
    save_img(imr[1:481,0:720],M,bmp)
  File "mkdoc-cam.py", line 252, in save_img
    ix.save(file)
  File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1687, in save
    format = EXTENSION[ext]
KeyError: '.bmp'
../../Makefile.inc:49: recipe for target 'docs' failed
make[1]: *** [docs] Error 1
make[1]: Leaving directory '/root/magic-lantern/platform/all'
Makefile:97: recipe for target 'docs' failed
make: *** [docs] Error 2

4
For openSUSE "make docq" was also failing. The missing packages where:
texlive-mathabx
texlive-mnsymbol
texlive-newfile

For detailed error analysis when pdfTeX is failing, check doc/*.log

Pages: [1]