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

Re: [microblaze-uclinux] Fwd: SREC File Upload Issues



Hi Michal,

On Sun, Jan 25, 2009 at 23:09, Michal Simek <monstr@xxxxxxxxx> wrote:
Hi Matt,

> Hi,
>
> I'm having problems uploading my u-boot.srec file.  I've followed
> instructions as outlined on Petlogix's website for setting up uClinux
> for my Xilinx Spartan 3E Starter Kit.  Also, I used their example for
> my .kermrc file for Kermit:
>
> set line /dev/ttyS0
> set speed 115200
>
> set carrier-watch off
> set handshake none
>
> set flow-control none
> robust
>
> set file type bin
> set file name lit
>
> set rec pack 1000
> set send pack 1000
>
> set key \127 \8
> set key \8 \127

remove these two line above


I went ahead and removed the lines you mentioned, same issue with SREC image uploading.
 

>
> set window 5
>
> However, if I download my .bit file to my S3E, press 's' to load my
> SREC image, then issue the following command:
>
>
> cat /tftpboot/u-boot.srec > /dev/ttyS0
>
> Kermit immediately reports "Invalid SREC Image!"  This happens as both
> root and a normal user.


which Petalinux version do you use? Uarlite IP right?

v. 0.30-rc1

 Look to your srec file and
look at CR-LF and try combinations. I think in latest svn version should work
any combination.

Where am I looking for these?  If I tell Cutecom to accept CR-LF, then it sends the SREC file just fine.
 


> However, I tried using Cutecom instead to upload the SREC file, and
> then the twirler started and the image got uploaded.  I feel like
> there's something wrong with my Kermit settings that is sending extra
> control characters.  Also, even though Cutecom uploaded the file,
> Kermit shows that my board gets hung up at:
>
>
> Found romfs @ 0x2414a000 (0x00235000)
> #### klimit 2415b000 ####
>
> Moving 0x00235000 bytes from 0x2414a000 to 0x2415a5c0
> New klimit: 0x24390000


I think that work. Just console doesn't work.
cat linux-2.6.x/System.map | grep __log_buf
0xXXXXXXXX __log_buf

in U-boot md 0xXXXXXXXX

I can't get U-boot to boot yet.


The second test could be if you use emaclite or ll_temac -> try to  connect
through telnet.

Regards,
Michal

Thanks!

Matt