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

Re: [microblaze-uclinux]apparent timeout problems with tftp



Hi Leonid,

Leonid wrote:

Can you boot a cache-enabled kernel with a direct XMD download (not

via
u-boot) - for example with petalinux-jtag-boot script, from your EDK project directory?

I have actually found the reason for this failure. Spartan-2e I'm using
doesn't support HW multiplication which is defined in autoconf.h now. I
kind of knew about that and a long time ago made following change in
./board/petalogix/microblaze-auto/config.mk file:

+ifeq (,$(findstring spartan2,$(CONFIG_XILINX_MICROBLAZE0_FAMILY)))
 ifeq ($(CONFIG_XILINX_MICROBLAZE0_USE_HW_MUL),1)
         HAS_HARD_MULT := y
 endif
+endif

Ah, ok. I'll see about patching this into PetaLinux. Spartan2 is ancient history but obviously a few people (like yourself) are still using it.


After I have implemented for uClinux kernel same change I've done for
u-boot, uClinux kernel got booted on my board. And what a speed - it
just flies! See BogoMIPS for instance:

........................................
Calibrating delay loop... 24.78 BogoMIPS
........................................

It used to be 10 times less, no kidding!

Yep - caches are really not optional for external memory, and uclinux in particular.

Unfortunately kernel boot fails in the end (while starting
applications):

[snip]

After all the changes you've been making, I'd recommend a cmoplete "make clean dep all" to rebuild everything - libs, apps, kernel, romfs, image, everything.

The error you are seeing looks like a budybux build sycnh issue - just clean it all out and rebuild will probably fix it.

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/