Difference between revisions of "Linux Kernel 3.8.y"

From IGEP - ISEE Wiki

Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
 
*IGEP COM AQUILA (IGEP0033)
 
*IGEP COM AQUILA (IGEP0033)
 +
*IGEPv5 (IGEP0050)
  
 
The currently supported IGEP Expansion Boards are as follows:  
 
The currently supported IGEP Expansion Boards are as follows:  
Line 13: Line 14:
 
*IGEP AQUILA EXPANSION (BASE0033)
 
*IGEP AQUILA EXPANSION (BASE0033)
  
Binaries: latest stable kernel version is: '''3.8.13-0 (20130725)'''  
+
Binaries: latest stable kernel version is: '''3.8.13-1 (20140107) for AM335x and 3.8.13-0-omap5 (2014)'''  
  
 
{| border="1"
 
{| border="1"
Line 21: Line 22:
 
! '''zImage binary'''  
 
! '''zImage binary'''  
 
! '''Modules binaries'''  
 
! '''Modules binaries'''  
! '''DT BASE0033'''
+
! '''DTB'''
 
|-
 
|-
 
|  IGEP0033   
 
|  IGEP0033   
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/linux-3.8.13-0.tar.gz 3.8.13-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/linux-3.8.13-0.tar.gz.md5 md5sum])  
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/linux-3.8.13-1.tar.gz 3.8.13-1] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/linux-3.8.13-1.tar.gz.md5 md5sum])
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/zImage-3.8.13-0.bin zImage-3.8.13-0.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/zImage-3.8.13-0.bin.md5 md5sum])  
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/zImage-3.8.13-1.bin zImage-3.8.13-1.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/zImage-3.8.13-1.bin.md5 md5sum])
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/modules-3.8.13-0.tar.gz modules-3.8.13-0] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/modules-3.8.13-0.tar.gz.md5 md5sum)]  
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/modules-3.8.13-1.tar.gz modules-3.8.13-1] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/modules-3.8.13-1.tar.gz.md5 md5sum)]
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/am335x-base0033-3.8.13-0.dtb am335x-base0033-3.8.13-0.dtb] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/am335x-base0033-3.8.13-0.dtb.md5 md5sum)]
+
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/am335x-base0033-3.8.13-1.dtb am335x-base0033-3.8.13-1.dtb] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/am335x-base0033-3.8.13-1.dtb.md5 md5sum)]
 +
|-
 +
|  IGEP0050 
 +
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/linux-3.8.13-0-omap5.tar.gz 3.8.13-0-omap5] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/linux-3.8.13-0-omap5.tar.gz.md5 md5sum])  
 +
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/zImage-3.8.13-0-omap5.bin zImage-3.8.13-0-omap5.bin] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/zImage-3.8.13-0-omap5.bin.md5 md5sum])  
 +
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/modules-3.8.13-0-omap5.tar.gz modules-3.8.13-0-omap5] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/modules-3.8.13-0-omap5.tar.gz.md5 md5sum)]  
 +
| [http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/omap5-igep0050-3.8.13-0-omap5.dtb omap5-igep0050-3.8.13-0-omap5.dtb] ([http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/omap5-igep0050-3.8.13-0-omap5.dtb.md5 md5sum)]
 
|}
 
|}
  
Line 34: Line 41:
 
'''Download''' the latest stable version sources and follow next steps:  
 
'''Download''' the latest stable version sources and follow next steps:  
  
  wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0/linux-omap-3.8.13-0.tar.gz
+
For IGEP COM AQUILA
  tar xzf linux-omap-3.8.13-0.tar.gz
+
 
 +
  wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/linux-3.8.13-1.tar.gz
 +
 
 +
Or for IGEPv5
 +
 
 +
  wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/linux-3.8.13-0-omap5.tar.gz
 +
 
 +
tar xzf linux-[kernel version].tar.gz
 
  cd [kernel version]
 
  cd [kernel version]
  
Line 59: Line 73:
  
 
= Example: Enable UART2 on IGEP AQUILA EXPANSION (P9.21-P9.22)  =
 
= Example: Enable UART2 on IGEP AQUILA EXPANSION (P9.21-P9.22)  =
 
=  =
 
  
  
Line 93: Line 105:
 
+};
 
+};
 
+
 
+
</pre>
+
</pre>  
 
 
 
 
=  =
 
  
 
= Known issues  =
 
= Known issues  =
Line 102: Line 111:
 
Not for now  
 
Not for now  
  
= Changelog =
+
= Changelog AM335x =
 +
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=86a5e07ad67233d04ce56a2aad0d847730f4bdf5 Release 3.8.13-1]
 +
** Enable support for USB Ethernet Gadget
 +
** Add 32KBit EEPROM support
 +
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=7716998dc39f4c734d7cf0e44e7f4f38297b4c46 Release 3.8.13-0]
 +
**First release for 3.8.y series
  
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=7716998dc39f4c734d7cf0e44e7f4f38297b4c46 Release 3.8.13-0]  
+
= Changelog OMAP5 =
 +
*[http://git.isee.biz/?p=pub/scm/linux-omap-2.6.git;a=commit;h=667cf42fcef4921d3b36754b5b1d68cefcab7285 Release 3.8.13-0-omap5]  
 
**First release for 3.8.y series
 
**First release for 3.8.y series
  
 
[[Category:Linux_Kernel]]
 
[[Category:Linux_Kernel]]

Latest revision as of 10:14, 31 January 2014

Introduction

This article is for specific 3.8.y Linux kernel branch serie.
It is interesting read The Linux kernel article previously.

On this 3.8.y version, supported IGEP Processor Boards are:

  • IGEP COM AQUILA (IGEP0033)
  • IGEPv5 (IGEP0050)

The currently supported IGEP Expansion Boards are as follows:

  • IGEP AQUILA EXPANSION (BASE0033)

Binaries: latest stable kernel version is: 3.8.13-1 (20140107) for AM335x and 3.8.13-0-omap5 (2014)

Platform Sources zImage binary Modules binaries DTB
 IGEP0033  3.8.13-1 (md5sum) zImage-3.8.13-1.bin (md5sum) modules-3.8.13-1 (md5sum) am335x-base0033-3.8.13-1.dtb (md5sum)
 IGEP0050  3.8.13-0-omap5 (md5sum) zImage-3.8.13-0-omap5.bin (md5sum) modules-3.8.13-0-omap5 (md5sum) omap5-igep0050-3.8.13-0-omap5.dtb (md5sum)

Build kernel from sources

Download the latest stable version sources and follow next steps:

For IGEP COM AQUILA

wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/linux-3.8.13-1.tar.gz

Or for IGEPv5

wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-0-omap5/linux-3.8.13-0-omap5.tar.gz
tar xzf linux-[kernel version].tar.gz
cd [kernel version]

Also, it could download from GIT Repositories (http://git.isee.biz/) and test the last unstable version at your own risk (see "Linux mainline tree (development)" chapter in The Linux kernel)

Configure Linux kernel for IGEP devices. IGEP is ARM architecture based device. A generic configuration is provided for all IGEP machines, and can be used as the default by

make ARCH=arm omap2plus_defconfig

Then build the kernel, the kernel modules and the device tree files. The result will be an zImage file in arch/arm/boot directory. Execute:

make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules dtbs


You can install the kernel modules to your target rootfs

make ARCH=arm CROSS_COMPILE=[your cross compiler] INSTALL_MOD_PATH=[path to your target rootfs] modules_install

Adding New Expansion Boards

This chapter is meant to be a starting point for people to learn how to add your own expansion board in three steps.

TODO

Example: Enable UART2 on IGEP AQUILA EXPANSION (P9.21-P9.22)

diff --git a/arch/arm/boot/dts/am335x-base0033.dts b/arch/arm/boot/dts/am335x-base0033.dts
index 9729832..de22fd8 100644
--- a/arch/arm/boot/dts/am335x-base0033.dts
+++ b/arch/arm/boot/dts/am335x-base0033.dts
@@ -126,6 +126,13 @@
             0x168 0x1f    /* uart0_ctsn.gpio1_8 */
         >;
     };
+
+    uart2_pins: pinmux_uart2_pins {
+        pinctrl-single,pins = <
+            0x150 0x21    /* spi0_sclk.uart2_rxd | MODE1 */
+            0x154 0x01    /* spi0_d0.uart2_txd | MODE1 */
+        >;
+    };
 };
 
 &mcasp0 {
@@ -147,3 +154,11 @@
     rx-num-evt = <1>;
 };
 
+&uart3 { /* really uart2 */
+    status = "okay";
+
+    pinctrl-names = "default";
+    pinctrl-0 = <&uart2_pins>;
+};
+

Known issues

Not for now

Changelog AM335x

Changelog OMAP5