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

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



Hi, John, I have got some improvements, see below.
On Thursday, March 29, 2007 6:45 PM John Williams 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

uClinux has similar place, namely 
.../uClinux-2.4.x/arch/microblaze/platform/Rules.make.

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!

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

IP-Config: Complete:
      device=eth0, addr=192.168.0.203, mask=255.255.255.0,
gw=192.168.0.1,
     host=LM125, domain=, nis-domain=(none),
     bootserver=192.168.0.141, rootserver=192.168.0.141, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 52K
sh: applet not found
init: Booting to single user mode
sh: applet not found
init: /bin/agetty respawning too fast
init: /bin/agetty respawning too fast
......................................

I'm not sure what busybox applet cannot be found - it used to work (we
have older EDK design with older Microblaze core which doesn't have
fancy things like caches or HW MUL). Could be that some member of my
team added something which is not defined in busybox and didn't test
properly... I'll check it out. It's hard to believe that my HW
multiplication disabling (which cannot work anyway) could cause such a
problem.

If you have any ideas how better debug this issue, I'll appreciate that.

Getting closer!

Thanks,

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/