There are 3 major types of rocks which is the igneous rock the sedimentary rock and the metamorphic rock. These rocks can change into each other which is the rock cycle. The rocks go through weathering and erosion and mix with different kinds of minerals. The rocks are always changing and break and moving. Due to this I believe that the rock has different kinds of soil do to the rock cycle.
Hope this helps :3