2Mhz sqare can be easily generated using crystal oscillator and some gates.
One sample circuit is attached.
"Could not attach the sample circuit as it had some extension that was not permitted by the forum ,will try to convert it into jpeg soon and forward you "