1. Mar 05, 2019
  2. Feb 28, 2019
  3. Feb 27, 2019
  4. Feb 26, 2019
  5. Feb 22, 2019
  6. Feb 20, 2019
  7. Feb 19, 2019
  8. Feb 18, 2019
  9. Feb 17, 2019
  10. Feb 16, 2019
  11. Feb 15, 2019
  12. Feb 14, 2019
  13. Feb 12, 2019
    • Anup Patel's avatar
      Makefile: Set ABI, ISA and Code Model in top-level make · c5467fce
      Anup Patel authored
      
      
      This patch introduces following optional PLATFORM options:
      PLATFORM_RISCV_XLEN -> RISC-V register width
      PLATFORM_RISCV_ABI -> RISC-V GCC ABI
      PLATFORM_RISCV_ISA -> RISC-V GCC ISA string
      PLATFORM_RISCV_CODE_MODEL -> RISC-V GCC Code Model
      
      If the above options are not provided by platform config.mk
      or by command-line parameters then:
      1. PLATFORM_RISCV_XLEN will be determined using toolchain
      capability
      2. PLATFORM_RISCV_ABI, PLATFORM_RISCV_ISA, and
      PLATFORM_RISCV_CODE_MODEL is set to value best suited for
      generic libsbi.a
      
      As a result of these optional PLATFORM options, the
      platform-cflags-y and platform-asflags-y is further
      simplified for platform config.mk.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      c5467fce
    • Anup Patel's avatar
      platform: qemu: Set FW_JUMP_ADDR and FW_PAYLOAD_OFFSET as-per XLEN · 84169e2e
      Anup Patel authored
      
      
      The current 4MB aligned FW_JUMP_ADDR and FW_PAYLOAD_OFFSET breaks
      U-Boot on QEMU virt and sifive_u machines.
      
      Instead of using 4MB aligned for both 32bit and 64bit systems, we
      use different values based compiler XLEN. Another advantage of this
      approach will be that our fw_payload.bin will smaller for 64bit
      systems.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      84169e2e