<?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=Panda_How_to_kernel_2_6_38&amp;feed=atom&amp;action=history</id>
		<title>Panda How to kernel 2 6 38 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;action=history"/>
		<updated>2013-05-24T22:28:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;diff=38623&amp;oldid=prev</id>
		<title>Prpplague at 19:49, 21 March 2011</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;diff=38623&amp;oldid=prev"/>
				<updated>2011-03-21T19:49:58Z</updated>
		
		<summary type="html">&lt;p&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 19:49, 21 March 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&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;Now compile the kernel:&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;Now compile the kernel:&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;&amp;#160; make &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-j10 V=99 &lt;/del&gt;ARCH=arm CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- uImage&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;&amp;#160; make ARCH=arm CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- uImage&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;/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;/table&gt;</summary>
		<author><name>Prpplague</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;diff=38305&amp;oldid=prev</id>
		<title>KenMcGuire at 04:14, 17 March 2011</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;diff=38305&amp;oldid=prev"/>
				<updated>2011-03-17T04:14:57Z</updated>
		
		<summary type="html">&lt;p&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 04:14, 17 March 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&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;system to power down. this patch removes the initialization of the unused power&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;system to power down. this patch removes the initialization of the unused power&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;regulators of VUSIM and VAUX1.&amp;quot;&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;regulators of VUSIM and VAUX1.&amp;quot;&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;&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;This patch can be applied to 2.6.37 and the 2.6.38-rcx series with a bit of fuzz and maybe a few lines of offset, as well as 2.6.38.&lt;/ins&gt;&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;Get a copy of the patch [[Media:dave_reg.patch|dave_reg.patch]]&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;Get a copy of the patch [[Media:dave_reg.patch|dave_reg.patch]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;diff=37981&amp;oldid=prev</id>
		<title>KenMcGuire: Created page with &quot;-Kernel building for kernel 2.6.38.  Newer kernels require that you use a more recent MLO (x-loader) and u-boot than described in previous How-To's.  You can build these from sou...&quot;</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Panda_How_to_kernel_2_6_38&amp;diff=37981&amp;oldid=prev"/>
				<updated>2011-03-15T23:31:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;-Kernel building for kernel 2.6.38.  Newer kernels require that you use a more recent MLO (x-loader) and u-boot than described in previous How-To&amp;#039;s.  You can build these from sou...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-Kernel building for kernel 2.6.38.&lt;br /&gt;
&lt;br /&gt;
Newer kernels require that you use a more recent MLO (x-loader) and u-boot than described in previous How-To's.&lt;br /&gt;
&lt;br /&gt;
You can build these from source, or try to find binaries. One issue with the binary route is that you might want to alter the kernel command line embedded inside u-boot. Such as for experimenting with different partition formats, or different filesystem types (ext3 vs ext2), etc. Of course you could stop the autoboot and type it in yourself, but we will build from source.&lt;br /&gt;
&lt;br /&gt;
For this How-to, we will use the Code Sourcery G++ version arm-2009q3. It should already be installed on your system. Kernels have also been successfully built with arm-2010q1.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, let's get the x-loader source code and build it.&lt;br /&gt;
&lt;br /&gt;
 git clone git://gitorious.org/x-loader/x-loader.git&lt;br /&gt;
&lt;br /&gt;
cd to the x-loader directory&lt;br /&gt;
&lt;br /&gt;
Then using git or gitk make and check out a new branch at the commit &amp;quot;6f3a261 omap1: remove support for 1710 and 1510&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Next, select the panda config:&lt;br /&gt;
&lt;br /&gt;
 make CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- omap4430panda_config&lt;br /&gt;
&lt;br /&gt;
Now compile MLO:&lt;br /&gt;
&lt;br /&gt;
 make CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- ift&lt;br /&gt;
&lt;br /&gt;
This should produce the MLO file in the x-loader directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for U-boot:&lt;br /&gt;
&lt;br /&gt;
 git clone git://git.denx.de/u-boot.git&lt;br /&gt;
&lt;br /&gt;
cd to the u-boot directory&lt;br /&gt;
&lt;br /&gt;
Then using git or gitk make and check out a new branch at tag: v2010.12&lt;br /&gt;
&lt;br /&gt;
Next, select the panda config:&lt;br /&gt;
&lt;br /&gt;
 make CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- omap4_panda_config&lt;br /&gt;
&lt;br /&gt;
Change ttyS2 to ttyO2 in the u-boot kernel command line in: u-boot/include/configs/omap4_panda.h&lt;br /&gt;
&lt;br /&gt;
Now compile U-boot:&lt;br /&gt;
&lt;br /&gt;
 make USE_PRIVATE_LIBGG=yes CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi-&lt;br /&gt;
&lt;br /&gt;
This should produce u-boot.bin in the u-boot directory&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for the kernel:&lt;br /&gt;
&lt;br /&gt;
Either download http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.38.tar.bz2&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
 git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git&lt;br /&gt;
&lt;br /&gt;
-Warning- this will be a really big download&lt;br /&gt;
&lt;br /&gt;
cd to the appropriate root directory&lt;br /&gt;
&lt;br /&gt;
If you downloaded the .tar.bz2 file you can skip this step.&lt;br /&gt;
&lt;br /&gt;
Using git or gitk make and check out a new branch at tag: v2.6.38&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, select the panda config:&lt;br /&gt;
&lt;br /&gt;
 make ARCH=arm omap2plus_defconfig&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dave Anders figured out what the problem that some users had been seeing with an over current condition shutting the board down. He has produced a patch that appears to resolve this issue. Here is his description:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The pandaboard does not use the VUSIM or VAUX1 power regulators on the TWL6030&lt;br /&gt;
and are left floating. if the VUSIM and VAUX1 power regulators are initilized,&lt;br /&gt;
noise on the unloaded regulators generates an overcurrent interrupt causing the&lt;br /&gt;
system to power down. this patch removes the initialization of the unused power&lt;br /&gt;
regulators of VUSIM and VAUX1.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Get a copy of the patch [[Media:dave_reg.patch|dave_reg.patch]]&lt;br /&gt;
&lt;br /&gt;
Apply it&lt;br /&gt;
&lt;br /&gt;
 patch -p1 &amp;lt; dave_reg.patch&lt;br /&gt;
&lt;br /&gt;
It should apply to the vanilla sources without problems.&lt;br /&gt;
&lt;br /&gt;
Now compile the kernel:&lt;br /&gt;
&lt;br /&gt;
 make -j10 V=99 ARCH=arm CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- uImage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In these newer kernels the ttyOx serial ports are given dynamic major minor node numbers, it is important to have your rootfs use udev or mdev to figure out which ones they are.&lt;br /&gt;
&lt;br /&gt;
Put the MLO, uboot.bin and uImage on your vfat partion of your SD card, insert into your trusty pandaboard and power it up. Depending on your rootfs and whether your udev/mdev is setup and working, the kernel should boot. udev/mdev problems will occur when init tries to run inittab.&lt;br /&gt;
&lt;br /&gt;
Once you have the kernel booting, go back and &lt;br /&gt;
&lt;br /&gt;
  make ARCH=arm menuconfig&lt;br /&gt;
&lt;br /&gt;
and turn on the usb networking, EHCI and whatever else you might want to play with, then rebuild the kernel.&lt;br /&gt;
&lt;br /&gt;
Or, just use this config [[Media:config.2.6.38|config.2.6.38]] as it has only the changes needed for the pandaboard's usb networking and EHCI.&lt;br /&gt;
&lt;br /&gt;
-Note- Remember to run make ARCH=arm oldconfig to update things that were changed in the new release.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
USB and ethernet work, but hdmi video does not as of 3/15/2011.&lt;br /&gt;
&lt;br /&gt;
Here is what should come out the serial port during bootup: http://pastebin.com/jYRs95MH&lt;br /&gt;
&lt;br /&gt;
Of course that is my rootfs, which was built here: http://elinux.org/Panda_How_to_buildroot&lt;br /&gt;
&lt;br /&gt;
With the sysinit part of inittab looking like this:&lt;br /&gt;
&lt;br /&gt;
 # Startup the system&lt;br /&gt;
 ::sysinit:/bin/mount -t proc proc /proc&lt;br /&gt;
 ::sysinit:/bin/mount -o remount,rw /&lt;br /&gt;
 ::sysinit:/bin/mount -t tmpfs -o size=64k,mode=0755 tmpfs /dev&lt;br /&gt;
 ::sysinit:/bin/mkdir /dev/pts&lt;br /&gt;
 ::sysinit:/bin/mount -t devpts devpts /dev/pts&lt;br /&gt;
 ::sysinit:/bin/mknod -m 660 /dev/console c 5 1&lt;br /&gt;
 ::sysinit:/bin/mknod -m 660 /dev/null c 1 3&lt;br /&gt;
 ::sysinit:/bin/mount -t sysfs sysfs /sys&lt;br /&gt;
 null::sysinit:/bin/echo /sbin/mdev &amp;gt; /proc/sys/kernel/hotplug&lt;br /&gt;
 null::sysinit:/sbin/mdev -s&lt;br /&gt;
 null::sysinit:/bin/mount -a&lt;br /&gt;
 null::sysinit:/bin/hostname -F /etc/hostname&lt;br /&gt;
 # now run any rc scripts&lt;br /&gt;
 ::sysinit:/etc/init.d/rcS&lt;br /&gt;
&lt;br /&gt;
[[category:OMAP]]&lt;br /&gt;
[[category:omap4430]]&lt;br /&gt;
[[category:PandaBoard]]&lt;br /&gt;
[[category:Development Boards]]&lt;/div&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	</feed>