Ignore:
Timestamp:
2011-07-06T10:04:54+02:00 (5 years ago)
Author:
juhosg
Message:

ramips: create tftp image for the WHR-G300N board

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/image/Makefile

    r27474 r27476  
    130130        $(call Image/Build/Template/GENERIC_4M,$(1),whr-g300n,WHR-G300N) 
    131131        $(call BuildFirmware/Buffalo,$(1),whr-g300n,WHR-G300N,mtdlayout_whrg300n,983040,3801088) 
     132        ( \ 
     133                echo -n -e "# Airstation FirmWare\nrun u_fw\nreset\n\n" | \ 
     134                        dd bs=512 count=1 conv=sync; \ 
     135                dd if=$(call imgname,$(1),whr-g300n)-sysupgrade.bin; \ 
     136        ) > $(KDIR)/whr-g300n-tftp.tmp 
     137        buffalo-tftp -i $(KDIR)/whr-g300n-tftp.tmp \ 
     138                -o $(call imgname,$(1),whr-g300n)-tftp.bin 
    132139endef 
    133140 
Note: See TracChangeset for help on using the changeset viewer.