Public bug reported:

[Impact]

 * Currently it is not possible to use the SLB9670 TPM module with
Ubuntu Core since we do not ship the required devicetree overlay to
enable it
https://github.com/raspberrypi/linux/commit/c28ac2dc08bd73963f953a757a3362c64b5524ed
and there is no way for snaps to easily add their own devicetree
overlay. Finally it is not practical to expect Ubuntu Core users to have
to build and maintain their own kernels just to support a particular
hardware device.

For background discussion, refer to this thread on the snapcraft forums
- https://forum.snapcraft.io/t/guidance-on-snap-interface-to-load-a
-device-tree-overlay-on-rpi-core18/10106/11

 * Once this overlay is added, then users simply need to modify the boot
config.txt to enable the overlay to be loaded automatically. In the
future, snapd might also enable support so this can be managed by snapd
via snap system configuration.

[Test Case]

 * Boot a RPi with a SLB9670 connected, modify /boot/config.txt to
specify dtoverlay=tpm-slb9670, then load the tpm_tis_spi module and
/dev/tpm0 should the be available.

[Regression Potential]

 * Almost zero chance of regression potential since this is simply
adding a new overlay to the kernel. This is not loaded automatically so
there is no real chance of regression.

[Other Info]
 
 * All that is required for this SRU is to merge 
https://github.com/raspberrypi/linux/commit/c28ac2dc08bd73963f953a757a3362c64b5524ed
 to the current bionic raspi kernel branch.

** Affects: linux-raspi2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1822036

Title:
  Add devicetree overlay to support the SLB9670 TPM module for RPi

Status in linux-raspi2 package in Ubuntu:
  New

Bug description:
  [Impact]

   * Currently it is not possible to use the SLB9670 TPM module with
  Ubuntu Core since we do not ship the required devicetree overlay to
  enable it
  
https://github.com/raspberrypi/linux/commit/c28ac2dc08bd73963f953a757a3362c64b5524ed
  and there is no way for snaps to easily add their own devicetree
  overlay. Finally it is not practical to expect Ubuntu Core users to
  have to build and maintain their own kernels just to support a
  particular hardware device.

  For background discussion, refer to this thread on the snapcraft
  forums - https://forum.snapcraft.io/t/guidance-on-snap-interface-to-
  load-a-device-tree-overlay-on-rpi-core18/10106/11

   * Once this overlay is added, then users simply need to modify the
  boot config.txt to enable the overlay to be loaded automatically. In
  the future, snapd might also enable support so this can be managed by
  snapd via snap system configuration.

  [Test Case]

   * Boot a RPi with a SLB9670 connected, modify /boot/config.txt to
  specify dtoverlay=tpm-slb9670, then load the tpm_tis_spi module and
  /dev/tpm0 should the be available.

  [Regression Potential]

   * Almost zero chance of regression potential since this is simply
  adding a new overlay to the kernel. This is not loaded automatically
  so there is no real chance of regression.

  [Other Info]
   
   * All that is required for this SRU is to merge 
https://github.com/raspberrypi/linux/commit/c28ac2dc08bd73963f953a757a3362c64b5524ed
 to the current bionic raspi kernel branch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1822036/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to