[prev in list] [next in list] [prev in thread] [next in thread]
List: microblaze-uclinux
Subject: Re: [microblaze-uclinux] uCLinux cannot allocate EMAClite interrupt
From: John Williams <jwilliams () itee ! uq ! edu ! au>
Date: 2007-05-22 22:33:16
Message-ID: 46536FAC.3030605 () itee ! uq ! edu ! au
[Download RAW message or body]
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@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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic