2008-12-07 18:17:29     write new linux image to memory

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2008-12-07 18:17:29     write new linux image to memory

John Doe (UNITED STATES)

Message: 66481   

 

I thought that I had seen how to write a new compressed image to the bf537-stamp board somewhere on doc.blackfin.uclinux.org but now I cant seem to find it. I saw how to put a new uboot image on but then got to thinking if the linux image was compiled with it. A little confused as usual so if someone could give me a site or which file needs to be written where it would be helpfull thanks in advance.

 

PS i need to do this by the 10th of this month

QuoteReplyEditDelete

 

 

2008-12-07 18:39:25     Re: write new linux image to memory

Mike Frysinger (UNITED STATES)

Message: 66482   

 

the documentation shows how to work with parallel flash:

http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:parallel-flash

QuoteReplyEditDelete

 

 

2008-12-08 05:45:46     Re: write new linux image to memory

John Doe (UNITED STATES)

Message: 66498   

 

hey mike thanks for the site to write it, but which image do i write to memory? is the same one that i would transfer and boot over tftp from images/linux.initramfs.gz? or the uimage one?

QuoteReplyEditDelete

 

 

2008-12-08 12:13:17     Re: write new linux image to memory

Mike Frysinger (UNITED STATES)

Message: 66511   

 

the documentation also explains the images:

http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:images

QuoteReplyEditDelete

 

 

2008-12-08 15:01:19     Re: write new linux image to memory

John Doe (UNITED STATES)

Message: 66519   

 

so the image that i want to write is the uimage.initramfs.gz which has both the kernel and fs in one correct? then how do i know when my image is too big? Whats the max for the bf537-stamp?

QuoteReplyEditDelete

 

 

2008-12-08 15:39:58     Re: write new linux image to memory

Mike Frysinger (UNITED STATES)

Message: 66524   

 

the image you want to write is whatever one you want to write.  there is no correct answer.  if you want to boot up a kernel and run the filesystem out of ram, then you want uImage.initramfs.gz.

 

as for filesize, just look at the board specs.  the bf537-stamp has (up to) 4 megs of parallel flash, but that means you cant use the async banks for anything else.

Attachments

    Outcomes