Support for MPC8323E-RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Support for MPC8323E-RDB

933 Views
narreddisivapra
Contributor II

Hi,

I am using MPC8323E-RDB board and I want to build Linux and Root File System for this board. As you suggested in CD, I tried with LTIB but we are getting some issues with LTIB. So I want to move forward with Buildroot to build linux and RFS images. Is this MPC8323E-RDB supports Buildroot.? is buildroot is supported, which version buildroot is that.? and let us know are there any another ways to build linux image for this target board.?

Please, reply as soon as possible.

Thanks and Regards,

Siva Prakash Reddy

Tags (1)
0 Kudos
10 Replies

672 Views
narreddisivapra
Contributor II

Please, Respond to this query

0 Kudos

672 Views
narreddisivapra
Contributor II

Sir,
      Thanks for your help.

Now, I am geting some other issue while configuring using "./ltib --configure" as follows..

1. when I configuring "Choose your toolchain" as "gcc-3.4.3 glibc-2.3.4 soft float e300c2 powerpc", I am getting following error
message..

scripts/kconfig/conf -s arch/powerpc/Kconfig
:0: error: bad value (e300c2) for -mcpu= switch
:0: error: bad value (e300c2) for -mcpu= switch
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/rpm/BUILD/linux-2.6.20/scripts/gcc-version.sh:
line 13: printf: #: invalid number
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/rpm/BUILD/linux-2.6.20/scripts/gcc-version.sh:
line 13: printf: #: invalid number
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  AS      usr/initramfs_data.o
usr/initramfs_data.S:0: error: bad value (e300c2) for -mcpu= switch
make[1]: *** [usr/initramfs_data.o] Error 1
make: *** [usr] Error 2
error: Bad exit status from
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.50146
(%build)

RPM build errors:
    Bad exit status from
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.50146
(%build)
Build time for kernel-2.6.20-mpc832x_rdb: 2 seconds

Failed building kernel-2.6.20-mpc832x_rdb

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


Started: Mon Nov 14 16:26:37 2016
Ended:   Mon Nov 14 16:26:52 2016
Elapsed: 15 seconds

These packages failed to build:
kernel-2.6.20-mpc832x_rdb
Build Failed

Exiting on error or interrupt


2. When I am configuring " Choose the target C library type" as "C
library package (glibc)", even gcc is installed, it is thrown
following error message..

Processing: glibc
===================
rpmbuild --dbpath
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/rootfs//var/lib/rpm
--target ppc --define '_unpackaged_files_terminate_build 0' --define
'_target_cpu ppc' --define '__strip strip' --define '_topdir
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/rpm' --define '_prefix
/usr' --define '_tmppath
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp' --define '_mandir
/usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
/var' -bc --short-circuit
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/dist/lfs-5.1/glibc/glibc.spec
Building target platforms: ppc
Building for target ppc
Executing(%build): /bin/sh -e
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.32764
+ umask 022
+ cd /home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/rpm/BUILD
+ cd glibc-2.3.2
+ case ${CPU} in
+ FPU_FLAG=yes
++ echo powerpc-linux-gnu-
++ grep gnuspe
+ '[' ']'
+ GLIBC_ADD_ONS=linuxthreads
++ echo powerpc-linux-gnu-
++ perl -n -e 's,-$,,;print'
+ OPT_CFGHOST=powerpc-linux-gnu
+ rm -rf build-glibc
+ mkdir build-glibc
+ cd build-glibc
+ CC=powerpc-linux-gnu-gcc
+ BUILD_CC='/usr/bin/gcc -B/usr/bin//'
+ CFLAGS=-O
+ AR=powerpc-linux-gnu-ar
+ RANLIB=powerpc-linux-gnu-ranlib
+ ../configure --prefix=/usr --build=i686-pc-linux-gnu
--host=powerpc-linux-gnu --enable-kernel=2.4.3 --without-cvs
--disable-profile --disable-debug --without-gd --without-tls
--without-__thread --enable-shared --enable-add-ons=linuxthreads
--with-fp=yes --with-headers=/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/glibc//opt/freescale/rootfs/ppc//usr/include
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf
sysdeps/powerpc/elf
linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32
linuxthreads/sysdeps/unix/sysv/linux/powerpc
linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread
sysdeps/pthread linuxthreads/sysdeps/unix/sysv
linuxthreads/sysdeps/unix linuxthreads/sysdeps/powerpc/powerpc32
linuxthreads/sysdeps/powerpc sysdeps/unix/sysv/linux/powerpc/powerpc32
sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv sysdeps/unix/powerpc sysdeps/unix sysdeps/posix
sysdeps/powerpc/powerpc32/fpu sysdeps/powerpc/powerpc32
sysdeps/wordsize-32 sysdeps/powerpc/soft-fp sysdeps/powerpc/fpu
sysdeps/powerpc sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64
sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking for powerpc-linux-gnu-gcc... powerpc-linux-gnu-gcc
checking version of powerpc-linux-gnu-gcc... 4.2.3, bad
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.
error: Bad exit status from
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.32764
(%build)

RPM build errors:
    Bad exit status from
/home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.32764
(%build)
Build time for glibc: 1 seconds

Failed building glibc

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

Started: Mon Nov 14 16:28:07 2016
Ended:   Mon Nov 14 16:52:02 2016
Elapsed: 1435 seconds

These packages failed to build:
glibc
Build Failed

Exiting on error or interrupt

please help us in understanding these issues.

Why "kernel-2.6.20-mpc832x_rdb " affected at point-1 and "glibc" at
point-2.? But I did not get any issues when I configured for "Choose
your toolchain" as "gcc-4.2.1 eglibc-2.5 multilib PowerPC toolchain"
and "Choose the target C library type" as "C library package (from
toolchain only)", why it is behaving like this.?

Thanks and Regards,
Siva Prakash Reddy N

0 Kudos

672 Views
narreddisivapra
Contributor II

please reply

0 Kudos

672 Views
narreddisivapra
Contributor II
Hi sir,

        I am using MPC8323E-RDB board and trying to build Linux and RFS for this board using iso image downloaded from freescale website. First I ran ./ltib successfully and then I ran "./ltib --configure" and configured required settings, but it is showing error message as below. Please, check the error and help us in understanding and solving that issue

  *
  * Hardware crypto devices
  *
#
# configuration written to .config
#
+ '[' -f /home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/config/platform/mpc832x_rdb/linux_2.6.20-rt_mpc832x_rdb.config ']'
+ cp -f ./.config /home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/config/platform/mpc832x_rdb/linux_2.6.20-rt_mpc832x_rdb.config.dev
+ '[' -n '' ']'
+ '[' '%{kernel_series}' = 2.4 ']'
+ make ARCH=powerpc CROSS_COMPILE= 'HOSTCC=/usr/bin/gcc -B/usr/bin//' uImage
scripts/kconfig/conf -s arch/powerpc/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-powerpc
  CC      arch/powerpc/kernel/asm-offsets.s
  GEN     include/asm-powerpc/asm-offsets.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function 'get_src_version':
scripts/mod/sumversion.c:384: error: 'PATH_MAX' undeclared (first use in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable 'filelist'
make[2]: *** [scripts/mod/sumversion.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
error: Bad exit status from /home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.48584 (%build)


RPM build errors:
    Bad exit status from /home/rnd/Desktop/Iso/ltib-mpc832x_rdb-20081112/tmp/rpm-tmp.48584 (%build)
Build time for kernel-2.6.20-rt-mpc832x_rdb: 62 seconds

Failed building kernel-2.6.20-rt-mpc832x_rdb


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


Started: Tue Nov  8 17:28:22 2016
Ended:   Tue Nov  8 17:33:43 2016
Elapsed: 321 seconds

These packages failed to build:
kernel-2.6.20-rt-mpc832x_rdb
Build Failed

Exiting on error or interrupt
rnd@rnd-laptop:~/Desktop/Iso/ltib-mpc832x_rdb-20081112$

0 Kudos

672 Views
narreddisivapra
Contributor II

Hi,

     I had build ltib and configured successfully. While configuration, I had selected helloworld module but how can I check module installed or not through console view?  I logged into kernel and searched through lsmod command, but i didn't get any module list?
Thanks&Regards,
Siva Prakash.
0 Kudos

672 Views
narreddisivapra
Contributor II

Is there any other support, like ELDK, OpenEmbedded, available for MPC8323E-RDB.?

0 Kudos

672 Views
alexander_yakov
NXP Employee
NXP Employee

We support only what is provided in our Linux BSP. For this board our BSP is based on LTIB.

0 Kudos

672 Views
alexander_yakov
NXP Employee
NXP Employee

We support only what is provided in our Linux BSP. For this board our BSP is based on LTIB.

Using Buildroot may be possible, but this is out of scope of this support.

0 Kudos

672 Views
narreddisivapra
Contributor II

Any other support like ELDK, OpenEmbedded available for MPC8323E-RDB.?

0 Kudos