<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;feed=atom&amp;action=history</id>
		<title>Didj U Boot Flashing Kernel - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;action=history"/>
		<updated>2013-05-25T18:56:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=46963&amp;oldid=prev</id>
		<title>Jsujjava: Remove Category Hardware Hacking</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=46963&amp;oldid=prev"/>
				<updated>2011-05-10T17:53:22Z</updated>
		
		<summary type="html">&lt;p&gt;Remove Category Hardware Hacking&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:53, 10 May 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should be able to use leapfrog connect to restore the remaining data.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should be able to use leapfrog connect to restore the remaining data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Didj]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Didj]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Hardware Hacking]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jsujjava</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=46831&amp;oldid=prev</id>
		<title>Jsujjava: Add Category Didj, Hardware Hacking</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=46831&amp;oldid=prev"/>
				<updated>2011-05-10T01:05:20Z</updated>
		
		<summary type="html">&lt;p&gt;Add Category Didj, Hardware Hacking&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:05, 10 May 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;At this point you should be ready to boot using your new kernel and RFS. Type &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; in u-boot, select normal boot and see what happens.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;At this point you should be ready to boot using your new kernel and RFS. Type &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; in u-boot, select normal boot and see what happens.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should be able to use leapfrog connect to restore the remaining data.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should be able to use leapfrog connect to restore the remaining data.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Didj]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Hardware Hacking]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jsujjava</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=19949&amp;oldid=prev</id>
		<title>GrizzlyAdams: /* Step 4: Write kernel */ fix leftover bits from Didj_U_Boot_Flashing_Primer</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=19949&amp;oldid=prev"/>
				<updated>2010-04-27T02:31:21Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Step 4: Write kernel: &lt;/span&gt; fix leftover bits from Didj_U_Boot_Flashing_Primer&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 02:31, 27 April 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; LF1000 # nand write 1400000 200000 [value you wrote down in step 2]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; LF1000 # nand write 1400000 200000 [value you wrote down in step 2]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should use &amp;lt;code&amp;gt;nand dump &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/del&gt;&amp;lt;/code&amp;gt; to verify that &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;lightning-boot &lt;/del&gt;was written.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You should use &amp;lt;code&amp;gt;nand dump &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;200000&lt;/ins&gt;&amp;lt;/code&amp;gt; to verify that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kernel &lt;/ins&gt;was written.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Step 5: Repeat the above steps for RFS0 ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Step 5: Repeat the above steps for RFS0 ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>GrizzlyAdams</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=19948&amp;oldid=prev</id>
		<title>GrizzlyAdams: Started page showing how to flash the kernel and rfs0 of a bricked Didj using u-boot.</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Didj_U_Boot_Flashing_Kernel&amp;diff=19948&amp;oldid=prev"/>
				<updated>2010-04-27T02:30:10Z</updated>
		
		<summary type="html">&lt;p&gt;Started page showing how to flash the kernel and rfs0 of a bricked Didj using u-boot.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This assumes you have followed [[Didj_U_Boot_Flashing_Primer]] to get lightning-boot 1.4 flashed, and have u-boot (plus the necessary rescue files) on a sdcard.&lt;br /&gt;
&lt;br /&gt;
==== Step 1: Boot to u-boot ====&lt;br /&gt;
&lt;br /&gt;
TODO: Put a link to the boot page here&lt;br /&gt;
&lt;br /&gt;
Do not load the kernel image in u-boot, we will not need it here.&lt;br /&gt;
&lt;br /&gt;
==== Step 2: Load kernel.bin into RAM ====&lt;br /&gt;
&lt;br /&gt;
Initialize the MMC subsystem...&lt;br /&gt;
&lt;br /&gt;
 LF1000 # mmcinit&lt;br /&gt;
&lt;br /&gt;
and load kernel.bin into memory.&lt;br /&gt;
&lt;br /&gt;
 LF1000 # fatload mmc 0 1400000 kernel.bin&lt;br /&gt;
&lt;br /&gt;
Note the number of bytes read, you'll need to convert this to hexidecimal for use later.&lt;br /&gt;
&lt;br /&gt;
==== Step 3: Erase the kernel pages ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;nand erase&amp;lt;/code&amp;gt; to erase the kernel pages&lt;br /&gt;
&lt;br /&gt;
 LF1000 # nand erase 200000 200000&lt;br /&gt;
&lt;br /&gt;
You may use &amp;lt;code&amp;gt;nand dump 200000 &amp;lt;/code&amp;gt; to verify that the kernel pages are now all &amp;lt;code&amp;gt;0xFF&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Step 4: Write kernel ====&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;nand write&amp;lt;/code&amp;gt; to write your new kernel to flash.&lt;br /&gt;
&lt;br /&gt;
 LF1000 # nand write 1400000 200000 [value you wrote down in step 2]&lt;br /&gt;
&lt;br /&gt;
You should use &amp;lt;code&amp;gt;nand dump 0&amp;lt;/code&amp;gt; to verify that lightning-boot was written.&lt;br /&gt;
&lt;br /&gt;
==== Step 5: Repeat the above steps for RFS0 ====&lt;br /&gt;
&lt;br /&gt;
Use erootfs.jffs2 as the source file, 0x400000 as the target address, and 0xe00000 as the erase size.&lt;br /&gt;
Just like with the kernel, you will want to note the size of the binary, and only write the necessary bytes.&lt;br /&gt;
&lt;br /&gt;
==== Step 6: Cross fingers, reboot ====&lt;br /&gt;
&lt;br /&gt;
At this point you should be ready to boot using your new kernel and RFS. Type &amp;lt;code&amp;gt;reset&amp;lt;/code&amp;gt; in u-boot, select normal boot and see what happens.&lt;br /&gt;
You should be able to use leapfrog connect to restore the remaining data.&lt;/div&gt;</summary>
		<author><name>GrizzlyAdams</name></author>	</entry>

	</feed>