Difference between revisions of "Panda How to kernel 2 6 39"

From eLinux.org
Jump to: navigation, search
Line 2: Line 2:
  
 
  As of -rc1:
 
  As of -rc1:
  * hdmi is broken due to some dss clocking issues, see: https://patchwork.kernel.org/patch/674062/ for details, a fix might be available before -rc2.
+
  * hdmi & dvi are broken due to some dss clocking issues, see: https://patchwork.kernel.org/patch/674062/ for details, a fix for dvi is available, see below.
 
  * abe sound is not supported.
 
  * abe sound is not supported.
 
  * Dave Anders patch to not configure the unused power regulators of VUSIM and VAUX1 is included.
 
  * Dave Anders patch to not configure the unused power regulators of VUSIM and VAUX1 is included.
Line 20: Line 20:
 
  -rw-r--r--    1 default  default        912 Mar 29  2011 wl1271-nvs.bin
 
  -rw-r--r--    1 default  default        912 Mar 29  2011 wl1271-nvs.bin
  
Building 2.6.39-rc1 is basically the same as [[Panda_How_to_kernel_2_6_38|How to build 2.6.38 kernel]], but of course you need the rc1 sources. The omap4430panda_config works, but does not enable anything interesting. [[Media:config.2.6.39-rc1|config.2.6.39-rc1]] enables USB, its' ethernet adapter, and wl12xx support.
+
Building 2.6.39-rc1 is basically the same as [[Panda_How_to_kernel_2_6_38|How to build 2.6.38 kernel]], but of course you need the rc1 sources. The omap2plus_defconfig works, but does not enable anything interesting. [[Media:config.2.6.39-rc1|config.2.6.39-rc1]] enables USB, its' ethernet adapter, and wl12xx support. [[Media:config.2.6.39-rc1.2|config.2.6.39-rc1.2]] enables USB, it's ethernet adapter, wl12xx support, and dvi support. However using that config requires that the kernel sources be patched with [[Media:0001-omap4-pandaboard-fix-dvi-support.patch|0001-omap4-pandaboard-fix-dvi-support.patch]] The patch also provices panda_dvi_defconfig which just enables dvi.
  
If you would like to patch the kernel, you can apply this patch [[Media:0001-omap4-pandaboard-fix-dvi-support.patch|0001-omap4-pandaboard-fix-dvi-support.patch]]
+
Apply it like so: (from inside the kernel sources directory)
  
* [[file:base-testconfig.txt]]
+
patch -p1 < 0001-omap4-pandaboard-fix-dvi-support.patch
 +
 
 +
Then use either of the above configs or
 +
 
 +
make ARCH=arm omap2plus_defconfig
 +
        or
 +
make ARCH=arm panda_dvi_defconfig
 +
 
 +
Then compile with
 +
 
 +
make ARCH=arm CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- uImage
 +
 
 +
After booting run fbtest to see a nice test pattern.
 +
 
 +
[[File:fbtest.jpg|240px]]
  
 
More to come "real soon now"(tm)
 
More to come "real soon now"(tm)

Revision as of 16:02, 30 March 2011

The merge window has closed and 2.6.39-rc1 has been released, There are many Pandaboard related changes, including HDMI and wl21xx support.

As of -rc1:
* hdmi & dvi are broken due to some dss clocking issues, see: https://patchwork.kernel.org/patch/674062/ for details, a fix for dvi is available, see below.
* abe sound is not supported.
* Dave Anders patch to not configure the unused power regulators of VUSIM and VAUX1 is included.
* wl12xx support is working to the extent that one can associate with an access point, get an IP address and ping out to the internet.

The proper firmware for wl12xx support is available from: git://git.kernel.org/pub/scm/linux/kernel/git/romieu/linux-firmware.git, just clone that repository and copy the ti-connectivity directory to /lib/firmare/.

# pwd
/lib/firmware/ti-connectivity
# ls -la
total 796
drwxr-xr-x    2 default  default       1024 Mar 29  2011 .
drwxr-xr-x    4 root     root          1024 Mar 29  2011 ..
-rw-r--r--    1 default  default     273040 Mar 29  2011 wl1271-fw-2.bin
-rw-r--r--    1 default  default     262356 Mar 29  2011 wl1271-fw-ap.bin
-rw-r--r--    1 default  default     271832 Mar 29  2011 wl1271-fw.bin
-rw-r--r--    1 default  default        912 Mar 29  2011 wl1271-nvs.bin

Building 2.6.39-rc1 is basically the same as How to build 2.6.38 kernel, but of course you need the rc1 sources. The omap2plus_defconfig works, but does not enable anything interesting. config.2.6.39-rc1 enables USB, its' ethernet adapter, and wl12xx support. config.2.6.39-rc1.2 enables USB, it's ethernet adapter, wl12xx support, and dvi support. However using that config requires that the kernel sources be patched with 0001-omap4-pandaboard-fix-dvi-support.patch The patch also provices panda_dvi_defconfig which just enables dvi.

Apply it like so: (from inside the kernel sources directory)

patch -p1 < 0001-omap4-pandaboard-fix-dvi-support.patch

Then use either of the above configs or

make ARCH=arm omap2plus_defconfig
        or
make ARCH=arm panda_dvi_defconfig

Then compile with

make ARCH=arm CROSS_COMPILE=Path_to_your/arm-2009q3/bin/arm-none-linux-gnueabi- uImage

After booting run fbtest to see a nice test pattern.

Fbtest.jpg

More to come "real soon now"(tm)