Replacing the miniuart with uart. This version is far from ready.