|
110 | 110 | <li><a class="reference internal" href="#finding-the-correct-partition-for-preloader">Finding the Correct Partition for Preloader</a></li>
|
111 | 111 | </ul>
|
112 | 112 | </li>
|
113 |
| -<li><a class="reference internal" href="#file-location-reference">File Location Reference</a></li> |
114 |
| -<li><a class="reference internal" href="#verification-and-testing">Verification and Testing</a></li> |
115 | 113 | </ul>
|
116 | 114 | </li>
|
117 | 115 | <li><a class="reference internal" href="#next-steps">Next Steps</a></li>
|
@@ -562,8 +560,8 @@ <h4>Intel/Altera Platforms<a class="headerlink" href="#intel-altera-platforms" t
|
562 | 560 | <li><p><cite><target>/socfpga_arria10_socdk_sdmmc.dtb</cite> - Device tree</p></li>
|
563 | 561 | <li><p><cite><target>/u-boot.img</cite> - U-Boot proper</p></li>
|
564 | 562 | <li><p><cite>socfpga_arria10_common/zImage</cite> - Kernel image</p></li>
|
565 |
| -<li><p>Create an <cite>extlinux</cite> folder and copy |
566 |
| -<cite>socfpga_arria10_common/extlinux.conf</cite> into it</p></li> |
| 563 | +<li><p>Create an <cite>extlinux</cite> folder and copy <cite>socfpga_arria10_common/extlinux.conf</cite> |
| 564 | +into it</p></li> |
567 | 565 | </ol>
|
568 | 566 | <p>Then write the preloader:</p>
|
569 | 567 | <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># Write preloader to the bootloader partition (replace mmcblkXp3 with your actual device)</span>
|
@@ -595,79 +593,27 @@ <h4>Finding the Correct Partition for Preloader<a class="headerlink" href="#find
|
595 | 593 | partition. To identify it:</p>
|
596 | 594 | <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># Find your SD card device</span>
|
597 | 595 | lsblk
|
598 |
| - |
599 |
| -<span class="c1"># Look for a device like /dev/mmcblkX with multiple partitions</span> |
600 |
| -<span class="c1"># The third partition (mmcblkXp3) is typically the 4MB bootloader partition</span> |
601 | 596 | </pre></div>
|
602 | 597 | </div>
|
603 |
| -<p>Example output:</p> |
| 598 | +<p>Example output on PC:</p> |
| 599 | +<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT |
| 600 | +sdb 8:16 1 29.7G 0 disk |
| 601 | +├─sdb1 8:17 1 256M 0 part /media/user/BOOT |
| 602 | +├─sdb2 8:18 1 29.2G 0 part /media/user/rootfs |
| 603 | +└─sdb3 8:19 1 4M 0 part |
| 604 | +</pre></div> |
| 605 | +</div> |
| 606 | +<p>In this case, <cite>/dev/sdb3</cite> is the 4MB bootloader partition.</p> |
| 607 | +<p>Example output on target board:</p> |
604 | 608 | <div class="highlight-text notranslate"><div class="highlight"><pre><span></span>NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
|
605 | 609 | mmcblk0 179:0 0 29.7G 0 disk
|
606 | 610 | ├─mmcblk0p1 179:1 0 256M 0 part /mnt/BOOT
|
607 | 611 | ├─mmcblk0p2 179:2 0 29.2G 0 part
|
608 | 612 | └─mmcblk0p3 179:3 0 4M 0 part
|
609 | 613 | </pre></div>
|
610 | 614 | </div>
|
611 |
| -<p>In this case, <cite>/dev/mmcblk0p3</cite> is the bootloader partition.</p> |
612 |
| -</section> |
| 615 | +<p>In this case, <cite>/dev/mmcblk0p3</cite> is the 4MB bootloader partition.</p> |
613 | 616 | </section>
|
614 |
| -<section id="file-location-reference"> |
615 |
| -<h3>File Location Reference<a class="headerlink" href="#file-location-reference" title="Link to this heading"></a></h3> |
616 |
| -<p>When manually configuring, you’ll find the required files in your <cite>/boot</cite> |
617 |
| -directory organized like this:</p> |
618 |
| -<div class="highlight-text notranslate"><div class="highlight"><pre><span></span>/boot/ |
619 |
| -├── zynq-common/ # Shared Zynq files |
620 |
| -│ ├── uImage |
621 |
| -│ └── uEnv.txt |
622 |
| -├── zynqmp-common/ # Shared ZynqMP files |
623 |
| -│ ├── Image |
624 |
| -│ └── uEnv.txt |
625 |
| -├── versal-common/ # Shared Versal files |
626 |
| -│ └── Image |
627 |
| -├── socfpga_arria10_common/ # Shared Arria10 files |
628 |
| -│ ├── zImage |
629 |
| -│ └── extlinux.conf |
630 |
| -├── <project_name>/ # Project-specific files |
631 |
| -│ ├── BOOT.BIN |
632 |
| -│ ├── devicetree.dtb or system.dtb |
633 |
| -│ └── other project files |
634 |
| -└── *.json # Configuration metadata |
635 |
| -</pre></div> |
636 |
| -</div> |
637 |
| -</section> |
638 |
| -<section id="verification-and-testing"> |
639 |
| -<h3>Verification and Testing<a class="headerlink" href="#verification-and-testing" title="Link to this heading"></a></h3> |
640 |
| -<p>After manual configuration, verify your setup:</p> |
641 |
| -<p><strong>1. Check Boot Messages</strong></p> |
642 |
| -<p>Connect to the serial console (115200 baud) and watch for successful boot |
643 |
| -messages. You should see:</p> |
644 |
| -<ul class="simple"> |
645 |
| -<li><p>U-Boot loading and executing</p></li> |
646 |
| -<li><p>Kernel starting</p></li> |
647 |
| -<li><p>Root filesystem mounting</p></li> |
648 |
| -<li><p>Kuiper Linux login prompt</p></li> |
649 |
| -</ul> |
650 |
| -<p><strong>2. Verify Hardware Detection</strong></p> |
651 |
| -<p>Once booted, check if your hardware is properly detected:</p> |
652 |
| -<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># List IIO devices (if your project includes IIO devices)</span> |
653 |
| -iio_info |
654 |
| - |
655 |
| -<span class="c1"># Check kernel boot messages</span> |
656 |
| -dmesg<span class="w"> </span><span class="p">|</span><span class="w"> </span>grep<span class="w"> </span>-i<span class="w"> </span><span class="s2">"your_device_name"</span> |
657 |
| - |
658 |
| -<span class="c1"># Verify device tree loading</span> |
659 |
| -ls<span class="w"> </span>/sys/firmware/devicetree/base/ |
660 |
| -</pre></div> |
661 |
| -</div> |
662 |
| -<p><strong>3. Network and System Check</strong></p> |
663 |
| -<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># Verify system information</span> |
664 |
| -cat<span class="w"> </span>/etc/os-release |
665 |
| -uname<span class="w"> </span>-a |
666 |
| - |
667 |
| -<span class="c1"># Check network (if configured)</span> |
668 |
| -ip<span class="w"> </span>addr<span class="w"> </span>show |
669 |
| -</pre></div> |
670 |
| -</div> |
671 | 617 | </section>
|
672 | 618 | </section>
|
673 | 619 | <hr class="docutils" />
|
|
0 commit comments