I’m trying to recompile the Linux kernel for jetson nano, the step is :
-
Download and unzip <Jetson-Nano-Tegra210_Linux_R32.1.0_aarch64.tbz2>
-
excute:
./source_sync.sh
to check code from git repo. -
Check out a tag :
git checkout tegra-l4t-r32.1 -
Compile Linux kernel:
make -j6 ARCH=arm64 CROSS_COMPILE=$CROSS-COMPILE-PREFIX-DIR/gcc-linaro-6.4.1-2017.08-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- tegra_defconfig
But, It throws out an error:
drivers/net/ethernet/nvidia/Kconfig:30: can’t open file “drivers/net/ethernet/nvidia/eqos/Kconfig”
scripts/kconfig/Makefile:113: recipe for target ‘tegra_defconfig’ failed
make[1]: *** [tegra_defconfig] Error 1
Makefile:565: recipe for target ‘tegra_defconfig’ failed
make: *** [tegra_defconfig] Error 2
For solving this problem, I tried :
- switch to another tag.
- copy the <tegra_defconfig> to src tree root dir, rename it to .config.
- try to compile with the instruction below:
make -j6 ARCH=arm64 O=make_result CROSS_COMPILE=$CROSS-COMPILE-PREFIX-DIR/gcc-linaro-6.4.1-2017.08-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- tegra_defconfig
But, they all didn’t work.
And, according to the error message, I can’t find drivers/net/ethernet/nvidia/eqos/Kconfig indeed.
Is there anyone offer some help? thx a loooooooooooooot.!