<?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のトピックRe: How Would I Build a Kernel Using  My Own &amp;quot;initramfs.cpio.gz&amp;quot; (JB4.3_1.1.0 GA)</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315417#M41581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I found,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take the initramfs.cpio.gz and unpack it (assuming it is compressed). Take initramfs and extract it from the .cpio. You now have the folder with your files in it.&amp;nbsp; I named mine "cpio". Put it in the "kernel_imx folder. Open a terminal follow the procedure to build a kernel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ export PATH=~/mydroid/jb/bootable/bootloader/uboot-imx/tools:$PATH&lt;/P&gt;&lt;P&gt;$ cd ~/myandroid/kernel_imx&lt;/P&gt;&lt;P&gt;$ export ARCH=arm&lt;/P&gt;&lt;P&gt;$ export CROSS_COMPILE=~/mydroid/jb/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-&lt;/P&gt;&lt;P&gt;$ echo $ARCH &amp;amp;&amp;amp; echo $CROSS_COMPILE&lt;/P&gt;&lt;P&gt;$ make distclean&lt;/P&gt;&lt;P&gt;$ make imx6_android_defconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ make menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A menu will come up. Select "General Setup" then select "Initramfs source files". Type in the full path to folder; an example of this:&lt;/P&gt;&lt;P&gt;/home/base/myandroid/kernel_imx/cpio&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(assuming the folder is named "cpio")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select "ok" then "exit" then "exit" again. You will get this in the terminal:&lt;/P&gt;&lt;P&gt;*** End of the configuration.&lt;/P&gt;&lt;P&gt;*** Execute 'make' to start the build or try 'make help'.&lt;/P&gt;&lt;P&gt;Type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ make uImage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a successful build, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the generated kernel image is ~/myandroid/kernel_imx/arch/arm/boot/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;uImage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Every time the "make distclean" is used, the configuration will be cleared. So, it will have to be reset if you want to use it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jun 2014 20:48:37 GMT</pubDate>
    <dc:creator>freewaymad</dc:creator>
    <dc:date>2014-06-08T20:48:37Z</dc:date>
    <item>
      <title>How Would I Build a Kernel Using  My Own "initramfs.cpio.gz" (JB4.3_1.1.0 GA)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315416#M41580</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;How would I build a kernel using my own "initramfs.cpio.gz" (JB4.3_1.1.0 GA) ? I am not sure what to change on the "gen_initramfs_list.sh" to point to my "initramfs.cpio.gz" file.&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 10:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315416#M41580</guid>
      <dc:creator>freewaymad</dc:creator>
      <dc:date>2014-06-06T10:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: How Would I Build a Kernel Using  My Own "initramfs.cpio.gz" (JB4.3_1.1.0 GA)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315417#M41581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I found,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take the initramfs.cpio.gz and unpack it (assuming it is compressed). Take initramfs and extract it from the .cpio. You now have the folder with your files in it.&amp;nbsp; I named mine "cpio". Put it in the "kernel_imx folder. Open a terminal follow the procedure to build a kernel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ export PATH=~/mydroid/jb/bootable/bootloader/uboot-imx/tools:$PATH&lt;/P&gt;&lt;P&gt;$ cd ~/myandroid/kernel_imx&lt;/P&gt;&lt;P&gt;$ export ARCH=arm&lt;/P&gt;&lt;P&gt;$ export CROSS_COMPILE=~/mydroid/jb/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-&lt;/P&gt;&lt;P&gt;$ echo $ARCH &amp;amp;&amp;amp; echo $CROSS_COMPILE&lt;/P&gt;&lt;P&gt;$ make distclean&lt;/P&gt;&lt;P&gt;$ make imx6_android_defconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ make menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A menu will come up. Select "General Setup" then select "Initramfs source files". Type in the full path to folder; an example of this:&lt;/P&gt;&lt;P&gt;/home/base/myandroid/kernel_imx/cpio&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(assuming the folder is named "cpio")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;select "ok" then "exit" then "exit" again. You will get this in the terminal:&lt;/P&gt;&lt;P&gt;*** End of the configuration.&lt;/P&gt;&lt;P&gt;*** Execute 'make' to start the build or try 'make help'.&lt;/P&gt;&lt;P&gt;Type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ make uImage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a successful build, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the generated kernel image is ~/myandroid/kernel_imx/arch/arm/boot/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;uImage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Every time the "make distclean" is used, the configuration will be cleared. So, it will have to be reset if you want to use it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jun 2014 20:48:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315417#M41581</guid>
      <dc:creator>freewaymad</dc:creator>
      <dc:date>2014-06-08T20:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How Would I Build a Kernel Using  My Own "initramfs.cpio.gz" (JB4.3_1.1.0 GA)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315418#M41582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for posting your findings! I’m sure they will help other users on the community!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 21:44:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-Would-I-Build-a-Kernel-Using-My-Own-quot-initramfs-cpio-gz/m-p/315418#M41582</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2014-06-09T21:44:33Z</dc:date>
    </item>
  </channel>
</rss>

