I am craving to eat dirt and starch and pregnant?

Anemia. The symptom you are describing is called pica. Pica can be associated with anemia (low blood count) so you should inform your health care provider about this craving. Pica can also have an unknown etiology.