liujun | 8 Oct 2011 10:40
Favicon

help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

hi, all

i got a core dumped while building u-boot-2011.06 for s3c2440a chip 

which is arch v4t use eldk5.0 with USE_PRIVATE_LIBGCC=yes.

building is ok without USE_PRIVATE_LIBGCC=yes but only got a v5t 

elf u-boot file.

my building is on centos 6.0, all env variable setting is done as following:

export PREFIX=/opt/eldk-5.0/armv5te/sysroots/i686-oesdk-linux/usr/bin

export TARGET=arm-linux-gnueabi

export PATH=$PREFIX/armv5te-linux-gnueabi:$PATH

export CROSS_COMPILE=${TARGET}-

building command is following by denx faq GCC generates illegal opcodes
for ARMv4T systems

make distclean

USE_PRIVATE_LIBGCC=yes make AS2440_config

USE_PRIVATE_LIBGCC=yes make

                            here is my building error message:
(Continue reading)

Stefano Babic | 8 Oct 2011 14:29
Picon
Picon
Favicon

Re: help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

On 10/08/2011 10:40 AM, liujun wrote:
> hi, all
> 
> i got a core dumped while building u-boot-2011.06 for s3c2440a chip 
> 
> which is arch v4t use eldk5.0 with USE_PRIVATE_LIBGCC=yes.
> 
> building is ok without USE_PRIVATE_LIBGCC=yes but only got a v5t 
> 
> elf u-boot file.
> 

ELDK-5.0 supports armv7 and armv5t - I do not know if someone else
except you tested with v4t...

Best regards,
Stefano Babic

--

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@...
=====================================================================
liujun | 8 Oct 2011 15:12
Favicon

答复: help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

ELDK-5.0 supports armv7 and armv5t - I do not know if someone else
except you tested with v4t...

I known eldk-5.0 supports v7 and v5t, I see a denx faq which said can
do this with pre-setting USE_PRIVATE_LIBGCC=yes, I do it, then core dumped
happened.
that faq link is:
http://www.denx.de/wiki/view/ELDK-5/QuestionsAndAnswers#GCC_generates_illega
l_opcodes_fo

maybe I can try a older version of eldk, I'd like to try eldk-5.0 firstly, 
I'v downloaded and installed 5.0 already and it work well under my test.

I think eldk-5.0 maybe backward compatible before.

Thanks for your reply.

Best regards,
liujun

-----邮件原件-----
发件人: Stefano Babic [mailto:sbabic <at> denx.de] 
发送时间: 2011-10-08 20:30
收件人: liujun
抄送: eldk <at> lists.denx.de
主题: Re: [ELDK] help: i got a core dumped while building u-boot-2011.06 use
eldk5.0 for armv4t.

On 10/08/2011 10:40 AM, liujun wrote:
> hi, all
(Continue reading)

Wolfgang Denk | 9 Oct 2011 20:14
Picon
Picon
Favicon

Re: help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

Dear "liujun",

In message <4E9013E8.004929.05234@...> you wrote:
> 
> home/lianhua/u-boot-2011.06/fs/yaffs2/yaffscfg.c:185: undefined reference to
> `__aeabi_uldivmod'

This is a pretty clear error message, isn't it?

It appears that the divide operation in the YAFFS2 code requires a GCC
helper function which is not yet provided in the mainline U-Boot code.

Please feel free to submit a patch to add it.

> make distclean
> USE_PRIVATE_LIBGCCyes make AS2440_config

Unfortunately you are referring to out-of-tree code here.  We cannot
test this build, so we cannot help you any further.

Best regards,

Wolfgang Denk

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@...
If the odds are a million to one against something occuring,  chances
are 50-50 it will.
(Continue reading)

liujun | 10 Oct 2011 04:06
Favicon

答复: help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

Dear "Denk",
I've downloaded an older version eldk x86-linux iso installation file and
installed it on centos6, it's eldk4.2, nowtime work fine in making
u-boot-2001.06 for armv4t, no undefined reference to __aeabi_uldivmod error
message and no core dumped.
down u-boot.bin to armv4t(S3C2440A, arm920t) board, start up ok.

thanks.

Best regards,
liujun

-----邮件原件-----
发件人: Wolfgang Denk [mailto:wd <at> denx.de] 
发送时间: 2011-10-10 02:15
收件人: liujun
抄送: eldk <at> lists.denx.de
主题: Re: [ELDK] help: i got a core dumped while building u-boot-2011.06 use
eldk5.0 for armv4t.

Dear "liujun",

In message <4E9013E8.004929.05234 <at> m50-110.126.com> you wrote:
> 
> home/lianhua/u-boot-2011.06/fs/yaffs2/yaffscfg.c:185: undefined reference
to
> `__aeabi_uldivmod'

This is a pretty clear error message, isn't it?

(Continue reading)

Detlev Zundel | 10 Oct 2011 10:30
Picon
Picon
Picon
Favicon

Re: 答复: help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

Hi liujun,

> I've downloaded an older version eldk x86-linux iso installation file and
> installed it on centos6, it's eldk4.2, nowtime work fine in making
> u-boot-2001.06 for armv4t, no undefined reference to __aeabi_uldivmod error
> message and no core dumped.
> down u-boot.bin to armv4t(S3C2440A, arm920t) board, start up ok.

Becuase ELDK 4.2 was build for armv4t, its libgcc will have a suitable
uldivmod for your usecase, so that was actually expected.  Still it is
working around the problem that Wolfgang clearly describes:

> It appears that the divide operation in the YAFFS2 code requires a GCC
> helper function which is not yet provided in the mainline U-Boot code.
>
> Please feel free to submit a patch to add it.

So we would still be thankful if you would fix this real problem so
other people will also benefit in the future from the free help that you
got.

Thanks
  Detlev

--

-- 
"The number you have dialed is imaginary. Please rotate your phone 90
degrees and try again."
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
(Continue reading)

liujun | 11 Oct 2011 15:30
Favicon

答复: 答复: help: i got a core dumped while building u-boot-2011.06 use eldk5.0 for armv4t.

hi Detlev,

>Becuase ELDK 4.2 was build for armv4t, its libgcc will have a suitable
>uldivmod for your usecase, so that was actually expected.  Still it is
>working around the problem that Wolfgang clearly describes:
I known that here this time, thanks.

>So we would still be thankful if you would fix this real problem so
>other people will also benefit in the future from the free help that you
>got.
I'll try it.

Best wishes,
liujun

-----邮件原件-----
发件人: Detlev Zundel [mailto:dzu <at> denx.de] 
发送时间: 2011-10-10 16:30
收件人: liujun
抄送: 'Wolfgang Denk'; eldk <at> lists.denx.de
主题: Re: [ELDK] 答复: help: i got a core dumped while building u-boot-2011.
06 use eldk5.0 for armv4t.

Hi liujun,

> I've downloaded an older version eldk x86-linux iso installation file and
> installed it on centos6, it's eldk4.2, nowtime work fine in making
> u-boot-2001.06 for armv4t, no undefined reference to __aeabi_uldivmod
error
> message and no core dumped.
(Continue reading)

Edson.Seabra | 19 Oct 2011 19:32

Issues building ELDK-4.2 from scratch

Hi,

I'm building ELDK-4.2 for ppc_4xx from scratch. I'm following the document
http://www.denx.de/wiki/DULG/ELDK .

I created a VM with Fedora core 5; server installation.

I got the eldk sources via git; url:  git://git.denx.de/eldk-4/{build,tarbals,SRPMS}.git

I'm getting  several errors. By modifying the files listed below I reached the package wpa_supplicant. I
got a MD5 sum (listed  below)  when installing the src rpm.

So, am I using the right source code ?  Is there any other build tools required in the FC-5 builder ?

======================================= git diff ======================================================
git diff cross_rpms/autoconf/SPECS/autoconf.spec cross_rpms/make/SPECS/make.spec
target_rpms/autoconf/SPECS/autoconf.spec target_rpms/crosstool/SPECS/crosstool.spec tpkgs.lst
diff --git a/cross_rpms/autoconf/SPECS/autoconf.spec b/cross_rpms/autoconf/SPECS/autoconf.spec
index 114aa54..04e2a20 100644
--- a/cross_rpms/autoconf/SPECS/autoconf.spec
+++ b/cross_rpms/autoconf/SPECS/autoconf.spec
 <at>  <at>  -97,8 +97,8  <at>  <at>  fi
# don't include standards.info, because it comes from binutils...
%exclude %{_infodir}/standards*
%{_datadir}/autoconf/
-%dir %{_datadir}/emacs/
-%{_datadir}/emacs/site-lisp/
+#%dir %{_datadir}/emacs/
+#%{_datadir}/emacs/site-lisp/
%{_mandir}/man1/*
(Continue reading)

Wolfgang Denk | 19 Oct 2011 22:46
Picon
Picon
Favicon

Re: Issues building ELDK-4.2 from scratch

Dear Edson,

In message
<852DF3628468C14AB4CECCAF873E15C7CD9DC50789@...>
you wrote:
>
> I'm building ELDK-4.2 for ppc_4xx from scratch. I'm following the document
> http://www.denx.de/wiki/DULG/ELDK .

May I ask (just out of curiosity) why you are still using ELDK 4.2?
We're working on the 5.1 release now, so I really wonder why you are
stuck with 4 year old stuff?

> I created a VM with Fedora core 5; server installation.

This will most probably not work.

If you really are stuck with 4.2, then please see the detailled
instructions in this application note:
http://www.denx.de/wiki/DULG/AN2009_02_EldkReleaseBuildEnvironment

Best regards,

Wolfgang Denk

--

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@...
backups: always in season, never out of style.
(Continue reading)

Herman Lee | 19 Oct 2011 23:16
Favicon

ELDK5.0 for powerPC

Hi,

In ELDK5.0 documentation page 1 -Supported Target Architectures, you
mentioned "Generic PowerPC target for FPU-less systems like MPC8308
etc". But MPC8308 does have a FPU.

I am going to use the MPC8309. It also have a FPU like MPC8308. My
question is: Should I use "powerpc" or "powerpc-softfloat" package?

Thanks,

Herman

_______________________________________________
eldk mailing list
eldk@...
http://lists.denx.de/mailman/listinfo/eldk

Gmane