Skip to contentSkip to conversation

lite5200b - problems in generating make menuconfig

Xenomai-help Marco Antônio Possamai 2 participants 2 messages Feb 12, 2009

lore
Share & tools
lore
#0 lore raw

Greetings.

I need to create a 2.6.24 powerpc kernel image. So I did:

$ export CROSS_COMPILE=ppc_6xx-
$ git clone git://git.denx.de/linux-2.6-denx.git
$ export KDIR=$PWD/linux-2.6-denx
$ svn co http://svn.gna.org/svn/xenomai/branches/v2.4.x xenomai-2.4.x
$ export XDIR=$PWD/xenomai-2.4.x
$ cd $KDIR
$ git checkout origin/DENX-v2.6.24-stable
$ git checkout -b origin/DENX-v2.6.24-stable
$ cd $XDIR
$ scripts/prepare-kernel.sh --linux=$KDIR --verbose --arch=powerpc

The following shows:

Adeos patch [default /home/user/xenomai-2.4.x/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.24-powerpc-DENX-2.1-01.patch]:

Right after I get the adeos-ipipe-2.6.24 patch for powerpc installed I use the make ARCH=powerpc mpc5200_defconfig and it gets to:

[email protected]# make ARCH=powerpc mpc5200_defconfig
HOSTCC  scripts/basic/fixdep
HOSTCC  scripts/basic/docproc
HOSTCC  scripts/kconfig/conf.o
HOSTCC  scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC  scripts/kconfig/zconf.tab.o
HOSTLD  scripts/kconfig/conf
file arch/powerpc/xenomai/Kconfig already scanned?
make[1]: ** [mpc5200_defconfig] Erro 1
make: ** [mpc5200_defconfig] Erro 2

Well, I don't know what's wrong with it. I've also tried the lite5200_defconfig and it resulted the same error messages.

Thank you for the attention.

Marco Antônio Possamai

Universidade Federal de Santa Catarina

Signature · 3 lines
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
#1 lore raw
Quoted 16 lines · Marco Antônio Possamai

Greetings.

I need to create a 2.6.24 powerpc kernel image. So I did:

$ export CROSS_COMPILE=ppc_6xx-
$ git clone git://git.denx.de/linux-2.6-denx.git
$ export KDIR=$PWD/linux-2.6-denx
$ svn co http://svn.gna.org/svn/xenomai/branches/v2.4.x xenomai-2.4.x
$ export XDIR=$PWD/xenomai-2.4.x
$ cd $KDIR
$ git checkout origin/DENX-v2.6.24-stable
$ git checkout -b origin/DENX-v2.6.24-stable
Quoted 8 lines
$ cd $XDIR
$ scripts/prepare-kernel.sh --linux=$KDIR --verbose --arch=powerpc

The following shows:

Adeos patch [default /home/user/xenomai-2.4.x/ksrc/arch/powerpc/patches/adeos-ipipe-2.6.24-powerpc-DENX-2.1-01.patch]:

This is not related, but you should upgrade your I-pipe patch, there are at least two candidates for 2.6.24:
http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6.24-powerpc-DENX-2.1-04.patch
http://download.gna.org/adeos/patches/v2.6/powerpc/older/adeos-ipipe-2.6.24.6-powerpc-DENX-2.4-03.patch

DENX-2.6.24-stable is fairly outdated as well; DENX-v2.6.26-stable or maybe .27 would be better. I suspect the Xenomai distro you are using is outdated as well,
probably 2.4.3. 2.4.6.1 is the current -stable, and 2.4.7 is pending for release.

Quoted 3 lines

Right after I get the adeos-ipipe-2.6.24 patch for powerpc installed I use the make ARCH=powerpc mpc5200_defconfig and it gets to:

There is no mpc5200_defconfig in DENX-v2.6.24-stable; the proper defconfig is lite5200_defconfig. Is mpc5200_defconfig a file of yours?

Quoted 14 lines
[email protected]# make ARCH=powerpc mpc5200_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
file arch/powerpc/xenomai/Kconfig already scanned?
make[1]: ** [mpc5200_defconfig] Erro 1
make: ** [mpc5200_defconfig] Erro 2
Quoted 3 lines

Well, I don't know what's wrong with it. I've also tried the lite5200_defconfig and it resulted the same error messages.

$ git checkout -b 2.6.24-xeno origin/DENX-v2.6.24-stable
$ $XDIR/scripts/prepare-kernel.sh --arch=powerpc --linux=.
$ make ARCH=powerpc CROSS_COMPILE=ppc_6xx- lite5200_defconfig
<edit config as needed>
$ make ARCH=powerpc CROSS_COMPILE=ppc_6xx-

If you really want to build from the user-space Xenomai tree instead, then refer to §1.4 in README.INSTALL.

Quoted 21 lines

Thank you for the attention.

Marco Antônio Possamai

Universidade Federal de Santa Catarina

Signature · 11 lines
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a *Free* Account at www.mail.com <http://www.mail.com/Product.aspx>!


------------------------------------------------------------------------

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.