The loader is in flash but it is in the protected bootloader part which you can't erase or overwrite without hardware modification.

The file you got out of /dev/flash is probably the contents of the entire flash tho so you'll have to work out what chunk is the kernel.