[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Petalinux "make" failure.
Hi,
I followed the instructions given in the preceeding messages.
I created a new-petalinux-platform, then I ran the "make menuconfig". I modified my hardware project as specified in the documentation. then, I ran the "petalinux-auto-copyconfig" script but it failed.
I repeated the same operations but for choosing the default platform configuration (I ran directly the "make menuconfig" without creating a new platform). I selected as hardware project the Xilinx-Spartan3E500-RevC-lite-edk101. I got exactly the same error when running the "petalinux-copy-autoconfig" script. here the resulting log:
--------------------------------
faiza@Desktop:~/Desktop/petalinux-v0.40-rc4/hardware/user-platforms/Test_0$ petalinux-copy-autoconfig
/home/faiza/Desktop/petalinux-v0.40-rc4/tools/common/petalogix/bin/petalinux-copy-autoconfig: 23: function: not found
Usage:
petalinux-copy-autoconfig OPTIONS [projectfile]
Required:
Optional parameters (and default value):
-p platform
The name of the platform. Auto-detect if not specified.
-v vendor
Vendor name for platform. Auto-detect if not specified.
-k kernel_ver (2.4 / 2.6)
Force kernel version to target. Auto-detect if not specified
Default choice 2.6 kernel
Not recommended
-noupdateconfig
Don't update kernel configuration settings (not recommended).
projectfile
Filename of the EDK platform studio project (system.xmp).
If .xmp suffix is missing it will be inferred.
If a path prefix is specified, the full path and name of the
XMP file must be specified.
Options -p and -v must be specified together. If either is
missing, then an autodetect is attempted.
exit: 52: Illegal number: -1
----------------------------------------------------
Can you please help me understand how to get rid of this error?
Also, if having a Spartan3E500-RevC starter kit with a 10.1 Xilinx tools. what are steps to configure a project , Is it necessary to repeat all steps? what is to be choosed for the "make menuconfig", defaults options or not? (do I have to choose Xilinx as platform or can I choose PetaLogix?) Also, what does mean the "lite-edk-101"? is it to specify the Xilinx software version?
(I cannot use the prebuilt platform because I cannot use the DTE RS-232)
Thanks for your help.
----- Original Message -----
From: "Faiza Ait-Kaci" <faiza.ak@xxxxxxxxxx>
To: microblaze-uclinux@xxxxxxxxxxxxxx
Sent: Monday, July 6, 2009 9:51:45 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [microblaze-uclinux] Petalinux "make" failure.
One more question, if using the reference designs, how to proceed? Do I still have to run the "platform-auto-config" script or not?
Thanks for your answers.
----- Mail Original -----
De: "Faiza Ait-Kaci" <faiza.ak@xxxxxxxxxx>
À: microblaze-uclinux@xxxxxxxxxxxxxx
Envoyé: Lundi 6 Juillet 2009 08h58:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [microblaze-uclinux] Petalinux "make" failure.
Hi,
thanks for your answers.
So, to resume your answers, I have to first execute the script "petalinux-new-platfrm" and then execute a "make menuconfig", after that "petalinux-copy-autoconfig" and again a "make menuconfig".
Is that it?
----- Mail Original -----
De: "Nathan Hillery" <nhillery1@xxxxxxxxx>
À: microblaze-uclinux@xxxxxxxxxxxxxx
Envoyé: Vendredi 3 Juillet 2009 20h58:48 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: [microblaze-uclinux] Petalinux "make" failure.
You'll also have to do 'petalinux-new-platform' first to initially
define the platform.
On Fri, Jul 3, 2009 at 12:27 PM, Nicolas Herve<nicolas.herve@xxxxxxxxx> wrote:
> You first have to `make menuconfig` a first time to select your platform
> then run `petalinux-copy-autoconfig` from your XPS project directory
> and run the `make menuconfig` again to confiture all your system.
>
> Nicolas
>
>
>
> 2009/7/3 <faiza.ak@xxxxxxxxxx>:
>> Hi,
>>
>> I installed the Petalinux distribution as mentioned in the installation guide. After that, I followed the instructions for settings files and for configuration. the "source ./settings.sh" command worked well.
>> Then, the "make config" command gave an error message even if it launched the "selections". Here is the log:
>>
>> --------------------------------------------------------------------------------
>> faiza@Desktop:~/Desktop/petalinux-v0.40-rc4/software/petalinux-dist$ make config
>> grep: /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/.config: No such file or directory
>> config/mkconfig > config.in
>> [: 140: ==: unexpected operator
>> grep: /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/.config: No such file or directory
>> #
>> # No defaults found
>> #
>> *
>> * Vendor/Product Selection
>> *
>> *
>> * Select the Vendor you wish to target
>> *
>> Vendor (PetaLogix, Xilinx) [PetaLogix] (NEW)*
>>
>> ----------------------------------------------------------------------------------
>>
>> I choosed all defaults values and then I launched the "make all" command which failed. here is the resulting log:(only a part of the log is displayed)
>>
>> --------------------------------------------------------------------
>> make -C /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto/. dir_v=/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto/. -f /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/vendors-common.mak romfs.post
>> make[2]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto'
>> make[2]: Nothing to be done for `romfs.post'.
>> make[2]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors/PetaLogix/microblaze-auto'
>> make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/vendors'
>> find /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/romfs/. -name CVS | xargs -r rm -rf
>> u-boot/petalinux-uboot-config
>> u-boot/petalinux-uboot-config: 48: source: not found
>> make -C /home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/u-boot -j1 all
>> make[1]: Entering directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/u-boot'
>> System not configured - see README
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory `/home/faiza/Desktop/petalinux-v0.40-rc4/software/petalinux-dist/u-boot'
>> make: *** [u-boot] Error 2
>> ------------------------------------------------------------------------------
>>
>> I read the README in the u-boot section but did not really understood what actions I should take, can anyone help me please?
>>
>> One more thing, here is the resulting log of the "petalinux-send-configs" script:
>>
>> ---------------------------------------------
>> faiza@Desktop:~/Desktop/petalinux-v0.40-rc4/tools/common/petalogix/bin$ ./petalinux-send-configs
>> ./petalinux-send-configs: 26: function: not found
>> [: 31: ==: unexpected operator
>> ./petalinux-send-configs: 32: Syntax error: "}" unexpected
>> ----------------------------------------------------
>>
>> Thanks for your help.
>>
>>
>> ___________________________
>> microblaze-uclinux mailing list
>> microblaze-uclinux@xxxxxxxxxxxxxx
>> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>>
>>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/