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

Re: AW: [microblaze-uclinux] booting uClinux from FLASH








Hi jan


 We are now downloading the OS image(1.4MB) on to the FLASH(on the P160 module)...but it seems to be taking too much time..we are using that "flashdow.tcl/xmdflash.tcl" script to download over JTAG..
its almost taking 1 minute per percentage..so at this rate 
it will take abt 90 min to download the image onto the FLASH....is something terribly wrong?..or is this kind
of download time not very unusual?..otherwise..no
error messages /warnings are printed..and the download is progressing too...its 49 % complete now..its taken abt 45 minutes...

are there any better methods of downloading the image on to the FLASH?..if yes..can you pls let us know abt them?

btw..our board is a memec spartan 2E 600 LC development board(microblaze + uclinux)...its got a FLASH chip (toshiba)
on the P160 extension module..actually its a SRAM FLASH chip...we have separate address maps for both....

but this download speed really seems unusual...

any clarification on this would be welcome....

Thanks and Regards

V.Anand
(www.tenet.res.in)














Hi anad,
>
>I was a little bit to fast, sorry. The old Documentatiopn described this issue in detail, at leat I think it did. You can burn your image.bin into flash using flashtools for xmd
>http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Downloads/_files/flashtools.tar.gz
>
>Check out the demo package
>http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/Downloads/demo_packages.html
>
>Provided by john. In the readme you find how to put your image into flash.
>I hope that helps.
>
>Regards
>Jan
>
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: anand_12 [mailto:anand_12@tenet.res.in] 
>> Gesendet: Montag, 19. Juli 2004 12:14
>> An: microblaze-uclinux@itee.uq.edu.au
>> Betreff: [microblaze-uclinux] booting uClinux from FLASH
>> 
>> 
>> 
>> 
>> Hi all
>> 
>> 
>>  We have a memec spartan 2E (microblaze) board running 
>> uClinux which is directly connected now to the LAN hub with 
>> its own internal IP address.Till now,we were using XMD each 
>> time to download the image on to the SDRAM and then boot from 
>> there.But now we want to use FLASH to boot our image. (I mean 
>> FLASH to store the image,and move it to SDRAM to execute it)
>> 
>>  We have 8MB of FLASH on the P160 extension module(1MB SRAM 
>> also).I have some doubts regarding FLASH :
>> 
>> 1. How do we program the FLASH chip on the board?Are there 
>> any tools by which we can directly download the image onto 
>> the FLASH?If yes,then which image will we download,image.bin 
>> or image.elf??
>> 
>> 2. Microblaze as such is designed to start executing from 
>> physical address 0x00000000 on reset.This is mapped to the 
>> internal BRAM.So is this where our bootloader should reside?
>> 
>> 3. What exactly should the bootloader do?I mean,will the 
>> bootloader assume that there is an image already existing in 
>> the FLASH so that it can just issue instructions to move the 
>> image from FLASH to RAM and then start executing it?
>> 
>>  Otherwise,will the bootloader also burn the image on to the 
>> FLASH and then subsequently move it to RAM?
>> 
>>  I am not very sure about this.Can anybody help me with this?
>> 
>> Now that we have a fully functional ethernet connection on 
>> board,can we  use any net based tool to directly 
>> program/update the FLASH?
>> 
>> I have checked the mailing list posts on the website for any 
>> FLASH related information.Though I did find something about 
>> an 'elfloader' and 'u-boot port for Microblaze'..its usage 
>> and availability was not immediately clear.
>> 
>> Can we use XMD to download the image on to the FLASH?
>> 
>> 
>> Thanks in advance for any information in this regard.
>> 
>> Cheers
>> 
>> V.Anand
>> (www.tenet.res.in)
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ****************************************
>> 
>> -----
>>   Trouble with windows? Re boot.... 
>>   Trouble with Linux? Be root....
>> ___________________________
>> microblaze-uclinux mailing list 
>> microblaze-uclinux@itee.uq.edu.au Project Home Page : 
>http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
>
>-- 
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
>
>-- 
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
>
>
>___________________________
>microblaze-uclinux mailing list
>microblaze-uclinux@itee.uq.edu.au
>Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
****************************************

-----
  Trouble with windows? Re boot.... 
  Trouble with Linux? Be root....
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/