John Williams wrote:
Hi Finn,On Mon, Mar 16, 2009 at 11:30 PM, Finn Stadel Nielsen <finnstadel@xxxxxxxxxx <mailto:finnstadel@xxxxxxxxxx>> wrote:I'm compiling petalinux distrib for a newly defined platform (MPL3E) Is the MPMC controller (version 4) supported by petalinux ? I'm getting the output below when I run make - it fails to link built-in.o/home/fn/projects/mpl3e/linux/petalinux-v0.30-rc1/tools/linux-i386/microblaze-uclinux-tools/bin/microblaze-uclinux-ld.real: cannot open arch/microblaze/platform/common/built-in.o: No such file or directory make[2]: *** [arch/microblaze/platform/built-in.o] Error 1 make[1]: *** [arch/microblaze/platform] Error 2 make[1]: *** Waiting for unfinished jobs....This error occurs when you have not enabled any of the standard peripherals - uartlite / uart16550, ethernet, none of them. The Makefile for the platform device initialisers in arch/microblaze/platform/common assumes at least one of the will exist.You can find a simple workaround here:http://www.google.com.au/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fwww.itee.uq.edu.au%2F~listarch%2Fmicroblaze-uclinux%2Farchive%2F2007%2F12%2Fmsg00024.html&ei=SNG-Sf7PG8nUkAWhxvCkCA&usg=AFQjCNHsu7rjyyE8JKQJZvHI8sXDVptIOA&sig2=ukcw3FRKgobWUO_3TCv7bw <http://www.google.com.au/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fwww.itee.uq.edu.au%2F%7Elistarch%2Fmicroblaze-uclinux%2Farchive%2F2007%2F12%2Fmsg00024.html&ei=SNG-Sf7PG8nUkAWhxvCkCA&usg=AFQjCNHsu7rjyyE8JKQJZvHI8sXDVptIOA&sig2=ukcw3FRKgobWUO_3TCv7bw>Regards, John -- John Williams, PhD, B.Eng, B.IT <http://B.IT> PetaLogix - Linux Solutions for a Reconfigurable Worldw: www.petalogix.com <http://www.petalogix.com> p: +61-7-30090663 f: +61-7-30090663
Hello all and John,Thanks John for the update of how things are going with petalogix and linux for microblaze. Guess you'll be working remote with Michal (or did he move down under.. ?). He did a good job of making a generic platform for microblaze systems on u-boot (this should go into the Petalogix distrib).
--I had to remove all signs of the MPMC and define ERAM parameters manually to get things going.
And yes I apparently didn't have the uartsimple driver enabled in linux. I used a script to create a new vendor platform and the kernel config was apparently a bit "skinny". So I took the Xilinx Spartan-3E1600 board config as a starting point instead. Now things are compiling. Last build obstacle is regarding cramfs:
"/home/fn/projects/mpl3e/linux/petalinux-v0.30-rc1/software/petalinux-dist/user/cramfs/mkcramfs.c:38:18: error: zlib.h: No such file or directory /home/fn/projects/mpl3e/linux/petalinux-v0.30-rc1/software/petalinux-dist/user/cramfs/mkcramfs.c: In function âcramsortâ: /home/fn/projects/mpl3e/linux/petalinux-v0.30-rc1/software/petalinux-dist/user/cramfs/mkcramfs.c:157: warning: assignment discards qualifiers from pointer target type /home/fn/projects/mpl3e/linux/petalinux-v0.30-rc1/software/petalinux-dist/user/cramfs/mkcramfs.c:158: warning: assignment discards qualifiers from pointer target type
/ " But that will be hacked in place tomorrow.My goal is to have the MPL3E module+evaluation, board up and running. There's a lot of peripherals on it so a lot of driver work will be done. I'd also like to see it running directFB as soon as possible, as linux and directFB is a good platform for many applications.
For anyone who wonders what MPL3E is, have a look at the website: www.morphologic.dk
Good night/morning, Finn -- Finn S. Nielsen Morphologic ApS Denmark Tlf. +45 44 91 43 41 Web: www.morphologic.dk ___________________________ 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/