Jetson nano 4gb build uboot failed

hi ,
My build steps as bellow:

ouyiwen@debian:~/Linux_for_Tegra$ ./source_sync.sh -u tegra-l4t-r32.7.1
Downloading default u-boot source...
Cloning into '/home/ouyiwen/Linux_for_Tegra/sources/u-boot'...
remote: Enumerating objects: 691094, done.
remote: Counting objects: 100% (691094/691094), done.
remote: Compressing objects: 100% (108227/108227), done.
remote: Total 691094 (delta 573623), reused 691060 (delta 573589), pack-reused 0
Receiving objects: 100% (691094/691094), 136.85 MiB | 936.00 KiB/s, done.
Resolving deltas: 100% (573623/573623), done.
The default u-boot source is downloaded in: /home/ouyiwen/Linux_for_Tegra/sources/u-boot
Syncing up with tag tegra-l4t-r32.7.1...
Switched to a new branch 'mybranch_2022-06-09-1654762127'
/home/ouyiwen/Linux_for_Tegra/sources/u-boot source sync'ed to tag tegra-l4t-r32.7.1 successfully!
ouyiwen@debian:~/Linux_for_Tegra$ cd sources/
ouyiwen@debian:~/Linux_for_Tegra/sources$ cd u-boot/
ouyiwen@debian:~/Linux_for_Tegra/sources/u-boot$ make distclean
ouyiwen@debian:~/Linux_for_Tegra/sources/u-boot$ make p3450-0000_defconfig
  YACC    scripts/kconfig/zconf.tab.c
/bin/sh: 1: bison: not found
scripts/Makefile.lib:226: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 127
Makefile:539: recipe for target 'p3450-0000_defconfig' failed
make: *** [p3450-0000_defconfig] Error 2
ouyiwen@debian:~/Linux_for_Tegra/sources/u-boot$ cd configs/

And I find a same problem in https://forums.developer.nvidia.com/t/failed-building-nano-u-boot/83746
It does not work.
What do I should do?

OK, I do not install bison and flex…

Thanks for the sharing!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.