ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] LTIB for MCF 5485(Freescale) gives error


From: Stuart Hughes
Subject: Re: [Ltib] LTIB for MCF 5485(Freescale) gives error
Date: Tue, 28 Jul 2009 10:28:19 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Rohit,

I've looked into this and unfortunately the mcf547x_8x and mcf5445x platforms are were broken by the last merge out from Freescale. It looks like they were in the process of moving to a platform style around this time. What is at Savannah right now should probably be removed. To help fix this, could you ask Freescale support to submit a patch to this list for the latest Coldfire platforms (mcfv4, mcfv4e, mcfv4m) when they're ready.

At the moment from what I can see your best option is to download the Freescale BSP from here:

https://www.freescale.com/webapp/search/Serp.jsp?QueryText=coldfire&fsrch=1&isAdvanceSearch=false&showCustomCollateral=false&RELEVANCE=true&fromTrng=false&showAllCategories=false&Downloads=Downloads%2F020Run-time+Software%2F030Board+Support+Packages&fromPSP=false&SelectedAsset=Downloads&assetLocked=false&assetLockedForNavigation=false&isResult=false&searchSessionId=17e48f61248771653452.0&fromDAP=false&fromWebPages=false&isTree=false&isFromFlex=false&isComparison=false

Regards, Stuart

Rohit Girme wrote:
Hello,

I am trying to build linux kernel for my MCF5485(Freescale board). I downloaded LTIB from www.ltib.org <http://www.ltib.org>. I want to use custom toolchain for building. But when I select MCF5485 in the LTIB settings there is no option to select custom toolchain.

So i changed the main.lkc file in /config/platform/mcf547x-8x.

After this it starts building. At

*Processing: kernel-2.6.24-m547x-8x *

 it waits for a long time at
*
Try linux-2.6.24.tar.bz2 from the GPP*
so I checked if that file is available at *http://bitshrine.org/gpp/*
I couldnt find *linux-2.6.24.tar.bz2 *there.

at the end it gives the followong error message:

Processing: kernel-2.6.24-m547x_8x
====================================
Build path taken because: directory build, build key set, no prebuilt rpm,

rpmbuild --dbpath /home/rohit/ltib/ltib/rootfs//var/lib/rpm --target m68k --define '_unpackaged_files_terminate_build 0' --define '_target_cpu m68k' --define '__strip strip' --define '_topdir /home/rohit/ltib/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/rohit/ltib/ltib/tmp' --define '_rpmdir /home/rohit/ltib/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/rohit/ltib/ltib/tmp/kernel-2.6.24-m547x_8x.spec
Building target platforms: m68k
Building for target m68k
Executing(%build): /bin/sh -e /home/rohit/ltib/ltib/tmp/rpm-tmp.90376
+ umask 022
+ cd /home/rohit/ltib/ltib/rpm/BUILD
+ cd linux-2.6.24
++ eval echo
+++ echo
+ PKG_KERNEL_PATH_PRECONFIG=
++ eval echo
+++ echo
+ PKG_KERNEL_KBUILD_PRECONFIG=
++ eval echo linux-2.6.x.config
+++ echo linux-2.6.x.config
+ PKG_KERNEL_PRECONFIG=linux-2.6.x.config
+ KSRC_DIR=/home/rohit/ltib/ltib/rpm/BUILD/linux-2.6.24
+ : m68k
+ : ccache /usr/bin/gcc -B/usr/bin//
+ : linux-2.6.x.config
+ : /home/rohit/ltib/ltib/config/platform/mcf547x_8x
+ : /home/rohit/ltib/ltib/rpm/BUILD/linux-2.6.24
+ rm -f /home/rohit/ltib/ltib/rpm/BUILD/linux
+ ln -s /home/rohit/ltib/ltib/rpm/BUILD/linux-2.6.24 /home/rohit/ltib/ltib/rpm/BUILD/linux
+ cd /home/rohit/ltib/ltib/rpm/BUILD/linux-2.6.24
+ KBOUT=
+ '[' -n '' -a '' '!=' . ']'
+ KBOUT=.
+ case $LINTARCH in
+ KTARG=uImage
+ SYSCFG_KTARG=uImage
+ '[' linux-2.6.x.config = defconfig ']'
+ for CFG in '"$PLATFORM_PATH/${PKG_KERNEL_PRECONFIG}.dev"' '"$PLATFORM_PATH/$PKG_KERNEL_PRECONFIG"' + '[' -f /home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev ']' + CFG_PATH=/home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev
+ break
+ '[' -z /home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev ']'
+ '[' m68k = ppc -a -f arch/powerpc/Kconfig ']'
+ '[' -n y ']'
+ make ARCH=m68k 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' mrproper
rm -f vmlinux.gz vmlinux.bz2
  CLEAN   scripts/basic
  CLEAN   scripts/kconfig
  CLEAN   include/config
  CLEAN   .config .config.old include/linux/autoconf.h
+ '[' -n /home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev ']' + cp -f /home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev ./.config
+ '[' -z '' -a -n y -o -n '' ']'
+ make ARCH=m68k 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'conf_askvalue':
scripts/kconfig/conf.c:112: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function 'conf_choice':
scripts/kconfig/conf.c:363: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  SHIPPED scripts/kconfig/zconf.tab.c
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/lex.zconf.c:1642: warning: 'input' defined but not used
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/m68k/Kconfig


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

+ '[' -f /home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev ']' + diff -q ./.config /home/rohit/ltib/ltib/config/platform/mcf547x_8x/linux-2.6.x.config.dev
+ '[' -n '' ']'
+ '[' '%{kernel_series}' = 2.4 ']'
+ make ARCH=m68k 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//' uImage
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/m68k/Kconfig
*make: *** No rule to make target `uImage'.  Stop.
error: Bad exit status from /home/rohit/ltib/ltib/tmp/rpm-**tmp.90376 (%build)
*

RPM build errors:
    Bad exit status from /home/rohit/ltib/ltib/tmp/rpm-tmp.90376 (%build)
Build time for kernel-2.6.24-m547x_8x: 8 seconds

Failed building kernel-2.6.24-m547x_8x


f_buildrpms() returned an error, exiting
traceback:
 main:555


Started: Mon Jul 27 13:36:57 2009
Ended:   Mon Jul 27 13:37:16 2009
Elapsed: 19 seconds

These packages failed to build:
kernel-2.6.24-m547x_8x

Build Failed

Exiting on error or interrupt

-----------------------------------------------------------------
I checked the archives and in a post i read that doing 'cvs up' may update few files. I tried that but it still gives me the same error. I am using CodeSourcery toolchain for building the kernel. Please help me out.

Thank You,
Rohit







reply via email to

[Prev in Thread] Current Thread [Next in Thread]