Changes between Version 1 and Version 2 of Z2Mainline

Show
Ignore:
Author:
ConradPino (IP: 67.188.106.242)
Timestamp:
10/17/09 01:20:54 (11 months ago)
Comment:

more indents; expose URLs

Legend:

Unmodified
Added
Removed
Modified
  • Z2Mainline

    v1 v2  
    11The community around Z2 works on preparing a clean patchset for mainline Linux kernel for later inclusion in mainline Linux kernel. 
    22 
    3 Preliminary version of the patchset can be obtained from Subversion repository using the following command:[[BR]] 
    4 {{{ 
    5 svn co https://openzipit.svn.sourceforge.net/svnroot/openzipit openzipit 
    6 }}} 
    7 [http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/recipes/linux/linux-zipit2-2.6.29.tar.gz?view=tar You can use this link in case you have issues with SVN] 
     3Preliminary version of the patchset can be obtained from Subversion repository using the following command: 
    84 
    9 You can also browse the SVN repository by pointing your webbrowser to one of the following addresses:[[BR]] 
    10 [http://openzipit.svn.sourceforge.net/viewvc/openzipit/ Root of SVN repository][[BR]] 
    11 [http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/recipes/linux/linux-zipit2-2.6.29/ Linux 2.6.29 patches] 
     5  {{{svn co https://openzipit.svn.sourceforge.net/svnroot/openzipit openzipit}}} 
    126 
    13 Further information about this patchset and progress being made can be found on the following blog:[[BR]] 
    14 [http://sweetlilmre.blogspot.com/ Sweetlilmre's 1337 beef blog] 
     7You can use this link in case you have issues with SVN: http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/recipes/linux/linux-zipit2-2.6.29.tar.gz?view=tar 
    158 
    16 Some more information about Z2 mainline can be also found on this blog:[[BR]] 
    17 [http://marex-hnd.blogspot.com Marex's Linux on your palm blog] 
     9You can also browse the SVN repository by pointing your web browser to one of the following addresses: 
     10 * SVN repository root: http://openzipit.svn.sourceforge.net/viewvc/openzipit/ 
     11 * Linux 2.6.29 patches: http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/recipes/linux/linux-zipit2-2.6.29/ 
     12 
     13Further information about this patchset and progress being made can be found on the following blog: 
     14 * Sweetlilmre's 1337 beef blog: http://sweetlilmre.blogspot.com/ 
     15 
     16Some more information about Z2 mainline can be also found on this blog: 
     17 * Marex's Linux on your palm blog: http://marex-hnd.blogspot.com/ 
    1818 
    1919Compiling the new kernel is quite straightforward, though you have to be aware of few things before. 
    20  * Firstly, you have two options on compiling the kernel, either use the [http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/Makefile?revision=19 Makefile from OpenZipit SVN] and build the whole thing including userspace using OpenEmbedded as described [http://sweetlilmre.blogspot.com/2009/04/new-oe-build.html here] or build the kernel by hand which is described in the following steps. 
    21  * Secondly, you can't compile the kernel using normal GCC you have on your PC, you'll need a crosscompiler. A suitable crosscompiler can be found either: 
    22   * In your distribution (called something like ''arm-linux-gcc'', for example Debian has Emdebian toolchain available [http://wiki.debian.org/EmdebianToolchain here]) 
    23   * On [http://www.codesourcery.com/ CodeSourcery]s website 
    24   * Built using [http://wiki.openembedded.net/index.php/Getting_started OpenEmbedded]. 
    25  * Thirdly, the patchset is against vanilla linux-2.6.29, so obtain the vanilla kernel source [http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 here]. 
    26  * Then just follow the kernel bitbake file (available [http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/recipes/linux/linux-zipit2_2.6.29.bb?revision=18 here]) and apply the patches in specified order (using patch -Np1 -i <patch>). In the end, copy the ''defconfig'' file into the root of your new kernel tree and rename it to ''.config''. Now you are ready to start compiling the new kernel by issuing the following commands: 
    27 {{{ 
    28 make TARGET=ARM CROSS_COMPILE=your-crosscompiler-prefix- menuconfig # optional, run this in case you want to fine-tune the kernel configuration 
    29 make TARGET=ARM CROSS_COMPILE=your-crosscompiler-prefix- # this compiles the kernel 
    30 INSTALL_MOD_PATH=/somewhere make TARGET=ARM CROSS_COMPILE=your-crosscompiler-prefix- modules_install # this installs modules into /somewhere, you don't want to mix them with your systems' ones 
     20 1. You have two options on compiling the kernel, use either: 
     21  1. Makefile from !OpenZipit SVN: 
     22   1. Download: http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/Makefile?revision=19 
     23   1. and build the whole thing including userspace using OpenEmbedded as described at http://sweetlilmre.blogspot.com/2009/04/new-oe-build.html 
     24  1. or build the kernel by hand which is described in the following steps: 
     25 1. You can't compile the kernel using normal GCC you have on your PC, you'll need a crosscompiler. A suitable crosscompiler can be found either: 
     26  1. In your distribution (called something like ''arm-linux-gcc'', for example Debian has Emdebian toolchain available [http://wiki.debian.org/EmdebianToolchain here]) 
     27  1. On [http://www.codesourcery.com/ CodeSourcery]s website 
     28  1. Built using [http://wiki.openembedded.net/index.php/Getting_started OpenEmbedded]. 
     29 1. The patchset is against vanilla linux-2.6.29, so obtain the vanilla kernel source at http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2 
     30 1. Then just follow the kernel bitbake file available at http://openzipit.svn.sourceforge.net/viewvc/openzipit/oe/zipit2/recipes/linux/linux-zipit2_2.6.29.bb?revision=18 
     31 1. Apply the patches in specified order using: {{{patch -Np1 -i <patch>}}} 
     32 1. Copy the '''{{{defconfig}}}''' file into the root of your new kernel tree and rename it to '''{{{.config}}}''' 
     33 1. Now you are ready to start compiling the new kernel by issuing the following commands: 
     34 {{{ 
     35# optional, run this in case you want to fine-tune the kernel configuration 
     36make TARGET=ARM CROSS_COMPILE=your-crosscompiler-prefix- menuconfig 
     37 
     38# this compiles the kernel 
     39make TARGET=ARM CROSS_COMPILE=your-crosscompiler-prefix- 
     40 
     41# this installs modules into /somewhere, you don't want to mix them with your systems' ones 
     42INSTALL_MOD_PATH=/somewhere 
     43make TARGET=ARM CROSS_COMPILE=your-crosscompiler-prefix- modules_install 
    3144}}} 
    32  * The result will be file called ''arch/arm/boot/zImage'' (the compressed kernel image) and modules installed under ''/somewhere'' (you can obviously change this to something sane) 
    33  * To flash the new kernel, use the utility (this step can brick your device, do at your own risk) available [http://sourceforge.net/projects/openzipit/files/autoflasher/AutoFlasher-r2.zip/download here]. 
     45 1. The result will be: 
     46  1. kernel file called: '''{{{arch/arm/boot/zImage}}}''' (the compressed kernel image) 
     47  1. and modules installed under: '''{{{/somewhere}}}''' (you can obviously change this to something sane) 
     48 1. To flash the new kernel, use the utility (this step can brick your device, do at your own risk) available at http://sourceforge.net/projects/openzipit/files/autoflasher/AutoFlasher-r2.zip/download