From: Philippe Gerum <rpm@xenomai.org>
To: "Marco Antônio Possamai" <marco.possamai@domain.hid>
Cc: XENOMAI <Xenomai-help@domain.hid>
Subject: Re: [Xenomai-help] lite5200b - problems in generating make menuconfig
Date: Thu, 12 Feb 2009 19:05:15 +0100 [thread overview]
Message-ID: <499464DB.9040805@domain.hid> (raw)
In-Reply-To: <20090212153715.08686BE407B@ws1-9.us4.outblaze.com>
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.
prev parent reply other threads:[~2009-02-12 18:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=499464DB.9040805@domain.hid \
--to=rpm@xenomai.org \
--cc=Xenomai-help@domain.hid \
--cc=marco.possamai@domain.hid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.