zoukankan      html  css  js  c++  java
  • 编译 AR9271 wifi 网卡固件 htc_9271.fw

    下载最新的固件源码
    https://github.com/qca/open-ath9k-htc-firmware/archive/1.4.0.zip
    得到 open-ath9k-htc-firmware-1.4.0.zip 解压 也可以直接  clone 项目 git clone https://github.com/qca/open-ath9k-htc-firmware.git

    编译方法
    How do I build it?
    ------------------
    You're in for a treat.
    * Install the cmake build tool (http://www.cmake.org/).
      Major distributions have packages for this.
    * For FreeBSD - install gmake and wget.
    * You first have to build the toolchain.
      * Linux:
      $ make toolchain
      * FreeBSD:
      $ gmake toolchain
      (Yes, I made this work on FreeBSD as well.)
    * Next, build the firmware.
      * Linux:
      $ make -C target_firmware
      * FreeBSD:
      $ gmake -C target_firmware
    You will end up with two .fw files - one for the AR7010 and one for
    the AR9271 in the target_firmware directory.

    手猾了一下,打了一个 make
    然后等了半个小时,又是下载,又是安装的,没用管它。

    安装 cmake
    apt-get install cmake 安装不上,使用编译安装,因为我之前是装过 mysql5.5

    cmake 安装方法

    先装 bison
    tar zxvf bison-2.5.tar.gz
    cd bison-2.5
    ./configure
    make
    make install

    装 cmake
    tar zxvf cmake-2.8.6.tar.gz
    cd cmake-2.8.6
    ./bootstrap
    make
    make install

    回到 open-ath9k-htc-firmware-1.4.0
    make -C target_firmware

    得到生成的固件
    cp build/k2/htc_*.fw build/magpie/htc_*.fw .
    make:离开目录“/home/open-ath9k-htc-firmware-1.4.0/target_firmware”
    ./target_firmware/htc_9271.fw

    将 htc_9271.fw 上传到 ARM 开发板 lib/firmware/

  • 相关阅读:
    数据文件对应的磁盘坏掉了,没有归档,没有备份
    Oracle OEM重建
    Verilog编码指南
    UART串口协议
    信号完整性以及串扰
    Perl-由报表转命令(展讯2015)
    论文-ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design
    时序路径分析模式
    后端设计各种设计文件格式说明
    Verilog-小数分频器(1.5)实现(待写)
  • 原文地址:https://www.cnblogs.com/ningci/p/6824768.html
Copyright © 2011-2022 走看看