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

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



Hi,

I believe you have some troubles with generating of config files for your
multicore system. Maybe you can try Microblaze FDT kernel for multicore with
Petalinux distribution(only for no MMU now). DTS structure should be generate
for both cores and the second one if is connect through bus (OPB or PLB) is
added as point which you can easily remove. For generation use FDT bsp from my
git server(git.monstr.eu) or xilinx one.
More info you can find on my wiki (www.monstr.eu/wiki/).

And for extract parameters with petalogix BSP you can try to remove software
driver from peripherals which you don't need. Periphery without software driver
is not handled by bsp.

Regards,
Michal



> Hi John:
>      Thanks for your help! I am still puzzle about how to disassemble a
> MSS to two MSSs. If I just edit the MSS manually, then how can I switch
> one to another, when XMP file has already set the proper MSS file.
> 
> 2008/8/7 John Williams <jwilliams@xxxxxxxxxxxxxx
> <mailto:jwilliams@xxxxxxxxxxxxxx>>
> 
>     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/