提交 ea148f7d 编写于 作者: 码匠许师傅's avatar 码匠许师傅 提交者: openharmony_ci

!75 【轻量级 PR】:移除 Hi3516 文档中多余的 `sf probe 0` 命令

Merge pull request !75 from Siwei Xu/N/A
上级 2d2314d6
......@@ -441,8 +441,8 @@ Compile and burn images by referring to [Compiling Code](developing-the-first-e
<a name="en-us_topic_0000001052906247_table432481061214"></a>
<table><tbody><tr id="en-us_topic_0000001052906247_row532461021219"><th class="firstcol" valign="top" width="8.39%" id="mcps1.2.3.1.1"><p id="en-us_topic_0000001052906247_p1238114718129"><a name="en-us_topic_0000001052906247_p1238114718129"></a><a name="en-us_topic_0000001052906247_p1238114718129"></a>Command</p>
</th>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="en-us_topic_0000001052906247_p93816470127"><a name="en-us_topic_0000001052906247_p93816470127"></a><a name="en-us_topic_0000001052906247_p93816470127"></a><strong id="en-us_topic_0000001052906247_b143728351609"><a name="en-us_topic_0000001052906247_b143728351609"></a><a name="en-us_topic_0000001052906247_b143728351609"></a>setenv bootcmd "sf probe 0;mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<p id="en-us_topic_0000001052906247_p83904761218"><a name="en-us_topic_0000001052906247_p83904761218"></a><a name="en-us_topic_0000001052906247_p83904761218"></a><strong id="en-us_topic_0000001052906247_b14389193520014"><a name="en-us_topic_0000001052906247_b14389193520014"></a><a name="en-us_topic_0000001052906247_b14389193520014"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10 M rootsize=15 M rw";</strong></p>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="en-us_topic_0000001052906247_p93816470127"><a name="en-us_topic_0000001052906247_p93816470127"></a><a name="en-us_topic_0000001052906247_p93816470127"></a><strong id="en-us_topic_0000001052906247_b143728351609"><a name="en-us_topic_0000001052906247_b143728351609"></a><a name="en-us_topic_0000001052906247_b143728351609"></a>setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<p id="en-us_topic_0000001052906247_p83904761218"><a name="en-us_topic_0000001052906247_p83904761218"></a><a name="en-us_topic_0000001052906247_p83904761218"></a><strong id="en-us_topic_0000001052906247_b14389193520014"><a name="en-us_topic_0000001052906247_b14389193520014"></a><a name="en-us_topic_0000001052906247_b14389193520014"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw";</strong></p>
<p id="en-us_topic_0000001052906247_p7399470123"><a name="en-us_topic_0000001052906247_p7399470123"></a><a name="en-us_topic_0000001052906247_p7399470123"></a><strong id="en-us_topic_0000001052906247_b1041015359012"><a name="en-us_topic_0000001052906247_b1041015359012"></a><a name="en-us_topic_0000001052906247_b1041015359012"></a>saveenv</strong></p>
<p id="en-us_topic_0000001052906247_p14391747131219"><a name="en-us_topic_0000001052906247_p14391747131219"></a><a name="en-us_topic_0000001052906247_p14391747131219"></a><strong id="en-us_topic_0000001052906247_b84127351701"><a name="en-us_topic_0000001052906247_b84127351701"></a><a name="en-us_topic_0000001052906247_b84127351701"></a>reset</strong></p>
</td>
......@@ -451,9 +451,9 @@ Compile and burn images by referring to [Compiling Code](developing-the-first-e
</th>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.2.1 "><p id="en-us_topic_0000001052906247_p439134715129"><a name="en-us_topic_0000001052906247_p439134715129"></a><a name="en-us_topic_0000001052906247_p439134715129"></a><strong id="en-us_topic_0000001052906247_b14391847171211"><a name="en-us_topic_0000001052906247_b14391847171211"></a><a name="en-us_topic_0000001052906247_b14391847171211"></a>setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800;go 0x80000000";</strong></p>
<p id="en-us_topic_0000001052906247_p1439184741218"><a name="en-us_topic_0000001052906247_p1439184741218"></a><a name="en-us_topic_0000001052906247_p1439184741218"></a>Run this command to set the flash number to 0, and read content that has a size of 0x4800 (9 MB) and a start address of 0x800 (1 MB) to the memory address 0x80000000.</p>
<p id="en-us_topic_0000001052906247_p7391347101215"><a name="en-us_topic_0000001052906247_p7391347101215"></a><a name="en-us_topic_0000001052906247_p7391347101215"></a><strong id="en-us_topic_0000001052906247_b0397473129"><a name="en-us_topic_0000001052906247_b0397473129"></a><a name="en-us_topic_0000001052906247_b0397473129"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10 M rootsize=15 M rw";</strong></p>
<p id="en-us_topic_0000001052906247_p7391347101215"><a name="en-us_topic_0000001052906247_p7391347101215"></a><a name="en-us_topic_0000001052906247_p7391347101215"></a><strong id="en-us_topic_0000001052906247_b0397473129"><a name="en-us_topic_0000001052906247_b0397473129"></a><a name="en-us_topic_0000001052906247_b0397473129"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw";</strong></p>
<p id="en-us_topic_0000001052906247_p939547151215"><a name="en-us_topic_0000001052906247_p939547151215"></a><a name="en-us_topic_0000001052906247_p939547151215"></a>Run this command to set the output mode to serial port output, baud rate to <strong id="en-us_topic_0000001052906247_b117741732177"><a name="en-us_topic_0000001052906247_b117741732177"></a><a name="en-us_topic_0000001052906247_b117741732177"></a>115200</strong>, data bit to <strong id="en-us_topic_0000001052906247_b946218717177"><a name="en-us_topic_0000001052906247_b946218717177"></a><a name="en-us_topic_0000001052906247_b946218717177"></a>8</strong>, <strong id="en-us_topic_0000001052906247_b1731025331313"><a name="en-us_topic_0000001052906247_b1731025331313"></a><a name="en-us_topic_0000001052906247_b1731025331313"></a>rootfs</strong> to be mounted to the <strong id="en-us_topic_0000001052906247_b9425113171715"><a name="en-us_topic_0000001052906247_b9425113171715"></a><a name="en-us_topic_0000001052906247_b9425113171715"></a>emmc</strong> component, and file system type to <strong id="en-us_topic_0000001052906247_b1526310519141"><a name="en-us_topic_0000001052906247_b1526310519141"></a><a name="en-us_topic_0000001052906247_b1526310519141"></a>vfat</strong>.</p>
<p id="en-us_topic_0000001052906247_p8402475121"><a name="en-us_topic_0000001052906247_p8402475121"></a><a name="en-us_topic_0000001052906247_p8402475121"></a><strong id="en-us_topic_0000001052906247_b815584925312"><a name="en-us_topic_0000001052906247_b815584925312"></a><a name="en-us_topic_0000001052906247_b815584925312"></a>rootaddr=10 M, rootsize=15 M rw</strong> indicates the start address and size of the rootfs.img file to be burnt, respectively. The file size must be the same as that of the compiled file in the IDE.</p>
<p id="en-us_topic_0000001052906247_p8402475121"><a name="en-us_topic_0000001052906247_p8402475121"></a><a name="en-us_topic_0000001052906247_p8402475121"></a><strong id="en-us_topic_0000001052906247_b815584925312"><a name="en-us_topic_0000001052906247_b815584925312"></a><a name="en-us_topic_0000001052906247_b815584925312"></a>rootaddr=10M, rootsize=15M rw</strong> indicates the start address and size of the rootfs.img file to be burnt, respectively. The file size must be the same as that of the compiled file in the IDE.</p>
<p id="en-us_topic_0000001052906247_p54034712120"><a name="en-us_topic_0000001052906247_p54034712120"></a><a name="en-us_topic_0000001052906247_p54034712120"></a><strong id="en-us_topic_0000001052906247_b2600155013264"><a name="en-us_topic_0000001052906247_b2600155013264"></a><a name="en-us_topic_0000001052906247_b2600155013264"></a>saveenv</strong> means to save the current configuration.</p>
<p id="en-us_topic_0000001052906247_p2401247131212"><a name="en-us_topic_0000001052906247_p2401247131212"></a><a name="en-us_topic_0000001052906247_p2401247131212"></a><strong id="en-us_topic_0000001052906247_b1427444612265"><a name="en-us_topic_0000001052906247_b1427444612265"></a><a name="en-us_topic_0000001052906247_b1427444612265"></a>reset</strong> means to reset the board.</p>
<p id="en-us_topic_0000001052906247_p1440164791213"><a name="en-us_topic_0000001052906247_p1440164791213"></a><a name="en-us_topic_0000001052906247_p1440164791213"></a><strong id="en-us_topic_0000001052906247_b725515390267"><a name="en-us_topic_0000001052906247_b725515390267"></a><a name="en-us_topic_0000001052906247_b725515390267"></a>(Optional) go 0x80000000</strong> indicates that the command is fixed in the startup parameters by default and the board automatically starts after it is reset. If you want to manually start the board, press <strong id="en-us_topic_0000001052906247_b1420714384268"><a name="en-us_topic_0000001052906247_b1420714384268"></a><a name="en-us_topic_0000001052906247_b1420714384268"></a>Enter</strong> in the countdown phase of the U-boot startup to interrupt the automatic startup.</p>
......
......@@ -136,8 +136,8 @@ This method applies only to development boards that have network ports, for exam
<a name="table432481061214"></a>
<table><tbody><tr id="row532461021219"><th class="firstcol" valign="top" width="8.39%" id="mcps1.2.3.1.1"><p id="p1238114718129"><a name="p1238114718129"></a><a name="p1238114718129"></a>Command</p>
</th>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="p93816470127"><a name="p93816470127"></a><a name="p93816470127"></a><strong id="b143728351609"><a name="b143728351609"></a><a name="b143728351609"></a>setenv bootcmd "sf probe 0;mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<p id="p83904761218"><a name="p83904761218"></a><a name="p83904761218"></a><strong id="b14389193520014"><a name="b14389193520014"></a><a name="b14389193520014"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10 M rootsize=15 M rw";</strong></p>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="p93816470127"><a name="p93816470127"></a><a name="p93816470127"></a><strong id="b143728351609"><a name="b143728351609"></a><a name="b143728351609"></a>setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<p id="p83904761218"><a name="p83904761218"></a><a name="p83904761218"></a><strong id="b14389193520014"><a name="b14389193520014"></a><a name="b14389193520014"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw";</strong></p>
<p id="p7399470123"><a name="p7399470123"></a><a name="p7399470123"></a><strong id="b1041015359012"><a name="b1041015359012"></a><a name="b1041015359012"></a>saveenv</strong></p>
<p id="p14391747131219"><a name="p14391747131219"></a><a name="p14391747131219"></a><strong id="b84127351701"><a name="b84127351701"></a><a name="b84127351701"></a>reset</strong></p>
</td>
......@@ -146,7 +146,7 @@ This method applies only to development boards that have network ports, for exam
</th>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.2.1 "><p id="p439134715129"><a name="p439134715129"></a><a name="p439134715129"></a><strong id="b14391847171211"><a name="b14391847171211"></a><a name="b14391847171211"></a>setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800;go 0x80000000";</strong></p>
<p id="p1439184741218"><a name="p1439184741218"></a><a name="p1439184741218"></a>Run this command to set the flash number to 0, and read content that has a size of 0x4800 (9 MB) and a start address of 0x800 (1 MB) to the memory address 0x80000000.</p>
<p id="p7391347101215"><a name="p7391347101215"></a><a name="p7391347101215"></a><strong id="b0397473129"><a name="b0397473129"></a><a name="b0397473129"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10 M rootsize=15 M rw";</strong></p>
<p id="p7391347101215"><a name="p7391347101215"></a><a name="p7391347101215"></a><strong id="b0397473129"><a name="b0397473129"></a><a name="b0397473129"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw";</strong></p>
<p id="p939547151215"><a name="p939547151215"></a><a name="p939547151215"></a>Run this command to set the output mode to serial port output, baud rate to <strong id="b117741732177"><a name="b117741732177"></a><a name="b117741732177"></a>115200</strong>, data bit to <strong id="b946218717177"><a name="b946218717177"></a><a name="b946218717177"></a>8</strong>, <strong id="b1731025331313"><a name="b1731025331313"></a><a name="b1731025331313"></a>rootfs</strong> to be mounted to the <strong id="b9425113171715"><a name="b9425113171715"></a><a name="b9425113171715"></a>emmc</strong> component, and file system type to <strong id="b1526310519141"><a name="b1526310519141"></a><a name="b1526310519141"></a>vfat</strong>.</p>
<p id="p8402475121"><a name="p8402475121"></a><a name="p8402475121"></a><strong id="b815584925312"><a name="b815584925312"></a><a name="b815584925312"></a>rootaddr=10 M, rootsize=15 M rw</strong> indicates the start address and size of the rootfs.img file to be burnt, respectively. The file size must be the same as that of the compiled file in the IDE.</p>
<p id="p54034712120"><a name="p54034712120"></a><a name="p54034712120"></a><strong id="b2600155013264"><a name="b2600155013264"></a><a name="b2600155013264"></a>saveenv</strong> means to save the current configuration.</p>
......
......@@ -136,7 +136,7 @@ python build.py ipcamera_hi3516dv300 -b debug
<a name="table432481061214"></a>
<table><tbody><tr id="row532461021219"><th class="firstcol" valign="top" width="8.39%" id="mcps1.2.3.1.1"><p id="p1238114718129"><a name="p1238114718129"></a><a name="p1238114718129"></a>执行命令</p>
</th>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="p93816470127"><a name="p93816470127"></a><a name="p93816470127"></a><strong id="b143728351609"><a name="b143728351609"></a><a name="b143728351609"></a>setenv bootcmd "sf probe 0;mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="p93816470127"><a name="p93816470127"></a><a name="p93816470127"></a><strong id="b143728351609"><a name="b143728351609"></a><a name="b143728351609"></a>setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<p id="p83904761218"><a name="p83904761218"></a><a name="p83904761218"></a><strong id="b14389193520014"><a name="b14389193520014"></a><a name="b14389193520014"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw";</strong></p>
<p id="p7399470123"><a name="p7399470123"></a><a name="p7399470123"></a><strong id="b1041015359012"><a name="b1041015359012"></a><a name="b1041015359012"></a>saveenv</strong></p>
<p id="p14391747131219"><a name="p14391747131219"></a><a name="p14391747131219"></a><strong id="b84127351701"><a name="b84127351701"></a><a name="b84127351701"></a>reset</strong></p>
......
......@@ -441,7 +441,7 @@
<a name="zh-cn_topic_0000001052906247_table432481061214"></a>
<table><tbody><tr id="zh-cn_topic_0000001052906247_row532461021219"><th class="firstcol" valign="top" width="8.39%" id="mcps1.2.3.1.1"><p id="zh-cn_topic_0000001052906247_p1238114718129"><a name="zh-cn_topic_0000001052906247_p1238114718129"></a><a name="zh-cn_topic_0000001052906247_p1238114718129"></a>执行命令</p>
</th>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="zh-cn_topic_0000001052906247_p93816470127"><a name="zh-cn_topic_0000001052906247_p93816470127"></a><a name="zh-cn_topic_0000001052906247_p93816470127"></a><strong id="zh-cn_topic_0000001052906247_b143728351609"><a name="zh-cn_topic_0000001052906247_b143728351609"></a><a name="zh-cn_topic_0000001052906247_b143728351609"></a>setenv bootcmd "sf probe 0;mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<td class="cellrowborder" valign="top" width="91.61%" headers="mcps1.2.3.1.1 "><p id="zh-cn_topic_0000001052906247_p93816470127"><a name="zh-cn_topic_0000001052906247_p93816470127"></a><a name="zh-cn_topic_0000001052906247_p93816470127"></a><strong id="zh-cn_topic_0000001052906247_b143728351609"><a name="zh-cn_topic_0000001052906247_b143728351609"></a><a name="zh-cn_topic_0000001052906247_b143728351609"></a>setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";</strong></p>
<p id="zh-cn_topic_0000001052906247_p83904761218"><a name="zh-cn_topic_0000001052906247_p83904761218"></a><a name="zh-cn_topic_0000001052906247_p83904761218"></a><strong id="zh-cn_topic_0000001052906247_b14389193520014"><a name="zh-cn_topic_0000001052906247_b14389193520014"></a><a name="zh-cn_topic_0000001052906247_b14389193520014"></a>setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw";</strong></p>
<p id="zh-cn_topic_0000001052906247_p7399470123"><a name="zh-cn_topic_0000001052906247_p7399470123"></a><a name="zh-cn_topic_0000001052906247_p7399470123"></a><strong id="zh-cn_topic_0000001052906247_b1041015359012"><a name="zh-cn_topic_0000001052906247_b1041015359012"></a><a name="zh-cn_topic_0000001052906247_b1041015359012"></a>saveenv</strong></p>
<p id="zh-cn_topic_0000001052906247_p14391747131219"><a name="zh-cn_topic_0000001052906247_p14391747131219"></a><a name="zh-cn_topic_0000001052906247_p14391747131219"></a><strong id="zh-cn_topic_0000001052906247_b84127351701"><a name="zh-cn_topic_0000001052906247_b84127351701"></a><a name="zh-cn_topic_0000001052906247_b84127351701"></a>reset</strong></p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册