Skip to content
Snippets Groups Projects
  1. Feb 24, 2021
  2. Feb 16, 2021
  3. Feb 06, 2021
  4. Feb 01, 2021
  5. Jan 27, 2021
  6. Jan 15, 2021
    • Ley Foon Tan's avatar
      tools: socfpgaimage: update padding flow · 40551cf9
      Ley Foon Tan authored
      
      The existing socfpgaimage always pads the image to the maximum size of
      OCRAM size. This will break in the encryption flow where it expects the
      image to be un-padded. The encryption tool will do the encryption for
      the whole image and append the signature key at end of the image.
      The signature key will append to beyond the size of OCRAM if the image
      is padded with the maximum size before encryption.
      
      Move the padding step from socfpgaimage to Makefile and pads with objcopy
      command.
      
      socfpgaimage will pad the image with 16 bytes aligned (including CRC word),
      this is a requirement in encryption flow.
      
      Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
      40551cf9
  7. Jan 11, 2021
  8. Jan 05, 2021
  9. Dec 21, 2020
  10. Dec 01, 2020
  11. Nov 30, 2020
  12. Nov 09, 2020
  13. Nov 06, 2020
  14. Oct 29, 2020
  15. Oct 28, 2020
  16. Oct 27, 2020
  17. Oct 23, 2020
    • Pali Rohár's avatar
      Makefile: Fix u-boot-nodtb.bin target · ae897022
      Pali Rohár authored and Tom Rini's avatar Tom Rini committed
      
      This change fixes two issues when building u-boot-nodtb.bin target:
      
      * Remove intermediate binary u-boot-nodtb.bin from disk when static_rela
        call (which modifies u-boot-nodtb.bin binary) failed. It is required
        because previous objcopy call creates binary and static_rela finish it.
      
      * Do not call static_rela cmd when u-boot-nodtb.bin binary was not
        created/updated by previous objcopy call.
      
      Second fix would ensure that u-boot-nodtb.bin binary is not updated when
      all prerequisites were up-to-date. And therefore final binary u-boot.bin
      is not updated in case all prerequisites were not modified and were
      up-to-date.
      
      Now running 'make SOURCE_DATE_EPOCH=0 u-boot.bin' second time now does not
      touch u-boot.bin binary in case nothing was modified, so GNU make can
      correctly detect that everything is up-to-date.
      
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      ae897022
  18. Oct 22, 2020
  19. Oct 19, 2020
  20. Oct 09, 2020
    • Chee Hong Ang's avatar
      Makefile: socfpga: Generate sfp file with 4 SPL images · 505dc1c6
      Chee Hong Ang authored
      
      Generate 'u-boot-splx4.sfp' which consist of 4 SPL images required
      for booting up Cyclone5/Arria10.
      
      By default, this 'u-boot-splx4.sfp' is generated without extra
      padding after each SPL image.
      
      For Cyclone5, 'u-boot-splx4.sfp' contains:
      4 x SPL(64KB) = 256KB
      
      For Arria10, 'u-boot-splx4.sfp' contains:
      4 x SPL(256KB) = 1024KB
      
      For Cyclone5 using NAND flash image layout for 128 KB memory blocks,
      user can 'make' the following target to generate 4 SPL images with
      padding:
      
      make u-boot-spl-padx4.sfp
      
      'u-boot-spl-padx4.sfp' contains four 128KB SPL images (each 64KB SPL is
      followed by 64KB of zero-padding).
      4 x (SPL(64KB) + zero-padding(64KB)) = 512KB
      
      Signed-off-by: default avatarChee Hong Ang <chee.hong.ang@intel.com>
      Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
      505dc1c6
  21. Oct 05, 2020
  22. Sep 22, 2020
  23. Sep 21, 2020
  24. Sep 12, 2020
  25. Sep 07, 2020
  26. Aug 26, 2020
  27. Aug 12, 2020
  28. Aug 10, 2020
  29. Aug 08, 2020
  30. Jul 29, 2020
Loading