Difference between revisions of "Linux Kernel 3.8.y"

From IGEP - ISEE Wiki

Jump to: navigation, search
Line 13: Line 13:
 
*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 (20130107)'''  
  
 
{| border="1"
 
{| border="1"
Line 24: Line 24:
 
|-
 
|-
 
|  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)]
 
|}
 
|}
  
Line 34: Line 34:
 
'''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
+
  wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/linux-3.8.13-1.tar.gz
  tar xzf linux-omap-3.8.13-0.tar.gz
+
  tar xzf linux-3.8.13-1.tar.gz
 
  cd [kernel version]
 
  cd [kernel version]
  
Line 98: Line 98:
  
 
= Changelog  =
 
= Changelog  =
 
+
*[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]  
 
*[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
 
**First release for 3.8.y series
  
 
[[Category:Linux_Kernel]]
 
[[Category:Linux_Kernel]]

Revision as of 15:35, 20 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)

The currently supported IGEP Expansion Boards are as follows:

  • IGEP AQUILA EXPANSION (BASE0033)

Binaries: latest stable kernel version is: 3.8.13-1 (20130107)

Platform Sources zImage binary Modules binaries DT BASE0033
 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)

Build kernel from sources

Download the latest stable version sources and follow next steps:

wget http://downloads.isee.biz/pub/releases/linux_kernel/v3.8.13-1/linux-3.8.13-1.tar.gz
tar xzf linux-3.8.13-1.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