Let's use plain text, don't use HTML: saves a lot of place in mailbox!
On Wednesday, January 03, 2007 2:04 PM Jose Torres wrote:
... on my Spartan 3e starter kit (Rev. D). I would like to share some
of
the problems I ran into while trying to get it to work. Hope this
helps.
I use Rev C but some problems are common I guess.
Problem 1
One of the first problems I ran into was when I tried to build
petalogix
under cygwin.
I suggest you to use native Linux environment. If you still want use
Windows PC as your desktop, connect to Linux box via VNC. That's what
I'm doing myself - extremely convenient.
Also, when the documentation states that I should run that command, it
would be helpful to clarify that "petalinux-copy-autoconfig
<myprojectname>.xmp" would also work. Before I knew this I had to
rename
my system.xmp file.
I didn't have much problems creating my own project from their reference
design. I didn't rename system.xmp file - project names can be derived
from path.
Another problem is with the documentation. When it states that I need
to
run "make menuconfig" in the petalinux-dist folder, it never tells me
that > I need to rename the uclinux folder to " linux-2.4.x" and copy it
into the > petalinux-dist folder.
And you don't need to. Something wrong with your Petalogix installation.
If you opened up petalogix distro carefully, it creates logical link in
proper place, so you don't need to copy anything:
[leonid@sohail-desktop petalinux-dist]$ ls -al linux-2.4.x
lrwxrwxrwx 1 leonid leonid 16 Dec 27 07:02 linux-2.4.x ->
../uClinux-2.4.x
[leonid@sohail-desktop petalinux-dist]$ pwd
/home/leonid/LM125/uClinux/petalinux-v0.10-rc1/software/petalinux-dist
[leonid@sohail-desktop petalinux-dist]$
There is a major problem during "make all" where it tried to read "
autoconf.h" but throws errors due to the way the file is formatted.
Same here. I guess this is because Windows has \r\n in the end of which
line and some Petalogix scripts pick up this \r symbols. I use xemacs to
replace them in one shot, but it's temporary solution of course.
I wrote a script that would copy the fixed file to the "petalinux-
dist/linux-2.4.x/include/linux" folder.
Can you send me your script please?
Problems 4,5 I didn't notice.
Problem 6
I ran into an error with u-boot where after executing the command
"autoscr > $(fileaddr)" to execute ub.config.img. It would say "cannot
overwrite
ethaddr". After searching around the internet for a while I found out
that > it is necessary to first set ethaddr to null with the command
"setenv
ethaddr="
That's right.
Problem 7
Lastly, I tried running "coninfo" in uboot and was greeted with an
infinite loop. Do not run this command at this time.
Same here.
Regards,
Leonid.
___________________________
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/
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.4/615 - Release Date: 3.1.2007
13:34