Skip to content
Snippets Groups Projects
  • Joakim Bech's avatar
    6f7c87ae
    hikey: Update HiKey Debian for 2.3.0 release · 6f7c87ae
    Joakim Bech authored
    - Use a newer boot image (pre-built 16.06 UEFI image)
    - Remove sudo requirement when using burn-boot
    - Add udev rules help, similar to the hikey.mk file
    - Step up OPTEE_PKG_VERSION to 2.3-0
    
    Known issues:
    - On HiKey 4G devices it seems like the partition table is to small to
      be able fit the newer 16.06 Debian root fs. It might be that we can
      tweak the partition table a bit, but for the moment we will keep using
      the 16.03 Debian root fs.
    
    - When running this on the device
         $ dpkg --force-all -i /tmp/linux-image-*.deb
      there will be errors like this:
         blockdev: ioctl error on BLKROSET: Operation not permitted
      According to the comments in:
         https://github.com/OP-TEE/optee_os/issues/1234
    
    
      that message only shows up on the 16.03 root fs and it seems to only
      show up when running later kernel versions. However, if you reboot the
      device, everything is working, i.e, it will boot up your new kernel
      etc. We need to investige further to find the root cause for the error
      message and to implement a proper solution without error messages.
    
    Signed-off-by: default avatarJoakim Bech <joakim.bech@linaro.org>
    Reviewed-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
    6f7c87ae
    History
    hikey: Update HiKey Debian for 2.3.0 release
    Joakim Bech authored
    - Use a newer boot image (pre-built 16.06 UEFI image)
    - Remove sudo requirement when using burn-boot
    - Add udev rules help, similar to the hikey.mk file
    - Step up OPTEE_PKG_VERSION to 2.3-0
    
    Known issues:
    - On HiKey 4G devices it seems like the partition table is to small to
      be able fit the newer 16.06 Debian root fs. It might be that we can
      tweak the partition table a bit, but for the moment we will keep using
      the 16.03 Debian root fs.
    
    - When running this on the device
         $ dpkg --force-all -i /tmp/linux-image-*.deb
      there will be errors like this:
         blockdev: ioctl error on BLKROSET: Operation not permitted
      According to the comments in:
         https://github.com/OP-TEE/optee_os/issues/1234
    
    
      that message only shows up on the 16.03 root fs and it seems to only
      show up when running later kernel versions. However, if you reboot the
      device, everything is working, i.e, it will boot up your new kernel
      etc. We need to investige further to find the root cause for the error
      message and to implement a proper solution without error messages.
    
    Signed-off-by: default avatarJoakim Bech <joakim.bech@linaro.org>
    Reviewed-by: default avatarJerome Forissier <jerome.forissier@linaro.org>