This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI8148 psp linux kernel; piggy.gzip.o: Unknown CPU architecture

Hi,

I am having a problem when building the TI81XX-LINUX-PSP-04.04.00.02/src/kernel/linux-04.04.00.02 kernel (uImage in particular).

Towards the End, I am getting the following errors:

  LD      arch/arm/boot/compressed/vmlinux
arm-none-linux-gnueabi-ld: error: arch/arm/boot/compressed/piggy.gzip.o: Unknown CPU architecture
arm-none-linux-gnueabi-ld: error: arch/arm/boot/compressed/lib1funcs.o: Unknown CPU architecture

I am building using the following command:

make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage

And, yes, I am using linux Cross-compiling tools that are obtained from Gentoo/Debian, not the arago tools.

Can anyone tell me what I need to fix on these files for the system to know what the CPU architecture is?

My tools are:Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/arm-none-linux-gnueabi/gcc-bin/4.8.1/arm-none-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/arm-none-linux-gnueabi/4.8.1/lto-wrapper
Target: arm-none-linux-gnueabi
Configured with: /var/tmp/portage/cross-arm-none-linux-gnueabi/gcc-4.8.1-r1/work/gcc-4.8.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/arm-none-linux-gnueabi/gcc-bin/4.8.1 --includedir=/usr/lib/gcc/arm-none-linux-gnueabi/4.8.1/include --datadir=/usr/share/gcc-data/arm-none-linux-gnueabi/4.8.1 --mandir=/usr/share/gcc-data/arm-none-linux-gnueabi/4.8.1/man --infodir=/usr/share/gcc-data/arm-none-linux-gnueabi/4.8.1/info --with-gxx-include-dir=/usr/lib/gcc/arm-none-linux-gnueabi/4.8.1/include/g++-v4 --host=i686-pc-linux-gnu --target=arm-none-linux-gnueabi --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --without-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/arm-none-linux-gnueabi/4.8.1/python --enable-poison-system-directories --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --with-sysroot=/usr/arm-none-linux-gnueabi --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.1-r1 p1.2, pie-0.5.7'
Thread model: posix
gcc version 4.8.1 (Gentoo 4.8.1-r1 p1.2, pie-0.5.7)

and

#arm-none-linux-gnueabi-ld --version

GNU ld (GNU Binutils) 2.22.90.20120727
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

Sorry if this is a dumb question.

Thanks,

  • Hi James,

    JRasmussen said:

    I am building using the following command:

    make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage

    You are missing the TI814x platform default configuration "ti8148_evm_defconfig", refer to the below wiki page:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Compiling_Linux_Kernel

    $ make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm ti8148_evm_defconfig

    $ make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm uImage

    Regards,
    Pave
  • Thank you, and, yes, in additional to your post, my cross compiling from gentoo was also a newer revision that doesn't work with the old kernel versions (2.6.37).  I got the arago tools directly from the arago project site that are similiar to my tools, except that their tools are an older version (my gentoo was gcc v4.8.1 where arago's version is gcc v4.5.3).

    Thanks,