Will my wood platform support my generator?
As long as everything is joined and fastened properly a 6'x4' platform framed and decked with 2x6 will hold much more than a 500 lbs generator.

Though I don't think I'd count a driveway as a proper footing for your posts.