Hello, > >> after got this device I'm just wonder a little bit why there is no image > >> for flashing from original dd-wrt web interface. It should not hard to > >> build this bin file (as for brcm47xx). > >> > >> It would be make life easier if there is the possibility to flash > >> directly from dd-wrt webif. > > most likely true... i will investigate how to do so .... > > DD-Wrt normally awaits a TRX flash image (HDR0 header) with the > "noheader" flag set. > See https://forum.openwrt.org/viewtopic.php?pid=154817#p154817 Yes, that seems only for flashing via mtd, its rejected from webif.
I did some research too and found the images for the device build by brainslayer (http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F2011%2F12-20-11-r18024%2Fbuffalo_whr_hp_g300n/): whr-hp-g300n-firmware-MULTI.bin The second one has a HDR0 header and seems to be the same as I got after adding the HDR0 header using trx. The first one (for use with webif) looks completly different. i looked into the code of target on openwrt and found that the WHRHPG300N (same device without modem?!) creates the tftp image. I adapt it: target/linux/lantiq/image/Makefile: define Image/Build/Profile/WBMR $(call Image/Build/$(1),$(1),WBMR) ( \ echo -n -e "# Airstation Public Fmt1\x00\x00\x00\x00\x00\x00\x00\x00"; \ dd if=$(BIN_DIR)/$(IMG_PREFIX)-WBMR-$(1).image; \ ) > $(BIN_DIR)/$(IMG_PREFIX)-WBMR-$(1)-factory-tftp.bin endef But I'm still unable to flash openwrt from dd-wrt webif if it has the HDR0 header. It tells me that the firmware is invalid :( Any hints? With best regards Christoph -- Linux User Group Wernigerode http://www.lug-wr.de/
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel