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

Re: [microblaze-uclinux] Kernel Command Line for uClinux kernel loaded by XMD.



Hi Leonid,

Leonid wrote:

[snip]

for this reason, when downloading via XMD, you must use the .bin file,
and download it as a data file to a specific address

dow -data /path/to/image.bin 0xdeadbeef
con 0xdeadbeef

This is how the petalinux-jtag-boot scripts work.

That will work of course, but perhaps won't do for me. If I just need to
boot uClinux, I can do it via u-boot. I use XMD to connect GDB remotely
and for that I need ELF file to be loaded, right? Or the binary one will
do?

You are debugging the kernel, right?  You hav a couple of options.

* download the .bin file via xmd as suggested, when you started mb-gdb do "syms images/image.elf". When gdb connects, don't select "download to target".

or

* start xmd, connect with gdb, and get gdb to download the image. It gets the entire elf file and the romfs will be there.

Regards,

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