Changeset 20642 for trunk


Ignore:
Timestamp:
2010-03-31T23:12:20+02:00 (6 years ago)
Author:
blogic
Message:

[ifxmips] load firmware to /lib/firmware

Location:
trunk/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/ifx-tapidemo/files/bringup_tapidemo

    r20637 r20642  
    1818TD_EXTRA_FLAGS_FXO= 
    1919TD_EXTRA_FLAGS_KPI2UDP= 
    20 TD_DOWNLOAD_PATH=/opt/lantiq/downloads/ 
     20TD_DOWNLOAD_PATH=/lib/firmware/ 
    2121DEV_NODE_TERIDIAN=ter10 
    2222 
  • trunk/package/ifx-vmmc/Makefile

    r20637 r20642  
    6868COEF_FILE:=coef_voip_ifx.tar.gz 
    6969 
    70 FW_DIR:=opt/lantiq/downloads 
     70FW_DIR:=lib/firmware 
    7171ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y) 
    7272  CONFIGURE_ARGS += --with-device=DANUBE 
     
    100100endif 
    101101 
     102ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y) 
     103define Download/decode 
     104  FILE:=ifxmips_fw_decode.tar.bz2 
     105  URL:=http://downloads.openwrt.org/sources/ 
     106  MD5SUM:=1197ff6cace6a7c86492a468f5fbfe07 
     107endef 
     108$(eval $(call Download,decode)) 
     109endif 
     110 
    102111define Download/firmware 
    103112  FILE:=$(FW_FILE) 
     
    124133        $(PLATFORM_DIR)/extract.sh $(DL_DIR) '$(FW_FILE)'  
    125134        $(CP) $(DL_DIR)/voip.bin $(PKG_BUILD_DIR)/firmware/$(FW_TARGET) 
    126         #$(CP) $(DL_DIR)/voip_bbd.bin $(PKG_BUILD_DIR)/firmware/$(COEF_TARGET) 
     135        $(CP) $(DL_DIR)/voip_coef.bin $(PKG_BUILD_DIR)/coef/$(COEF_TARGET) 
    127136else 
    128137        $(TAR) -C $(PKG_BUILD_DIR)/firmware -xvzf $(DL_DIR)/$(FW_FILE) 
     
    143152        $(INSTALL_DIR) $(1)/etc/init.d $(1)/$(FW_DIR) 
    144153        $(INSTALL_BIN) ./files/vmmc.init $(1)/etc/init.d/vmmc 
    145         $(CP) $(PKG_BUILD_DIR)/firmware/*.bin $(1)/$(FW_DIR)/$(FW_TARGET) 
    146 ifneq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y) 
     154        $(CP) $(PKG_BUILD_DIR)/firmware/$(FW_TARGET) $(1)/$(FW_DIR)/$(FW_TARGET) 
    147155        $(CP) $(PKG_BUILD_DIR)/coef/$(COEF_TARGET) $(1)/$(FW_DIR)/$(COEF_TARGET) 
    148 endif 
    149156endef 
    150157 
Note: See TracChangeset for help on using the changeset viewer.