1. Feb 19, 2019
  2. Feb 18, 2019
  3. Feb 17, 2019
  4. Feb 16, 2019
  5. Feb 15, 2019
  6. Feb 14, 2019
  7. 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
    • Anup Patel's avatar
      platform: template: Improve comments for FW_JUMP_ADDR and FW_PAYLOAD_OFFSET · ab12d6ef
      Anup Patel authored
      
      
      Both FW_JUMP_ADDR and FW_PAYLOAD_OFFSET, should be:
      1. 4MB aligned for 32bit system
      2. 2MB aligned for 64bit system
      
      Explicitly specify the above details in config.mk comments
      for template platform.
      
      Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
      ab12d6ef
  8. Feb 08, 2019
  9. Feb 06, 2019
  10. Feb 05, 2019