Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 22, 2016
  3. Mar 16, 2016
  4. Jan 22, 2016
  5. Dec 11, 2015
  6. Dec 04, 2015
  7. Nov 26, 2015
  8. Nov 12, 2015
  9. Nov 09, 2015
  10. Oct 14, 2015
  11. Oct 01, 2015
  12. Sep 16, 2015
  13. 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
  14. Sep 03, 2015
  15. Sep 01, 2015
  16. Jul 09, 2015
Loading