If you have hills with a reasonably steady grade then the simplest thing is to just go up the hill for whatever duration you're working on. If you want 5 min intervals, go up for 5 min turn around and repeat. This will also give you a close approximation to your power if you can measure how much you are climbing in a given interval. As you improve you'll go a little further up the hill in the alloted time period.