Im trying to learn as hobby how to make baremetal programing on banana pi.
To begin I take this tutorial and made it in banana pi
Then I add the getc and made an echo shell (just show what you type in serial port);
After that i blink a led using a loop delay function;
Then i try to blink the led with interrups. I got stuck here. Im not smart enought to figure if for my self.
There is no simple information or simple code sample about clok control and timers on banana pi, and allwinner A20.
Then i try to see if i cant get the code from else here. U-boot code was my first try. But it is not simple enough get how to do it.
So.. i need some help to get this done.
Any one knows where to get a simple code sample or tutorial about clock control, timers and interrupts on banana pi / A20