There is no black box to break, and Waluigi is not a playable character in Super Mario 64 DS. Both parts of the premise are mistaken.
The black block that people ask about appears only on the file selection screen as a decorative element. It is not an object in the levels, so there is nothing to hit, ground-pound or otherwise open.
The actual unlockable roster is Mario, Luigi, Wario and Yoshi, each with their own abilities, plus the power stars to collect. Waluigi was added to later Mario spin-offs, but he never made it into this remake.