Skip to content
Snippets Groups Projects
  1. Mar 03, 2017
  2. Jan 23, 2017
  3. Jan 11, 2017
  4. Jan 10, 2017
    • Joakim Bech's avatar
      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
  5. Oct 21, 2016
  6. Jul 19, 2016
  7. Jun 15, 2016
  8. Apr 21, 2016
    • Joakim Bech's avatar
      Initial debian files for HiKey · a40320b1
      Joakim Bech authored
      
      It's working, but there is quite a few thing that should be fixed or
      just to make it better in general. See this initial commit as a working
      start, but slighly experimental. I think this will be easier to deal
      with in the future when Linaro builds will include more of this by
      default.
      
      List of things that could be better or should be fixed.
      
      - It builds a complete *.deb package for Linux kernel, modules, dtb etc,
        that is convenient, but also takes a lot of time and also it seems
        like it always start by cleaning the builds, which is a little bit
        annoying.
      
      - Each time you launch a new kernel build it will generate completely
        new *.deb files, but with incremented version number. Due to this
        we're using linux-image-*.deb when copy files to the device.
      
      - The UART will probably be hardcoded to UART3 after UEFI, since we're
        using a pre-built boot image.
      
      - We build EDK2 even though we download a pre-build boot image. If we
        sort out which kernel, initrd, dtb etc to put into grub, then we will
        probably not need to download a pre-built boot image and would not
        have the issue with the UART.
      
      - The versioning for the OP-TEE debian package is hardcoded in the
        makefile. It would be good to grab that from git instead for example,
        similar to how we do with the autogenerated h-file.
      
      - This is old, but I've noticed that we only support the 4G version (the
        partition table)
      
      - The URLs to the boot-image and the root fs are hardcoded, eventually
        they will become old an invalid at a point in time.
      
      - There are probably quite a few flags that either doesn't work or
        doesn't make sense when having HiKey / Debian as a target.
      
      Signed-off-by: default avatarJoakim Bech <joakim.bech@linaro.org>
      Tested-by: Joakim Bech <joakim.bech@linaro.org> (HiKey 4G)
      Reviewed-by: default avatarPascal Brand <pascal.brand@linaro.org>
      a40320b1
  9. Mar 22, 2016
  10. Mar 16, 2016
  11. Jan 22, 2016
  12. Dec 11, 2015
  13. Dec 04, 2015
  14. Nov 26, 2015
  15. Nov 12, 2015
  16. Nov 09, 2015
  17. Oct 14, 2015
  18. Oct 01, 2015
  19. Sep 16, 2015
  20. Sep 08, 2015
    • Jerome Forissier's avatar
      Rework common.mk · ae45fbf9
      Jerome Forissier authored
      
      The code added by commits d6536da6 ("Commonlize xtest compilation
      among all platforms") and 070d9559 ("common build: optee
      components") introduces race conditions that break parallel build (make
      -jX). This is due to manually launching a make sub-process to run the
      -common targets, and can be fixed by just declaring a dependency
      instead. Specific flags are appended to common flags, rather than
      passed as arguments to a new "make" sub-process.
      
      So, basically:
      
       foo-common:
       	$(MAKE) -C foo_dir [A=a B=B]
      
       foo:
       	$(MAKE) foo-common [C=c]
      
      is turned into:
      
       FOO_COMMON_FLAGS ?= A=a B=b
       foo-common:
       	$(MAKE) -C foo_dir $(FOO_COMMON_FLAGS)
      
       FOO_COMMON_FLAGS += C=c
       foo: foo-common
      
      At the same time this allows foo: to override flags, for instance
      set A=aa in the above example (prior to this, A=a would have had a
      higher priority).
      
      Signed-off-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
      Signed-off-by: default avatarPascal Brand <pascal.brand@st.com>
      Reviewed-by: default avatarJerome Forissier <jerome.forissier@linaro.org>
      ae45fbf9
  21. Sep 03, 2015
  22. Sep 01, 2015
  23. Jul 09, 2015
Loading