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

RE: [microblaze-uclinux] loading a file onto the flash card



Hi Todd,

> I was wondering if anyone could tell me how to put 
> my system onto a flash drive so that I could load the program 
> when I turn on my development board. I am using the XUPV2PRO 
> board in my design which has a SysAce chip and flash drive 
> that I can slide into the card slot, turn on the board and 
> load my program. All I need to know is how to put the image 
> onto the flash drive? Can someone help me out? Thanks.

We have used this combination a while ago, before switching
to the ppc.
We have implemented a little boot loader which loads the image from
a separate partition of the compact flash card. The kernel partition
is written raw using dd either from a PC + card reader or from a running
uClinux with system ace driver. The boot loader just copies the raw 
data from this partition to the memory and afterwards jumps to the
start address. By this approach we can change the kernel easily
without having to generate the ace file. Furthermore we have several
images on the CF Card to choose from. So in the case that a new
kernel does not run properly, we can start another kernel.
Another advantage of using a CF Card is, that you can put your
programs onto the CF Card as well, so that you do not have to 
exchange the whole image.bin when developing user applications.

Cheers,
Erik

****************************
Erik Hansen
SHF Communication Technologies AG
Wilhelm-von-Siemens-Str. 23D
12277 Berlin
Germany
phone: +49 (30) 77 20 51 0
fax  : +49 (30) 75 31 07 8
****************************
 

> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxx 
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of 
> Todd Harless
> Sent: Thursday, November 03, 2005 10:10 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: [microblaze-uclinux] loading a file onto the flash card
> 
> 
> I hope that this is written to everyone and not just one 
> person but I was wondering if anyone could tell me how to put 
> my system onto a flash drive so that I could load the progam 
> when I turn on my development board. I am using the XUPV2PRO 
> board in my design which has a sysace chip and flash drive 
> that I can slide into the card slot, turn on the board and 
> load my program. All I need to know is how to put the image 
> onto the flash drive? Can someone help me out? Thanks.
> 
> Todd Harless
> 
> -- 
> 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@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/