8,367
edits
Changes
→Compile u-boot
<li><p>Then select the branch type of u-boot</p>
<ol style="list-style-type: lower-alpha;">
<li><p>The current branch will compile the u-boot v2018.05 code that > needs to be used in the linux5.4 image</p></li><li><p>The next branch will compile the u-boot v2021.07 version code > that needs to be used in the linux6.1 image</p>
<p>[[File:media/image298.png|576x77px]]</p></li></ol>
</li>
|}
</li>
<li><p>Repeat the command to compile u-boot, use the following command > to start compiling u-boot directly without selecting through > the graphical interface</p>
{| class="wikitable" style="width:800px;"
|-
<li><p>When debugging u-boot code, you can use the following method to update u-boot in the linux image for testing</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First upload the compiled u-boot deb package to the linux system > of the development board</p>
{| class="wikitable" style="width:800px;"
|-
<li><p>After pressing the Enter key, a Warning will pop up first</p>
<p>[[File:media/image300.png|314x170px]]</p></li>
<li><p>Press the Enter key again to start updating u-boot, and the > following information will be displayed after the update</p>
<p>[[File:media/image301.png|292x164px]]</p></li>
<li><p>Then you can restart the development board to test whether the > modification of u-boot takes effect</p></li></ol>
</li></ol>