We've had artifical oxygen generation for a while: [0] . It's probably useful to have a biological method.
The survivability in the soil bit is actually the more important piece.
[0] https://www.nasa.gov/missions/mars-2020-perseverance/perseve...