They were formed from various silicate rocks such as granite , gneiss , basalt , syenite , and shale . They were formed by lateritization ( see laterite ) of various silicate rocks such as granite , gneiss , basalt , syenite , and shale .