OpenWrt固件编译刷机完全总结
发布日期:2025-04-29 07:37:47 浏览次数:16 分类:精选文章

本文共 2291 字,大约阅读时间需要 7 分钟。

OpenWrt?????????

????

  • ????

    • CPU: 400/400/200/33 MHz (CPU/RAM/AHB/SPI)
    • RAM: 64 MB DDR2 16-bit
    • FLASH: Winbond W25Q64 (8 MB)
  • ????

    • U-Boot 1.1.4 (Jan 3, 2014)
    • Booting image at: 0x9F020000
    • Image name: OpenWrt r36088
    • Image type: MIPS Linux Kernel Image (lzma compressed)
    • Data size: 957100 Bytes (934.7 KB)
    • Load address: 0x80060000
    • Entry point: 0x80060000

????

  • ????

    • LED on during eth initialization
    • Hit any key to stop autobooting: 0
    • Booting image at: 0x9F020000
    • Image name: OpenWrt r36088
  • ????

    • Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal)
    • OpenWrt 1.1.4 (Jan 3 2014)

????

?????

  • ????

    sudo apt-get install subversion  sudo apt-get install git-core  sudo apt-get install g++  sudo apt-get install libncurses5-dev  sudo apt-get install zlib1g-dev  sudo apt-get install bison  sudo apt-get install flex  sudo apt-get install unzip  sudo apt-get install autoconf  sudo apt-get install gawk  sudo apt-get install make  sudo apt-get install gettext  sudo apt-get install gcc  sudo apt-get install binutils  sudo apt-get install patch  sudo apt-get install bzip2  sudo apt-get install libz-dev  sudo apt-get install asciidoc  sudo apt-get install subversion  sudo apt-get install sphinxsearch  sudo apt-get install libtool  sudo apt-get install sphinx-common
  • ????

    mkdir openwrt  cd openwrt  svn co svn://svn.openwrt.org/openwrt/trunk openwrt  cd openwrt  ./scripts/feeds update -a  ./scripts/feeds install -a
  • ?????

    make defconfig  make menuconfig  make -j4 cpu  make  make install
  • TFTP??

  • ??????

    cd /openwrt/trunk/bin/ar71xx  bin/ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
  • ??SecureCRT

    • TFTP???IP: 192.168.1.2
    • ????: openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin
    • ????: 0x80000000
  • Flash??

    erase 0x9f020000 +0x7c0000  cp.b 0x80000000 0x9f020000 0x7c0000  reset  bootm 0x9f020000
  • ????

  • ??IP??

    • setenv serverip 192.168.1.2
    • setenv ipaddr 192.168.1.1
  • ??Wi-Fi

    • vi /etc/config/wireless
    • option disabled 1
    • /etc/init.d/network restart
  • ????

    • ifconfig wlan0
    • vi /etc/init.d/network restart
  • ????

    • ????

      'OpenWrtunknown' is too long, max firmware version length is 13
      • ??????????firmware????
    • ??????

      dd: failed to open 'build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/tmp/f9k1115v2-rootfs': No such file or directory
      • ??????????build_dir??

    ????

    ?????????????????????????????????????????

    上一篇:Open××× for Linux搭建之二
    下一篇:OpenWrt包管理软件opkg的使用(极路由)

    发表评论

    最新留言

    感谢大佬
    [***.8.128.20]2026年05月31日 10时11分01秒