<?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=Spansion_NOR_flash_%28i.MX31%29</id>
	<title>Spansion NOR flash (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=Spansion_NOR_flash_%28i.MX31%29"/>
	<link rel="alternate" type="text/html" href="https://becomwiki.live.md-websolutions.com/index.php?title=Spansion_NOR_flash_(i.MX31)&amp;action=history"/>
	<updated>2026-05-13T14:12:33Z</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=Spansion_NOR_flash_(i.MX31)&amp;diff=170&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=Spansion_NOR_flash_(i.MX31)&amp;diff=170&amp;oldid=prev"/>
		<updated>2023-10-31T08:03:07Z</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=Spansion_NOR_flash_(i.MX31)&amp;diff=169&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=Spansion_NOR_flash_(i.MX31)&amp;diff=169&amp;oldid=prev"/>
		<updated>2023-08-22T19:35:49Z</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;===  Overview ===&lt;br /&gt;
Since this topic is similar to the Intel Strata Flash topic, you might also want to check IntelStrataFlash for instructions.&lt;br /&gt;
&lt;br /&gt;
===  Kernel Configuration ===&lt;br /&gt;
The kernel configuration options for the flash chip drivers can be found in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Device Drivers -&amp;gt; Memory Technology Device Support -&amp;gt; RAM/ROM Flash Chip Drivers&lt;br /&gt;
   Flash Chip Driver advanced configuration options -&amp;gt; Y&lt;br /&gt;
   Specific CFI Flash Geometry -&amp;gt; Y&lt;br /&gt;
      Support 16 bit Buswidth -&amp;gt; Y&lt;br /&gt;
      Support 1 chip flash interleave -Y &lt;br /&gt;
   Support for Intel/Sharp flash chips -&amp;gt; Y&lt;br /&gt;
   Support for AMD/Fujitsu flash chips -&amp;gt; Y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===  Grab information about devices ===&lt;br /&gt;
To get information about the flash devices run the following command. Typically all partitions before the IPL_SPL are NOR devices.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mx31# cat /proc/mtd&lt;br /&gt;
dev:    size   erasesize  name&lt;br /&gt;
mtd0: 00080000 00020000 &amp;quot;Bootloader&amp;quot;&lt;br /&gt;
mtd1: 00080000 00020000 &amp;quot;Bootloader env&amp;quot;&lt;br /&gt;
mtd2: 00200000 00020000 &amp;quot;Kernel&amp;quot;&lt;br /&gt;
mtd3: 01d00000 00020000 &amp;quot;rootfs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
mtd4: 00040000 00020000 &amp;quot;IPL-SPL&amp;quot;&lt;br /&gt;
mtd5: 00400000 00020000 &amp;quot;nand.kernel&amp;quot;&lt;br /&gt;
mtd6: 01600000 00020000 &amp;quot;nand.rootfs&amp;quot;&lt;br /&gt;
mtd7: 065c0000 00020000 &amp;quot;nand.userfs&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  Test Spansion Flash ===&lt;br /&gt;
To test the Spansion Flash, you can read the bootloader from this flash by running the following command.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dd if=/dev/mtdblock0 of=/tmp/bootpart bs=1024&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You will receive a file named bootpart in /tmp which will contain the bootloader. You can check this by opening the file in a hex editor and by seeking to address 0x15580. Around that address, you should see various messages from the bootloader. Unused space at the end will be padded with 0xFF.&lt;br /&gt;
&lt;br /&gt;
We will now mount the rootfs filesystem&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/* Create a mount point */&lt;br /&gt;
mx31# mkdir /mnt/normnt&lt;br /&gt;
&lt;br /&gt;
/* Mount rootfs to mountpoint */&lt;br /&gt;
mx31# mount -t jffs2 /dev/mtdblock/3 /mnt/normnt&lt;br /&gt;
&lt;br /&gt;
/* Show contents */&lt;br /&gt;
mx31# ls /mnt/normnt/&lt;br /&gt;
bin         etc         linuxrc     proc        sys         usr&lt;br /&gt;
dev         home        mnt         root        tmp         var&lt;br /&gt;
dir         lib         opt         sbin        unit_tests&lt;br /&gt;
mx31#&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make sure you are not erasing the bootloader or bootloader environment section. If you do, you will need a JTAG programmer to flash the bootloader back to its position.&lt;br /&gt;
&lt;br /&gt;
Data written onto the NOR Flash will exist even after rebooting or switching off/on the device. Software is able to run directly from NOR flash.&lt;br /&gt;
&lt;br /&gt;
[[Category:i.MX31]]&lt;/div&gt;</summary>
		<author><name>en&gt;Peter</name></author>
	</entry>
</feed>