Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How far is the devellopment of 2000d #1

Open
blue-devil-93 opened this issue Apr 9, 2022 · 22 comments
Open

How far is the devellopment of 2000d #1

blue-devil-93 opened this issue Apr 9, 2022 · 22 comments

Comments

@blue-devil-93
Copy link

Looking at your code it seems that there are some stubs for the 2000d.
How far has it progressed?

@blue-devil-93 blue-devil-93 changed the title How far is the devellolment of 2000d How far is the devellopment of 2000d Apr 9, 2022
@blue-devil-93
Copy link
Author

Got an autoexec.bin and magiclantern.bin compiled. However it wont boot at all.

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

It does not start that not all values in the stubs are found / good. Plus I need to add a few things to the code.

@blue-devil-93
Copy link
Author

inside dcraw cc or ufraw there was some informations about sensor height. Given that 2000d is named 1500d. Later ill send you the line i mean here. It was necessary to vuild the 2000d. Vzt yes if stubs are missing it wont still boot.

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

Unfortunately, some words I do not understand. ex: dcraw, cc, ufraw, Vzt...
Are you on the discord channel?

@blue-devil-93
Copy link
Author

after line 450 on src/raw.c you can instert for 2000D

#ifdef CONFIG_2000D
//~as seen here https://fossies.org/linux/darktable/src/external/adobe_coeff.c
//8532,-701,-1167,-4095,11879,2508,-797,2424,7010
#define CAM_COLORMATRIX1
8532, 10000, -701, 10000, -1167, 10000,
-4095, 10000, 11879, 10000, 2508, 10000,
-797, 10000, 2424, 10000, 7010, 10000
#endif

@blue-devil-93
Copy link
Author

on file /Makefile,setup i had to change line 61 to
-Wno-error \

@blue-devil-93
Copy link
Author

line 543 of src/raw.c you could copy the values odf 1300D to 200d for testing
#ifdef CONFIG_2000D
static int dynamic_ranges[] = {1112, 1080, 1038, 984, 917, 834, 733, 655};
/static int dynamic_ranges[] = {1060, 1063, 1037, 982, 901, 831, 718, 622, 536};
#endif

or the ones from the eosm. would need testing on real camera to see which ones are better but it won`t break the cam using false valeus here i bet.

@blue-devil-93
Copy link
Author

line /309 of /src/fpsengio.c
#elif defined(CONFIG_1300D) || defined(CONFIG_2000D)|| defined(CONFIG_4000D)

on zebra.c there is one line misplaced

@blue-devil-93
Copy link
Author

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

why don't you make a pull request? :)

@blue-devil-93
Copy link
Author

Makefile.setup.txt

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

Thanks for this lines...I'm going to make changes

@blue-devil-93
Copy link
Author

blue-devil-93 commented Apr 9, 2022

Here are my compiled results.Maybe you can test with qemu if it does anything right.
my-compiled-results.zip

Did not chance more cant do anything in c just did fix it to let it run trough compiler and googling,

github is difficultz for me since last update with ticket required for uploading...

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

For 2000D I have this value:
#ifdef CONFIG_2000D
static int dynamic_ranges[] = {1095, 1104, 1075, 1027, 953, 874, 785};
#endif

@blue-devil-93
Copy link
Author

Sounds goood.its between the range i assumed

@blue-devil-93
Copy link
Author

Are you having a working qemu set up?

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

Yes ... I have a functional one. It doesn't work with the files you gave me. I managed to get it up and running, but I still have a little work to do. I haven't had ML time lately.

@blue-devil-93
Copy link
Author

@ccritix
Once you assume ita safe to try i am ok tobrisk using it on real hardware.

@ccritix
Copy link
Owner

ccritix commented Apr 9, 2022

Thanks, but it doesn't work in qemu yet. I need to work a little harder, to investigate. If I have something ok, I'll let you know.

@blue-devil-93
Copy link
Author

Hi,
Just wanted to ask how gar the devellopment is. Maybe you had time to Work a Bit on 2000d or 4000d.

@ccritix
Copy link
Owner

ccritix commented Aug 8, 2022

These days I'm trying to start ML on the 2000D and I'll let you know.

@Elwag
Copy link

Elwag commented Dec 9, 2024

Any Updates on this guys?
I love my 2000d but running magiclantern on it would be soo great!

Unfortunately I've got no coding skill, I can't help much that way.
But maybe I can do otherwise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants