Hardware Enablement Stack

Has anybody successfully upgraded L4T 21.5 to Ubuntu 14.04.5 with HWE?

I just tried to do it naively and it doesn’t seem to work properly. I get this towards the end of the process:

update-initramfs: Generating /boot/initrd.img-4.4.0-75-generic
cryptsetup: WARNING: could not determine root device from /etc/fstab
Warning: root device  does not exist

Press Ctrl-C to abort build, or Enter to continue

run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-75-generic /boot/vmlinuz-4.4.0-75-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-75-generic /boot/vmlinuz-4.4.0-75-generic
run-parts: executing /etc/kernel/postinst.d/zz-flash-kernel 4.4.0-75-generic /boot/vmlinuz-4.4.0-75-generic
flash-kernel: deferring update (trigger activated)
Setting up linux-image-generic-lts-xenial (4.4.0.75.62) ...
Setting up linux-headers-4.4.0-75 (4.4.0-75.96~14.04.1) ...
Setting up linux-headers-4.4.0-75-generic (4.4.0-75.96~14.04.1) ...
Setting up linux-headers-generic-lts-xenial (4.4.0.75.62) ...
Setting up linux-generic-lts-xenial (4.4.0.75.62) ...
Setting up xserver-xorg-video-amdgpu-lts-xenial (1.1.0-1~trusty1) ...
Setting up xserver-xorg-video-radeon-lts-xenial (1:7.7.0-1~trusty2) ...
Setting up xserver-xorg-video-r128-lts-xenial (6.10.0-1build2~trusty1) ...
Setting up xserver-xorg-video-mach64-lts-xenial (6.9.5-1build2~trusty1) ...
Setting up xserver-xorg-video-ati-lts-xenial (1:7.7.0-1~trusty2) ...
Setting up xserver-xorg-video-fbdev-lts-xenial (1:0.4.4-1build5~trusty1) ...
Setting up xserver-xorg-video-nouveau-lts-xenial (1:1.0.12-1build2~trusty1) ...
Setting up xserver-xorg-video-vesa-lts-xenial (1:2.3.4-1build2~trusty1) ...
Setting up xserver-xorg-video-all-lts-xenial (1:7.7+13ubuntu3~trusty2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Processing triggers for flash-kernel (3.0~rc.4ubuntu49.7) ...
Unsupported platform.
dpkg: error processing package flash-kernel (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 flash-kernel
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is this a TK1? Default kernel if using L4T is a 3.x kernel, I see 4.x…I assume you’re not using R21.5, but instead some mainstream port. I’ve not heard of a 4.x kernel playing well when mixed in to L4T.

It did start off with kernel 3.10.40-ga7da876.

What I did was this:

  1. Flash L4T R21.5 onto the Jetson TK1 using official JetPack 3.0;
  2. run this command according to https://wiki.ubuntu.com/Kernel/LTSEnablementStack:
    sudo apt-get install --install-recommends linux-generic-lts-xenial xserver-xorg-core-lts-xenial xserver-xorg-lts-xenial xserver-xorg-video-all-lts-xenial xserver-xorg-input-all-lts-xenial libwayland-egl1-mesa-lts-xenial
    

That’s why you see kernel 4.x in the above command line output.

I think the main problem is with the lack of support for the Jetson TK1 in that particular version of flash-kernel.

However, if I look here, it appears that support for Jetson TK1 has been merged at some point into flash-kernel: [url]http://package-import.ubuntu.com/merges/flash-kernel[/url]

I’d be most worried if the X upgrades break the ABI. Does this still show ok?

sha1sum -c /etc/nv_tegra_release