I have rooted sam 9G45 board.
I have used SuperOneClick v2.3.3 - ShortFuse software.
Download and run it,
Make sure Sam board should be connected to PC using USB.
Press on ROOT button in superOneClick software.
Your device will be rooted.
Type SU command in android Terminal.
A $ sign will converted to #.
Means your device is rooted successfully.
Regards,
-------------
Pankaj