Checkpoint
Tried to update code to work with u-boot, but interrupts don't work for some reason I can't work out.