[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    Re: [uClinux-dev] Execute program from JFFS2 - uClinux 20090618
From:       Wan ZongShun <mcuos.com () gmail ! com>
Date:       2009-09-28 10:17:28
Message-ID: e68bb3470909280317k370f9ec0ye4492877015d7739 () mail ! gmail ! com
[Download RAW message or body]

Sir,

How about your this issue?
I think that the file copied from "JFFS2 mounted directory" into sdram
is wrong , Maybe it can be destroyed while coping.




2009/8/31, John Rayner <john.rayner@hotmail.co.uk>:
> Hi,
>
> Using a custom ARM7TDMI (Winbond/Novotron W90P710)
>
> I have changed to uClinux 20090618
>
> Using GCC 3.4.4
>
> I have JFFS2 mounted directory, but when I try to execute my program
> (datacap) from there I get:
>
> BINFMT_FLAT: Loading file: ./datacap
> Mapping is 3b10000, Entry point is 44, data_start is 4180
> Load ./datacap: TEXT=3b10040-3b14180 DATA=3020004-3021214
> BSS=3021214-3021454
> BINFMT_FLAT: reloc outside program 0x206e776f (0 - 0xff511414/0x4140),
> killing !
> SIGSEGV
>
> But when I run the same program from normal /bin folder (my rootfs), it runs
> fine.
>
> Under uClinuc 20080808 the same program would run just fine from both
> locations.
>
> I have checked my settings, for Kernel and uClibc and they look fine, but
> this is really confusing me, have I missed something, I have looked through
> the mailing list archive and am confused by all of the references to
> XIP/PIC, as this is where it seems to be pointing me.
>
> Not sure if this is related.....but my other apps that I have written, when
> I exit they fail with:
>
> kernel BUG at mm/slab.c:600!
>
> Again on the previous version this never happened.
>
> Any help is greatly appreciated.
>
> John
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>


-- 
Wan z.s
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic