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

Re: [microblaze-uclinux] Simple bootloader for custom board



Hi Valentin,

Valentin Longchamp wrote:

> So there is code in that bootloader, but it handles srec files. What is
> the way to produce a srec file containing the kernel image AND the
> filesystem so that I could use the current bootloader ?

objdump will output SREC files - something like

$ mb-objdump -O srec image.elf image.srec

should do the trick.

I don't think I ever confirmd the SREC loading functionality in that 
bootloader - I wrote it to get around the (at that time) very slow image 
upload via XMD and xmdstub tools, and also lack of a network interface 
in uClinux.  I got the ethernet driver going before the SREC reader, so 
promptly stopped working on it.  Still, it's probably a useful skeleton 
to build upon.

Hope this helps,

John



___________________________
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/