ARM v7 based SoC showing random behaviour with kernel and uboot