<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Loading kernel module in Android on iMX6q-sabre SD</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442818#M68084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;I am new with iMX6 board, and recently started work with iMX6 board, and I am trying to port device drivers on this board. I have used ltib for developing &lt;STRONG&gt;Linux kernel 3.0.35&lt;/STRONG&gt; and successfully patched kernel module (.ko) file of the same driver. but while loading same file &lt;SPAN style="line-height: 23.3333339691162px;"&gt;(.ko) using &lt;STRONG&gt;insmod&lt;/STRONG&gt; command on&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; Android (demo image provided by Freescale) which also has kernel 3.0.35 is showing error(Format exec error).I searched Internet and found that this ko file should be digitally signed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;so my question is how can I get rid of this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;the second approach I have used is building the android for the board (Android user guide )and patching the the kernel before building the images.but i am not getting at what stage of this process the module should be loaded..?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Kindly help me out for solving this issue ASAP..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 11:33:13 GMT</pubDate>
    <dc:creator>ankitsoni</dc:creator>
    <dc:date>2015-06-30T11:33:13Z</dc:date>
    <item>
      <title>Loading kernel module in Android on iMX6q-sabre SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442818#M68084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone, &lt;/P&gt;&lt;P&gt;I am new with iMX6 board, and recently started work with iMX6 board, and I am trying to port device drivers on this board. I have used ltib for developing &lt;STRONG&gt;Linux kernel 3.0.35&lt;/STRONG&gt; and successfully patched kernel module (.ko) file of the same driver. but while loading same file &lt;SPAN style="line-height: 23.3333339691162px;"&gt;(.ko) using &lt;STRONG&gt;insmod&lt;/STRONG&gt; command on&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; Android (demo image provided by Freescale) which also has kernel 3.0.35 is showing error(Format exec error).I searched Internet and found that this ko file should be digitally signed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;so my question is how can I get rid of this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;the second approach I have used is building the android for the board (Android user guide )and patching the the kernel before building the images.but i am not getting at what stage of this process the module should be loaded..?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Kindly help me out for solving this issue ASAP..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 11:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442818#M68084</guid>
      <dc:creator>ankitsoni</dc:creator>
      <dc:date>2015-06-30T11:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loading kernel module in Android on iMX6q-sabre SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442819#M68085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you patched the kernel, you have to generate the module as loadable module (.ko, M option in menuconfig). After that you can copy the module in the rootfs and then load it in Android (insmod). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 17:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442819#M68085</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-07-06T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Loading kernel module in Android on iMX6q-sabre SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442820#M68086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Alejandro for reply.. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I have read somewhere for inserting the kernel module you will need digitally signed .ko file. would it be possible to insmod the &lt;STRONG&gt;unsigned&lt;/STRONG&gt; .ko file in android kernel? if is it so then Can you please elaborate the stpes?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 05:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442820#M68086</guid>
      <dc:creator>ankitsoni</dc:creator>
      <dc:date>2015-07-09T05:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Loading kernel module in Android on iMX6q-sabre SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442821#M68087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to recompile the module agains the kernel version you have.&lt;/P&gt;&lt;P&gt;Or recompile the entire kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the BSP Android documents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.6 Building a kernel image&lt;/P&gt;&lt;P&gt;Kernel image is built while building the Android root file system.&lt;/P&gt;&lt;P&gt;If you do not need to build the kernel image, skip this section.&lt;/P&gt;&lt;P&gt;To run the Android platform using NFS or from SD, build the kernel with the default configuration as follows:&lt;/P&gt;&lt;P&gt;Assume you had already built U-Boot. mkimage was generated under myandroid/bootable/bootloader/uboot-imx/tools/ and it&lt;/P&gt;&lt;P&gt;is in your PATH.&lt;/P&gt;&lt;P&gt;$ export PATH=~/myandroid/bootable/bootloader/uboot-imx/tools:$PATH&lt;/P&gt;&lt;P&gt;$ cd ~/myandroid/kernel_imx&lt;/P&gt;&lt;P&gt;$ echo $ARCH &amp;amp;&amp;amp; echo $CROSS_COMPILE&lt;/P&gt;&lt;P&gt;Make sure that you have those two environment variables set. If the two variables are not set, set them as follows:&lt;/P&gt;&lt;P&gt;$ export ARCH=arm&lt;/P&gt;&lt;P&gt;$ export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-&lt;/P&gt;&lt;P&gt;# Generate ".config" according to default config file under arch/arm/configs.&lt;/P&gt;&lt;P&gt;# To build the kernel image for i.MX 6Dual/Quad, 6DualLite, 6Solo, 6SoloLite, and 6SoloX&lt;/P&gt;&lt;P&gt;$ make imx_v7_android_defconfig&lt;/P&gt;&lt;P&gt;# To build the kernel image for i.MX 6Dual/Quad, 6DualLite, and 6Solo&lt;/P&gt;&lt;P&gt;$ make uImage LOADADDR=0x10008000&lt;/P&gt;&lt;P&gt;# To build the kernel image for i.MX 6SoloLite&lt;/P&gt;&lt;P&gt;$ make uImage LOADADDR=0x80008000&lt;/P&gt;&lt;P&gt;# To build the kernel image for i.MX 6SoloX&lt;/P&gt;&lt;P&gt;$ make uImage LOADADDR=0x80008000&lt;/P&gt;&lt;P&gt;The kernel images are found in the folders: ~/myandroid/kernel_imx/arch/arm/boot/zImage and ~/myandroid/kernel_imx/&lt;/P&gt;&lt;P&gt;arch/arm/boot/uImage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 15:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Loading-kernel-module-in-Android-on-iMX6q-sabre-SD/m-p/442821#M68087</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-07-09T15:56:37Z</dc:date>
    </item>
  </channel>
</rss>

