# 调通

Tab QCS6490/QCS5430
Tab QCS9100/QCS9075

- *class* tabincludedirective

    - Note

请参阅调通备用硬件启用，以便调通 Qualcomm 提供的配置以外的硬件配置。

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export bringup-workflow.svg Page-1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="6.09722in" height="1.10388in" viewbox="0 0 439 79.4791" xml:space="preserve" color-interpolation-filters="sRGB" class="st9"><v:documentproperties v:langid="1033" v:viewmarkup="false"></v:documentproperties>
<style>.svg-1 .st1 { fill: #ffffff; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st2 { fill: #3253dc; stroke: #3253dc; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-1 .st3 { fill: none; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st4 { fill: #ffffff; font-family: SimHei; font-size: 1.00001em }
.svg-1 .st5 { font-family: Arial; font-size: 1em }
.svg-1 .st6 { fill: none }
.svg-1 .st7 { stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1 }
.svg-1 .st8 { fill: #000000; stroke: none; stroke-width: 1 }
.svg-1 .st9 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g v:mid="0" v:index="1" v:groupcontext="foregroundPage">	<title>Page-1</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<g id="group1-1" transform="translate(0.375,-0.375)" v:mid="1" v:groupcontext="group">		<title>VBackground-1</title>		<g id="group2-2" v:mid="2" v:groupcontext="group">			<title>Solid.1000</title>			<g id="shape3-3" v:mid="3" v:groupcontext="shape">				<title>Sheet.3</title>				<rect x="0" y="0.749998" width="433.375" height="78.7291" class="st1"></rect>			</g>		</g>	</g>	<g id="shape6-5" v:mid="6" v:groupcontext="shape" transform="translate(20.1252,-18.8541)">		<title>Sheet.6</title>		<rect x="0" y="37.6041" width="92.25" height="41.875" class="st2"></rect>	</g>	<g id="shape7-7" v:mid="7" v:groupcontext="shape" transform="translate(24.249,-35.4749)">		<title>Sheet.7</title>		<desc>分配 MAC 地址</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="54.0006" cy="72.279" width="108.01" height="14.4001"></v:textrect>		<rect x="0" y="65.079" width="108.001" height="14.4001" class="st3"></rect>		<text x="0" y="76.18" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>分配<tspan class="st5"> </tspan><tspan class="st5">MAC </tspan>地址</text>		</g>	<g id="group8-12" transform="translate(112.844,-39.9783)" v:mid="8" v:groupcontext="group">		<title>Sheet.8</title>		<g id="group9-13" v:mid="9" v:groupcontext="group">			<title>Sheet.9</title>			<g id="shape10-14" v:mid="10" v:groupcontext="shape">				<title>Sheet.10</title>				<path d="M0 79.48 L52.12 79.48 L0 79.48 Z" class="st6"></path>				<path d="M0 79.48 L52.12 79.48" class="st7"></path>			</g>			<g id="group11-17" transform="translate(52.12,3.52)" v:mid="11" v:groupcontext="group">				<title>mrkr4-12</title>				<g id="shape12-18" v:mid="12" v:groupcontext="shape" transform="translate(7.04,151.918) rotate(180)">					<title>Sheet.12</title>					<path d="M7.04 79.48 L0 75.96 L7.04 72.44 L7.04 79.48 Z" class="st8"></path>				</g>			</g>		</g>	</g>	<g id="shape14-20" v:mid="14" v:groupcontext="shape" transform="translate(324.5,-18.7499)">		<title>Sheet.14</title>		<rect x="0" y="37.6041" width="92.25" height="41.875" class="st2"></rect>	</g>	<g id="shape15-22" v:mid="15" v:groupcontext="shape" transform="translate(330.249,-33.6749)">		<title>Sheet.15</title>		<desc>配置 MTU 大小</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="54.0006" cy="72.279" width="108.01" height="14.4001"></v:textrect>		<rect x="0" y="65.079" width="108.001" height="14.4001" class="st3"></rect>		<text x="0" y="76.18" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>配置<tspan class="st5"> </tspan><tspan class="st5">MTU </tspan>大小</text>		</g>	<g id="shape17-27" v:mid="17" v:groupcontext="shape" transform="translate(172,-18.7916)">		<title>Sheet.17</title>		<rect x="0" y="37.6041" width="92.25" height="41.875" class="st2"></rect>	</g>	<g id="shape18-29" v:mid="18" v:groupcontext="shape" transform="translate(180.249,-35.4749)">		<title>Sheet.18</title>		<desc>分配 IP 地址</desc>		<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>		<v:textrect cx="48.0005" cy="72.279" width="96.01" height="14.4001"></v:textrect>		<rect x="0" y="65.079" width="96.001" height="14.4001" class="st3"></rect>		<text x="0" y="76.78" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>分配<tspan class="st5"> </tspan><tspan class="st5">IP </tspan>地址</text>		</g>	<g id="group19-34" transform="translate(265,-39.9158)" v:mid="19" v:groupcontext="group">		<title>Sheet.19</title>		<g id="group20-35" v:mid="20" v:groupcontext="group">			<title>Sheet.20</title>			<g id="shape21-36" v:mid="21" v:groupcontext="shape">				<title>Sheet.21</title>				<path d="M0 79.48 L52.33 79.48 L0 79.48 Z" class="st6"></path>				<path d="M0 79.48 L52.33 79.48" class="st7"></path>			</g>			<g id="group22-39" transform="translate(52.33,3.52)" v:mid="22" v:groupcontext="group">				<title>mrkr4-12</title>				<g id="shape23-40" v:mid="23" v:groupcontext="shape" transform="translate(7.04,151.918) rotate(180)">					<title>Sheet.23</title>					<path d="M7.04 79.48 L0 75.96 L7.04 72.44 L7.04 79.48 Z" class="st8"></path>				</g>			</g>		</g>	</g></g>
</svg>

RB3 Gen 2 开发套件上的以太网调通工作流程

QPS615 MAC 驱动程序和内核配置在源代码中默认启用。

要在 RB3 Gen 2 开发套件上启用以太网功能，请执行以下操作：

> 
> 
> 1. RB3 Gen 2 开发套件附带[预先配置的 MAC 地址](https://docs.qualcomm.com/doc/80-70017-26SC/topic/verify_preconfigured_mac_address.html#configure-and-store-mac-address)。如果您选择使用相同的 MAC 地址，请跳过此步骤。
> 
> 
> 
> > 
> > 
> > 或者，要修改设备上的预配置 MAC 地址，请执行以下步骤：
> > 
> >     1. 关闭接口
> > 
> > 
> > 
> > > 
> > > 
> > > ifconfig <Interface_name> down
> > >             Copy to clipboard
> > > 
> > > 
> > > 例如：
> > > 
> > > 
> > > ifconfig enP1p5s0f0 down
> > >             Copy to clipboard
> >     2. 分配 MAC 地址。
> > 
> > 
> > 
> > > 
> > > 
> > > ifconfig <Interface_name> hw ether <MAC Address>
> > >             Copy to clipboard
> > > 
> > > 
> > > 例如：
> > > 
> > > 
> > > ifconfig enP15sof0 hw ether XX:XX:XX:YY:YY:YY
> > >             Copy to clipboard
> >     3. 调通接口。
> > 
> > 
> > 
> > > 
> > > 
> > > ifconfig <Interface_name> <ip address> up
> > >             Copy to clipboard
> > > 
> > > 
> > > 例如：
> > > 
> > > 
> > > ifconfig enP1p5s0f0 169.254.227.235 up
> > >             Copy to clipboard
> > 
> > 
> > 
> > 示例输出：
> > 
> > 
> > ifconfig
> > 
> > 
> > enP1p5s0f0 Link encap:Ethernet  **HWaddr XX:XX:XX:YY:YY:YY**
> > 
> > 
> > inet addr:169.254.227.235  Bcast:169.254.255.255  Mask:255.255.0.0
> > 
> > 
> > inet6 addr: fe80::533c:8ed6:557:3860/64 Scope:Link
> > 
> > 
> > UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > 
> > 
> > RX packets:19 errors:0 dropped:0 overruns:0 frame:0
> > 
> > 
> > TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
> > 
> > 
> > collisions:0 txqueuelen:1000
> > 
> > 
> > RX bytes:3416 (3.3 KiB)  TX bytes:5559 (5.4 KiB)
> > 
> > 
> > Interrupt:249
> > 
> > 
> > 
> > 
> > 
> > Note
> > 
> > 
> > 该 MAC 地址仅在当前启动周期内有效。重启设备后，将使用 [Verify preconfigured MAC address](https://docs.qualcomm.com/doc/80-70017-26SC/topic/verify_preconfigured_mac_address.html#configure-and-store-mac-address) 中永久存储的地址更新 MAC 地址。
> 2. 当设备连接到公共网络时，连接到网络的 DHCP 服务器会自动分配 IP 地址。无需具体配置。
> 
> 
> 
> > 
> > 
> > 或者，要分配静态 IP 地址，请运行以下命令：
> > 
> > 
> > ifconfig <Interface_name> <ip address>
> >         Copy to clipboard
> > 
> > 
> > 例如：
> > 
> > 
> > ifconfig enP1p5s0f0 169.254.227.235
> >         Copy to clipboard
> > 
> > 
> > 示例输出：
> > 
> > 
> > ifconfig
> > 
> > 
> > enP1p5s0f0 Link encap:Ethernet  HWaddr XX:XX:XX:YY:YY:YY
> > 
> > 
> > **inet addr:169.254.227.235**  Bcast:169.254.255.255  Mask:255.255.0.0
> > 
> > 
> > inet6 addr: fe80::533c:8ed6:557:3860/64 Scope:Link
> > 
> > 
> > UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > 
> > 
> > RX packets:19 errors:0 dropped:0 overruns:0 frame:0
> > 
> > 
> > TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
> > 
> > 
> > collisions:0 txqueuelen:1000
> > 
> > 
> > RX bytes:3416 (3.3 KiB)  TX bytes:5559 (5.4 KiB)
> > 
> > 
> > Interrupt:249
> > 
> > 
> > 
> > 
> > 
> > Note
> > 
> > 
> > 该 IP 地址仅在当前启动周期有效。重启设备时，IP 地址不会保留。
> 3. 要配置在以太网接口上传输的数据包的 MTU 大小，请运行以下命令：
> 
> 
> 
> > 
> > 
> > ifconfig <Interface_name> down
> >         
> >         ifconfig <Interface_name> mtu <mtu_size> up
> >         Copy to clipboard
> > 
> > 
> > 例如：
> > 
> > 
> > ifconfig enP1p5s0f0 down
> >         
> >         ifconfig enP1p5s0f0 mtu 1500 up
> >         Copy to clipboard
> > 
> > 
> > 示例输出：
> > 
> > 
> > ifconfig
> > 
> > 
> > enP1p5s0f0 Link encap:Ethernet  HWaddr XX:XX:XX:YY:YY:YY
> > 
> > 
> > inet addr:169.254.227.235  Bcast:169.254.255.255  Mask:255.255.0.0
> > 
> > 
> > inet6 addr: fe80::533c:8ed6:557:3860/64 Scope:Link
> > 
> > 
> > UP BROADCAST RUNNING MULTICAST  **MTU:1500**  Metric:1
> > 
> > 
> > RX packets:19 errors:0 dropped:0 overruns:0 frame:0
> > 
> > 
> > TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
> > 
> > 
> > collisions:0 txqueuelen:1000
> > 
> > 
> > RX bytes:3416 (3.3 KiB)  TX bytes:5559 (5.4 KiB)
> > 
> > 
> > Interrupt:249

## 调通替代硬件

您也可以使用 Qualcomm 提供的硬件配置以外的其他 MAC/PHY 组件并将它们调通。

Note

您必须从相应的供应商获取 MAC/PHY 的驱动程序和固件。Qualcomm 不负责这些配置更改。

要将 QPS615 替换为其他基于 PCIe 的 MAC/PHY，参见 [QPS615 switch 的 PCIe 软件支持](https://docs.qualcomm.com/bundle/publicresource/topics/80-70017-8/pcie.html#sub$pcie-software-support-feature-for-qps615)。

### 保留 QPS615 PCIe 并更换 QEP8121/AQR113C

要保留 QPS615 PCIe 并将 QEP8121/AQR113C 更换为其他 PHY 组件，请执行以下操作：

1. 根据附加的 PHY 建议，更新 `arch/arm64/boot/dts/qcom/qcs6490-addons-rb3gen2.dtsi` 文件中的所有参数。
2. 编译软件。

    QEP PHY 的示例代码如下：

qep_vreg: qep_vreg {
              compatible = "regulator-fixed";
              regulator-name = "qep_vreg";
              gpio = <&pm7325_gpios 8 0>;
              regulator-min-microvolt = <1800000>;
              regulator-max-microvolt = <1800000>;
              enable-active-high;
              };

        qps615_eth1,qps615_eth1@pcie1_rp {
                 reg = <0x100 0x0 0x0 0x0 0x0>;
                 pinctrl-names = "default";
                 pinctrl-0 = <&napa_intn_wol_sig>;
                 qcom,phy-rst-gpio = <1>;
                 interrupts-extended = <&tlmm 101 IRQ_TYPE_EDGE_FALLING>;
                 interrupt-names = "wol_irq";
                 phy-supply = <&qep_vreg>;
                 qcom,phy-rst-delay-us = <20000>;
                 #address-cells = <1>;
                 #size-cells = <1>;
              };
        Copy to clipboard

    刷写已修改的软件后，QPS615 驱动程序会扫描与其连接的物理设备，并比对 `qcs6490-addons-rb3gen2.dtsi` 文件中的设备树信息。

Note

由于 `.dtsi` 文件中的配置与 PHY 的实际建议不匹配，PHY 可能无法加载。在这种情况下，您必须相应地更新 `.dtsi` 文件中的配置。

## 启用 AQR PHY

虽然 10 GbE 的 AQR PHY 为可选项，但它已在参考 RB3 Gen 2 开发套件上进行了验证。您只需将 PHY 固件刷写到硬件一次。但是，当检测到 AQR PHY 时，PHY 驱动程序默认启用。

Qualcomm 验证了 RB3 Gen 2 开发套件上的以下 AQR PHY 固件：

- Marvell 固件：`AQR-G4_v5.6.1-QR_Marvell_NoSwap_XFI_ID44874_VER1836.cld`
- 推荐使用 Marvell 专有的闪存烧录工具来刷写 Marvell AQR113 PHY。
- 请联系 Marvell Technology, Inc. 以获取 AQR PHY 固件。

### 检测 PHY

要检测 PHY，请执行以下操作：

1. 更新 `arch/arm64/boot/dts/qcom/qcs6490-addons-rb3gen2.dtsi` 文件中的 AQR PHY 参数。
2. 编译软件。

    AQR PHY 示例代码：

aqr_vreg: aqr_vreg {
                 compatible = "regulator-fixed";
                 regulator-name = "aqr_vreg";
                 gpio = <&pm7250b_gpios 4 0>;
                 regulator-min-microvolt = <1800000>;
                 regulator-max-microvolt = <1800000>;
                 enable-active-high;
              };
        
        qps615_eth0,qps615_eth0@pcie1_rp {
                 reg = <0x0 0x0 0x0 0x0 0x0>;
                 pinctrl-names = "default";
                 pinctrl-0 = <&aqr_intn_wol_sig>;
                 qcom,phy-rst-gpio = <0>;
                 interrupts-extended = <&tlmm 141 IRQ_TYPE_EDGE_FALLING>;
                 interrupt-names = "wol_irq";
                 phy-supply = <&aqr_vreg>;
                 qcom,phy-rst-delay-us = <221000>;
                 #address-cells = <1>;
                 #size-cells = <1>;
              };
        Copy to clipboard

Note

此信息不适用于 DPDK。

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export bringup-workflow-qcs9100.svg bringup-workflow-qcs9100 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="6.04653in" height="1.11042in" viewbox="0 0 435.35 79.95" xml:space="preserve" color-interpolation-filters="sRGB" class="st7"><v:documentproperties v:langid="1033" v:viewmarkup="false">	<v:userdefs>		<v:ud v:nameu="msvNoAutoConnect" v:val="VT0(1):26"></v:ud>	</v:userdefs></v:documentproperties>
<style>.svg-2 .st1 { fill: #ffffff; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-2 .st2 { fill: #3253dc; stroke: #3253dc; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.75 }
.svg-2 .st3 { fill: #ffffff; font-family: Microsoft YaHei; font-size: 1.00001em }
.svg-2 .st4 { font-family: Arial; font-size: 1em }
.svg-2 .st5 { marker-end: url("#mrkr4-23"); stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1 }
.svg-2 .st6 { fill: #000000; fill-opacity: 1; stroke: #000000; stroke-opacity: 1; stroke-width: 0.28409090909091 }
.svg-2 .st7 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<defs id="Markers">	<g id="lend4">		<path d="M 2 1 L 0 0 L 2 -1 L 2 1 " style="stroke:none"></path>	</g>	<marker id="mrkr4-23" class="st6" v:arrowtype="4" v:arrowsize="2" v:setback="7.04" refx="-7.04" orient="auto" markerunits="strokeWidth" overflow="visible">		<use xlink:href="#lend4" transform="scale(-3.52,-3.52) "></use>	</marker></defs><g v:mid="12" v:index="1" v:groupcontext="backgroundPage">	<v:userdefs>		<v:ud v:nameu="msvVisioCreated" v:val="VT0(0):26"></v:ud>	</v:userdefs>	<title>VBackground-bringup</title>	<v:pageproperties width="6.04653" height="1.11042" v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<g id="shape1000-1" v:mid="1000" v:groupcontext="shape">		<title>Solid.1000</title>		<v:userdefs>			<v:ud v:nameu="Background" v:val="VT0(0):26"></v:ud>			<v:ud v:nameu="visVersion" v:val="VT0(15):26"></v:ud>			<v:ud v:nameu="msvShapeCategories" v:val="VT4(DoNotContain)"></v:ud>			<v:ud v:nameu="msvVisioCreated" v:val="VT0(0):26"></v:ud>		</v:userdefs>		<rect x="0" y="0" width="435.35" height="79.95" class="st1"></rect>	</g></g><g v:mid="0" v:index="3" v:groupcontext="foregroundPage">	<title>bringup-workflow-qcs9100</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<g id="shape4-3" v:mid="4" v:groupcontext="shape" transform="translate(18.375,-18.375)">		<title>Sheet.4</title>		<desc>分配 MAC 地址</desc>		<v:textblock v:margins="rect(4,4,4,4)"></v:textblock>		<v:textrect cx="54" cy="58.35" width="108" height="43.2"></v:textrect>		<rect x="0" y="36.75" width="108" height="43.2" class="st2"></rect>		<text x="13.33" y="62" class="st3" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>分配<tspan class="st4"> </tspan><tspan class="st4">MAC </tspan>地址</text>		</g>	<g id="shape20-8" v:mid="20" v:groupcontext="shape" transform="translate(308.975,-18.375)">		<title>Sheet.20</title>		<desc>配置 MTU 大小</desc>		<v:textblock v:margins="rect(4,4,4,4)"></v:textblock>		<v:textrect cx="54" cy="58.35" width="108" height="43.2"></v:textrect>		<rect x="0" y="36.75" width="108" height="43.2" class="st2"></rect>		<text x="13.67" y="62" class="st3" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>配置<tspan class="st4"> </tspan><tspan class="st4">MTU </tspan>大小</text>		</g>	<g id="shape1000-13" v:mid="1000" v:groupcontext="shape" transform="translate(163.675,-18.375)">		<title>Sheet.1000</title>		<desc>分配 IP 地址</desc>		<v:textblock v:margins="rect(4,4,4,4)"></v:textblock>		<v:textrect cx="54" cy="58.35" width="108" height="43.2"></v:textrect>		<rect x="0" y="36.75" width="108" height="43.2" class="st2"></rect>		<text x="21" y="62" class="st3" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>分配<tspan class="st4"> </tspan><tspan class="st4">IP </tspan>地址</text>		</g>	<g id="shape1032-18" v:mid="1032" v:groupcontext="shape" transform="translate(127.125,-40.075)">		<title>Sheet.1032</title>		<path d="M0 79.95 L29.34 79.95" class="st5"></path>	</g>	<g id="shape1033-24" v:mid="1033" v:groupcontext="shape" transform="translate(272.6,-39.825)">		<title>Sheet.1033</title>		<path d="M0 79.95 L29.34 79.95" class="st5"></path>	</g></g>
</svg>

IQ-9 Beta EVK 上的以太网启动工作流程

要在 IQ-9 Beta EVK 上启用以太网功能，请执行以下操作：

> 
> 
> 1. IQ-9 Beta EVK 附带一个 MAC 地址。如果您选择使用相同的 MAC 地址，请跳过此步骤。
> 
> 
> 
> > 
> > 
> > 或者，请运行以下命令，修改设备上的 MAC 地址。
> > 
> > 
> > ifconfig <Interface_name> hw ether <MAC Address>
> >         Copy to clipboard
> > 
> > 
> > 例如：
> > 
> > 
> > ifconfig eth1 hw ether XX:XX:XX:YY:YY:YY
> >         Copy to clipboard
> > 
> > 
> > 示例输出：
> > 
> > 
> > eth1  Link encap:Ethernet  HWaddr XX:XX:XX:YY:YY:YY
> > 
> > 
> > inet addr:169.254.174.69  Bcast:169.254.255.255  Mask:255.255.0.0
> > 
> > 
> > inet6 addr: fe80::8406:6291:54ee:d6c5/64 Scope:Link
> > 
> > 
> > UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > 
> > 
> > RX packets:51 errors:0 dropped:0 overruns:0 frame:0
> > 
> > 
> > TX packets:232 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
> > 
> > 
> > RX bytes:10620 (10.3 KiB)  TX bytes:22894 (22.3 KiB)
> > 
> > 
> > Interrupt:58
> 
> 
> 
> 
> 
> 2. 当设备连接到公共网络时，连接到网络的 DHCP 服务器会自动分配 IP 地址。如果您选择使用网络分配的IP地址，请跳过此步骤。
> 
> 
> 
> > 
> > 
> > 或者，要分配静态 IP 地址，请运行以下命令：
> > 
> > 
> > ifconfig <Interface_name> <ip address>
> >         Copy to clipboard
> > 
> > 
> > 例如：
> > 
> > 
> > ifconfig eth1 169.254.174.69
> >         Copy to clipboard
> > 
> > 
> > 示例输出：
> > 
> > 
> > eth1  Link encap:Ethernet  HWaddr XX:XX:XX:YY:YY:YY
> > 
> > 
> > inet addr:169.254.174.69  Bcast:169.254.255.255  Mask:255.255.0.0
> > 
> > 
> > inet6 addr: fe80::8406:6291:54ee:d6c5/64 Scope:Link
> > 
> > 
> > UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > 
> > 
> > RX packets:51 errors:0 dropped:0 overruns:0 frame:0
> > 
> > 
> > TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
> > 
> > 
> > collisions:0 txqueuelen:1000
> > 
> > 
> > RX bytes:10620 (10.3 KiB)  TX bytes:22894 (22.3 KiB)
> > 
> > 
> > Interrupt:58
> 
> 
> 
> 
> 
> 3. 要配置在以太网接口上传输的数据包的 MTU 大小，请运行以下命令：
> 
> 
> 
> > 
> > 
> > ifconfig <Interface_name> down
> >         
> >         ifconfig <Interface_name> mtu <mtu_size> up
> >         Copy to clipboard
> > 
> > 
> > 例如：
> > 
> > 
> > ifconfig eth1 down
> >         
> >         ifconfig eth1 mtu 1500 up
> >         Copy to clipboard
> > 
> > 
> > 示例输出：
> > 
> > 
> > eth1  Link encap:Ethernet  HWaddr XX:XX:XX:YY:YY:YY
> > 
> > 
> > inet addr:169.254.174.69  Bcast:169.254.255.255  Mask:255.255.0.0
> > 
> > 
> > inet6 addr: fe80::8406:6291:54ee:d6c5/64 Scope:Link
> > 
> > 
> > UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > 
> > 
> > RX packets:51 errors:0 dropped:0 overruns:0 frame:0
> > 
> > 
> > TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
> > 
> > 
> > collisions:0 txqueuelen:1000
> > 
> > 
> > RX bytes:10620 (10.3 KiB)  TX bytes:22894 (22.3 KiB)
> > 
> > 
> > Interrupt:58

Last Published: Jan 24, 2025

[Previous Topic
工具](https://docs.qualcomm.com/bundle/publicresource/80-70017-26SC/topics/tools.md) [Next Topic
配置](https://docs.qualcomm.com/bundle/publicresource/80-70017-26SC/topics/configure.md)