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

Re: [microblaze-uclinux] Non-standard PetaLinux Installations



Hello John,

this surprises me. I build my hardware on a Windows machine. Next I copy the complete project directory into the Petalinux\hardware structure. Next I perform a "petalinux-copy-autoconfig" and I start the build. This is unsuccesful due to options with invalid value.

I have checked this scriptfile, I see only a straight copy:

     function copy_autoconfig_file {
    # Make a backup copy, just in case
mv ${KERNEL_PLATFORM_PATH}/${AUTOCONFIG} ${KERNEL_PLATFORM_PATH}/${AUTOCONFIG}.old > /dev/null 2>&1

            # Copy into kernel platform path
cp ${AUTOCONFIG_FILE} ${KERNEL_PLATFORM_PATH}/${AUTOCONFIG} || (print_stderr "ERROR: Unable to copy ${AUTOCONFIG}" && exit -1);
    }


Best regards, Cor

----- Original Message ----- From: "John Williams" <jwilliams@xxxxxxxxxxxxxx>
To: <microblaze-uclinux@xxxxxxxxxxxxxx>
Sent: Tuesday, November 13, 2007 12:04 AM
Subject: Re: [microblaze-uclinux] Non-standard PetaLinux Installations


Hi Cor,

Cor Venner wrote:
In the documentation on "Non-standard PetaLinux Installations" you give the following warning: "It is important to extract the PetaLinux installer archive from within the Linux environment, not Windows/Cygwin. This is due to handling of linefeed / carriage return characters in Windows."

Perhaps it is a good idea to extend this with the tip that carriage returns have to be removed from "auto-config.in" as well in order to have a correct build of a 2.4 kernel.

Good point. petalinux-copy-autoconfig does this automatically, however if in a split win/linux environment you're probably not using this script.

I'll update the doco.

Regards,

John
___________________________
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/