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

RE: [microblaze-uclinux] BINFMT_FLAT on startup



John,

> John wrote:
>
> But, what you are seeing suggests more like a memory corruption problem.
>
> Try enabling the flat tracing flag: (from petalinux-dist dir)
>
> $ microblaze-uclinux-flthdr -k romfs/bin/init
> $ make image
>
> and post the output when the kerneltries to load the app.

I did that, and the screen capture is below. I can see that the reloc address of 0xfe0b88dc is absolutely WRONG. 

I still can't figure out what is wrong with my program. Perhaps Linker or Loader?

Rgds,
Victor

-------------------------------------------------------------
# ./dmc &
BINFMT_FLAT: Loading file: ./dmc
38
# Mapping is 24c00000, Entry point is 44, data_start is 210500
Load ./dmc: TEXT=24c00040-24e10500 DATA=24e10504-24e80f74 BSS=24e80f74-24f46cf4
BINFMT_FLAT: reloc outside program 0xfe0b88dc (0 - 0x346cb4/0x2104c0), killing dmc!
BINFMT_FLAT: Loading file: ./dmc
Mapping is 24c00000, Entry point is 44, data_start is 210500
Load ./dmc: TEXT=24c00040-24e10500 DATA=24e10504-24e80f74 BSS=24e80f74-24f46cf4
BINFMT_FLAT: reloc outside program 0xfe0b88dc (0 - 0x346cb4/0x2104c0), killing dmc!
--------------------------------------------------------------                    

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