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

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



Well, I tried to rebuild everything from scratch, still same problem
with busybox. SH is configured in BUSYBOX however:

CONFIG_USER_BUSYBOX_SHELL=y
# CONFIG_USER_BUSYBOX_ASH is not set
# CONFIG_USER_BUSYBOX_SH_IS_ASH is not set
# CONFIG_USER_BUSYBOX_HUSH is not set
# CONFIG_USER_BUSYBOX_SH_IS_HUSH is not set
# CONFIG_USER_BUSYBOX_LASH is not set
# CONFIG_USER_BUSYBOX_SH_IS_LASH is not set
CONFIG_USER_BUSYBOX_MSH=y
CONFIG_USER_BUSYBOX_SH_IS_MSH=y
CONFIG_USER_BUSYBOX_COMMAND_EDITING=y
CONFIG_USER_BUSYBOX_COMMAND_SAVEHISTORY=y
CONFIG_USER_BUSYBOX_COMMAND_TAB_COMPLETION=y
CONFIG_USER_BUSYBOX_COMMAND_USERNAME_COMPLETION=y
CONFIG_USER_BUSYBOX_TAB_COMPLETION=y
CONFIG_USER_BUSYBOX_USERNAME_COMPLETION=y
CONFIG_USER_BUSYBOX_SH_STANDALONE_SHELL=y
CONFIG_USER_BUSYBOX_SH_APPLETS_ALWAYS_WIN=y
CONFIG_USER_BUSYBOX_SH_FANCY_PROMPT=y
CONFIG_USER_BUSYBOX_SH_EXTRA_QUIET=y
# CONFIG_USER_BUSYBOX_SHA1SUM is not set
# CONFIG_USER_BUSYBOX_SLEEP is not set



-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
Williams
Sent: Thursday, March 29, 2007 7:53 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: 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/


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