Build u-boot without bitbake

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build u-boot without bitbake

1,216 Views
z_v
Contributor I

Hello,

I installed SDK 2.0 and installed the toolchain in a specidifed folder.

Then I found u-boot sources and copied them to another folder.

Now I want to compile u-boot with this toolchain.

So I ran:

./fsl-qoriq-glibc-<host_arch>-<core>-toolchain-<release>.sh

make clean

make ls1021atwr_nor_config

make

But I suspect something is missing. I burned u-boot.bin starting from 0x60100000 and nothing happens.

How can I learn was exactly running when running:

bitbake -c compile -f u-boot

bitbake u-boot

Thank you,

Z.V

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

998 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Vered Zvi,

Please refer to the following procedure, I have verified the built image, it works on the target board.

$ source /opt/fsl-qoriq/2.0/environment-setup-cortexa7hf-vfp-neon-fsl-linux-gnueabi

$ make CROSS_COMPILE=arm-fsl-linux-gnueabi- ls1021atwr_nor_config

$ make -j 4 COSS_COMPILE=arm-fsl-linux-gnueabi-  all

Please use the image u-boot-dtb.bin.


Have a great day,
Yiping

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

0 Kudos
Reply

998 Views
z_v
Contributor I

Hello,

When I did the same but used last u-boot code (2016.09) it worked.

Thank you,

Z.V

0 Kudos
Reply