Advanced

hint from Nouveau project

Story: Raspberry Pi's Nonchalant Graphics Stack For LinuxTotal Replies: 4
Author Content
gus3

Feb 01, 2012
6:43 PM EST
The nVidia proprietary driver didn't need to be reverse-engineered. The developers of Nouveau simply wrote tools to capture the driver's requests to the different cards. Hopefully the same can be done for the various SoC's.
Khamul

Feb 01, 2012
7:24 PM EST
@gus3: Um, that pretty much IS reverse-engineering, or at least one method which can be labeled that. It's not quite the same as looking at code in a disassembler, but it's also totally different from simply writing code to a spec, because you're having to reverse-engineer the spec by seeing how the original program works in practice using a tracing tool.

It's the same method used to create the reverse-engineering Broadcom drivers IIRC; one team using tracing methods to see how the hardware worked and how the official driver talked to it, and then wrote a spec. A second team took this spec and wrote a driver with it.
gus3

Feb 01, 2012
8:16 PM EST
Then would you call the Wine project "reverse-engineered"? Because the Wine devs prefer to call it a "re-implementation" of the Windows API.
jhansonxi

Feb 01, 2012
11:31 PM EST
Wine is both. Re-implementation of the API, reverse-engineering of undocumented API functions and bug workarounds for Windows apps.
Khamul

Feb 01, 2012
11:56 PM EST
Exactly. The publicly-published API doesn't need reverse engineering, you just write new code to do the same things as all the functions in the API. The API is a specification. But when there's undocumented API calls, that has to be reverse engineered.

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post