[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] problem using the petalinux-new-platform script



Hi,

I've made it work but I don't know why? If I run it as a shell script it works:

$ source petalinux-new-platform -v Xilinx -p Spartan3E500-RevD -k 2.6

Anyone who knows why I have to do this?

Regards,
Roger


On Nov 12, 2007 7:43 PM, Roger Jönsson <roger.jons@xxxxxxxxx> wrote:
Hi John,

No, I've tried it and that doesn't seem to be the problem. I'll keep looking...

Thanks!

Regards,
Roger


On Nov 12, 2007 6:49 PM, Cor Venner < cor.venner@xxxxxxxxx> wrote:
Hi Roger,
 
a quick guess!
 
Perhaps the "-" in "Spartan3E500-RevD" is considered as the begining of a new option. I can't verify it myself at this moment.
 
Best regards, Cor
 
----- Original Message -----
Sent: Monday, November 12, 2007 4:21 PM
Subject: [microblaze-uclinux] problem using the petalinux-new-platform script

Hi all,

This is probably a newbie question, I'm trying to configure petalinux for a custom HW and when I run the petalinux-new-platform script I get this:

~/petalinux-v0.20-rc3/software/petalinux-dist$ petalinux-new-platform -v Xilinx -p Spartan3E500-RevD -k 2.6

/home/rojo/petalinux-v0.20-rc3/tools/common/petalogix/bin/petalinux-new-platform: 23: function: not found
Usage:
        petalinux-new-platform [-force] [-k kernelver ] [-v vendor] -p platform

Required:
        -p platform     The name of the new platform

Optional parameters (and default value):
        -v vendor       Vendor name for new board (PetaLogix)
  -k kernelver    Kernel version '2.4' or ' 2.6' (2.6)
        -force          Force overwriting an existing platform if required (no).

exit: 35: Illegal number: -1

Any idea of what the error might be?

Thanks!

Regards
Roger