How can I compline kernel and download for the TK1

1.I read the quick start with:http://developer.download.nvidia.com/embedded/L4T/r21_Release_v4.0/l4t_quick_start_guide.txt

2.do this below.
. Untar the files and assemble the rootfs:

sudo tar xpf ${RELEASE_NAME}
cd Linux_for_Tegra/rootfs/
sudo tar xpf …/…/Tegra_Linux_Sample-Root-Filesystem_R21.4.0_armhf.tbz2
cd …/
sudo ./apply_binaries.sh

3.but I want to know how to use the kernel src in http://developer.download.nvidia.com/embedded/L4T/r21_Release_v4.0/source/kernel_src.tbz2

4.and how can I use the bootloader http://developer.download.nvidia.com/embedded/L4T/r21_Release_v4.0/source/u-boot_src.tbz2

Thank you very much.

Steps 1 and 2 flash the filesystem on the Jetson. Note that this does not include the source of the operating system.

For number 3:

Here’s a comprehensive list of steps needed to build your own kernel:
https://devtalk.nvidia.com/default/topic/762653/-howto-build-own-kernel-for-jetson-tk1/

For something a little less than that, which includes video:

Thank you for your reply.

but with buid the kernel.

zcat /proc/config.gz > .config

root@weiqifa-Inspiron-3847:/usr/src/kernel# zcat /proc/config.gz > .config
gzip: /proc/config.gz: No such file or directory

return error…

cd /usr/src/
wget https://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/kernel_src.tbz2
tar -xvf kernel_src.tbz2
cd kernel
zcat /proc/config.gz > .config
make menuconfig

is up operation on the TK1?

use the TK1 to compline the source?

The instructions given are for building the kernel on the Jetson TK1 itself.

The instructions given on the forum link above denote which machine the task should be running on. For example, the commands you noted above are in a section titled:

1. On Jetson-TK1

Hope this helps.