r27.1 kernel build fail

I use such script to build the original source code which version is r27.1 for my jetson tx1 :

function build_kernel()
{
check_exec_log_cmd cd {WORK_DIR} cd {KERNEL_BUILD_DIR}
mkdir -p ${PRODUCT_OUT}/kernel
mkdir -p out
source /etc/profile
export ARCH=arm64
export CROSS_COMPILE=aarch64-unknown-linux-gnu-
export CROSS32CC=arm-unknown-linux-gnueabi-gcc
export TEGRA_KERNEL_OUT=$KERNEL_BUILD_DIR/out
make clean

    make O=$TEGRA_KERNEL_OUT tegra21_defconfig

    make O=$TEGRA_KERNEL_OUT zImage 2>&1 |tee build.log
    #make O=$TEGRA_KERNEL_OUT dtbs
    #for build my own modules
    #make O=$TEGRA_KERNEL_OUT modules                                                                            
    #make O=$TEGRA_KERNEL_OUT modules_install INSTALL_MOD_PATH=your_destination
    #copy to the release out
    #cp -f $TEGRA_KERNEL_OUT/* $PRODUCT_OUT/kernel

}

But,compiling failed.Key log like this:

LD sound/usb/misc/built-in.o
LD sound/usb/usx2y/built-in.o
LD sound/usb/built-in.o
CC sound/last.o
LD sound/built-in.o
make[2]: *** No rule to make target firmware/audience/es755/audience-es755-fw.bin', needed by firmware/audience/es755/audience-es755-fw.bin.gen.o’. Stop.
make[1]: *** [firmware] Error 2
make: *** [sub-make] Error 2

I find that there is no dir called “firmware/audience” in kernel source code.

Is there any config should be modified?Please help me.

Thanks very much.

Hi lianghu,

The R27.1 only for TX2.
If you want use TX1, please try R24.2.1 or the latest R28.1 source.
https://developer.nvidia.com/embedded/dlc/l4t-sources-28-1