<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;feed=atom&amp;action=history</id>
		<title>Panda How to kernel 3 3 rel - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;action=history"/>
		<updated>2013-06-20T11:05:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22alpha</generator>

	<entry>
		<id>http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;diff=109928&amp;oldid=prev</id>
		<title>KenMcGuire at 23:18, 19 March 2012</title>
		<link rel="alternate" type="text/html" href="http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;diff=109928&amp;oldid=prev"/>
				<updated>2012-03-19T23:18:17Z</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 23:18, 19 March 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&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;issue error messages merely because a driver is not configured.&amp;quot; &amp;#160;&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;issue error messages merely because a driver is not configured.&amp;quot; &amp;#160;&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;Devicetree-enabled kernels crash during boot due to the UART driver (http://www.spinics.net/lists/linux-omap/msg64921.html). A patch has been proposed and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;should be &lt;/del&gt;merged &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;before &lt;/del&gt;release.&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;Devicetree-enabled kernels crash during boot due to the UART driver (http://www.spinics.net/lists/linux-omap/msg64921.html). A patch has been proposed and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;was&amp;#160; &lt;/ins&gt;merged &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;into the &lt;/ins&gt;release &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;codebase&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;=== rc7 ===&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;=== rc7 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:109904:newid:109928 --&gt;
&lt;/table&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	<entry>
		<id>http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;diff=109904&amp;oldid=prev</id>
		<title>KenMcGuire: Created page with &quot;== Introduction == Kernel 3.3 has been released  You can download a tarball of the mainline kernel at http://kernel.org/  or you can clone a copy of mainline kernel with:  &lt;pre&gt; ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.elinux.org/index.php?title=Panda_How_to_kernel_3_3_rel&amp;diff=109904&amp;oldid=prev"/>
				<updated>2012-03-19T23:12:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Introduction == Kernel 3.3 has been released  You can download a tarball of the mainline kernel at http://kernel.org/  or you can clone a copy of mainline kernel with:  &amp;lt;pre&amp;gt; ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
Kernel 3.3 has been released&lt;br /&gt;
&lt;br /&gt;
You can download a tarball of the mainline kernel at http://kernel.org/&lt;br /&gt;
&lt;br /&gt;
or you can clone a copy of mainline kernel with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git&lt;br /&gt;
cd linux&lt;br /&gt;
git checkout v3.3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''' Important Note '''&lt;br /&gt;
There has been a lot of work done on the HDMI interface and its related driver omapdrm. Between kernel 3.1 and 3.2-rc1 enough changed so that the Testing section on the HDMI interface is no longer correct. The hdmi init functions are no longer in arch/arm/mach_omap2/board-omap4panda.c. When this situation stabilises, the HDMI testing section below will be updated. &lt;br /&gt;
&lt;br /&gt;
== Highlites of the -rc series ==&lt;br /&gt;
&lt;br /&gt;
=== rc1 ===&lt;br /&gt;
&lt;br /&gt;
''' The following seems to be only true for the PandaBoard ES. Tests with a PandaBoard EA3 confirm that the patch is still needed '''&lt;br /&gt;
&lt;br /&gt;
The WLAN no longer requires a patch! The WL12xx driver needs current firmware. When the driver isn't happy, the error messages are somewhat less than useful, however the drivers/firmware are being constantly improved and it would not be a good idea to have the driver support anything but the latest firmware. Still a work in progress.&lt;br /&gt;
&lt;br /&gt;
=== rc4 ===&lt;br /&gt;
&lt;br /&gt;
resolve nebulous 'Error setting wl12xx data' fix to PandaBoard. &amp;quot;This should be fixed properly for the next merge window so we don't&lt;br /&gt;
issue error messages merely because a driver is not configured.&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Devicetree-enabled kernels crash during boot due to the UART driver (http://www.spinics.net/lists/linux-omap/msg64921.html). A patch has been proposed and should be merged before release.&lt;br /&gt;
&lt;br /&gt;
=== rc7 ===&lt;br /&gt;
&lt;br /&gt;
The WL12xx driver still needs the same patch as used for 3.1 and 3.2. when the driver isn't happy, the error messages are somewhat less than useful, however the drivers/firmware are being constantly improved and it would not be a good idea to have the driver support anything but the latest firmware.&lt;br /&gt;
The race issue that required building as a module has returned and with the modules built in, operation is not consistant.&lt;br /&gt;
&lt;br /&gt;
== PandaBoard ES ==&lt;br /&gt;
&lt;br /&gt;
There is now a PandaBoard ES http://pandaboard.org/content/pandaboard-es which includes an OMAP 4460 at up to 1.2GHz. Several important differences make it important (at the present time) that the [[PandaBoard_ES_uboot_howto| MLO/u-boot be specifically crafted for the 4460]]. The thermal management is not in the mainline 4430 code as yet and therefore the max clock frequency when running the OMAP4460 on the PandaBoard ES with the mainline kernel is 920MHz(same as the OMAP4430).&lt;br /&gt;
&lt;br /&gt;
== wlan12xx ==&lt;br /&gt;
&lt;br /&gt;
== wlan12xx patch ==&lt;br /&gt;
This patch is still necessary to resolve the issue noted in 3.0, 3.1 and 3.2, the code was moved to twl_common.c.&lt;br /&gt;
&lt;br /&gt;
[[Media:0001a-omap4-pandaboard-wlan-fix.patch|0001a-omap4-pandaboard-wlan-fix.patch]]&lt;br /&gt;
&lt;br /&gt;
Apply it like so: (from inside the kernel sources directory)&lt;br /&gt;
&lt;br /&gt;
 patch -p1 &amp;lt; 0001a-omap4-pandaboard-wlan-fix.patch&lt;br /&gt;
&lt;br /&gt;
The latest wlan firmware is available from git: git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git just copy the contents of the ti-connectivity folder to /lib/firmware/ti-connectivity.&lt;br /&gt;
&lt;br /&gt;
The patch is no longer necessary for the PandaBoard ES but does not seem to hurt if applied. In addition, the race issue that required building as a module has returned. As part of the code cleanup, the wl12xx and wl12xx_sdio drivers no longer depend on each other. This creates an issue with systems that do not use udev or mdev (with as somewhat fiddly &amp;amp; slow script) to load MODALIAS drivers. The quick solution is to modprobe both, the order no longer matters. Just modprobing wl12xx_sdio will no longer automatically load wl12xx. It is suggested that these 2 drivers be built as modules. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Building ==&lt;br /&gt;
Building 3.3 is fairly straight forward.&lt;br /&gt;
&lt;br /&gt;
Grab the 3.3 sources and use [[Media:config.3.3.1|config.3.3.1]] as the .config &lt;br /&gt;
&lt;br /&gt;
The 3.3 .config enables Sound builtin and wl12xx as modules. The builtin sound does not presently work, but the enabled configuration allows USB sound devices, which function properly.&lt;br /&gt;
&lt;br /&gt;
Then compile like so:&lt;br /&gt;
&lt;br /&gt;
 make ARCH=arm CROSS_COMPILE=Path_to_your/arm-2010q1/bin/arm-none-linux-gnueabi- uImage&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
=== fbtest on DVI Port ===&lt;br /&gt;
&lt;br /&gt;
After booting run fbtest to see a nice test pattern from the dvi port.&lt;br /&gt;
&lt;br /&gt;
[[File:fbtest.jpg|240px]]&lt;br /&gt;
&lt;br /&gt;
=== Switching primary display to the HDMI port  --&amp;gt; Currently not functional &amp;lt;-- ===&lt;br /&gt;
Make sure that a monitor is plugged into the HDMI port before doing the following:&lt;br /&gt;
&lt;br /&gt;
 # Enable HDMI&lt;br /&gt;
 echo &amp;quot;1&amp;quot; &amp;gt; /sys/devices/platform/omapdss/display1/enabled&lt;br /&gt;
 &lt;br /&gt;
 # Disable overlay0 (an overlay must be disabled before changing its properties)&lt;br /&gt;
 echo &amp;quot;0&amp;quot; &amp;gt; /sys/devices/platform/omapdss/overlay0/enabled&lt;br /&gt;
 &lt;br /&gt;
 # Set the manager of overlay0 to display1 which is HDMI&lt;br /&gt;
 echo &amp;quot;tv&amp;quot; &amp;gt; /sys/devices/platform/omapdss/overlay0/manager&lt;br /&gt;
 &lt;br /&gt;
 # Enable overlay0&lt;br /&gt;
 echo &amp;quot;1&amp;quot; &amp;gt; /sys/devices/platform/omapdss/overlay0/enabled&lt;br /&gt;
&lt;br /&gt;
And content on overlay 0 of primary lcd would be transferred to HDMI. It works similarly for all other overlay's.&lt;br /&gt;
&lt;br /&gt;
=== Switching primary display to the DVI port ===&lt;br /&gt;
&lt;br /&gt;
See: http://omappedia.org/wiki/Bootargs_for_enabling_display for lots of useful info on the display subsystem. Be aware that the display, manager and overlay numbers don't match the panda configuration.&lt;br /&gt;
&lt;br /&gt;
Make sure that a monitor is plugged into the DVI port before doing the following:&lt;br /&gt;
&lt;br /&gt;
 # Disable HDMI&lt;br /&gt;
 echo &amp;quot;0&amp;quot; &amp;gt; /sys/devices/platform/omapdss/display1/enabled&lt;br /&gt;
 &lt;br /&gt;
 # Disable overlay0 (an overlay must be disabled before changing its properties)&lt;br /&gt;
 echo &amp;quot;0&amp;quot; &amp;gt; /sys/devices/platform/omapdss/overlay0/enabled&lt;br /&gt;
 &lt;br /&gt;
 # Set the manager of overlay0 to display0 which is DVI&lt;br /&gt;
 echo &amp;quot;lcd2&amp;quot; &amp;gt; /sys/devices/platform/omapdss/overlay0/manager&lt;br /&gt;
 &lt;br /&gt;
 # Enable overlay0&lt;br /&gt;
 echo &amp;quot;1&amp;quot; &amp;gt; /sys/devices/platform/omapdss/overlay0/enabled&lt;br /&gt;
&lt;br /&gt;
The above commands should be run from the serial console and the cable should be in the destination port before running the commands.&lt;br /&gt;
&lt;br /&gt;
=== fbtest on HDMI Port --&amp;gt; Currently not functional &amp;lt;-- ===&lt;br /&gt;
&lt;br /&gt;
Run fbtest to see a nice test pattern from the HDMI port.&lt;br /&gt;
&lt;br /&gt;
[[File:fbtest2.jpg|240px]]&lt;br /&gt;
&lt;br /&gt;
=== i2cdetect ===&lt;br /&gt;
&lt;br /&gt;
You can run i2cdetect and the results should look like this:&lt;br /&gt;
&lt;br /&gt;
 # i2cdetect -y -r 1&lt;br /&gt;
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f&lt;br /&gt;
 00:          -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
 40: -- -- -- -- -- -- -- -- UU UU UU UU -- -- -- -- &lt;br /&gt;
 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- &lt;br /&gt;
 70: -- -- -- -- -- -- -- --&lt;br /&gt;
&lt;br /&gt;
=== wlan ===&lt;br /&gt;
&lt;br /&gt;
Run the following commands after the PandaBoard is booted:&lt;br /&gt;
&lt;br /&gt;
 modprobe wl12xx    ** only if you built the wl12xx drivers as modules&lt;br /&gt;
 modprobe wl12xx_sdio    ** only if you built the wl12xx drivers as module&lt;br /&gt;
 ifconfig wlan0 up&lt;br /&gt;
 iwconfig wlan0 essid &amp;quot;Your AccessPoint Name&amp;quot;&lt;br /&gt;
 udhcpc -i wlan0&lt;br /&gt;
&lt;br /&gt;
If your network is set up to provide DHCP services, the PandaBoard will get all the &amp;quot;right stuff(tm)&amp;quot; and you will be able to access the Internet.&lt;br /&gt;
&lt;br /&gt;
 # ping www.google.com&lt;br /&gt;
 PING www.google.com (74.125.73.99): 56 data bytes&lt;br /&gt;
 64 bytes from 74.125.73.99: seq=0 ttl=43 time=62.683 ms&lt;br /&gt;
 64 bytes from 74.125.73.99: seq=1 ttl=43 time=54.077 ms&lt;br /&gt;
 64 bytes from 74.125.73.99: seq=2 ttl=43 time=51.484 ms&lt;br /&gt;
 64 bytes from 74.125.73.99: seq=3 ttl=43 time=54.108 ms&lt;br /&gt;
&lt;br /&gt;
=== USB Performance ===&lt;br /&gt;
&lt;br /&gt;
Insert a USB memory stick into one of the usb ports&lt;br /&gt;
&lt;br /&gt;
Run dmesg to see what sdx the stick was recognised as, then:&lt;br /&gt;
&lt;br /&gt;
 hdparam -tT /dev/sdx&lt;br /&gt;
&lt;br /&gt;
If you run the same command on a desktop Linux system, with the same USB memory stick, the PandaBoard's speed should roughly be the same.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:PandaBoard]]&lt;/div&gt;</summary>
		<author><name>KenMcGuire</name></author>	</entry>

	</feed>