Hammer How to Reflash Apex and kernel

These instructions assume that apex has been configured for a 1024k kernel region

Flashing a new kernel (zImage)
You'll find the zImage file in the linux-2.6.22/arch/arn/boot directory.

apex> xr 0x30008000 <=== This is the address that the flash base kernel is copied to by apex on powerup> < send zImage via xmodem> apex> erase nor:256k+1024k apex> copy 0x30008000+1024k nor:256k 1048576 bytes transferred apex> boot 

Flashing a new rootfs
You'll find the rootfs.arm.ext2.gz file in the buildroot/binaries/Hammer directory.

apex> xr 0x30800000 <=== This is the address that the flash base rootfs is copied to by apex on powerup>  apex> erase nor:1280k+1024k apex> copy 0x30800000+1024k nor:1280k 1048576 bytes transferred apex> boot  

Flashing a new bootloader (apex)
apex> xr 0x30008000 < send apex.bin via xmodem> apex> erase nor:0x00+256k  << copy 0x30008000+128k nor:0x00 131072 bytes transferred

then press reset to run the newly flashed apex, do not type boot