How to compile u-boot for p1020rdb-pd

cancel
Showing results for 
Search instead for 
Did you mean: 

How to compile u-boot for p1020rdb-pd

566 Views
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

Labels (1)
0 Kudos
2 Replies

200 Views
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 Kudos

200 Views
michaelmoritsch
Contributor I

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

0 Kudos