D7100 decoding, anyone ?

All things embedded.
*NO FEATURE REQUESTS*

Re: D7100 decoding, anyone ?

Postby Simeon » Tue Aug 06, 2013 7:50 am

One way to help that, is find the EyeFI commands "REQM", "REQC", "RSPM" well helpful to confirm.
Another will be the NCSETUP7.bin/NCSETUP8.bin, also the WLANQUE3.BIN code, the code that loads firmware will to a "FindFiles D7100????.bin" and the other veriants.

For most other firmware versions, there are CF_Open, and CF_write, which are the main use points, which call fs_open, fs_write. The order of functions is quite stable, you can look at D5100 function list for order clues.
Simeon
Core Developer
 
Posts: 2622
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 618 times

Re: D7100 decoding, anyone ?

Postby leegong » Tue Aug 06, 2013 9:36 pm

Simeon wrote:One way to help that, is find the EyeFI commands "REQM", "REQC", "RSPM" well helpful to confirm.
Another will be the NCSETUP7.bin/NCSETUP8.bin, also the WLANQUE3.BIN code, the code that loads firmware will to a "FindFiles D7100????.bin" and the other veriants.
For most other firmware versions, there are CF_Open, and CF_write, which are the main use points, which call fs_open, fs_write. The order of functions is quite stable, you can look at D5100 function list for order clues.

Thanks so much , i'll try searching them .
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: D7100 decoding, anyone ?

Postby leegong » Wed Aug 07, 2013 5:38 am

Simeon , got lots of codes which open device , R/W device then close device step by step . :grin:
Just the deviceID and R/W data are different .
Attachments
screenshot.jpg
screenshot.jpg (94.83 KiB) Viewed 5501 times
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: D7100 decoding, anyone ?

Postby Simeon » Wed Aug 07, 2013 2:19 pm

You should be able to compare to the D5100 and/or D800 projects I uploaded to see if the workflow is the "same" it should be. The other things like NCSETUPx.bin and and *.NCP files all have a function that "opens, reads, closes" and "opens, writes, closes".
Simeon
Core Developer
 
Posts: 2622
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 618 times

Re: D7100 decoding, anyone ?

Postby leegong » Sat Aug 10, 2013 11:40 pm

Any free ARM decompiler plug-in for IDA 6.1 ? Almost all of device API are based on c-style call .
leegong
Core Developer
 
Posts: 2143
Joined: Mon Mar 19, 2012 12:21 am
Location: Hangzhou , China
Been thanked: 553 times

Re: D7100 decoding, anyone ?

Postby coderat » Wed Jan 29, 2014 10:20 pm

g3gg0 wrote:so as said, it would be interesting to define a common API for some stuff and share complex modules like e2fs or even exfat that supports files >4 GiB.

Last state is: Nikon supports exFAT already, even on D5100. We can just format SD card on PC with exFAT and use it in camera. So I guess it will also work on D7100.

Best regards,
coderat
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: D7100 decoding, anyone ?

Postby Andrew » Sat Apr 12, 2014 3:58 pm

Is anyone still actively working on the D7100? I have one, and am working my way through the wiki trying to learn how the patches work. I hope to somehow get high bitrate video working on the D7100, but have little experience working with these things. (Hoping to learn though).

Reading through this thread and other posts online it seems that there is/was a lot of hope that the D7100 should be easier to work with due to it being ARM (not FR). I guess the first task at hand is to get its firmware working with Nikon Emulator somehow?
Andrew
 
Posts: 4
Joined: Sat Apr 12, 2014 3:41 pm
Been thanked: 0 time

Re: D7100 decoding, anyone ?

Postby coderat » Sat Apr 12, 2014 4:23 pm

Team members have no access to D7100.
Andrew wrote:I hope to somehow get high bitrate video working on the D7100

It doesn't work, because it is completely different system/CPU. Also doesn't work in Emulator: not implemented.

BTW you don't need Emulator to make patches. Just do reversing firmware and understand how it works.

Best regards,
coderat
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

Re: D7100 decoding, anyone ?

Postby Andrew » Sat Apr 12, 2014 4:54 pm

AH I see. I misread at some point during my several hours of research today on this-- thinking I saw it worked with a D5300 which seems to have similar setup to D7100. (If that were the case I guess someone would have made it work with D7100 already by now).

Anyway I guess the D7100 is mostly uncharted territory then. I wish I had more money to buy a some for the development team.

Leegong, if you're still around beyond setting IDA up with ARM Little-endian, ARM/Thumb Macro Assembler , as well as ARMv7, Thumb-2, is there anything else you did to get the code to display properly in IDA? I cant seem to get it to look how it looks for you. The beginning is fine ( I see Ver 1.01a) then its all junk afterwards.
Andrew
 
Posts: 4
Joined: Sat Apr 12, 2014 3:41 pm
Been thanked: 0 time

Re: D7100 decoding, anyone ?

Postby coderat » Sun Jun 22, 2014 9:28 am

@Simeon
D5100 firmware is compiled from mostly C source (only SoftGyro library not). Is firmware D5200 or D7100 code compiled from C or C++ ?

Best regards,
coderat
coderat
Core Developer
 
Posts: 2283
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 450 times

PreviousNext

Return to Firmware

Who is online

Users browsing this forum: No registered users and 6 guests