各产品编译及串口烧录

MTK setenv bootfile openwrt-ramips-mt7620a-mt7620a-squashfs-sysupgrade.bin

1:302U, 302BT, 600BI, 604BT    Broadcom5358U 

    代码路径:http://172.16.98.4/SHSVN/SVNdata/WIFI/BCM5358U/Trunk/source/

    编译: make FIR302U_config

   config: source/src/router/config/FIR302U_config;

   image:   source/src/image;

    默认配置: source/src/router/shared/defaults.c

2: 2205PT, Broadcom5356-53570 ,芯片信号被遮挡, 无法看到。

   代码路径: http://172.16.98.4/SHSVN/SVNdata/WIFI/BCM5356-5357C0/Trunk/2205PT

   编译: make

   config:

   image:2205PRT/src/image

一:MT7620 loglevel

    > loglevel set httpd Debug

二: FIR300B串口烧录

    串口下:

    mac set  XX:XX:XX:XX:XX:XX  -f

    页面升级使用bin文件;

    串口升级文件,升级命令

    img文件

    flash -noheader IP(PC机的IP):filename flash0

    例:flash -noheader 192.168.1.100:FIR300B.img flash0

    bin文件

    flash -noheader IP:filename flash1.trx

    例:flash -noheader 192.168.1.100:FIR300B.bin flash1.trx

 

302BT串口烧录

    flash -noheader 192.168.2.18:SW_PSG302BT_703003557_V1.0.16.bin flash1.trx

 

 

三: 串口命令

 

setenv bootfile wudi_uImage.bin

 

nvram set  vairant=value

 

nvram show |grep

原文地址:https://www.cnblogs.com/gavinwu/p/3790319.html