How to compile u-boot for p1020rdb-pd

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

How to compile u-boot for p1020rdb-pd

1,027件の閲覧回数
michaelmoritsch
Contributor I

Hello,

I need to enable ECC for DDR and therefore need to recompile u-boot with the proper setting.

The u-boot sources are from the QoriQ SDK 2.0 . The toolchain is from "QorIQ Linux SDK v2.0 PPCE500V2 IMAGE.iso". I tried the i686 as well as the x86_64 version. Both with the same result.

To compile i executed the following steps

source /opt/fsl-qoriq/2.0/environment-setup-ppce500v2-fsl-linux-gnuspe

make P1020RDB-PC_config

make all

The build produces the following error:
powerpc-fsl-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in linker created .got
powerpc-fsl-linux-gnuspe-ld.bfd: final link failed: Bad value
make: *** [u-boot] Error 1

Does anybody have an idea how to solve this?

Note: I also tried to compile using the toolchain delivered with CodeWarrior, giving me the same error and additional warnings relating to -mrelocatable.

best regards

Michael

ラベル(1)
0 件の賞賛
2 返答(返信)

661件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Michael,

In fact, SDK 2.0 has not provided support for P1020RDB-PC, the latest SDK release for this platform is SDK 1.9.

We suggest you use open source u-boot and Linux Kernel.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

661件の閲覧回数
michaelmoritsch
Contributor I

The problem fixed itself when I use the current u-boot-2017.01 sources....

0 件の賞賛