U-boot compile

Hello,

when I try to compile u-boot ( docs: https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/uboot_guide.html#wwpID0E0YL0HA )
but there is no “p3451-0000_defconfig” file (for Nano 2GB as per docs).

When I try to compile “p3450-0000_defconfig” (for Nano 4GB) then I get follow error:

...
  OBJCOPY u-boot-nodtb.bin
  DTC     arch/arm/dts/tegra20-harmony.dtb
/bin/sh: 1: ./scripts/dtc/dtc: not found
Check /mnt/nvidia/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/source/u-boot/build/p3451-0000/arch/arm/dts/.tegra20-harmony.dtb.pre.tmp for errors
make[3]: *** [scripts/Makefile.lib:314: arch/arm/dts/tegra20-harmony.dtb] Error 1
make[2]: *** [/mnt/nvidia/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/source/u-boot/dts/Makefile:43: arch-dtbs] Error 2
make[1]: *** [/mnt/nvidia/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/source/u-boot/Makefile:1090: dts/dt.dtb] Error 2
make[1]: Leaving directory '/mnt/nvidia/JetPack_4.6_Linux_JETSON_NANO_TARGETS/Linux_for_Tegra/source/u-boot/build/p3451-0000'
make: *** [Makefile:167: sub-make] Error 2

What am doing wrong?

Hi prapor,

Please try to build u-boot from driver package Sources.

$ tar xpvf u-boot_src.tbz2
$ cd u-boot
$ make distclean
$ make p3450-0000_defconfig
$ make 

Yes, this works. Thank you.

Documentation have error:
docs says <board_and_rev> for Nano 2GB: “p3451-0000”, but actually it is: “p3541-0000”

Hi prapor,

Thanks for you finding.
We will update the document.