Working version, tested in a BBB.