If I recall correctly, it was a 2-step process, all accomplished through the firmware upgrade webpage.
First I upgraded to DD-WRT mini. This is because the default firmware doesn't like the .TRX files Tomato uses, but it does like the .bin files DD-WRT uses.
Once you have DD-WRT...