can't build imx_3.10.17_1.0.0_beta from git.freescale.com

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can't build imx_3.10.17_1.0.0_beta from git.freescale.com

ソリューションへジャンプ
4,160件の閲覧回数
EdSutter
Senior Contributor II

I've recently pulled down imx_3.10.17_1.0.0_beta  from git.freescale.com to try building it and I get this error message:

arch/arm/mach-imx/lpddr2_freq_imx6.S:365: Error: selected processor does not support ARM mode `dsb'

I'm using arm-2013.05-24-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 toolset,

and starting with imx_v6_v7_defconfig.

Anyone else seeing this?

ラベル(2)
0 件の賞賛
返信
1 解決策
2,601件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

The default config for 3.10.17 is the imx_v7_defconfig. Please try that one instead.

Regards,

Fabio Estevam

元の投稿で解決策を見る

0 件の賞賛
返信
9 返答(返信)
2,602件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

The default config for 3.10.17 is the imx_v7_defconfig. Please try that one instead.

Regards,

Fabio Estevam

0 件の賞賛
返信
2,601件の閲覧回数
MarekVasut
Senior Contributor I

How does that fix the bug in the Makefile though ? ;-)

0 件の賞賛
返信
2,601件の閲覧回数
EdSutter
Senior Contributor II

Marek,

Yea, good question...

I was going to try the patch you sent, but then when Fabio's response that was an

easier first-try.  It built clean, so I guess the different config caused the build to steer

around the snippet of code that caused my original error...

If I get some time, I'll dig deeper.

Regardless, thanks for replying.

Ed

0 件の賞賛
返信
2,601件の閲覧回数
EdSutter
Senior Contributor II

Fabio,

I built this and I *almost* have it running on my hardware; based on some major hacks made to the device tree.

Can you tell me, is this being used much publicly yet or is this still bleeding-edge experimental for iMX6?

Ed

0 件の賞賛
返信
2,601件の閲覧回数
MarekVasut
Senior Contributor I

Try using ARMHF toolchain , that might just be it. I suspect your toolchain is ARMEL, right ?

0 件の賞賛
返信
2,601件の閲覧回数
EdSutter
Senior Contributor II

Quite honestly, I've never heard the terms "ARMHF" and "ARMEL" till now.

Based on some googling, it appears that the primary difference is hard/soft floating point.

So 2 questions follow...

1. I'm using arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2013.05-24) 4.7.3,

    how do I know if this is armhf or armel?  Is there a way to tell through the commandline?

2. Since I'm working with iMX6, shouldn't I be ok to use ARMHF?

0 件の賞賛
返信
2,601件の閲覧回数
MarekVasut
Senior Contributor I

Try something like:

$ arm-linux-gnueabi-readelf -a `arm-linux-gnueabi-gcc -print-libgcc-file-name` | grep CPU_name | sort -u

Should tell you what your libgcc architecture is

0 件の賞賛
返信
2,601件の閲覧回数
MarekVasut
Senior Contributor I

I managed to replicate this, please try attached patch ...

0 件の賞賛
返信
2,601件の閲覧回数
EdSutter
Senior Contributor II

Marek,

Thanks much, I'll give this a try later today.

Ed

0 件の賞賛
返信