* [Xenomai-help] lite5200b - problems in generating make menuconfig
@ 2009-02-12 15:37 "Marco Antônio Possamai"
2009-02-12 18:05 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: "Marco Antônio Possamai" @ 2009-02-12 15:37 UTC (permalink / raw)
To: XENOMAI
[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]
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:
root@domain.hid# 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
--
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com
[-- Attachment #2: Type: text/html, Size: 1934 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] lite5200b - problems in generating make menuconfig
2009-02-12 15:37 [Xenomai-help] lite5200b - problems in generating make menuconfig "Marco Antônio Possamai"
@ 2009-02-12 18:05 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2009-02-12 18:05 UTC (permalink / raw)
To: Marco Antônio Possamai; +Cc: XENOMAI
Marco Antônio Possamai wrote:
> 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]:
>
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.
> 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?
> root@domain.hid# 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.
>
$ 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.
>
>
> Thank you for the attention.
>
> Marco Antônio Possamai
>
> Universidade Federal de Santa Catarina
>
>
> --
> 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
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-12 18:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-12 15:37 [Xenomai-help] lite5200b - problems in generating make menuconfig "Marco Antônio Possamai"
2009-02-12 18:05 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.