Unable to load firewire driver

I have installed Linux For Tegra R21.3 with the following kernel

Linux For Tegra R21.3

Unfortunately, I am not able to load the firewire1394 driver.

What is the output of:

gunzip < /proc/config.gz | grep -i firewire

What was the command you used to tryto load the driver?

Here is the output. No clue about it

# IEEE 1394 (FireWire) support
# CONFIG_FIREWIRE is not set
# CONFIG_FIREWIRE_NOSY is not set

This simply means the firewire driver was not built…it can’t be installed because it doesn’t exist (yet). This file is a reflection of the running kernel, and not a real “static” file.

Kernel module build isn’t too difficult, especially on R21.x series since it uses u-boot and no flash is even required. The basic gist is to use the /proc/config.gz as a starting configuration and then run menuconfig to set LOCALVERSION and to add the firewire as a module; install is then simply make modules_install.

Lots of threads on kernel build and how to install under u-boot; plenty of people to answer questions on it as well, don’t be afraid of building modules.

I downloaded the kernel 3.10.40 from [url]https://developer.nvidia.com/linux-tegra-r213[/url] and then I compile it for firewire1394 driver support. Once I make this kernel, I got the following three files.
[url]http://postimg.org/image/3nvhxnjtd/[/url]. Then I follow the procedure mention in the post [url]https://devtalk.nvidia.com/default/topic/762653/embedded-systems/-howto-build-own-kernel-for-jetson-tk1/#reply[/url]. Unfortunately I don’t know where I should put my files in order to boot with the latest kernel

Put the kernel to /boot/ with a new name and edit the /boot/extlinux/extlinux.conf to add a new entry with your new kernel. This way you can easily choose which kernel to boot (although you do need to do that over a serial cable).

Can you please elaborate a bit. Unfortunately I didn’t get it.

when I checked the installed modules by

ls /lib/modules/
3.10.40-gc017b03  3.10.40-testtest

These two modules are installed but there is no zImage in arch/arm/boot/ directory which is very confusing for me
http://postimg.org/image/6mbixmj0z/

I followed the procedure laid out in the following post
[url]https://devtalk.nvidia.com/default/topic/823132/embedded-systems/-customkernel-the-grinch-21-3-3-for-jetson-tk1-developed/1/[/url]
Finally I have firewire1394 driver load.