OpenWRT has some good information: http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd
Adrian's build scripts will cross-build a firmware image for this: