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

Re: [microblaze-uclinux] auto-config file in a split Windows/linux enviroment



Hi Moises,

moises j. cabrera wrote:
i have EDK and ISE tools in Windows and a linux virtual machine where is all petalinux stuff, in old petalinux version i only had to copy "auto-config.in" file in the directory "uClinux2.4-dist/arch/microblaze/platform/uclinux-auto", and that was all information that i had to copy between windows and linux, and then i started to configure my kernel with "make menuconfig", but now i am confused because there is a script called "petalinux-copy-autoconfig", what exactly do this script??

This script does the following:

1. determine which kernel version and vendor/platform combo petalinux-dist is currently configured to build 2. copy the correct file (kconfig.auto or auto-config.in) into the right directory in the linux kernel directory
3. update the configs in the kernel to pickup the new settings

Take a look at the source of the script to see in detail

vi `which petalinux-copy-autoconfig`

in documentation says that i have to share the entire petalinux folder between windows and linux, but i dont want to do that, i want copy only the necesary files from windows to linux (not my entire project), what can i do?

If you have a virutal machine with Linux, why not install the Xilinx tools in there as well, and be happy?! :)

another thing, also in documentation says that for kernel 2.4 it use "auto-config.in", but for kernel 2.6 it use "kconfig.auto", if i want to use kernel 2.6 how can i generate the "kconfig.auto"??, because EDK tools only generated "auto-config.in"

The kernel configuration mechanism changed between 2.4 and 2.6, as did the naming scheme for config dfiles. We had to reflect that.

If you are not getting a 2.6 version Kconfig.auto, it is probably because you have selected the PetaLinux bsp v1.00.a. For 2.6, you must use BSP version 1.00.b (check your MSS file).

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/