Some Trouble Baking Procedural Texture

I am trying to bake this procedural brick wall texture to a plane so I can texture paint it but I always get a black image whenever I click the bake button. Am I doing wrong? I followed the Blender user manual by the way and the lightning is set to AO only. I am doing this with BI rather than with Cycles just to avoid grainy image.

I unwraped the brick wall texture and scaled the UV 5 times.


I then get a black image when I hit bake.