1. Dec 16, 2019
  2. Dec 06, 2019
    • Martin Pietryka's avatar
      include: sbi_platform: fix compilation for GCC-9 · dc400423
      Martin Pietryka authored
      
      
      GCC-9 will throw a warning when using the %s format specifier with a
      possible NULL parameter and since -Werror is used, the compilation breaks
      for GCC-9.
      
      In function 'sbi_boot_prints',
          inlined from 'init_coldboot' at <redacted>/opensbi/lib/sbi/sbi_init.c:107:3,
          inlined from 'sbi_init' at <redacted>/opensbi/lib/sbi/sbi_init.c:189:3:
      <redacted>/opensbi/lib/sbi/sbi_init.c:56:2: error: '%s' directive argument is null [-Werror=format-overflow=]
         56 |  sbi_printf("Platform Name          : %s\n", sbi_platform_name(plat));
            |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
      
      This is one way to fix this, currently there is nothing in the tree
      checking for `sbi_platfrom_name() == NULL` so we can just return "Unknown"
      instead of NULL on failure.
      
      Signed-off-by: default avatarMartin Pietryka <martin@pietryka.at>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      Tested-by: default avatarDavid Abdurachmanov <david.abdurachmanov@sifive.com>
      dc400423
  3. Nov 27, 2019
  4. Nov 26, 2019
  5. Nov 21, 2019
  6. Nov 15, 2019
  7. Nov 06, 2019
  8. Nov 05, 2019
  9. Oct 28, 2019
  10. Oct 09, 2019
  11. Oct 03, 2019
  12. Oct 02, 2019
  13. Sep 30, 2019
  14. Sep 28, 2019
  15. Sep 25, 2019
    • Bin Meng's avatar
      docs: platform: Update descriptions for qemu/sifive_u support · 88537582
      Bin Meng authored
      
      
      With QEMU v4.2 release that has improved the emulation fidelity
      of 'sifive_u' machine, OpenSBI v0.4 / U-Boot v2019.10-rc1 / Linux
      kernel v5.3-rc2 images built for the SiFive HiFive Unleashed board
      can be used out of the box without any special hack.
      
      Update our documents to mention 'qemu/sifive_u' platform should
      only be used with QEMU v4.1 or before, and it will be dropped
      sometime in the future release.
      
      Going forward, 'sifive/fu540' platform can be used on both real
      hardware and QEMU v4.2+ 'sifive_u' machine.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarAnup Patel <anup.patel@wdc.com>
      88537582
  16. Sep 10, 2019