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.


Topics - Pelican

Pages: [1]
1
General Development Discussion / C expert needed
« on: May 30, 2015, 09:00:25 PM »
Hi all,

It's completely not related to ML developing but I hope somebody here can help me with this problem.

There is a mini computer called Rasberry Pi 2. It runs linux (debian wheezy) and I would like to use the hardware IO ports of it from Lazarus (free pascal compiler and ide).
There is guy who developed a software library called wiringPi with C source.
Until now I used the previous model of Raspberry Pi and an old version of wiringPi's object file with a Pascal wrapper I wrote for it.
Right now this old version cannot work because the hardware changes of the Raspberry Pi 2, so I need the new version of wiringPi.
And the problem starts here: If I build the newer wiringPi from the sources the new object file contains several strange symbol like __aeabi_idiv, __aeabi_idivmod, etc.
When I try to use my wrapper with this new object file the pascal linker cannot handles this symbols, so it fails on it:
/usr/bin/ld.bfd: wiringPi.o undefined reference to symbol '__aeabi_idiv@@GCC3.5'
//lib/arm-linux-gnueabihf/libgcc_s.so.1: error adding symbols: DSO missing from command line


I peek inside the object file with objdump -t and see this symbol as
00000000    *UND*  __aeabi_idiv

Also I see it in the libgcc_s.so.1 with objdump -T
0000f950 g    DF .text  00000000  GCC_3.5     __aeabi_idiv

I tried to remove this strange symbols from the object file with objcopy --strip-symbol but it said it not stripped because it is named in a relocation.

I tried to search on the web and find not too much but I feel this is something similar to it:
http://glandium.org/blog/?p=2510

Is there any way to create this .o file without these __aeabi stuff?

I have no idea how I can solve this so please give me some clue if you are more familiar with these things.
Thanks in advance.


Edit FYI:
I use this Raspi to control a camera through Wifi and not just the camera itself but some servo motor which turns the focus wheel and change the aperture during a long exposition shot and remote control several flash units by radio.

2
Camera-specific discussion / Canon 7D Mark II
« on: November 02, 2014, 09:55:18 AM »
Hi there folks,

I'm excited about this new camera but I will buy mine at December which is long time to wait without any info so if you have a 7DII already please share your experiences and thoughts about it.
Also very interested to port ML to it.

3
Hi,

In the last couple of days I usually get this when trying to see the forum:
"Error 522 Connection timed out
www.magiclantern.fm
Host
Error

If you're the owner of this website:
Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn't finish. The most likely cause is that something on your server is hogging resources. Additional troubleshooting information here."

I've never got this before.
Could you do something to fix it?

Edit: I made this post about 7 tries...

4
Camera-specific discussion / Canon 7D Mark I
« on: December 20, 2013, 02:57:02 PM »
Nightly compiled, you may try it: http://builds.magiclantern.fm/
Thank you!

Installation:
1) Format the card from the camera.
2) Make sure you are running Canon firmware 2.0.3.
3) Copy ML files on the card and run Firmware Update.

Uninstallation:
1) Run Firmware Update from your ML card.
2) Follow the on-screen instructions.



5
Camera Emergency Department / Firmware update stuck at 17 (Not ML related)
« on: September 19, 2013, 03:03:12 AM »
Hi,

I've just tried to update an 1DX firmware because it stopped focusing and I cannot fix it and it used 1.1.1 fw.
I started the 1.2.4 (the latest) fw upgrade but it stopped at 17% (it stays more than 30 minutes there).

Any idea what can I do?
Anyone experienced a stuck fw update?

6
My posts show up with about 10-11 minutes later time stamp then I posted them.

7
I can't check reguarly the forum so it would be very useful if I can see more.

Thanks in advance.

8
General Development Discussion / Getting modules working on 7D
« on: August 06, 2013, 12:44:11 AM »
For porting raw_rec, just look at how the others did for 50D, 550D, 60D and pretty much all other cameras except 5D3.

So we need to find these stubs:
Code: [Select]
NSTUB(0xFF1F5360, SetEDmac)
NSTUB(0xFF1F5660, StartEDmac)
NSTUB(0xFF1F5864, PopEDmac)
NSTUB(0xFF1F5418, ConnectWriteEDmac)
NSTUB(0xFF1F54DC, ConnectReadEDmac)

NSTUB(0xFF1F5850, RegisterEDmacCompleteCBR)
NSTUB(0xFF1F5878, RegisterEDmacAbortCBR)
NSTUB(0xFF1F5980, RegisterEDmacPopCBR)
NSTUB(0xFF1F5864, UnregisterEDmacCompleteCBR)
NSTUB(0xFF1F58B8, UnregisterEDmacAbortCBR)
NSTUB(0xFF1F5994, UnregisterEDmacPopCBR)
Is it enough?
The PopEDmac and the UnregisterEDmacCompleteCBR function's address are the same in most of the stub files. Is it correct?

9
General Development Discussion / video_hacks.c compile error
« on: February 03, 2013, 07:11:46 PM »
I've just made a fork from the main repo (last: 443aec4) and cannot compile 7D code.
Yesterday, and the day before also cannot compile because the ptp-ml.c

Code: [Select]
[ CC       ]   bmp.o
[ CC       ]   video_hacks.o
../../src/video_hacks.c: In function 'bitrate_flushing_rate_display':
../../src/video_hacks.c:41:30: error: 'MNI_WARNING' undeclared (first use in thi
s function)
../../src/video_hacks.c:41:30: note: each undeclared identifier is reported only
 once for each function it appears in
../../src/video_hacks.c: In function 'bitrate_gop_size_display':
../../src/video_hacks.c:67:30: error: 'MNI_WARNING' undeclared (first use in thi
s function)
../../src/video_hacks.c: At top level:
../../src/video_hacks.c:159:17: error: unknown field 'display' specified in init
ializer
../../src/video_hacks.c:159:17: warning: initialization makes integer from point
er without a cast [enabled by default]
../../src/video_hacks.c:159:17: warning: (near initialization for '(anonymous)[0
].min') [enabled by default]
../../src/video_hacks.c:160:17: warning: initialized field overwritten [-Woverri
de-init]
../../src/video_hacks.c:160:17: warning: (near initialization for '(anonymous)[0
].min') [-Woverride-init]
../../src/video_hacks.c:167:17: error: unknown field 'display' specified in init
ializer
../../src/video_hacks.c:167:17: warning: initialization makes integer from point
er without a cast [enabled by default]
../../src/video_hacks.c:167:17: warning: (near initialization for '(anonymous)[1
].min') [enabled by default]
../../src/video_hacks.c:168:17: warning: initialized field overwritten [-Woverri
de-init]
../../src/video_hacks.c:168:17: warning: (near initialization for '(anonymous)[1
].min') [-Woverride-init]
../../Makefile.inc:641: recipe for target `video_hacks.o' failed
make: *** [video_hacks.o] Error 1

10
Archived porting threads / Canon 7D ML
« on: October 02, 2012, 11:40:53 AM »
Thanks to g3gg0 it's coming soon now, so it's time to open this topic... :-)
I've already built 7D ML from the latest source and started to check the features.
What is the workflow of the developing?

11
Magic Lantern Forum and Site Discussion / Contact info on the site
« on: July 04, 2012, 12:05:50 PM »
Hi,

The site is great, thank you for your work.  8)
What if someone wants to contact with the site admin without registering on the site?
It would be useful if you put an email address, or an email sending form somewhere.

And now for something completely different:
You can put a link to my EOScard if you want.

Error report:
- If you send a post with wrong captcha and go back, correct it and send it again then there is an error message: You already submitted this post! You might have accidentally double clicked or tried to refresh the page. which is not true your post not posted at all.
And the captcha is too difficult to me I can read only every fifth or sixth... it's annoying to go back and forth just because the wrong captcha code.
- Yesterday I set up an avatar which has disappeared so I set it up again today.

Pages: [1]