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

[microblaze-uclinux] Re: [microblaze-uclinux] Re: [microblaze-uclinux] [microblaze-uclinux] U-boot can’t download “image.ub”



Hi Thierry,
> Hi and thank you for help,
> 
>  
> 
> When I send petaLinux by R232 and I use a simple command line as “ls” or
> “cd” I see that petaLinux is very very slow. For example, the command
> “ls” put 2 seconds to display the file system.
> 
>  
> 
> I am using a Virtex 4 with a Microblaze clocked at 100Mhz. petaLinux is
> built with a 2.6 kernel. On ‘OS’ part of ‘.mss’ file I write 66666667 on
> CORE_CLOCK_FREQ_HZ parameter.
> 
>  
> 
> I think the origin of my problem stems from that. What can I do for
> petaLinux get a better speed? I would like fix this petaLinux slowly
> problem before seeking something else.

I think you don't use caches. Look at bogomips in kernel log -> if is there something below 10
you don't use caches. You should enable them in hw design.

Regards,
Michal
> 
>  
> 
> Cordially,
> 
> Thierry.
> 
> 
> 
> 2009/4/2 Dr. Johann Pfefferl <j.pfefferl@xxxxxxxxx
> <mailto:j.pfefferl@xxxxxxxxx>>
> 
>     Hello,
> 
>     I have found out that it depends also on the tftp server I use.
>     If I install the normal "tftpd" from the debian archive I had the same
>     problems. Now I use the "atftpd" package (advanced TFTP server) and
>     there are no longer any difficulties. u-boot sends some "timeout" and
>     "blksize" information to the tftp server. The normal tftpd ignores this
>     but the atftpd server honors this (especially the timeout stuff).
> 
>     Hope this helps,
>      Hans
> 
>     Thierry BESSIERE <t.bessiere@xxxxxxxxxxxxxxxxxxxxx
>     <mailto:t.bessiere@xxxxxxxxxxxxxxxxxxxxx>> wrote:
>     > Hi,
>     >
>     >
>     >
>     >
>     >
>     > I would like download “image.ub” with a TFTP server but u-boot can’t
>     > download this file. Here is what I have in the hyper terminal:
>     >
>     >
>     >
>     > _______________________________________________________
>     >
>     > Load address: 0x8c000100
>     >
>     > Loading:
>     #################################################################
>     >
>     >          ##########T #T ###########T T T T T T T T
>     >
>     > Retry count exceeded; starting again
>     >
>     > TFTP from server 192.168.0.71; our IP address is 192.168.0.10
>     >
>     > Filename 'image.ub'.
>     >
>     > Load address: 0x8c000100
>     >
>     > Loading: #########################T #############T T T T
>     > #######################
>     >
>     > ####
>     >
>     >          ############T T T T T ###
>     >
>     > Retry count exceeded; starting again
>     >
>     > TFTP from server 192.168.0.71; our IP address is 192.168.0.10
>     >
>     > Filename 'image.ub'.
>     >
>     > Load address: 0x8c000100
>     >
>     > Loading: ############################T T T T T T T T T T
>     >
>     > Retry count exceeded; starting again
>     >
>     > TFTP from server 192.168.0.71; our IP address is 192.168.0.10
>     >
>     > Filename 'image.ub'.
>     >
>     > Load address: 0x8c000100
>     >
>     > Loading: T #T ####T T T T
>     > ######################################################
>     >
>     > ######
>     >
>     >          #############################T T T T
>     >
>     > Retry count exceeded; starting again
>     >
>     > _______________________________________________________
>     >
>     >
>     >
>     > I use these command lines before starting the download:
>     >
>     > _______________________________________________________
>     >
>     > setenv serverip 192.168.0.71
>     >
>     > setenv ipaddr 192.168.0.10
>     >
>     > setenv bootfile image.ub
>     >
>     > ________________________________________________________
>     >
>     > My questions ar the next :
>     >
>     >
>     > 1] Should I validate an option in menuconfig for the TFTP protocol?
>     >
>     >
>     >
>     > 2] On EDK, I must modify the parameters of EMAC?
>     >
>     >
>     >
>     > 3] PetaLinux is very slow on the FPGA, The lost packets can be the
>     > consequence of this?
>     >
>     >
>     >
>     > Best regards.
>     >
>     > Thierry
> 
>     --
>     Dr. Johann Pfefferl   ------------   mailto j.pfefferl at eubus dot net
>     Eubus GmbH          http://www.eubus.net <http://www.eubus.net/>
>     ++++ http://www.ebmhydraxc.com <http://www.ebmhydraxc.com/>
>     Gollierstr. 70
>     D-80339 Muenchen
>     Phone: +49 (0)89 45 22 578-67     Fax: +49 (0)89 45 22 578-55
>     Registergericht Muenchen HRB 145 336, Ust-Id Nr. DE 225 783 933
>     Geschaeftsfuehrer: Volker Ulrich
>     ==
>      -o)   A computer program does what you tell it to do,
>      /\\        not what you want it to do.
>     _\_v-
> 
>     ___________________________
>     microblaze-uclinux mailing list
>     microblaze-uclinux@xxxxxxxxxxxxxx
>     <mailto: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/
> 
> 

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
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/