gendb: add MI commands we might need

As well as related regs.