<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de-AT">
	<id>https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=U-Boot_%28i.MX31%29</id>
	<title>U-Boot (i.MX31) - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://becomwiki.live.md-websolutions.com/index.php?action=history&amp;feed=atom&amp;title=U-Boot_%28i.MX31%29"/>
	<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=U-Boot_(i.MX31)&amp;action=history"/>
	<updated>2026-05-13T14:12:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in BECOM Systems Support</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=U-Boot_(i.MX31)&amp;diff=576&amp;oldid=prev</id>
		<title>Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=U-Boot_(i.MX31)&amp;diff=576&amp;oldid=prev"/>
		<updated>2023-10-31T08:03:12Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de-AT&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 31. Oktober 2023, 10:03 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de-AT&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Peter</name></author>
	</entry>
	<entry>
		<id>https://becomwiki.live.md-websolutions.com/index.php?title=U-Boot_(i.MX31)&amp;diff=575&amp;oldid=prev</id>
		<title>en&gt;Peter: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=U-Boot_(i.MX31)&amp;diff=575&amp;oldid=prev"/>
		<updated>2023-08-22T19:35:55Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Prerequisites ===&lt;br /&gt;
You will need at least the following to successfully build and deploy a new bootloader:&lt;br /&gt;
   * A working ltib installation&lt;br /&gt;
   * A JTAG Programmer, such as PEEDI&lt;br /&gt;
   * A core module on the DevBoard&lt;br /&gt;
&lt;br /&gt;
You will need to take a note of the ethernet address which is shown just after the boot process has started.&lt;br /&gt;
&lt;br /&gt;
=== Creating a new u-boot.bin ===&lt;br /&gt;
Change to the directory where your ltib installation is. Then run the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./ltib -m prep -p u-boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will unpack the u-boot files to ./rpm/BUILD/u-boot-$version$. You can now edit these files as desired.&lt;br /&gt;
&lt;br /&gt;
To finally create the bootloader image, run the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./ltib -m scbuild -p u-boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will create the file u-boot.bin. You will need to copy it to an location, which is accessible via TFTP. In our example we shared the directory ltib5/rootfs/boot. To perform the copying, run the following command&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo cp ./rpm/BUILD/u-boot-1.2.0/u-boot.bin ./rootfs/boot/&lt;br /&gt;
or&lt;br /&gt;
./ltib -m scdeploy -p u-boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Using ls, make sure that the copy process finished successfully and that the filetime of the new image is the current time.&lt;br /&gt;
&lt;br /&gt;
=== Flashing the bootloader image ===&lt;br /&gt;
Now connect the JTAG to the devboard. Start the JTAG programmer. If you are using PEEDI, use the following commands flash the bootloader image.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
flash erase 0xa0000000 0x100000&lt;br /&gt;
flash program tftp://192.168.0.75/u-boot.bin bin 0xa0000000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If the flashing does not succeed, you might want to check the FAQs section.&lt;br /&gt;
&lt;br /&gt;
=== Changing the environment settings ===&lt;br /&gt;
After flashing, all your environment settings will be gone and you will have to renew them. To do this, enter the bootloader prompt by pressing a key when asked to and perform the following commands. Keep in mind that the settings shown are only example settings and do not represent your setup.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BTi.MX31$ setenv ethaddr 00:00:e2:a2:66:12&lt;br /&gt;
BTi.MX31$ setenv ipaddr 192.168.0.51&lt;br /&gt;
BTi.MX31$ setenv serverip 192.168.0.75&lt;br /&gt;
BTi.MX31$ setenv bootfile uImage&lt;br /&gt;
BTi.MX31$ run setup_bootargs_net&lt;br /&gt;
BTi.MX31$ saveenv&lt;br /&gt;
Saving Environment to Flash...&lt;br /&gt;
Un-Protected 1 sectors&lt;br /&gt;
Erasing Flash...&lt;br /&gt;
. done&lt;br /&gt;
Erased 1 sectors&lt;br /&gt;
Writing to Flash... done&lt;br /&gt;
Protected 1 sectors&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:i.MX31]]&lt;/div&gt;</summary>
		<author><name>en&gt;Peter</name></author>
	</entry>
</feed>