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/

  • 相关阅读:
    时间相关
    mongodb数据库怎么迁移
    删除项目中所有的__pycache__ 文件
    获取请求参数
    Linux VIM python 自动补全插件:pydiction
    Linux的环境变量.bash_profile .bashrc profile文件
    Linux下查看CPU型号,内存大小,硬盘空间的命令(详解)
    python3的一些文件操作的脚手架
    Python time strptime()方法 时间操作
    我看《架构漫谈》——1
  • 原文地址:https://www.cnblogs.com/ningci/p/6824768.html
Copyright © 2011-2022 走看看