
    

    <?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://ocw.cs.pub.ro/courses/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://ocw.cs.pub.ro/courses/feed.php">
        <title>CS Open CourseWare ass:labs-2024:02:tasks</title>
        <description></description>
        <link>http://ocw.cs.pub.ro/courses/</link>
        <image rdf:resource="http://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/favicon.ico" />
       <dc:date>2026-06-08T07:49:24+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/01?rev=1754205089&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/02?rev=1754205096&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/03?rev=1754205101&amp;do=diff"/>
                <rdf:li rdf:resource="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/04?rev=1754205108&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/favicon.ico">
        <title>CS Open CourseWare</title>
        <link>http://ocw.cs.pub.ro/courses/</link>
        <url>http://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/favicon.ico</url>
    </image>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/01?rev=1754205089&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-03T10:11:29+03:00</dc:date>
        <title>01. Preparing the Linux μImage</title>
        <link>http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/01?rev=1754205089&amp;do=diff</link>
        <description>01. Preparing the Linux μImage

There are three vital components that are required to successfully boot Linux on ARM:

	*  Kernel image: This should be self-evident :p
	*  Flattened Device Tree: A structured binary blob of data that the kernel parses to identify hardware elements.
	*  RootFS: A file system that can be mounted at / in order to load init. Here, we will use a ramdisk image.</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/02?rev=1754205096&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-03T10:11:36+03:00</dc:date>
        <title>02. Placing the FIT on the board's eMMC</title>
        <link>http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/02?rev=1754205096&amp;do=diff</link>
        <description>02. Placing the FIT on the board's eMMC

There are many ways to make the FIT image available to U-Boot.
For this task we chose a method that may seem roundabout, but can serve as a starting point toward making our board's configuration persistent across resets (i.e.: no longer using SDP each time we restart it.)</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/03?rev=1754205101&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-03T10:11:41+03:00</dc:date>
        <title>03. Booting Linux from the FIT image</title>
        <link>http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/03?rev=1754205101&amp;do=diff</link>
        <description>03. Booting Linux from the FIT image


uuuuuu


Task A - List eMMC partition contents

First things first: let's check if the flashing process was succesful. Reload your FIP using uuu and get back into the U-Boot shell.


u-boot=&gt; # list MMC devices (or rather, the slots)
u-boot=&gt; mmc list
FSL_SDHC: 0 (eMMC)
FSL_SDHC: 1

u-boot=&gt; # select MMC device 0
u-boot=&gt; mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device

u-boot=&gt; # show partitions on currently selected MMC device
u-boot=…</description>
    </item>
    <item rdf:about="http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/04?rev=1754205108&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-03T10:11:48+03:00</dc:date>
        <title>04. Debuging (aka. the &quot;fun&quot; part)</title>
        <link>http://ocw.cs.pub.ro/courses/ass/labs-2024/02/tasks/04?rev=1754205108&amp;do=diff</link>
        <description>04. Debuging (aka. the &quot;fun&quot; part)

If you faithfully followed the instructions up to this point, you'll be glad to know that you are precisely 3 bugs away from having a working Linux-based system. So, let's get started:

Bug A - bootm decompression error

After executing bootm, you may notice some successful loads of the FDT and ramdisk, but the following error during the kernel loading process:</description>
    </item>
</rdf:RDF>
