Go to previous topic
Go to next topic
Last Post 21 Feb 2008 07:38 PM by  joncastillo
i.mx31 toolchain for building our patched linux kernel
 2 Replies
Author Messages
joncastillo
New Member
New Member
Posts:


--
21 Feb 2008 10:06 AM
    Hi, apologies for the ignorance.

    I am still in the initial steps of building the linux kernel (based on 2.6.19.2 from kernel.org) using a vmware-emulated redhat linux.
    I have patched the source using linux-2.6.19.2-mx3lite.patch ( downloaded from http://caiaq.org/download...9.2-mx3lite.patch.gz ) without any errors.
    Then I copied linux-2.6.19.2-imx31lite.config ( downloaded from http://caiaq.org/download...9.2-imx31lite.config ) to the kernel source directory as ".config"

    make oldconfig

    no errors and the configuration files have been build.
    but... I have errors when I do:


    [root@localhost linux-2.6.19.2]# make bzImage
    make: /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-6/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc: Command not found
    pBpB CHK include/linux/version.h
    SYMLINK include/asm-arm/arch -> include/asm-arm/arch-mxc
    ln: creating symbolic link `include/asm-arm/arch' to `arch-mxc': Operation not supported
    make: *** [include/asm-arm/.arch] Error 1
    [root@localhost linux-2.6.19.2]#


    because I haven't installed the toolchain
    it's looking for it in:
    /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-6/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc

    where do i get the source, and how do I build it. The gcc from logicpd isn't named that way.

    I am new to this stuff. Please help.. anyone?


    Many thanks in advance,
    Jonathan
    lilja.magnus@gmail.com
    New Member
    New Member
    Posts:


    --
    21 Feb 2008 11:35 AM
    The toolchain your system is trying to use is located on Freescale's BSP ISO image.

    Nowadays Freescale's BSP is based on Linux 2.6.22 and a somewhat newer gcc toolchain. But it should be possible for you to download Freescale's current ISO and install that (http://www.freescale.com/imx31). That will give you a toolchain in /opt/freescale.

    /Lilja
    joncastillo
    New Member
    New Member
    Posts:


    --
    21 Feb 2008 07:38 PM
    Thanks


    ---