How to flash boot.img to debian?

I used cubie A5E SDK to compile the linux kernel and got a file called “boot.img”. I want to know how to flash this img into the system