Hi Frank, Frank Lombardo wrote:
After adding a second MPMC to a design, we are getting the following error while building the software. I have tried to identify the difference between the two projects, but don't see anything that should cause the error. The argument list in question is long, but it is exactly the same as the working single MPMC version. Can anybody shed some light on this situation?
That's very strange. THe only thing I can think of is that, due to the way we export *every* EDK/MHS releated parameter to the kernels .config space, which in term enters the environment variable space of the Makefiles that run, perhaps the addition of this extra MPMC has pushed that environment space past the limit.
I know the reported error is "Argument list too long", but masybe this is a misstatement of the real error that would be something like "out of environment space".
Something you might like to try as a workaround, is delete all of the parameters associated with the MPMCs from the Kconfig.auto file in your arc/hmicroblaze/platform/XXX-YYY directory, and rebuild the whole thing. The MPMC-related params aren't used in the build, it's just the main_memory_start and _size that Linux cares about.
Regards, John
Thanks, Frank Here is the end of the build output:microblaze-uclinux-ar -ro /mnt/projects/image_processing/processor/petalinux-v0.30-rc1/software/petalinux-dist/user/busybox/libbb/libbb.a <followed by a long list of object files with the full path>... make[3]: execvp: microblaze-uclinux-ar: Argument list too longmake[3]: *** [/mnt/projects/image_processing/processor/petalinux-v0.30-rc1/software/petalinux-dist/user/busybox/libbb/libbb.a] Error 127 make[3]: Leaving directory `/mnt/projects/image_processing/processor/petalinux-v0.30-rc1/software/petalinux-dist/user/busybox'make[2]: *** [all] Error 2make[2]: Leaving directory `/mnt/projects/image_processing/processor/petalinux-v0.30-rc1/software/petalinux-dist/user/busybox'make[1]: *** [all] Error 2make[1]: Leaving directory `/mnt/projects/image_processing/processor/petalinux-v0.30-rc1/software/petalinux-dist/user'make: *** [subdirs] Error 1
___________________________ 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/