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

Re: [microblaze-uclinux] Multi-core issues in petalinux



Hi,

ruzhu kao wrote:
Hi everyone:
I want to construct a multi-core system which uses a microblaze to run petalinux and uses other microblazes to run some high load tasks. Because microblaze does not provide cache coherent function, it can not use SMP method to couple these cores to a system. I choose a master-slave co-process method to couple my system, so there are some cores just do some assigned tasks and do not run OS. However when I using petalinux-copy-autoconfig shell to generate some parameters for kernels, it says only petalinux OS type can be permitted. How can I solve this issues? It seems that if I using petalinux all microblaze in my system must run OS? If I just omit some parameters on those microblaze cores, how can I let these cores recognize their perpherals' addresses and parameters? How can I solve this problem? Any comments will be welcome? I am also waiting for some brilliant advices on constructing a multi-cores system including hardware and software design and implement. Thank you for your help!

The petalinux-copy-autoconfig script does a rudimentary parse on the MSS file to ensure that the "petalinux' OS type is selected. However, if you have multiple CPUs is fails.

Also remember that the BSP will generate Linux config params for all peripherals mentioned in the MSS file, which might not be what you want.

A couple of ways around this:

* have two different MSS files, and switch between them for targetting the Linux system vs the "standalones", o

* just manually copy the microblaze_0/libsrc/petalinux_v1_00_b/Kconfig.auto file into place.

The -copy-autoconfig script could certainly be made a little smarter in this regard.

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/