Cross compile kernel

Hi, I need help to cross-compile the kernel, in refer to this post.
I followed this steps:

  • Download sources from this on my host machine and unzip in /usrs/src
  • I copied /proc/config.z from tx2 to my host machine (zcat config.z > /usr/src/kernel/kernel-4.4/.config)
  • I successfully applied config modification and kernel patches (I used Jetsonhack’s scripts [ and] from here)
    Now my problem is build the kernel Image and zImage on my host machine.
    How can I do it? Thanks

these instructions are a bit old, but should still work:

Thank you for the reply.
I tried it, but when I execute the command “make O=$TEGRA_KERNEL_OUT zImage”, I have an error “scripts/kconfig/ fatal error: zconf.hash.c: no such File or directory”

I change the include, the real name of the file was “zconf.hash.c_shipped”. It’s normal?
Seems work

We are not using zImage anymore. There is tutorial in our L4T document. Please go to download center and find it.