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

Re: [microblaze-uclinux] Petalinux Unofficial Bug Report



Hi Leonid and Jose,
About u-boot problems.

I did some crucial u-boot changes.
0. U-boot has implementation only for Suzaku board (for Microblaze). but this port has many problem.

1. Microblaze port isn't as complex as PowerPC port. e.g. - u-boot for Microblaze hasn't implemented command as coninfo (I think because I don't imlemented this function).

2. My patch isn't in u-boot tree because I had problem with submit my patch (Problems about indentation, etc., I clear it, but Wolfgang doesn't send me any reply till now.)

3. My changes are on my site www.monstr.eu
* Added support for Microblaze Xilinx ml401 board.
* Added support emac for Microblaze
* Added board info for Microblaze
* Added treatment exception for Microblaze
* Added support work with caches for Microblaze
* Added interrupt handler rutine for Microblaze
* Added low level interrupt handler rutine for Microblaze
* Added new features to board.c for Microblaze
* Added timer support for Microblaze
* Added new start.S - low level init for Microblaze
* Added config file for Xilinx ml401 Microblaze board

4. About your problem 6.
Autoscr is command which starting next command inside image. Our command may be setenv ethaddr 00:01:02:03:04:05 inside image file. I think that it shouldn't be any problem.

If you are solving any problem about U-BOOT on Microblaze, please contact me.

Best regards
Michal Simek


----- Original Message ----- From: "Leonid" <Leonid@xxxxxxxxx>
To: <microblaze-uclinux@xxxxxxxxxxxxxx>
Sent: Thursday, January 04, 2007 12:42 AM
Subject: RE: [microblaze-uclinux] Petalinux Unofficial Bug Report


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



___________________________
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/