[CustomKernel] The Grinch 21.2.1 for Jetson TK1 / not developed
[b]Jetson TK1 "The Grinch" Custom Kernel 21.2.1 (13 December 2014)[/b] [list] [.] Based on NVIDIA Kernel 3.10.40 kernel [/.] [.] Added Cryptoloop support[/.] [.] Added Device mapper support for crypt, snapshot, mirror, thin provisioning, zero, multipath, i/o delaying, flakey target targets [/.] [.] Added RAM block device support with XIP filesystems [/.] [.] Added support for MISC binaries [/.] [.] Added Bluetooth subsystem support (USB Devices) [/.] [.] Added Parallel port support [/.] [.] Added IrDA subsystem support[/.] [.] Added IEEE 1394 (FireWire) support[/.] [.] Added Wireless LAN modules for Marvel, Atheros, Intel, Ralink, Realtek, Broadcom devices[/.] [.] Added 802.1d Ethernet Bridging support [/.] [.] Added QoS fair queueing support [/.] [.] Added lots filters support for Netfilter [/.] [.] Added Quota support [/.] [.] Added AutoFS support[/.] [.] Added ReiserFS, SquashFS 4.0, UFS, LogFS[/.] [.] Added native exFat and VFat support [/.] [.] Added Apple Macintosh & Extended HFS file system support[/.] [.] Added ISO 9660 CDROM and UDF file system support [/.] [.] Added CIFS statistics, CIFS extended attributes, DFS feature support. SMB2 network file system support[/.] [.] Added Provide swap over NFS support[/.] [.] Added /dev/hidraw & /dev/hiddev device support [/.] [.] Added X-Box gamepad driver: rumble & led support [/.] [.] Added Kinect and Playstation Eye drivers [/.] [.] Added USB Printers support [/.] [.] Added various USB Serial Converter modules[/.] [.] Added support for TEGRA AES hw engine [/.] [.] Added AES cipher algorithms (ARM-asm) [/.] [.] Added XTS support [/.] [.] Added Tegra CEC support [/.] [.] Battery level reporting for HID devices [/.] [.] Disabled default USB autosuspend [/.] [.] Increase DMA_COHERENT_POOL_SIZE from 256k to 1M [/.] [.] Enabled CONFIG_FHANDLE [/.] [.] Moved lots kernel options to modules [/.] [.] Suppor for lxc: namespaces, MAC-VLAN, 802.1Q/802.1ad VLAN, Virtual ethernet pair device[/.] [/list] [center][b]1) Install L4T 21.2[/b][/center] Note: This steps must be performed on the host computer. If you have already installed L4T 21.2, you can skip this points. [code]wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.2.0/pm375_release_armhf/Tegra124_Linux_R21.2.0_armhf.tbz2 wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.2.0/pm375_release_armhf/Tegra_Linux_Sample-Root-Filesystem_R21.2.0_armhf.tbz2[/code] Extract files: [code]tar -xvf Tegra124_Linux_R21.2.0_armhf.tbz2 cd Linux_for_Tegra/rootfs sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R21.2.0_armhf.tbz2[/code] Apply binaries: [code]cd .. sudo ./apply_binaries.sh[/code] Flash Jetson TK1: [code]sudo ./flash.sh jetson-tk1 mmcblk0p1[/code] [center][b]2) Login to Jetson TK1[/b][/center] [center][b]RTL8169 WORKAROUND[/b][/center] 21.2 LT4 has big problems with RTL8169 driver at speeds 1000Mbps. For now, the solution is to set the speed to 100mbps. Add to etc/rc.local [code]ethtool -s eth0 speed 100 duplex full autoneg off[/code] Reboot. Check setting by ethtool tool [code]ethtool eth0 Settings for eth0: ... ... [b] Speed: 100Mb/s Duplex: Full[/b] ... ...[/code] [center][b]3) Download Grinch Kernel[/b][/center] [code]wget http://www.jarzebski.pl/files/jetsontk1/grinch-21.2.1/zImage wget http://www.jarzebski.pl/files/jetsontk1/grinch-21.2.1/jetson-tk1-grinch-21.2.1-modules.tar.bz2 wget http://www.jarzebski.pl/files/jetsontk1/grinch-21.2.1/jetson-tk1-grinch-21.2.1-firmware.tar.bz2[/code] [center][b]4) Check MD5 sums[/b][/center] [code]md5sum zImage 41aa767cd46e1b3774833cfb22870df9 zImage[/code] [code]md5sum jetson-tk1-grinch-21.2.1-modules.tar.bz2 984abc04f2b731c70bdcbd8db0b49abb jetson-tk1-grinch-21.2.1-modules.tar.bz2[/code] [code]md5sum jetson-tk1-grinch-21.2.1-firmware.tar.bz2 33e535ed970aa2343ead74ad757d9618 jetson-tk1-grinch-21.2.1-firmware.tar.bz2[/code] [center][b]5) Update kernel [/b][/center] [code]sudo tar -C /lib/modules -vxjf jetson-tk1-grinch-21.2.1-modules.tar.bz2 sudo tar -C /lib -vxjf jetson-tk1-grinch-21.2.1-firmware.tar.bz2 sudo cp zImage /boot/zImage[/code] [center][b]6) Reboot[/b][/center] [center][b]7) Known issues[/b][/center] [list] [.]PWM output currently not working[/.] [/list] [center]If you like my work, you can donate me on paypal: paypal@jarzebski.pl[/center] [b]Thanks to:[/b] Peter Bauer, David Cofer, Dustin Franklin, Todd Stellanova
Jetson TK1 "The Grinch" Custom Kernel 21.2.1 (13 December 2014)

  • Based on NVIDIA Kernel 3.10.40 kernel
  • Added Cryptoloop support
  • Added Device mapper support for crypt, snapshot, mirror, thin provisioning, zero, multipath, i/o delaying, flakey target targets
  • Added RAM block device support with XIP filesystems
  • Added support for MISC binaries
  • Added Bluetooth subsystem support (USB Devices)
  • Added Parallel port support
  • Added IrDA subsystem support
  • Added IEEE 1394 (FireWire) support
  • Added Wireless LAN modules for Marvel, Atheros, Intel, Ralink, Realtek, Broadcom devices
  • Added 802.1d Ethernet Bridging support
  • Added QoS fair queueing support
  • Added lots filters support for Netfilter
  • Added Quota support
  • Added AutoFS support
  • Added ReiserFS, SquashFS 4.0, UFS, LogFS
  • Added native exFat and VFat support
  • Added Apple Macintosh & Extended HFS file system support
  • Added ISO 9660 CDROM and UDF file system support
  • Added CIFS statistics, CIFS extended attributes, DFS feature support. SMB2 network file system support
  • Added Provide swap over NFS support
  • Added /dev/hidraw & /dev/hiddev device support
  • Added X-Box gamepad driver: rumble & led support
  • Added Kinect and Playstation Eye drivers
  • Added USB Printers support
  • Added various USB Serial Converter modules
  • Added support for TEGRA AES hw engine
  • Added AES cipher algorithms (ARM-asm)
  • Added XTS support
  • Added Tegra CEC support
  • Battery level reporting for HID devices
  • Disabled default USB autosuspend
  • Increase DMA_COHERENT_POOL_SIZE from 256k to 1M
  • Enabled CONFIG_FHANDLE
  • Moved lots kernel options to modules
  • Suppor for lxc: namespaces, MAC-VLAN, 802.1Q/802.1ad VLAN, Virtual ethernet pair device



1) Install L4T 21.2


Note: This steps must be performed on the host computer. If you have already installed L4T 21.2, you can skip this points.

wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.2.0/pm375_release_armhf/Tegra124_Linux_R21.2.0_armhf.tbz2
wget http://developer.download.nvidia.com/mobile/tegra/l4t/r21.2.0/pm375_release_armhf/Tegra_Linux_Sample-Root-Filesystem_R21.2.0_armhf.tbz2


Extract files:

tar -xvf Tegra124_Linux_R21.2.0_armhf.tbz2
cd Linux_for_Tegra/rootfs
sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R21.2.0_armhf.tbz2


Apply binaries:

cd ..
sudo ./apply_binaries.sh


Flash Jetson TK1:

sudo ./flash.sh jetson-tk1 mmcblk0p1


2) Login to Jetson TK1


RTL8169 WORKAROUND


21.2 LT4 has big problems with RTL8169 driver at speeds 1000Mbps. For now, the solution is to set the speed to 100mbps. Add to etc/rc.local

ethtool -s eth0 speed 100 duplex full autoneg off


Reboot. Check setting by ethtool tool

ethtool eth0
Settings for eth0:
...
...
Speed: 100Mb/s
Duplex: Full

...
...




3) Download Grinch Kernel


wget http://www.jarzebski.pl/files/jetsontk1/grinch-21.2.1/zImage
wget http://www.jarzebski.pl/files/jetsontk1/grinch-21.2.1/jetson-tk1-grinch-21.2.1-modules.tar.bz2
wget http://www.jarzebski.pl/files/jetsontk1/grinch-21.2.1/jetson-tk1-grinch-21.2.1-firmware.tar.bz2


4) Check MD5 sums


md5sum zImage 
41aa767cd46e1b3774833cfb22870df9 zImage


md5sum jetson-tk1-grinch-21.2.1-modules.tar.bz2 
984abc04f2b731c70bdcbd8db0b49abb jetson-tk1-grinch-21.2.1-modules.tar.bz2


md5sum jetson-tk1-grinch-21.2.1-firmware.tar.bz2
33e535ed970aa2343ead74ad757d9618 jetson-tk1-grinch-21.2.1-firmware.tar.bz2


5) Update kernel


sudo tar -C /lib/modules -vxjf jetson-tk1-grinch-21.2.1-modules.tar.bz2
sudo tar -C /lib -vxjf jetson-tk1-grinch-21.2.1-firmware.tar.bz2
sudo cp zImage /boot/zImage


6) Reboot


7) Known issues


  • PWM output currently not working


If you like my work, you can donate me on paypal: paypal@jarzebski.pl


Thanks to: Peter Bauer, David Cofer, Dustin Franklin, Todd Stellanova
#1
Posted 12/13/2014 01:57 PM   
Did the ALSA midi sequencer and/or loopback device make it into this kernel?
Did the ALSA midi sequencer and/or loopback device make it into this kernel?

Chad Walker
Principal ASIC Design Engineer
NVIDIA Corporation

#2
Posted 12/13/2014 02:05 PM   
Yes it have :)
Yes it have :)
#3
Posted 12/13/2014 02:09 PM   
Excellent!
Excellent!

Chad Walker
Principal ASIC Design Engineer
NVIDIA Corporation

#4
Posted 12/13/2014 02:12 PM   
Thank you :-) Did you enable binfmt_misc again ? Is there a chance to enable SATA 3.1 transmission rate (should be 6 GBit per second) ?
Thank you :-)
Did you enable binfmt_misc again ?
Is there a chance to enable SATA 3.1 transmission rate (should be 6 GBit per second) ?

#5
Posted 12/13/2014 02:38 PM   
No problem :) Yes, binfmt_misc is included. About SATA 3.1 i'm not trying it yet.
No problem :) Yes, binfmt_misc is included. About SATA 3.1 i'm not trying it yet.
#6
Posted 12/13/2014 02:43 PM   
Very nice! [img]http://i.imgur.com/GeHiRgn.png[/img]
Very nice!

Image

#7
Posted 12/13/2014 05:21 PM   
Wow I was just about to report the ALSA issue and then I saw this update. thank you!
Wow I was just about to report the ALSA issue and then I saw this update. thank you!

#8
Posted 12/13/2014 11:01 PM   
Anybody else having problem with their board using R21.2? The ethernet keeps dying on me. Happened three times during the initial "apt-get upgrade" after flashing. Then again while trying to wget the Grinch packages. I re-flashed back to R21.1 and had no issues. Trying again now to get to R21.2 and it's happening again.
Anybody else having problem with their board using R21.2? The ethernet keeps dying on me. Happened three times during the initial "apt-get upgrade" after flashing. Then again while trying to wget the Grinch packages.

I re-flashed back to R21.1 and had no issues. Trying again now to get to R21.2 and it's happening again.

Chad Walker
Principal ASIC Design Engineer
NVIDIA Corporation

#9
Posted 12/15/2014 02:49 AM   
[quote="CWalkerNC"]Anybody else having problem with their board using R21.2? The ethernet keeps dying on me. Happened three times during the initial "apt-get upgrade" after flashing. Then again while trying to wget the Grinch packages. I re-flashed back to R21.1 and had no issues. Trying again now to get to R21.2 and it's happening again.[/quote] Known issue of this Realtek driver. See release notes. Short workaround is mii-tool to go to 100 Mb/s.
CWalkerNC said:Anybody else having problem with their board using R21.2? The ethernet keeps dying on me. Happened three times during the initial "apt-get upgrade" after flashing. Then again while trying to wget the Grinch packages.

I re-flashed back to R21.1 and had no issues. Trying again now to get to R21.2 and it's happening again.


Known issue of this Realtek driver. See release notes. Short workaround is mii-tool to go to 100 Mb/s.

#10
Posted 12/15/2014 04:28 AM   
Doh! Thanks!
Doh!

Thanks!

Chad Walker
Principal ASIC Design Engineer
NVIDIA Corporation

#11
Posted 12/15/2014 04:56 AM   
Is the 21.1 version problem does not occur? I follow the changes in the kernel between 21.1 and 21.2 and there are no changes in the realtek driver and the network stack.
Is the 21.1 version problem does not occur? I follow the changes in the kernel between 21.1 and 21.2 and there are no changes in the realtek driver and the network stack.
#12
Posted 12/15/2014 05:00 AM   
Everything works good for me including the e-con camera (USB 3.0). However, it keeps on crashing quite often.
Everything works good for me including the e-con camera (USB 3.0). However, it keeps on crashing quite often.

#13
Posted 12/15/2014 06:06 AM   
Santyago... I never experienced and issues with the Ethernet using 21.1. 21.2 gave me massive problems. It could just be coincidence, but that would be pretty strange.
Santyago...

I never experienced and issues with the Ethernet using 21.1.

21.2 gave me massive problems.

It could just be coincidence, but that would be pretty strange.

Chad Walker
Principal ASIC Design Engineer
NVIDIA Corporation

#14
Posted 12/15/2014 12:48 PM   
Would you be able to check the daily kernel compilation? It seems to me that solved the problem
Would you be able to check the daily kernel compilation? It seems to me that solved the problem
#15
Posted 12/15/2014 07:14 PM   
Scroll To Top

Add Reply