Hi Leonid, Leonid wrote:
I am loading uCLinux elf file (which contains filesystem as well) via
XMD, it passes OK:
XMD% do image.elf
section, .text: 0x22000000-0x2212fa30
section, .intv: 0x2212fa30-0x2212fa98
section, .init: 0x2213d000-0x2214b000
section, .data: 0x2212fa98-0x2213c020
section, .bss: 0x2214b000-0x22175e68
section, .romfs: 0x2214b000-0x2228d000
Downloaded Program image.elf
Setting PC with program start addr = 0x22000000
XMD%
Bu when I run the image, it fails in the end:
XMD's interpretation of the ELF standard causes it to fail to download the .romfs section of the elf file. This is why no init is found, and the system panics.
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. 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/