1. 26 Sep, 2018 1 commit
    • Haojian Zhuang's avatar
      hikey: fix build issue for clang · 00a64624
      Haojian Zhuang authored
      
      
      plat/hisilicon/hikey/include/plat_macros.S:19:55: error: unexpected token in '.asciz' directive
       .asciz "gicd_ispendr regs (Offsets 0x200 - 0x278)\n" " Offset:\t\t\tvalue\n"
                                                            ^
      Makefile:720: recipe for target 'build/hikey/debug/bl1/cortex_a53.o' failed
      make: *** [build/hikey/debug/bl1/cortex_a53.o] Error 1
      
      Merge two lines into one line.
      Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
      00a64624
  2. 22 Jul, 2018 1 commit
  3. 20 Jul, 2018 1 commit
  4. 06 Jul, 2018 1 commit
    • Teddy Reed's avatar
      hikey: Add development TBB support · e59a3bff
      Teddy Reed authored
      
      
      This patch adds experimental support for TRUSTED_BOARD_BOOT to the
      Hikey. This is adapted from the RPi3 and QEMU implementations.
      
      Since the Hikey starts from BL2 the TRUSTED_BOARD_BOOT ROT begins there
      too. When TRUSTED_BOARD_BOOT is defined, the BL1 build is skipped.
      
      See the following example:
      
      make \
       PLAT=hikey \
       BL33=u-boot.bin \
       SCP_BL2=mcuimage.bin \
       TRUSTED_BOARD_BOOT=1 \
       MBEDTLS_DIR=../../mbedtls \
       GENERATE_COT=1 \
       all fip
      Signed-off-by: default avatarTeddy Reed <teddy.reed@gmail.com>
      e59a3bff
  5. 12 Mar, 2018 1 commit
    • Michael Brandl's avatar
      plat/hikey: boot memory layout to dedicated file · 4368ae07
      Michael Brandl authored
      
      
      Boot memory layout is specific for a platform, but should not be
      mixed up with other platform specific attributes. A separate file is
      much cleaner and better to compare with other platforms. Take a look
      at plat/poplar where it is done the same way.
      
      Moved hikey_def.h to system include folder and moved includes from
      hikey_def.h to more general platform_def.h.
      Signed-off-by: default avatarMichael Brandl <git@fineon.pw>
      4368ae07
  6. 05 Mar, 2018 2 commits
  7. 27 Feb, 2018 1 commit
  8. 01 Nov, 2017 1 commit
  9. 18 Oct, 2017 1 commit
  10. 13 Sep, 2017 1 commit
  11. 07 Sep, 2017 1 commit
    • Leo Yan's avatar
      Hikey: enable CPU debug module · e246617b
      Leo Yan authored
      
      
      Every CPU has its own debug module and this module is used by JTAG
      debugging and coresight tracing. If without enabling it, it's easily to
      introduce lockup issue when we enable debugging features.
      
      This patch is to enable CPU debug module when power on CPU; this allows
      connecting to all cores through JTAG and used by kernel coresight
      driver.
      Signed-off-by: default avatarMatthias Welwarsky <maw@sysgo.com>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      e246617b
  12. 01 Sep, 2017 2 commits
  13. 26 Jul, 2017 1 commit
    • Leo Yan's avatar
      hikey: Disable VBUS_DET interrupt for PMIC · c9e8774c
      Leo Yan authored
      
      
      After disconnect Jumper pin 1-2 in J15 header, the signal VBUS_DET is to
      be pulled down to low level. This will assert the interrupt signal in
      PMIC and trigger IRQ in GIC; the asserted signal from VBUS_DET is level
      triggered and kernel reports the warning for unhooked interrupt handling;
      and VBUS_DET stays with low level, this triggers IRQ storm in kernel.
      
      This patch is to disable interrupt for VBUS_DET in PMIC, this can
      dismiss the verbose log and IRQ storm after kernel booting.
      
      [   40.835279] irq 57: nobody cared (try booting with the "irqpoll" option)
      [   40.842075] CPU: 0 PID: 980 Comm: irq/57-hi655x-p Not tainted 4.4.77-568944-g576a0114dec8-dirty #667
      [   40.851303] Hardware name: HiKey Development Board (DT)
      [   40.856580] Call trace:
      [   40.859060] [<ffffff800808c4cc>] dump_backtrace+0x0/0x1e0
      [   40.864516] [<ffffff800808c8ac>] show_stack+0x20/0x28
      [   40.869622] [<ffffff80084b9688>] dump_stack+0xa8/0xe0
      [   40.874729] [<ffffff800812dd5c>] __report_bad_irq+0x40/0xec
      [   40.880360] [<ffffff800812e0bc>] note_interrupt+0x1e4/0x2d8
      [   40.885992] [<ffffff800812b11c>] handle_irq_event_percpu+0xd8/0x268
      [   40.892324] [<ffffff800812b2f8>] handle_irq_event+0x4c/0x7c
      [   40.897955] [<ffffff800812ecbc>] handle_level_irq+0xcc/0x178
      [   40.903672] [<ffffff800812a778>] generic_handle_irq+0x34/0x4c
      [   40.909481] [<ffffff80085074c8>] pl061_irq_handler+0xa8/0x124
      [   40.915286] [<ffffff800812a778>] generic_handle_irq+0x34/0x4c
      [   40.921092] [<ffffff800812a820>] __handle_domain_irq+0x90/0xf8
      [   40.926985] [<ffffff8008082620>] gic_handle_irq+0x58/0xa8
      Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
      Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
      c9e8774c
  14. 12 Jul, 2017 2 commits
    • Victor Chong's avatar
      hikey: Add BL32 (OP-TEE) support · 3b6e88a2
      Victor Chong authored
      
      Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
      3b6e88a2
    • Victor Chong's avatar
      hikey: Remove unnecessary code · c0cde364
      Victor Chong authored
      
      
      PLATFORM_LINKER_FORMAT
      and
      PLATFORM_LINKER_ARCH
      defines are removed from
      plat/hisilicon/hikey/include/platform_def.h
      since there are already defined in
      include/plat/common/common_def.h
      which is included by
      plat/hisilicon/hikey/hikey_def.h
      which is included by
      plat/hisilicon/hikey/include/platform_def.h
      
      The line
      $(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
      is removed from
      plat/hisilicon/hikey/platform.mk
      to clear the warning below:
      
      Makefile:544: warning: overriding commands for target `check_SCP_BL2'
      plat/hisilicon/hikey/platform.mk:19: warning: ignoring old commands for target `check_SCP_BL2'
      
      $(eval $(call FIP_ADD_IMG,SCP_BL2,--scp-fw))
      already exists in
      Makefile
      and applies to plat hikey so is redundant in
      plat/hisilicon/hikey/platform.mk
      Signed-off-by: default avatarVictor Chong <victor.chong@linaro.org>
      c0cde364
  15. 07 Jun, 2017 1 commit
  16. 24 May, 2017 3 commits