[Arm-netbook] CT-PC89E: duh. of course. /proc/kallsyms gives function addresses

Luke Kenneth Casson Leighton luke.leighton at googlemail.com
Sun Mar 7 20:37:43 GMT 2010


On Sun, Mar 7, 2010 at 6:40 PM, Luke Kenneth Casson Leighton
<luke.leighton at googlemail.com> wrote:
> i should have realised: /proc/kallsyms gives the function names and
> addresses of those functions, of the current running kernel.  this
> will give us the addresses of the functions for the s3cfb device
> initialisation and backlight code: s3cfb_set_lcd_power, etc. etc.
>
> i have a legally-licensed IDAPRO (it's one of the very few bits of
> software i ever bought) so i'll give it a shot.

 done.  disassembled.

 http://lkcl.net/arm_systems/CT-PC89E/vmlinux.lst

 you can see from this that there are as i suspected gpio pull-ups to
power the LCD and/or its backlight, and some other random crud.
whilst doing absolutely absolutely every single damn thing correctly
is really important, it's worth mentioning that the registers for the
s3c lcd (timings, sizes, horizontal and vertical offsets, refresh rate
etc.) are part of that all-important information.

 assuming that the data structures haven't been changed (why would
they?) it shouuuld be easy to blat stuff in from the 2.6.24.2 kernel
patches that frans identified.

 for anyone who's never done or seen reverse-engineering before:
welcome to the party.

 l.



More information about the Arm-netbook mailing list