OpenOCD with EM-X270 - reprogram U-boot?

Hi,

I am new to openOCD, I have an Amontec Jtagkey-tiny and wish to erase and program u-boot on the external flash of a compulab em-x270 module.

The processor is xscale(PXA270).

I know that I need to reprogram U-boot at address 0x00000000 – 0x0004FFFF (block range 1 to 5)

Can anybody help me with creating a config file / script for doing this?

I have read the wiki etc… and have had no luck in my trials so far.

Many Thanks,

Nigel