How to build the NVIDIA u-boot?

Hi, All

I want to build NVIDIA u-boot, but I don’t found any in L4T doc.

Using JetPack 3.2.1, I have download the u-boot source code.

what confuse me is ‘make xxx_defconfig’,what should the xxx_defconfig be?

Any ideas please tell me.


If you are TX2, then it is p2771-0000-000_defconfig.

Thanks!It’s what I need.

Then,after make p2771-0000-000_defconfig && make, I meet some error:

/home/xavier/Work/Tools/toolchain/install/bin/aarch64-unknown-linux-gnu-ld.bfd: cannot find -lgcc
examples/standalone/Makefile:67: recipe for target 'examples/standalone/hello_world' failed
make[2]: *** [examples/standalone/hello_world] Error 1
scripts/ recipe for target 'examples/standalone' failed
make[1]: *** [examples/standalone] Error 2
Makefile:1242: recipe for target 'examples' failed
make: *** [examples] Error 2

Any ideas please tell me.

You are cross compiling, not natively compiling. Have you set up with cross tools? You might find this a bit odd, but you could just put the source code on the TX2 and compile there, natively, without cross tools. You might still need some devel libraries or packages, but the tools themselves would all be native.

Natively compiling is ok!