Skip to content

Commit

Permalink
Merge to master 22 feb 2021 (#53)
Browse files Browse the repository at this point in the history
* Merge pull request #99 in CTORISCVFWINFRA/riscv-fw-infrastructure from b-comrv-rtos to master

Squashed commit of the following:

commit dafd770e5a6cc48824635501255ff6c83636b616
Author: [email protected] <[email protected]>
Date:   Thu Aug 6 18:04:05 2020 +0300

    bug fix:
    - when context switch in comrv 3 register were missing when saving to task stack from comrv task stack
    - use D_BIT_MANIPULATION instead of __riscv_bitmanip

commit 64d03f9b3bda042d9eb02de8007121b085eda2e2
Merge: 7b5c487 9188aa6
Author: [email protected] <[email protected]>
Date:   Thu Aug 6 17:12:31 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit 7b5c4877ec840fa14233bcae2bde311c99a62809
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 20:54:38 2020 +0300

    changes:
    use __riscv_bitmanip define in comrv
    new whisper version - fix registers and CSRs exposed to the end user

commit 9675ce3d03029058a70f1776bb45398ed65ed047
Merge: 371d28f 735067e
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 12:24:21 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit 371d28fe9ce043f3c5e614856cb477b00f0d00d3
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 11:41:46 2020 +0300

    align to llvm fix:
    I've reported an issue with llvm (07-08-2019): 'riscv inline assembly input operand failure'; this issue was fixed and our llvm has this fix, so I modify the comrv code accordingly. Link to the issue https://bugs.llvm.org/show_bug.cgi?id=42912

commit e1f0cc4a57118b7c5975985cf7a4bc0b64bf0950
Merge: b22329e 09c771a
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 10:44:40 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit b22329eb0e78adf6e084628881b1078aaaba84e4
Merge: 62b3962 27b7600
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 16:57:48 2020 +0300

    merge

commit 62b3962936db326de6fcd4c7e91421ec1cb1b30d
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 16:55:37 2020 +0300

    new whisper version:
    whisper version with a fix related to sw interrupt
    comrv - empty macro for triggering sw interrupt
    comrv - add missing code (ret) in comrvReset

commit 9b066cb9e9ec673ff2a02a3db062a182a1042b85
Merge: fbefee6 46c26ea
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 13:29:22 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit fbefee66960b8a27a3bffdac13c24087be189874
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 11:57:20 2020 +0300

    CR changes:
    > rename reset function to comrvReset
    > comrvReset now gets an enum as input
    add call to comrvReset in the baremetal demo
    add critical section protection when resetting comrv control block

commit 529d475ff7ac3e78dc063e24768271d9e8e44b89
Author: [email protected] <[email protected]>
Date:   Sun Jul 26 15:55:34 2020 +0300

    add reset function comrvResetCacheCB()

* Update readme:
* Remove support for lagacy Nexys
* Remove support for unleashed
* Adding support for EH2, EL2
* Adding comments for shallow cloning

* adding link to swerfolf

* Merge pull request #107 in CTORISCVFWINFRA/riscv-fw-infrastructure from static/bitmanip_eh2_el2_to_master to master

* Bitmanip support

Squashed commit of the following:

commit 2961c33ee2c95ab3f225e98bc91ad8b46cb7c443
Author: nati rapaport <[email protected]>
Date:   Tue Aug 25 18:30:10 2020 +0300

    merge 2 static brances, to get rid of unwanted commit's history

* Merge pull request #105 in CTORISCVFWINFRA/riscv-fw-infrastructure from mpmc_haltie_fix_for_ehx1 to master

**** Add 'haltie' option in mpmc CSR when setting core to 'Halted' state. Currently demo fails! since there is no HW support
**** 'haltie' feature is supported only if SweRV EH1 version is bigger than 0.9 and EH2

Squashed commit of the following:

commit ed29a66e3a3ab81180470758c4b9743771f65cac
Merge: 88ff9ab 759c8c6
Author: nati rapaport <[email protected]>
Date:   Tue Sep 1 19:57:22 2020 +0300

    Merge branch 'master' into mpmc_haltie_fix_for_ehx1

commit 88ff9ab6a806a3202b8e651fd5b609c16b0b77b8
Author: nati rapaport <[email protected]>
Date:   Mon Aug 24 14:26:37 2020 +0300

    use string D_EHX1_VER_1_0 and D_EHX1_VER_0_9 to distinguish the EHX1 versions

commit 5c79f15f8b08a19c36f9f69311585a5c9857d284
Author: nati rapaport <[email protected]>
Date:   Sun Aug 23 18:51:09 2020 +0300

    fix the demo function - disable interrupts before starting the 'haltie' test

commit 1b48180a20e29c82dd48a1c1faf51112a53b2e51
Author: nati rapaport <[email protected]>
Date:   Sun Aug 23 15:08:41 2020 +0300

    SweRV EL2 and EH2 are aligned with SweRV EHX1 meaning they both support 'haltie' feature

commit 7da73495bc9610346f4c208d0dd323334e07d50c
Author: nati rapaport <[email protected]>
Date:   Sun Aug 23 14:24:24 2020 +0300

    'haltie' feature is supported only if SweRV EHX1 version is bigger than 0.9

commit a67755c4b2b01a6e4abc6321538ed18a18c8c40f
Author: nati rapaport <[email protected]>
Date:   Thu Aug 20 11:22:48 2020 +0300

    Add 'haltie' option in mpmc CSR when setting core to 'Halted' state. Currently demo fails!

* Merge pull request #109 in CTORISCVFWINFRA/riscv-fw-infrastructure from CSRs_updates_SweRV_EL2_EH2 to master

***** Updated CSRs for SweRV EL2 and EH2

Squashed commit of the following:

commit 51bfb32e1816d71ea3c9091239042bf89b2c71a1
Author: nati rapaport <[email protected]>
Date:   Wed Aug 26 15:04:01 2020 +0300

    CSRs update for EL2 and EH2

* Merge pull request #102 in CTORISCVFWINFRA/riscv-fw-infrastructure from swerv_2nd_gen_timer_feature to master

**** Add 'cascade' feature to 2'nd-gen SweRV
**** Disable/restore interrupts upon timers setup (for all SweRV generations)
**** Some in-code documentation fixes (for all Cores)

Squashed commit of the following:

commit e6df7a2478f3ee6e5d4586b9466ecceed40fae0c
Merge: 992fa75 71aa66a
Author: nati rapaport <[email protected]>
Date:   Wed Sep 2 15:46:24 2020 +0300

    Merge branch 'master' into swerv_2nd_gen_timer_feature

commit 992fa75e834bed301a9f53320152030012276f4d
Author: nati rapaport <[email protected]>
Date:   Tue Aug 25 22:59:17 2020 +0300

    Address PR remarks

commit b5b0227e8a392269688f591a3c89cfe55cba71cd
Author: nati rapaport <[email protected]>
Date:   Wed Aug 19 17:27:35 2020 +0300

    enabe/restore interrupts upon timers setup in Swerv-EH1 also

commit e90e711a80843bbf340c6795cf3f8f2e1c64ec17
Author: nati rapaport <[email protected]>
Date:   Wed Aug 19 17:26:08 2020 +0300

    Add 'cascade' feature to 2'nd-gen SweRV + enabe/restore interrupts upon timers setup + some in-code documentation fixes

* Merge pull request #103 in CTORISCVFWINFRA/riscv-fw-infrastructure from perf_monitor_fix_and_2nd_gen to master

*** fix - performance-monitor to supply 64bit of event counters rather only 32bits
*** add EL2 and EH2 perf-monitor features

Squashed commit of the following:

commit 161c54d6872b255b7498cc1ab8fd1a298a950d10
Author: nati rapaport <[email protected]>
Date:   Thu Sep 3 11:57:51 2020 +0300

    some modifications following the merge with master

commit f71ca683b3620cc4314efb3264f301c16086fbee
Merge: f2c98aa a60ae56
Author: nati rapaport <[email protected]>
Date:   Thu Sep 3 10:02:11 2020 +0300

    Merge branch 'master' into perf_monitor_fix_and_2nd_gen

commit f2c98aaf5bd96dd68ae0ef3928339c712baf852c
Author: nati rapaport <[email protected]>
Date:   Wed Sep 2 09:48:15 2020 +0300

    Address PR comments - give a 0xDEADBEEF default value to returned perf-mon counter. Locate functions in PSP section

commit 430a528561b699b26d21746a67a14f2adf597b4d
Author: nati rapaport <[email protected]>
Date:   Tue Sep 1 12:23:45 2020 +0300

    common base of SeRV eh1 aaaaand el2 in the demo function

commit 4c008956e72ab9b72f94dae243e98eb2b407abc8
Author: nati rapaport <[email protected]>
Date:   Mon Aug 31 21:01:12 2020 +0300

    modify perf-mon demo to control all counters and to enable/disable all. fix a bug in psp - remove wrong CSR definition of timer counter

commit 7cb259f1c01156415b6c95807fe9ca1338548534
Author: nati rapaport <[email protected]>
Date:   Mon Aug 24 15:43:56 2020 +0300

    set/clear all 5 counters in one CSR access rather than 5 accesses

commit 35a6fa6d7e2add1b349a452fe714691dac37f3b3
Author: nati rapaport <[email protected]>
Date:   Mon Aug 24 15:05:59 2020 +0300

    Do not #undef.. events from eh1 to eh2 and el2

commit 6a971d8dc519ba3be19e64994e06e7ecd781694d
Author: nati rapaport <[email protected]>
Date:   Thu Aug 20 19:06:05 2020 +0300

    add EL2 and EH2 perf-monitor features

commit 16f39487694e0b792e7f3b758d367899d5b72baf
Author: nati rapaport <[email protected]>
Date:   Thu Aug 20 16:02:29 2020 +0300

    fix - performance-monitor to supply 64bit of event counters rather only 32bits

* Merge pull request #108 in CTORISCVFWINFRA/riscv-fw-infrastructure from NMIs_el2_eh2 to master

**** NMIs updated features for SweRV EL2 and EH2

Squashed commit of the following:

commit 829f2dbac157806285d956a9f4c3feec6693e25c
Author: nati rapaport <[email protected]>
Date:   Thu Sep 3 13:29:01 2020 +0300

    modify demo/demo_pwr_mgmt_control.c following merge with master

commit 3990c0e4d9a9d11e2072956984d5bede65c28de4
Merge: 90c2d56 67bbb46
Author: nati rapaport <[email protected]>
Date:   Thu Sep 3 13:27:50 2020 +0300

    Merge branch 'master' into NMIs_el2_eh2

commit 90c2d562c8c0d90244f49b0b7ec46c96b9b2cdb2
Merge: e81f63d a60ae56
Author: nati rapaport <[email protected]>
Date:   Thu Sep 3 12:20:07 2020 +0300

    Merge branch 'master' into NMIs_el2_eh2

commit e81f63d2bb57688b6a9e0968a92afe47ec353ab9
Author: nati rapaport <[email protected]>
Date:   Wed Aug 26 14:40:21 2020 +0300

    NMIs changes for EL2 and EH2

* Merge pull request #111 in CTORISCVFWINFRA/riscv-fw-infrastructure from some_cleanup to master

*** Add interrupts-vector registration at bitmanip demo start
*** Rename psp_bitmanip_eh2.h --> psp_bitmanip_el2.h
*** Rename eh2 whisper launcher names to be more clear

Squashed commit of the following:

commit 3b4257d48f6d76751714a35c8af17e69e6b2ffca
Author: nati rapaport <[email protected]>
Date:   Mon Sep 7 17:18:40 2020 +0300

    forgot to commit the eh2 whisper launcher with the new name..

commit bf2e21364e8895379d7953a68093c8fabab5ad47
Author: nati rapaport <[email protected]>
Date:   Mon Sep 7 16:58:55 2020 +0300

    rename psp_bitmanip_eh2.h -> psp_bitmanip_el2.h, add instructions-vector registration at the start of bitmanip demo, rename eh2 whisper launcher names to be clearer

* Merge pull request #101 in CTORISCVFWINFRA/riscv-fw-infrastructure from b-comrv-rtos to master

*** bug fix in comrv - defragmentation implementation was incorrect; fix was tested with cti
*** bug fix in python script - in case a cache entry isn't used, a size of 1 was used for it instead of its real size (fix already pushed to gitlab binutiels)
*** in comrv.c rename comrv_ti -> cti

Squashed commit of the following:

commit 296375be2431d47339d1eb105845e0f92ab362d4
Author: [email protected] <[email protected]>
Date:   Mon Aug 17 10:47:17 2020 +0300

    add CTI defrag mark and rename CTI macros fro D_ to M_

commit 1d305d31dc15259a6625196e6d3634f2f321c01a
Author: [email protected] <[email protected]>
Date:   Sun Aug 16 12:59:58 2020 +0300

    bug fix:
    > bug fix in comrv - defragmentation implementation was incorrect; fix was tested with cti
    > bug fix in python script - in case a cache entry isn't used, a size of 1 was used for it instead of its real size
    > in comrv.c rename comrv_ti -> cti

commit 99056790ac4bcd77925081fe00b8604caba8dd66
Merge: dafd770 474b4b9
Author: [email protected] <[email protected]>
Date:   Sun Aug 9 07:32:08 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit dafd770e5a6cc48824635501255ff6c83636b616
Author: [email protected] <[email protected]>
Date:   Thu Aug 6 18:04:05 2020 +0300

    bug fix:
    - when context switch in comrv 3 register were missing when saving to task stack from comrv task stack
    - use D_BIT_MANIPULATION instead of __riscv_bitmanip

commit 64d03f9b3bda042d9eb02de8007121b085eda2e2
Merge: 7b5c487 9188aa6
Author: [email protected] <[email protected]>
Date:   Thu Aug 6 17:12:31 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit 7b5c4877ec840fa14233bcae2bde311c99a62809
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 20:54:38 2020 +0300

    changes:
    use __riscv_bitmanip define in comrv
    new whisper version - fix registers and CSRs exposed to the end user

commit 9675ce3d03029058a70f1776bb45398ed65ed047
Merge: 371d28f 735067e
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 12:24:21 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit 371d28fe9ce043f3c5e614856cb477b00f0d00d3
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 11:41:46 2020 +0300

    align to llvm fix:
    I've reported an issue with llvm (07-08-2019): 'riscv inline assembly input operand failure'; this issue was fixed and our llvm has this fix, so I modify the comrv code accordingly. Link to the issue https://bugs.llvm.org/show_bug.cgi?id=42912

commit e1f0cc4a57118b7c5975985cf7a4bc0b64bf0950
Merge: b22329e 09c771a
Author: [email protected] <[email protected]>
Date:   Thu Jul 30 10:44:40 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit b22329eb0e78adf6e084628881b1078aaaba84e4
Merge: 62b3962 27b7600
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 16:57:48 2020 +0300

    merge

commit 62b3962936db326de6fcd4c7e91421ec1cb1b30d
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 16:55:37 2020 +0300

    new whisper version:
    whisper version with a fix related to sw interrupt
    comrv - empty macro for triggering sw interrupt
    comrv - add missing code (ret) in comrvReset

commit 9b066cb9e9ec673ff2a02a3db062a182a1042b85
Merge: fbefee6 46c26ea
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 13:29:22 2020 +0300

    Merge remote-tracking branch 'origin/master' into loc/b-comrv-rtos

commit fbefee66960b8a27a3bffdac13c24087be189874
Author: [email protected] <[email protected]>
Date:   Tue Jul 28 11:57:20 2020 +0300

    CR changes:
    > rename reset function to comrvReset
    > comrvReset now gets an enum as input
    add call to comrvReset in the baremetal demo
    add critical section protection when resetting comrv control block

commit 529d475ff7ac3e78dc063e24768271d9e8e44b89
Author: [email protected] <[email protected]>
Date:   Sun Jul 26 15:55:34 2020 +0300

    add reset function comrvResetCacheCB()

* README.md edited online with Bitbucket

* Merge pull request #112 in CTORISCVFWINFRA/riscv-fw-infrastructure from new-gdb-for-llvm to master

*** New GDB for llvm toolchain
*** Hash #7f102cf34ac

```tar file was checked using beyond compare with old toolchain/llvm folder```
```GDB was tested by debugging various scenarios (foo foo tests)```

Squashed commit of the following:

commit 7f102cf34ac2aff00581390dad7b0e80f37d0bc9
Author: [email protected] <[email protected]>
Date:   Tue Sep 8 18:32:41 2020 +0300

    new gdb for llvm

* Merge pull request #114 in CTORISCVFWINFRA/riscv-fw-infrastructure from software_interrupts_el2_eh2 to master

*** Adding Demo for software-interrupts for EL2 and EH2 (currently supported only by Whisper)

Squashed commit of the following:

commit c2749468472b6269c20a84516d381f7defbeb189
Author: nati rapaport <[email protected]>
Date:   Wed Sep 9 18:48:55 2020 +0300

    simple demo for software-interrupt - el2 & eh2

* rebase from 75231f6799b23f70ca08c1a1be6f4fd70528838f up to 5-Oct ef60b3b0150a596ffb609df22666bff66785b3fb, log history :
-------------------------------------------------------------------------------------------------------------------------
    Merge pull request #125 in CTORISCVFWINFRA/riscv-fw-infrastructure from merge-llvm-comrv-bitmanip to master

    *** unified support for one llvm that include comrv and bitmanip.
    *** the change support scons toolchain change and python change to take the llvm compilation and elfdump
    *** note: missing parsing by gdb for bitmanip commands.

    Squashed commit of the following:

    commit aec346d6a90252a0188e70379168cbc22b14f566
    Author: Nidal Faour <[email protected]>
    Date:   Sun Oct 4 17:59:36 2020 +0300

        remove unused import

    commit f933979c600ea637a7ecee81cd8149d60a177a5e
    Author: Nidal Faour <[email protected]>
    Date:   Sun Oct 4 17:39:46 2020 +0300

        remove old bitmanip scons tools

    commit 5f6e529f6c272f324e23e2f88ed6fbd1fea7537c
    Author: Nidal Faour <[email protected]>
    Date:   Sun Oct 4 14:50:59 2020 +0300

        merging tools between llvm-comrv and llvm-bitmanip

commit 7eb9ce8bafaebc8d12f664ba92d879eb95e3a457
Author: Ofer Shinaar <[email protected]>
Date:   Sun Oct 4 05:20:50 2020 +0000

    Merge pull request #122 in CTORISCVFWINFRA/riscv-fw-infrastructure from llvm-clang-12 to master

    **** new llvm-clang 12 with bitmanip and comrv support

      riscv-binutils
                url=https://github.com/westerndigitalcorporation/binutils-gdb.git
                branch=comrv-devel
                hash=fdc2b818c6f0c43ae1c76b6aa25fcc2dbae8ba99
        riscv-gcc
                url=https://github.com/gcc-mirror/gcc.git
                branch=releases/gcc-10.2.0
                hash=ee5c3db6c5b2c3332912fb4c9cfa2864569ebd9a
        riscv-glibc
                url=https://sourceware.org/git/glibc.git
                branch=glibc-2.32
                hash=3de512be7ea6053255afed6154db9ee31d4e557a
        riscv-dejagnu
                url=https://git.savannah.gnu.org/git/dejagnu.git
                branch=dejagnu-1.6.2-release
                hash=4b1aeb8672be74417f1b5f6a5683a0cf9071b39b
        riscv-newlib
                url=https://github.com/westerndigitalcorporation/newlib.git
                branch=heads/master
                hash=c2d6e6f7f6e4cee5db023fa299d5c39d348805ca
        riscv-gdb
                url=https://github.com/westerndigitalcorporation/binutils-gdb.git
                branch=comrv-devel
        gfdc2b818c6
                hash=fdc2b818c6f0c43ae1c76b6aa25fcc2dbae8ba99
        qemu
                url=https://git.qemu.org/git/qemu.git
                branch=v4.0.0-1854-g57dfc2c4d5
                hash=57dfc2c4d51e770ed3f617e5d1456d1e2bacf3f0
        libexpat
                url=https://github.com/libexpat/libexpat.git
                branch=R_2_2_9-110-g990e3d07
                hash=990e3d07eaa127007f9d304a9b4c6ffadc61b1fe

    Squashed commit of the following:

    commit c9bb66cff231ce726bdc99e329628a1ed46087c1
    Author: Nidal Faour <[email protected]>
    Date:   Tue Sep 29 15:30:15 2020 +0300

        adding new llvm

commit a560c73b2a0c0bbc7b6a2069b882c27309d77310
Author: Ofer Shinaar <[email protected]>
Date:   Tue Sep 22 11:55:04 2020 +0000

    Merge pull request #121 in CTORISCVFWINFRA/riscv-fw-infrastructure from eh2_align_for_rtos to master

    *** Add rtosal_int_vect_eh2.S file so rtos demos are now built and run for EH2 single-hart on Whisper
    *** note it was missing from merge #116 d23135c9e6d

    Squashed commit of the following:

    commit 3e7ab6ee42fc010beac7626f8e1111f6c8e1afdd
    Author: nati rapaport <[email protected]>
    Date:   Tue Sep 22 12:53:37 2020 +0300

        add rtosal_int_vect_eh2.S file

commit f70759e31c060db9f2fffaa603c4007e50e117ca
Author: Ofer Shinaar <[email protected]>
Date:   Tue Sep 22 09:42:43 2020 +0000

    Merge pull request #120 in CTORISCVFWINFRA/riscv-fw-infrastructure from change_md_readme to master

    *** update readme file

    Squashed commit of the following:

    commit 5487b58900ddbaf2e118ce6a0933b533c7de00af
    Author: Ofer Shinaar <[email protected]>
    Date:   Tue Sep 22 06:25:34 2020 +0000

        README.md edited online with Bitbucket

    commit a50b065ea2d6fccbfc60ff15f7ccdabf51b64c84
    Author: Ofer Shinaar <[email protected]>
    Date:   Tue Sep 22 06:24:42 2020 +0000

        README.md edited online with Bitbucket

    commit e50a855f69d3c6c15011c5d5232a043dfe9d31d6
    Author: Ofer Shinaar <[email protected]>
    Date:   Tue Sep 22 06:19:11 2020 +0000

        README.md edited online with Bitbucket

    commit d875ea578206910e617226486c58321b23857edb
    Merge: 543fc5e 72a7eff
    Author: ofer shinaar <[email protected]>
    Date:   Tue Sep 22 09:17:01 2020 +0300

        Merge branch 'change_md_readme' of https://bitbucket.wdc.com/scm/ctoriscvfwinfra/riscv-fw-infrastructure into change_md_readme

    commit 543fc5ed553c1eff187c8782d4baa0a8e8faeb2a
    Author: ofer shinaar <[email protected]>
    Date:   Tue Sep 22 09:16:29 2020 +0300

        add prog mode png for nexysa7

    commit 72a7eff0d21a7e4be64bfe2a083159b1eeaaa3a1
    Author: Ofer Shinaar <[email protected]>
    Date:   Tue Sep 22 06:13:34 2020 +0000

        README.md edited online with Bitbucket

    commit a9a032c7642817d16d0dc4908beec30225052fb4
    Author: ofer shinaar <[email protected]>
    Date:   Tue Sep 22 09:10:09 2020 +0300

        add prog mode png for nexysa7

commit ce26a0ab1c15e87b550afe4a18b6c2d874f220af
Author: Ofer Shinaar <[email protected]>
Date:   Tue Sep 15 15:11:01 2020 +0000

    Merge pull request #118 in CTORISCVFWINFRA/riscv-fw-infrastructure from fenci_bsp_register_writes to master

    **** Call FENCI upon any write-access to BSP register

    Squashed commit of the following:

    commit c8d313410b63a3cb48976206eaa297e212fe560a
    Author: nati rapaport <[email protected]>
    Date:   Mon Sep 14 19:29:29 2020 +0300

        fenci any write-access to BSP registers

commit 07b3ff34a5ae73950eb26fead0327d8f950746d3
Author: Ronen Haen <[email protected]>
Date:   Tue Sep 15 06:34:09 2020 +0000

    Merge pull request #117 in CTORISCVFWINFRA/riscv-fw-infrastructure from comrv-cache-size-4K-bug-fix to master

    Squashed commit of the following:

    commit 7b9b0136f6bc32297c6c84138e5ced5b6e28cd24
    Author: [email protected] <[email protected]>
    Date:   Mon Sep 14 15:00:05 2020 +0300

        bug fix - remove code which cased corruption of the lru list in ases the cache size contains 2 entries only

    commit bdc1f7262d258199bdf372a72fd64518aaee6345
    Author: [email protected] <[email protected]>
    Date:   Sun Sep 13 18:42:42 2020 +0300

        fix the corner case where we have a cache size same as the max group supported - global mru wasn't properly saved

commit 1a2e32a39af461a6ce0ba47f5ac9efbf9930c50a
Author: Ofer Shinaar <[email protected]>
Date:   Sun Sep 13 09:47:01 2020 +0000

    README.md edited online with Bitbucket

    remove link to code convention

commit 65aacc977b12977c337d54083cce5605d31b4abe
Merge: d23135c 74ac59f
Author: Ofer Shinaar <[email protected]>
Date:   Sun Sep 13 09:32:35 2020 +0000

    Merge pull request #113 in CTORISCVFWINFRA/riscv-fw-infrastructure from remove_debug_csrs to master

    **** Remove debug CSRs from PSP

    * commit '74ac59feae0f57dc04e3864c6c3a436d039e25ed':
      remove debug CSRs from PSP

commit d23135c9e6dfe29092e0cae25cf5f0805dd1d997
Author: Ofer Shinaar <[email protected]>
Date:   Sun Sep 13 08:52:39 2020 +0000

    Merge pull request #116 in CTORISCVFWINFRA/riscv-fw-infrastructure from eh2_single_hart_rtos_supported to master

    *** Support RTOS on EH2 - single-hart on Whisper only

    Squashed commit of the following:

    commit 70fd8d5f7e72f2a0a99d556e021cc90883d4d443
    Author: nati rapaport <[email protected]>
    Date:   Thu Sep 10 12:40:55 2020 +0300

        EH2 supports RTOS with single-hart configuration

commit 683b4e9823f9a1393c2881bdd4062217fef0fa58
Author: Ofer Shinaar <[email protected]>
Date:   Sun Sep 13 08:49:18 2020 +0000

    Merge pull request #115 in CTORISCVFWINFRA/riscv-fw-infrastructure from move-to-gcc-10 to master

    *** Move to gcc 10.2 with GDB 9.2

    riscv-gnu-toolchain
    url=https://github.com/westerndigitalcorporation/riscv-gnu-toolchain.git
    branch=gcc-10-2-gdb-9-2
    hash=5d25a757bb8626f22862cab884f445d0b855e28e

    Squashed commit of the following:

    commit 4ea50e2cfa3f3a1f00dd19e0e698ec2dfff07949
    Author: Nidal Faour <[email protected]>
    Date:   Thu Sep 10 12:07:17 2020 +0300

        moving to gcc 10 & gdb 9.2

-------------------------------------------------------------------------------------------------------------------------

* add hash files

* add cti support

* upload prog_mode.png, was removed from rebase

* add cti files+ latest ovlymgr.py

* auto select llvm in case cti demo is configured

* Merge pull request #128 in CTORISCVFWINFRA/riscv-fw-infrastructure from new_el2_swervolf_after_rebase to master

**** New SweRV EL2 FPGA
support new EL2 build without fast-int

Squashed commit of the following:

commit 4525bdd80a45695e1cfa1ea43a737a3875506956
Author: nati rapaport <[email protected]>
Date:   Mon Oct 5 14:47:23 2020 +0300

    fix README typos

commit 0965c8497e07ea7021693b8fad73f58459d200f9
Author: nati rapaport <[email protected]>
Date:   Mon Oct 5 14:18:02 2020 +0300

    New SweRV EL2 FPGA + modify bsp_printf + align pwr-mngmnt demo+ update README file

* Merge pull request #129 in CTORISCVFWINFRA/riscv-fw-infrastructure from is_whisper_after_rebase to master

*** Check if Swerv or Whisper and run only if demo is supported

relevant to SW-interrupts, ext-interrupts, performance-monitor, power-management, NMI, bit-manipulation and cache-control for now....

Squashed commit of the following:

commit 0bd81a33d6cd707f74ea2b01d1b8f9a489d69075
Author: nati rapaport <[email protected]>
Date:   Mon Oct 5 17:23:57 2020 +0300

    for clarity sake - specify Swerv FPGA Board, rather than merely SweRV

commit 9bf32388aae90869594ec1148107a885ba417fdc
Author: nati rapaport <[email protected]>
Date:   Mon Oct 5 15:54:33 2020 +0300

    Check if Swerv or Whisper and run only if demo is supported

* add code to verify we run on whisper only

* Merge pull request #130 in CTORISCVFWINFRA/riscv-fw-infrastructure from fix-h51-build to master

*** fix hifive1 build issue
enclose with #ifdef the content of demoIsSwervBoard() function so function won't compile under hifive1
remove eh2 from external interrupts demo as it isn't supported
Tested comrv_baremetal, external_interrupts

Squashed commit of the following:

commit b265a1f632135bc8262c34a1232ce3529fc770bc
Author: [email protected] <[email protected]>
Date:   Tue Oct 6 08:34:58 2020 +0300

    fix hifive1 build issue:
    enclose with #ifdef the content of demoIsSwervBoard() function so function won't compile under hifive1
    remove eh2 from external interrupts demo as it isn't supported

* Merge pull request #131 in CTORISCVFWINFRA/riscv-fw-infrastructure from hash-update to master

**** adding hashes of the gcc in the llvm toolchain.

Squashed commit of the following:

commit 71c209e29e7b7726dedb1eb4821a33afa6c791a0
Author: Nidal Faour <[email protected]>
Date:   Tue Oct 6 12:23:48 2020 +0300

    fixing branches names in hash, need to fix the script to get the correct branches names, and need to update the tars with the correct branches names. in the gcc need to run the hash script and not create it manually

commit a1028d1ea5b354761b450b8b99dcab08e03fa227
Author: Nidal Faour <[email protected]>
Date:   Tue Oct 6 12:12:05 2020 +0300

    adding the gnu hashes to llvm hashes file

* add '-Wl' for linker script arg '-T'; now we can use comrv --defsym symbols (__comrv_cache_size, __comrv_cache_alignment_size and __comrv_overlay_storage_size) in a generic manner in all linker scripts

* Merge pull request #132 in CTORISCVFWINFRA/riscv-fw-infrastructure from fix-mapfile-sum-tbl to master

****riscv32-unknown-elf-size got a wrnog input for elf name - this fix provides the correct elf name as input

Squashed commit of the following:

commit 0c9ce3a6e000973642a51b7d8e30503231c74119
Author: [email protected] <[email protected]>
Date:   Wed Oct 7 10:13:34 2020 +0300

    riscv32-unknown-elf-size got a wrog input for elf name - this fix provides the correct elf name as input

* Merge pull request #133 in CTORISCVFWINFRA/riscv-fw-infrastructure from update_readme to master

*** update readme file and add picture of nexys-a7

Squashed commit of the following:

commit e715ae6c30900242d75f5442d10697fa8a10ad79
Author: ofer shinaar <[email protected]>
Date:   Thu Oct 8 10:39:02 2020 +0300

    add image of nexys-a7 board and add comment about sw0

commit 3b786059519844e41e9d552c2ba8d9d81d9db956
Merge: 2869594 7ced70c
Author: ofer shinaar <[email protected]>
Date:   Thu Oct 8 10:36:49 2020 +0300

    Merge branch 'update_readme' of https://bitbucket.wdc.com/scm/ctoriscvfwinfra/riscv-fw-infrastructure into update_readme

commit 2869594605a2ac61bd621ac5f7df55324527a321
Author: ofer shinaar <[email protected]>
Date:   Thu Oct 8 10:35:48 2020 +0300

    add image of nexys-a7 board and add comment about sw0

commit 7ced70c09606ddc151960136f641d6a620a908ed
Author: Ofer Shinaar <[email protected]>
Date:   Thu Oct 8 07:25:44 2020 +0000

    README.md edited online with Bitbucket

commit 371ee3e132594362256aa0e0aa3aab8a776a0b78
Author: Ofer Shinaar <[email protected]>
Date:   Thu Oct 8 07:24:23 2020 +0000

    README.md edited online with Bitbucket

commit 080c76db3b15d5ecccbf078b1a3720ec9981df6d
Author: ofer shinaar <[email protected]>
Date:   Thu Oct 8 10:21:23 2020 +0300

    add image of nexys-a7 board and add comment about sw0

* remove spaces in some *.lds

* minor changes following review

* rename files

* typo - infrastructute -> infrastructure

* typos

* in build, modify path arguments to be more robust

* Merge pull request #135 in CTORISCVFWINFRA/riscv-fw-infrastructure from psp_machine to master

**** Machine mode assurance in PSP ****
 1. Add 'machine' label to all PSP api's that relevant to M-mode only.
 2. Add safe-guards in PSP sensitive functions (like ISR, exp, nmi registrations etc) to make sure they work only in M-mode

Squashed commit of the following:

commit dd91536ee24eac0a887f8fd61225e596d0f7d6e5
Author: nati rapaport <[email protected]>
Date:   Thu Oct 15 19:52:28 2020 +0300

    remove elx2s from sconstruct

commit e4cb9fba54fb2afa4995fe778b139c8a66bcaf03
Author: nati rapaport <[email protected]>
Date:   Thu Oct 15 10:09:47 2020 +0300

    create common macro to assure machine mode

commit e94278e8b29a31118707e828f556ad52ae2b9096
Author: nati rapaport <[email protected]>
Date:   Thu Oct 15 09:15:56 2020 +0300

    fix PR following notes

commit 5c9e63ee1e94f46df584decc53785aa83d8d994f
Author: nati rapaport <[email protected]>
Date:   Wed Oct 14 18:16:13 2020 +0300

    Add 'machine' label to all PSP api's that relevant to M-mode only. Add safe-gurd in PSP sensitive functions (like ISR registrations etc) to make sure they work only in M-mode

* Merge pull request #134 in CTORISCVFWINFRA/riscv-fw-infrastructure from some_interrupts_additions to master

**** adding new apis
* get_exception_handler api
* set-mepc-to-next-instruction

Squashed commit of the following:

commit f562ebf0c60c49b2f653b97007eef51dda498878
Merge: f73ab48 a651c58
Author: nati rapaport <[email protected]>
Date:   Mon Oct 19 16:12:38 2020 +0300

    Merge branch 'master' into some_interrupts_additions

commit f73ab48d30c54fc81de2a501122b4152bc101309
Author: nati rapaport <[email protected]>
Date:   Mon Oct 12 12:34:51 2020 +0300

    For coding conventions - rename pspInterruptHandler_t --> fptrInterruptHandler_t

commit 029c5ac90281ae1ef3fb785e3433eb5ff6e43f01
Merge: c05a0fd ddf887e
Author: nati rapaport <[email protected]>
Date:   Mon Oct 12 09:52:37 2020 +0300

    Merge branch 'master' into some_interrupts_additions

commit c05a0fd5d20c040b5cce268a28d494a372cd2857
Author: nati rapaport <[email protected]>
Date:   Sun Oct 11 18:29:55 2020 +0300

    get_exception_handler api, set-mepc-to-next-instruction - these are needed specifically for swerv-elx2s but aded as part of common swerv psp

* Merge pull request #140 in CTORISCVFWINFRA/riscv-fw-infrastructure from comrv-bug-fix-invalid-crc-result to master

Squashed commit of the following:

commit eb1a18cbee3019a30ce22d027a0efcedef03ebbc
Author: [email protected] <[email protected]>
Date:   Tue Nov 10 15:05:09 2020 +0200

    bug fix: CRC calculation was wrong if a BP is set in an overlay function before the actual group was loaded. The actual fix is to move the gdb debug symbol location to be after CRC check

* added a demo from riscfree presentation

* remove hifive-un from comrv demos

* README.md edited online with Bitbucket

* README.md edited online with Bitbucket

* README.md edited online with Bitbucket

* Merge pull request #146 in CTORISCVFWINFRA/riscv-fw-infrastructure from fencei_following_mrac_in_startup to master

***************
Per SweRV eh1, eh2 and el2 PRMs, fence.i should be done following mrac update

Squashed commit of the following:

commit 9db4e0a7fe3a0dc8406ffd1cd97f8a6e45068813
Author: nati rapaport <[email protected]>
Date:   Wed Nov 18 17:47:45 2020 +0200

    add fence.i after mrac update in startup.S code

* Merge pull request #153 in CTORISCVFWINFRA/riscv-fw-infrastructure from aligned_memory_access to master

*************
Change access to memory (using byte access) to overcome issues of 4byte alignment on different cores (sometimes its allowed and sometimes its does not)
** The changes are in BSP on ext-interrupts generation, and in getting FPGA version
** FPGA bit-file loading launcher script for SweRV EL2 has been moved from eh1 path to el2 path

Squashed commit of the following:

commit f69031650fd407b522e44d575a22fa2dbaf0b798
Author: nati rapaport <[email protected]>
Date:   Mon Nov 30 12:17:58 2020 +0200

    Add PSP macro of 8-bits memory-access. Use it in ext-interrupts generation at from BSP, and in getting FPGA version

* Merge pull request #154 in CTORISCVFWINFRA/riscv-fw-infrastructure from mscause_csr to master

***********
** Fix 8-bit access in timer-routing set

Squashed commit of the following:

commit 8514ef83bc45087c9bf45df3e35c79c7abbc2ba0
Author: nati rapaport <[email protected]>
Date:   Mon Nov 30 19:16:13 2020 +0200

    Add mscause CSR to 2'nd gen cores exception handler. Fix 8-bit access in timer-routing set

* Merge pull request #156 in CTORISCVFWINFRA/riscv-fw-infrastructure from new-whisper to master

*************
* new whisper to fix 2 gdb sessions

Squashed commit of the following:

commit ca9d0206831e3e9347b46b596bc00af20e8e1dfd
Author: [email protected] <[email protected]>
Date:   Sun Dec 6 15:14:27 2020 +0200

    new whisper version

* Merge pull request #155 in CTORISCVFWINFRA/riscv-fw-infrastructure from llvm-release-06-12 to master

*** New llvm with gdb fix

Squashed commit of the following:

commit 5fd5e8d089f2c42f27d3037ceee2c5d627fe9641
Author: Nidal Faour <[email protected]>
Date:   Sun Dec 6 16:37:50 2020 +0200

    adding header to python script

commit 3062b82b93124777c4e233a19e03aa9f36db94bf
Author: Nidal Faour <[email protected]>
Date:   Sun Dec 6 12:50:33 2020 +0200

    adding the latest overlay manager python script for GDB

commit 7b8f86fb735f9092cdda345d647a8c3ea5d10877
Author: Nidal Faour <[email protected]>
Date:   Sun Dec 6 12:35:15 2020 +0200

    adding download links

commit 187c646be9cd41b8400d839f3c7f358c1d0c285b
Author: Nidal Faour <[email protected]>
Date:   Sun Dec 6 12:18:39 2020 +0200

    updating llvm toolchain - bug fixes

* Merge pull request #160 in CTORISCVFWINFRA/riscv-fw-infrastructure from fix_eh2_alarm_input_for_whisper to master

Squashed commit of the following:

commit 5284a77da14f63ee81ff98554b645eb7ed7767bd
Author: nati rapaport <[email protected]>
Date:   Sun Dec 20 18:33:04 2020 +0200

    Fix --alarm whisper input parameter from 1000 to 100 for eh2. That fix the failure in perf-monitor demo

* Merge pull request #158 in CTORISCVFWINFRA/riscv-fw-infrastructure from small_cleanup to master

Squashed commit of the following:

commit 1313012bf583501a0e73c8afd324f982d12dd0b3
Author: nati rapaport <[email protected]>
Date:   Sun Dec 20 14:04:36 2020 +0200

    cleanups done

* Merge pull request #162 in CTORISCVFWINFRA/riscv-fw-infrastructure from nidalfaour_wdc.com/llvm-hash.txt-1609082632653 to master

Squashed commit of the following:

commit 33bd899aa5288f4584e9c48ba3dfc9c6fc195816
Author: Nidal Faour <[email protected]>
Date:   Sun Dec 27 15:24:08 2020 +0000

    adding the full llvm toolchain hashes

* Merge pull request #164 in CTORISCVFWINFRA/riscv-fw-infrastructure from remove-fatal-libftdi1-missing to master

Squashed commit of the following:

commit 2a8ae1542c917733eb085c207dc76311e5dc55ea
Author: ofer shinaar <[email protected]>
Date:   Thu Dec 31 15:51:49 2020 +0200

    remove the error(1) for missing libftdil-2 sice we dont want to stop the build because it is missing. e.g. someone can use Whiper and does not need USB drivers

* Merge pull request #165 in CTORISCVFWINFRA/riscv-fw-infrastructure from prepromote-new to master

**** Prepromote phase 1 ***
** next phase is fix all related issues in "old PR"

Squashed commit of the following:

commit da1b50ad5ddef536ce64e88eea600b516c37b629
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 11:25:09 2021 +0200

    add test rerun in case it fails; rerun will be done only once

commit 1f5f8e46b82a14d9df47cd14e425041fccccf974
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 08:18:59 2021 +0200

    make demoStart() enter/exit atomic

commit ef747b73aa0b180ebc9ca0bfc4cc4bee53261e2a
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 12:11:02 2021 +0200

    changes:
    - increase INT_DEMO_TO_IN_SECONDS from 6 to 7 minutes
    - change demo_comrv_rtosal loop count from 50 to 4

commit 5519a3555e3670cdccecf49b345d5249031320cb
Merge: ef44d24 ac5c558
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 09:55:48 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit ef44d24d4e5158bcf43f444c36e97a13e0f4ac4b
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 09:44:25 2021 +0200

    reduce the loop count for freertos demo so that the prepromote won't get stuck when rumming 2 harts

commit ea1d07023aac5a49e927662418d76e9d3d41a393
Author: [email protected] <[email protected]>
Date:   Mon Jan 4 08:59:07 2021 +0200

    move the sleep(2) to be with in the gdb startup loop -> this resolves the multi_harts demo failure in llvm

commit 0b98e7fa671e3ead32a05f3cc710d9bbb71d23bc
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 17:40:08 2021 +0200

    for eh2 modify --alarm=1000 -> --alarm=100

commit 3484c8406e3575f39a1ed3262cd44f8238c4377c
Merge: 0f90ebb 7db3b3f
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 15:08:04 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 0f90ebbf1c985ff5a331297a474d25898eb5949e
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 15:06:21 2021 +0200

    add csv compare for expected results

commit ee109bf4876be3dfeaabf166f0f395ad0dee0e4f
Merge: 57bce8d 15d7db1
Author: [email protected] <[email protected]>
Date:   Mon Dec 21 16:15:36 2020 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 57bce8dcdf52e5c68c995c8c2d2cd0771876dbcc
Merge: 09cd0f8 c2caf82
Author: [email protected] <[email protected]>
Date:   Mon Dec 7 08:33:17 2020 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 09cd0f88d68343515e3ee728d9da8441ecf8cf13
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 14:22:20 2020 +0200

    revert last change

commit e5700deb32f9a2b55c13c828f6098c8c7395e43d
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 13:56:45 2020 +0200

    add gdb commands for eh2 _2 to force a delay

commit fb37c72b4d7fcd767436e22193080164d7c50e58
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 11:17:10 2020 +0200

    in fnStartListening, make STR_LISTENER_ABORTED stand alone condition

commit 7086f53230e2f31c76cdf4da22fd5af3306059f4
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 10:26:35 2020 +0200

    change log level: info ->  debug

commit f77f460125e5e769c928eb206d1302ffcd8976f2
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 09:36:29 2020 +0200

    merge changes from origin/test_jenkins

commit d9f9eb6defd627edf02529d65e95111468d6ad9d
Merge: 01b761a 7e75917
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 09:25:14 2020 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 01b761a2a56be199b9eb9815085dffd5ba7347ce
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 09:23:07 2020 +0200

    for eh2 use 2 harts only in case of multi_hart demo

commit e6bf089d7c5db3d8f67eec192ab2cdd953889576
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 01:29:51 2020 +0200

    wip

commit 8bd380329382957a6f59b58fd506611e3b86c386
Author: [email protected] <[email protected]>
Date:   Mon Nov 30 19:59:09 2020 +0200

    WIP

... and 9 more commits

* Merge pull request #167 in CTORISCVFWINFRA/riscv-fw-infrastructure from dfkg_to_warning to master

*** remove the dependence for dfkg installation ****

Squashed commit of the following:

commit 80cad455754392f013c302c80a8d8f15c05836f9
Merge: 32cff65 0359196
Author: ofer shinaar <[email protected]>
Date:   Thu Jan 7 00:53:34 2021 -0800

    Merge branch 'master' into dfkg_to_warning

commit 32cff65a676e88cf268a1fa3d1acc830e2580acf
Author: ofer shinaar <[email protected]>
Date:   Wed Jan 6 02:17:21 2021 -0800

    if no dfkg continue the build

* Merge pull request #166 in CTORISCVFWINFRA/riscv-fw-infrastructure from new-demo-comrv-instrumentation to master

Squashed commit of the following:

commit 0c4086a7efda4b25c9328e520c5692d244828532
Merge: b05d367 39ed0cc
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 15:51:08 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/new-demo-comrv-instrumentation

commit b05d36780f46a93019d79a98417234aaf081644c
Merge: 3212cba 0359196
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 10:48:25 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/new-demo-comrv-instrumentation

commit 3212cba514faf865196f70f3528dab51d676bc66
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 08:57:42 2021 +0200

    enable D_COMRV_CONTROL_SUPPORT for baremetal demo

commit f61fd38735705bf96af8f97e4295af03dff3b401
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 14:49:51 2021 +0200

    add comrv instrumentation demo

commit 4bb86a15bd93068e9e253729da5956ca8110f655
Merge: 19a7cad ac5c558
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 12:23:54 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/new-demo-comrv-instrumentation

commit 19a7cad7e1163d86f152d241a9e1915c37c2fd4c
Author: [email protected] <[email protected]>
Date:   Mon Nov 16 13:17:04 2020 +0200

    add comrv instrumentation demo

* Merge pull request #170 in CTORISCVFWINFRA/riscv-fw-infrastructure from comrv-reset-eviction-counters to master

Squashed commit of the following:

commit 76919b630d1ad2cf93172b557987ecfaf2bf173b
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 17:02:58 2021 +0200

    CR changes:
    replace tabs -> spaces
    rename comrv reset types

commit 697551542d71b6308662035c11daf01fd83b06ad
Merge: b2251eb 9f402de
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 16:08:23 2021 +0200

    Merge remote-tracking branch 'origin/comrv-load-config' into local/comrv-reset-eviction-counters

commit 9f402dee50f0e76d2d1e3671ddc7f8d6448dc939
Merge: e677717 54bd33e
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 16:06:26 2021 +0200

    merge w/ master

commit b2251ebe4055dbb034e83c7cae769e22447d11fb
Author: [email protected] <[email protected]>
Date:   Sun Jan 10 18:52:18 2021 +0200

    add to comrv - 'reset eviction counters' api

commit e6777175222ec5490aa60042242d2f5c09a05b0f
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 15:49:31 2021 +0200

    add comrv load config - enable/disable load operation according to user configuration. If a load is required while disabled, comrv engine error hook is invoked

commit 2df111fdc421cdd8640e58c14f935c296e045220
Merge: b05d367 39ed0cc
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 15:45:47 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/comrv-load-config

commit b05d36780f46a93019d79a98417234aaf081644c
Merge: 3212cba 0359196
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 10:48:25 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/new-demo-comrv-instrumentation

commit 3212cba514faf865196f70f3528dab51d676bc66
Author: [email protected] <[email protected]>
Date:   Thu Jan 7 08:57:42 2021 +0200

    enable D_COMRV_CONTROL_SUPPORT for baremetal demo

commit f61fd38735705bf96af8f97e4295af03dff3b401
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 14:49:51 2021 +0200

    add comrv instrumentation demo

commit 4bb86a15bd93068e9e253729da5956ca8110f655
Merge: 19a7cad ac5c558
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 12:23:54 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/new-demo-comrv-instrumentation

commit 19a7cad7e1163d86f152d241a9e1915c37c2fd4c
Author: [email protected] <[email protected]>
Date:   Mon Nov 16 13:17:04 2020 +0200

    add comrv instrumentation demo

* Merge pull request #168 in CTORISCVFWINFRA/riscv-fw-infrastructure from static/el2_swervolf_with_dccm to master

**** EL2 support dccm integrated ****

Squashed commit of the following:

commit 619e73ec96ca3c7d19b30414ae92368c7bfe85cd
Author: ofer shinaar <[email protected]>
Date:   Sun Jan 10 19:06:53 2021 +0200

    whisper json to support dccm with 32KB size

commit 20f4a41c249897b03d976dde4d6377b76eb14ecd
Author: ofer shinaar <[email protected]>
Date:   Sun Jan 10 16:31:01 2021 +0200

    revert master changes into whisper eh1/eh2/el2

commit 6d03ae533c4df3f23aaae90a7975bd1599acb067
Author: ofer shinaar <[email protected]>
Date:   Sun Jan 10 16:23:19 2021 +0200

    fix openocd support for EL2 with dccm and fix expose regs

commit ac597ed8210038fc076a0e407ef112422d9ddd82
Merge: bf7d6d5 d22b240
Author: ofer shinaar <[email protected]>
Date:   Thu Jan 7 14:29:58 2021 +0200

    Merge branch 'el2_swervolf_with_dccm' into static/el2_swervolf_with_dccm

commit d22b240bd95d0fe3b6811be874947ac516101fad
Author: ofer shinaar <[email protected]>
Date:   Thu Jan 7 14:26:11 2021 +0200

    align lds to master

commit f713199c35ee6e64f4be37ea03225323a2cfef8b
Merge: caf6ec7 39ed0cc
Author: ofer shinaar <[email protected]>
Date:   Thu Jan 7 12:46:31 2021 +0200

    Merge branch 'master' into el2_swervolf_with_dccm

commit bf7d6d5ba0da0319cb8964ac6dd19b5bf36cc85a
Author: ofer shinaar <[email protected]>
Date:   Wed Dec 23 15:21:54 2020 +0200

    ..

commit 2b22ff1a5d278b2bebd39b9a50b789774ba8b32c
Author: ofer shinaar <[email protected]>
Date:   Wed Dec 23 15:17:46 2020 +0200

    ..

commit ba60dc8f294f682244009a6601f53436ab9f1029
Author: ofer shinaar <[email protected]>
Date:   Wed Dec 23 15:12:58 2020 +0200

    prepare to support string names for csrs

commit e9d98ce75e7b27bb5711e9a53eecb716f65c788c
Merge: caf6ec7 15d7db1
Author: ofer shinaar <[email protected]>
Date:   Wed Dec 23 13:16:59 2020 +0200

    Merge branch 'master_bb' into el2_swervolf_with_dccm

commit caf6ec759eb6d694fc9d630aa87d218c8c7967d6
Author: ofer shinaar <[email protected]>
Date:   Sun Nov 1 13:49:24 2020 +0200

    add codasip support for abstract command + systembus

commit 13d3fd07a68aeae3ceeda4dc94844ff98195cb95
Author: nati rapaport <[email protected]>
Date:   Sun Nov 1 12:33:28 2020 +0200

    New EL2 SweRVolf FPGA - with DCCM. Linker script modified accordingly

* test

Squashed commit of the following:

commit b4f36a02b4031d193018d70dfcf5730f1b2ab02f
Author: Ofer Shinaar <[email protected]>
Date:   Tue Jan 12 06:53:23 2021 +0000

    llvm-hash.txt edited online with Bitbucket

* llvm-hash.txt edited online with Bitbucket

* test2

Squashed commit of the following:

commit 5491214d37520f6578c2923665d7c2ce81411c6a
Author: Ofer Shinaar <[email protected]>
Date:   Tue Jan 12 06:59:12 2021 +0000

    llvm-hash.txt edited online with Bitbucket

commit d88a7be48d9d51e53241c8dd43a8a814ca62f17e
Author: Ofer Shinaar <[email protected]>
Date:   Tue Jan 12 06:57:22 2021 +0000

    test

    Squashed commit of the following:

    commit b4f36a02b4031d193018d70dfcf5730f1b2ab02f
    Author: Ofer Shinaar <[email protected]>
    Date:   Tue Jan 12 06:53:23 2021 +0000

        llvm-hash.txt edited online with Bitbucket

* test4

Squashed commit of the following:

commit cade670c54c415ac634c778584d0e9bfa1c4d965
Author: Ofer Shinaar <[email protected]>
Date:   Tue Jan 12 07:45:04 2021 +0000

    llvm-hash.txt edited online with Bitbucket

* Merge pull request #171 in CTORISCVFWINFRA/riscv-fw-infrastructure from prepromote-new to master

Squashed commit of the following:

commit 6e45da39cce8de93fd772d6d21cb777f02fc49bb
Merge: dcdb718 2593f5c
Author: [email protected] <[email protected]>
Date:   Sun Jan 17 13:55:18 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit dcdb71804bfcaa51910b243edabcaed88dfce22b
Author: [email protected] <[email protected]>
Date:   Tue Jan 12 11:50:56 2021 +0200

    check return value for os.system() when renaming demos

commit 1a22a888b00b6e2c49c94d891d47d4359fbe7dcb
Merge: 758c7ac 57e0ae1
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 18:40:05 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit 758c7ac906810682c3b7de259fb18ace3123f25a
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 18:22:51 2021 +0200

    add script arg --listdemo - provide a specific list of demos to run
    sample usage --listdemo mmi,comrv,rtosal
    sample usage --listdemo "rtosal, demo_multi_harts comrv"

commit 9b3d4f780d5699d8e587e666a617bdaf67329b4e
Merge: f0ff28c 54bd33e
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 16:01:05 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit f0ff28c4f1180bd0bc6bc445e78e3ed8f4cff53c
Merge: da1b50a 39ed0cc
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 10:49:13 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit da1b50ad5ddef536ce64e88eea600b516c37b629
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 11:25:09 2021 +0200

    add test rerun in case it fails; rerun will be done only once

commit 1f5f8e46b82a14d9df47cd14e425041fccccf974
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 08:18:59 2021 +0200

    make demoStart() enter/exit atomic

commit ef747b73aa0b180ebc9ca0bfc4cc4bee53261e2a
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 12:11:02 2021 +0200

    changes:
    - increase INT_DEMO_TO_IN_SECONDS from 6 to 7 minutes
    - change demo_comrv_rtosal loop count from 50 to 4

commit 5519a3555e3670cdccecf49b345d5249031320cb
Merge: ef44d24 ac5c558
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 09:55:48 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit ef44d24d4e5158bcf43f444c36e97a13e0f4ac4b
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 09:44:25 2021 +0200

    reduce the loop count for freertos demo so that the prepromote won't get stuck when rumming 2 harts

commit ea1d07023aac5a49e927662418d76e9d3d41a393
Author: [email protected] <[email protected]>
Date:   Mon Jan 4 08:59:07 2021 +0200

    move the sleep(2) to be with in the gdb startup loop -> this resolves the multi_harts demo failure in llvm

commit 0b98e7fa671e3ead32a05f3cc710d9bbb71d23bc
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 17:40:08 2021 +0200

    for eh2 modify --alarm=1000 -> --alarm=100

commit 3484c8406e3575f39a1ed3262cd44f8238c4377c
Merge: 0f90ebb 7db3b3f
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 15:08:04 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 0f90ebbf1c985ff5a331297a474d25898eb5949e
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 15:06:21 2021 +0200

    add csv compare for expected results

commit ee109bf4876be3dfeaabf166f0f395ad0dee0e4f
Merge: 57bce8d 15d7db1
Author: [email protected] <[email protected]>
Date:   Mon Dec 21 16:15:36 2020 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 57bce8dcdf52e5c68c995c8c2d2cd0771876dbcc
Merge: 09cd0f8 c2caf82
Author: [email protected] <[email protected]>
Date:   Mon Dec 7 08:33:17 2020 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 09cd0f88d68343515e3ee728d9da8441ecf8cf13
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 14:22:20 2020 +0200

    revert last change

commit e5700deb32f9a2b55c13c828f6098c8c7395e43d
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 13:56:45 2020 +0200

    add gdb commands for eh2 _2 to force a delay

commit fb37c72b4d7fcd767436e22193080164d7c50e58
Author: [email protected] <[email protected]>
Date:   Thu Dec 3 11:17:10 2020 +0200

    in fnStartListening, make STR_LISTENER_ABORTED stand alone condition

... and 15 more commits

* Merge pull request #182 in CTORISCVFWINFRA/riscv-fw-infrastructure from prepromote-new to master

Squashed commit of the following:

commit 0a595f3c55dcd6551f0aab6785c904cf5ff68b8c
Author: [email protected] <[email protected]>
Date:   Tue Jan 19 13:39:49 2021 +0200

    optimize fnParseArguments

commit f1e767b3b30287f8a29edccb59bdc66da65bc9de
Author: [email protected] <[email protected]>
Date:   Tue Jan 19 11:30:09 2021 +0200

    final implementation of exception handling

commit acd32d21062e820d000f2d88a7bf4877db03337d
Author: [email protected] <[email protected]>
Date:   Mon Jan 18 16:53:47 2021 +0200

    handle keyboard interrupt during build -> will terminate completly the prepromote

commit 80bb1b71266d75b55fcc3f76e7ec0794a1c78319
Merge: 09d33ac 3cb2144
Author: [email protected] <[email protected]>
Date:   Mon Jan 18 16:29:42 2021 +0200

    merge

commit 09d33ace4b7752ae56f6f39bc100841863ff2bbb
Author: [email protected] <[email protected]>
Date:   Mon Jan 18 16:16:53 2021 +0200

    add -
    handle toolchain build error and skip current demo in case of error
    add exception handling

commit 6e45da39cce8de93fd772d6d21cb777f02fc49bb
Merge: dcdb718 2593f5c
Author: [email protected] <[email protected]>
Date:   Sun Jan 17 13:55:18 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit dcdb71804bfcaa51910b243edabcaed88dfce22b
Author: [email protected] <[email protected]>
Date:   Tue Jan 12 11:50:56 2021 +0200

    check return value for os.system() when renaming demos

commit 1a22a888b00b6e2c49c94d891d47d4359fbe7dcb
Merge: 758c7ac 57e0ae1
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 18:40:05 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit 758c7ac906810682c3b7de259fb18ace3123f25a
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 18:22:51 2021 +0200

    add script arg --listdemo - provide a specific list of demos to run
    sample usage --listdemo mmi,comrv,rtosal
    sample usage --listdemo "rtosal, demo_multi_harts comrv"

commit 9b3d4f780d5699d8e587e666a617bdaf67329b4e
Merge: f0ff28c 54bd33e
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 16:01:05 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit f0ff28c4f1180bd0bc6bc445e78e3ed8f4cff53c
Merge: da1b50a 39ed0cc
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 10:49:13 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit da1b50ad5ddef536ce64e88eea600b516c37b629
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 11:25:09 2021 +0200

    add test rerun in case it fails; rerun will be done only once

commit 1f5f8e46b82a14d9df47cd14e425041fccccf974
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 08:18:59 2021 +0200

    make demoStart() enter/exit atomic

commit ef747b73aa0b180ebc9ca0bfc4cc4bee53261e2a
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 12:11:02 2021 +0200

    changes:
    - increase INT_DEMO_TO_IN_SECONDS from 6 to 7 minutes
    - change demo_comrv_rtosal loop count from 50 to 4

commit 5519a3555e3670cdccecf49b345d5249031320cb
Merge: ef44d24 ac5c558
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 09:55:48 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit ef44d24d4e5158bcf43f444c36e97a13e0f4ac4b
Author: [email protected] <[email protected]>
Date:   Tue Jan 5 09:44:25 2021 +0200

    reduce the loop count for freertos demo so that the prepromote won't get stuck when rumming 2 harts

commit ea1d07023aac5a49e927662418d76e9d3d41a393
Author: [email protected] <[email protected]>
Date:   Mon Jan 4 08:59:07 2021 +0200

    move the sleep(2) to be with in the gdb startup loop -> this resolves the multi_harts demo failure in llvm

commit 0b98e7fa671e3ead32a05f3cc710d9bbb71d23bc
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 17:40:08 2021 +0200

    for eh2 modify --alarm=1000 -> --alarm=100

commit 3484c8406e3575f39a1ed3262cd44f8238c4377c
Merge: 0f90ebb 7db3b3f
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 15:08:04 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote

commit 0f90ebbf1c985ff5a331297a474d25898eb5949e
Author: [email protected] <[email protected]>
Date:   Sun Jan 3 15:06:21 2021 +0200

    add csv compare for expected results

... and 20 more commits

* Merge pull request #172 in CTORISCVFWINFRA/riscv-fw-infrastructure from comrv-reset-demo to master

Squashed commit of the following:

commit 89db4a24a43eaebff0e5e49ea592cca6ff406aba
Author: [email protected] <[email protected]>
Date:   Tue Jan 12 11:39:42 2021 +0200

    add comments

commit 3169cc93764fb3cab397ca99b81729d56424ecf5
Merge: 5f3e297 577b451
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 19:54:36 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/comrv-reset-demo

commit 5f3e2970b20d24951f8ef52395cf743efd0578b2
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 19:52:29 2021 +0200

    add comrv reset demo

* README.md edited online with Bitbucket

* Merge pull request #185 in CTORISCVFWINFRA/riscv-fw-infrastructure from bss_init_at_startup to master

*** adding bss to .bss section

Squashed commit of the following:

commit 4b1c003ef95ff34d3126639b5942b194a2394bcf
Author: nati rapaport <[email protected]>
Date:   Thu Jan 28 18:52:51 2021 +0200

    Change linker script (for All SweRVs) so that variables located in both sbss and bss will be zeroed at startup sequence

* Merge pull request #183 in CTORISCVFWINFRA/riscv-fw-infrastructure from filter-targets to master

**** Prepromote filter-targets

Squashed commit of the following:

commit 7d424be486a12f3eb536992e3e575deaa8bf97c1
Merge: cb4294a 7ae7904
Author: [email protected] <[email protected]>
Date:   Wed Jan 20 12:51:22 2021 +0200

    fix merge

commit cb4294aedd64bad6eb6f1f71183918f6ebf6dfee
Author: [email protected] <[email protected]>
Date:   Tue Jan 19 20:33:22 2021 +0200

    fix condition

commit 62aa5ba7b6c000800b9a7134a53b96bf77e8fc9e
Author: [email protected] <[email protected]>
Date:   Tue Jan 19 19:11:16 2021 +0200

    add -
    filter targets according to expected csv
    add timestamp to the gdb output

commit 0a595f3c55dcd6551f0aab6785c904cf5ff68b8c
Author: [email protected] <[email protected]>
Date:   Tue Jan 19 13:39:49 2021 +0200

    optimize fnParseArguments

commit f1e767b3b30287f8a29edccb59bdc66da65bc9de
Author: [email protected] <[email protected]>
Date:   Tue Jan 19 11:30:09 2021 +0200

    final implementation of exception handling

commit acd32d21062e820d000f2d88a7bf4877db03337d
Author: [email protected] <[email protected]>
Date:   Mon Jan 18 16:53:47 2021 +0200

    handle keyboard interrupt during build -> will terminate completly the prepromote

commit 80bb1b71266d75b55fcc3f76e7ec0794a1c78319
Merge: 09d33ac 3cb2144
Author: [email protected] <[email protected]>
Date:   Mon Jan 18 16:29:42 2021 +0200

    merge

commit 09d33ace4b7752ae56f6f39bc100841863ff2bbb
Author: [email protected] <[email protected]>
Date:   Mon Jan 18 16:16:53 2021 +0200

    add -
    handle toolchain build error and skip current demo in case of error
    add exception handling

commit 6e45da39cce8de93fd772d6d21cb777f02fc49bb
Merge: dcdb718 2593f5c
Author: [email protected] <[email protected]>
Date:   Sun Jan 17 13:55:18 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit dcdb71804bfcaa51910b243edabcaed88dfce22b
Author: [email protected] <[email protected]>
Date:   Tue Jan 12 11:50:56 2021 +0200

    check return value for os.system() when renaming demos

commit 1a22a888b00b6e2c49c94d891d47d4359fbe7dcb
Merge: 758c7ac 57e0ae1
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 18:40:05 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit 758c7ac906810682c3b7de259fb18ace3123f25a
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 18:22:51 2021 +0200

    add script arg --listdemo - provide a specific list of demos to run
    sample usage --listdemo mmi,comrv,rtosal
    sample usage --listdemo "rtosal, demo_multi_harts comrv"

commit 9b3d4f780d5699d8e587e666a617bdaf67329b4e
Merge: f0ff28c 54bd33e
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 16:01:05 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit f0ff28c4f1180bd0bc6bc445e78e3ed8f4cff53c
Merge: da1b50a 39ed0cc
Author: [email protected] <[email protected]>
Date:   Mon Jan 11 10:49:13 2021 +0200

    Merge remote-tracking branch 'origin/master' into local/prepromote-new

commit da1b50ad5ddef536ce64e88eea600b516c37b629
Author: [email protected] <[email protected]>
Date:   Wed Jan 6 11:25:09 2021 +0200

    add test rerun in case it fails; rerun will be done only once

commit 1f5f8e46b82a14d9df47cd14e425041fccccf974
Author: [email protected]
  • Loading branch information
oferShinaar and ronen-haen-wdc authored Feb 23, 2021
1 parent a1164d5 commit b980da9
Show file tree
Hide file tree
Showing 118 changed files with 5,177 additions and 3,378 deletions.
46 changes: 29 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![N|Solid](http://riscv.net/wp-content/uploads/2015/01/riscv-logo-retina.png)

# WD RISC-V Firmware Package
This repostority is WD RISC-V Firmware package, holds:
This repository is WD RISC-V Firmware package, holds:

- WD-Firmware
- GCC 10.2.0 Toolchain for RISC-V
Expand All @@ -12,8 +12,8 @@ This repostority is WD RISC-V Firmware package, holds:


# Getting the sources
This repostority use LFS.
If you dont have git LFS installed, please do the following steps (based on Debian/Ubuntu):
This repository use LFS.
If you don't have git LFS installed, please do the following steps (based on Debian/Ubuntu):

$ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
$ sudo apt-get install git-lfs
Expand Down Expand Up @@ -49,7 +49,7 @@ The FW-Infra was verified with VMWare player v. 15 hosting Debian 9.6.

#### Current Platform and Core support:
- **HiFive1**
- **SweRVolf** - running on *Nexys-A7 FPGA* EH1, EL2 with full SoC ( [LINK to source](https://github.com/chipsalliance/Cores-SweRVolf) )
- **SweRVolf** - running on *Nexys-A7 FPGA* EH1, EH2 and EL2 with full SoC ( [LINK to source](https://github.com/chipsalliance/Cores-SweRVolf) )
- **Whisper** - ISS tool running EH1,EH2,EL2 ( [LINK to source](https://github.com/chipsalliance/SweRV-ISS) )


Expand All @@ -59,7 +59,7 @@ WD-Firmware
├── board <-- supported boards
├── hifive-1
├── nexys_a7_eh1 (support for SweRV eh1, running on SweRVolf)
├── nexys_a7_eh2 (upcoming...)
├── nexys_a7_eh2 (support for SweRV eh2)
├── nexys_a7_el2 (Support for SweRV el2, running on SweRVolf)
├── whisper (SweRV ISS Support for SweRV eh1, eh2, el2)
├── common <-- common source
Expand All @@ -81,8 +81,8 @@ WD-Firmware
### Additional downloads
NOTE: The COMRV demo will work only with the LLVM toolchain, GCC is not supported
- #### Toolchain binary download links:
- GNU ( [riscv-gnu-toolchain-debian.tar.gz](https://wdc.box.com/s/ye6et53kx7bq7k7zvt6c5dncqqfpa8bs) )
- LLVM ( [riscv-llvm-toolchain-debian.tar.gz](https://wdc.box.com/s/pqclwpw6siiitq22lcl4pbmxq8nx2e13) )
- GNU ( [GNU release folders](https://wdc.box.com/s/lfam8pwhghwshkmjf1yc542ghzfbyn7y) )
- LLVM ( [LLVM release folders](https://wdc.box.com/s/v562eei6d01bhzqcc4si76z1vq0w4ibu) )

- #### Using GCC Toolchain
- From the repo root folder unzip riscv-gnu-toolchain-debian.tar.gz to the ***WD-Firmware/demo/build/toolchain*** directory
Expand Down Expand Up @@ -159,11 +159,15 @@ We provide several platforms to work with, please follow the instructions for th
&nbsp;
- #### Setting up Nexys-A7 for SweRV - SweRVolf

SweRVolf is an fpga create by Olof Kindgren under CHIPS-Alliance
***EH1 and EL2*** SweRVolf are fpga files create by Olof Kindgren under CHIPS-Alliance
If you wish to know more please use this link: [Cores-SweRVolf](https://github.com/chipsalliance/Cores-SweRVolf)

- ***FPGA image file loading***: for loading the FPGA bit file, do the following steps:
- Copy the FPGA bit file /WD-Firmware/board/nexys_a7_eh1/***eh1_reference_design.bit*** to uSD device (locate it at the uSD root)

***For the FPGA bit file loading, do the following steps:***
- ***FPGA image file loading***: using uSD device
- Copy the FPGA bit file to a uSD device from the following path:
1. For SweRV eh1: /WD-Firmware/board/nexys_a7_eh1/***eh1_reference_design.bit***
2. For SweRV eh2: /WD-Firmware/board/nexys_a7_eh2/***swervolf_eh2.bit***
3. For SweRV el2: /WD-Firmware/board/nexys_a7_el2/***swervolf_el2.bit***
- Connect the uSD to the Nexys-A7 board (uSD slot is on board's bottom)
- Set the following jumpers: `JP1 - USB/SD pins. JP2 - connect the 2 pins on 'SD' side`
- Slide switch `sw0 to OFF` and `all others to ON`
Expand All @@ -176,12 +180,15 @@ We provide several platforms to work with, please follow the instructions for th

- ***FPGA image file loading***: using eclipse MCU:
- From eclipse IDE menu bar open the External Tools Configurations: *'Run'* -> *'External Tools'* -> *'External Tools Configurations...'*
- Under the *Program* list, select nexys_a7_eh1_flush and press the *Run* button
- Under the *Program* list, select:
1. For SweRV eh1: ***nexys_a7_eh1_flush*** and press the *Run* button
2. For SweRV eh2: ***nexys_a7_eh2_flush*** and press the *Run* button
3. For SweRV el2: ***nexys_a7_el2_flush*** and press the *Run* button
- The eclipse IDE Console will display *shutdown command invoked* upon completion

&nbsp;

- #### Setting up ISS (works as simulator for EH1)
- #### Setting up ISS (works as simulator for SweRV EH1, EH2 and EL2)

There is nothing to set for SweRV ISS, just select debugger luncher (following next)..
&nbsp;
Expand All @@ -192,12 +199,18 @@ We provide several platforms to work with, please follow the instructions for th
```javascript
- hifive1 <-- HiFive Eval board
- nexys_a7_eh1_swerolf <-- Nexys A7 digilent FPGA board running SweRV EH1
with full System on chip support.
From chipsalliance/Cores-SweRVolf
- nexys_a7_el2_swerolf <-- Nexys A7 digilent FPGA board running SweRV EL2
with full System on chip support.
From chipsalliance/Cores-SweRVolf
- whisper_eh1_connect_and_debug <-- SweRV ISS simulator for EH1
- whisper_eh2_connect_and_debug <-- SweRV ISS simulator for RH2
- whisper_el2_connect_and_debug <-- SweRV ISS simulator for EL2
- nexys_a7_eh2_swerolf <-- Nexys A7 digilent FPGA board running SweRV EH2
with full System on chip support.
- whisper_eh1_connect_and_debug <-- ISS simulator for SweRV EH1
- whisper_eh2_connect_and_debug <-- ISS simulator for SweRV EH2
- whisper_el2_connect_and_debug <-- ISS simulator for SweRV EL2
- whisper_eh2_connect_and debug_multi_hart <-- same as whisper_eh2_connect_and_debug BUT with 2 HW
threads (HARTs) running simultaneously
```

### Adding new source modules
Expand All @@ -223,4 +236,3 @@ This repo is always under work, following are notes and status for items that is
- All EH2 demos are working only on Whisper, no fpga
- Currently, Software-Interrupts are not supported in EL2 fpga. Until it will be supported, you can use Whisper for this demo.
- Bitmanip is supported only on LLVM.

4 changes: 2 additions & 2 deletions WD-Firmware/.cproject
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,10 @@
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/WD-Firmware"/>
</configuration>
<configuration configurationName="freertos">
<configuration configurationName="eh2">
<resource resourceType="PROJECT" workspacePath="/WD-Firmware"/>
</configuration>
<configuration configurationName="eh2">
<configuration configurationName="freertos">
<resource resourceType="PROJECT" workspacePath="/WD-Firmware"/>
</configuration>
<configuration configurationName="eh1">
Expand Down
2 changes: 1 addition & 1 deletion WD-Firmware/board/hifive1/hifive1.launch
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.gdbServerTclPortNumber" value="6666"/>
<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.gdbServerTelnetPortNumber" value="4444"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.otherInitCommands" value=""/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.otherRunCommands" value="source ${workspace_loc:/WD-Firmware/demo/build/toolchain/comrv/ovlymgr.py}"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.otherRunCommands" value="source ${workspace_loc:/WD-Firmware/demo/build/toolchain/llvm/gcc/share/gdb/python/gdb/ovlymgr.py}"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.secondResetType" value="halt"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.svdPath" value=""/>
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value=""/>
Expand Down
11 changes: 9 additions & 2 deletions WD-Firmware/board/hifive1/link.lds
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ SECTIONS
PROVIDE (_etext = .);
PROVIDE (etext = .);

PSP_TEXT_SEC :
{
*(.psp_code_section)
. = ALIGN(4);
} >flash AT>flash :flash

.rodata :
{
*(.rdata)
Expand Down Expand Up @@ -157,8 +163,9 @@ SECTIONS

PSP_DATA_SEC :
{

} >ram AT>flash :ram_init
*(.psp_data_section)
. = ALIGN(4);
} >ram AT>flash :ram_init

. = ALIGN(4);
PROVIDE( _edata = . );
Expand Down
16 changes: 11 additions & 5 deletions WD-Firmware/board/nexys_a7_eh1/bsp/bsp_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
// Web link: http://www.rte.se/sites/default/files/Blog/Modesty/ee_printf.c
//

/**
* @author Ofer Shinaar
* @date 05.07.2020
* @brief implementation of print functionality
*/

#include <stdarg.h>
#include "psp_api.h"
Expand Down Expand Up @@ -67,6 +72,10 @@

#define M_UART_WR_CH(_CHAR_) (*((volatile unsigned int*)(D_UART_BASE_ADDRESS + (0x00) )) = _CHAR_)


const char g_UpHexDigits[] = "0123456789ABCDEF";
const char g_LowHexDigits[] = "0123456789abcdef";

/*---------------------------------------------------*/
/* static */
/*---------------------------------------------------*/
Expand Down Expand Up @@ -236,14 +245,11 @@ static void outs( char* lp, params_t *par)
/* as directed by the padding and positioning flags. */
/* */
/*---------------------------------------------------*/

static void outnum( const int n, const long base, params_t *par)
{
char* cp;
int negative;
char outbuf[32];
const char uphexdigits[] = "0123456789ABCDEF";
const char lohexdigits[] = "0123456789abcdef";
const char *digits;
unsigned long num;
int i;
Expand All @@ -259,9 +265,9 @@ static void outnum( const int n, const long base, params_t *par)
}

if (par->upper_hex_digit_flag)
digits = uphexdigits;
digits = g_UpHexDigits;
else
digits = lohexdigits;
digits = g_LowHexDigits;

/* Build number (backwards) in outbuf */
cp = outbuf;
Expand Down
12 changes: 9 additions & 3 deletions WD-Firmware/board/nexys_a7_eh1/link.lds
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2019 Western Digital Corporation or its affiliates.
* Copyright 2019-2021 Western Digital Corporation or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -69,6 +69,11 @@ SECTIONS
. = ALIGN(4);
} >ram : ram_load

PSP_TEXT_SEC :
{
*(.psp_code_section)
. = ALIGN(4);
} > ram : ram_load

.rodata :
{
Expand Down Expand Up @@ -117,7 +122,8 @@ SECTIONS

PSP_DATA_SEC : ALIGN(16)
{

*(.psp_data_section)
. = ALIGN(4);
} > ram2 : ram_load

.sdata :
Expand All @@ -144,7 +150,7 @@ SECTIONS
{
*(.sbss .sbss.* .gnu.linkonce.sb.*)
*(.scommon)
*(.bss)
*(.bss .bss.*)
. = ALIGN(8);
} >ram : ram_load

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.gdbServerTclPortNumber" value="6666"/>
<intAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.gdbServerTelnetPortNumber" value="4444"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.otherInitCommands" value=""/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.otherRunCommands" value="source ${workspace_loc:/WD-Firmware/demo/build/toolchain/comrv/ovlymgr.py}"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.otherRunCommands" value="source ${workspace_loc:/WD-Firmware/demo/build/toolchain/llvm/gcc/share/gdb/python/gdb/ovlymgr.py}"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.openocd.secondResetType" value="halt"/>
<stringAttribute key="ilg.gnumcueclipse.debug.gdbjtag.svdPath" value=""/>
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.imageFileName" value="${workspace_loc:/WD-Firmware/demo/build/output/eh1.elf}"/>
Expand Down
47 changes: 0 additions & 47 deletions WD-Firmware/board/nexys_a7_eh1/openocd.cfg

This file was deleted.

7 changes: 3 additions & 4 deletions WD-Firmware/board/nexys_a7_eh1/swervolf_nexys_program.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
interface ftdi
adapter driver ftdi
ftdi_device_desc "Digilent USB Device"
ftdi_vid_pid 0x0403 0x6010
ftdi_channel 0
ftdi_layout_init 0x0088 0x008b
reset_config none
adapter_khz 10000
adapter speed 10000

transport select jtag

source [find cpld/xilinx-xc7.cfg]


if { [info exists BITFILE] } {
set _BITFILE $BITFILE
} else {
Expand All @@ -26,4 +25,4 @@ pld load 0 $_BITFILE
echo "->DONE!!!!!!!"
echo "-----------------------------------------------------"

shutdown
shutdown
24 changes: 12 additions & 12 deletions WD-Firmware/board/nexys_a7_eh2/bsp/bsp_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
* @brief implementation of print functionality
*/


#include <stdarg.h>
#include "psp_api.h"
#include "bsp_mem_map.h"
Expand Down Expand Up @@ -73,6 +72,10 @@

#define M_UART_WR_CH(_CHAR_) (*((volatile unsigned int*)(D_UART_BASE_ADDRESS + (0x00) )) = _CHAR_)


const char g_UpHexDigits[] = "0123456789ABCDEF";
const char g_LowHexDigits[] = "0123456789abcdef";

/*---------------------------------------------------*/
/* static */
/*---------------------------------------------------*/
Expand Down Expand Up @@ -167,12 +170,12 @@ void uartInit(void)
/*----------------------------------------------------*/
typedef struct params_s
{
int len;
long num1;
long num2;
char pad_character;
int do_padding;
int left_flag;
int len;
long num1;
long num2;
char pad_character;
int do_padding;
int left_flag;
int upper_hex_digit_flag; //added hexdigit uppercase [A-F]
int maxium_length; // max_length
} params_t;
Expand Down Expand Up @@ -242,14 +245,11 @@ static void outs( char* lp, params_t *par)
/* as directed by the padding and positioning flags. */
/* */
/*---------------------------------------------------*/

static void outnum( const int n, const long base, params_t *par)
{
char* cp;
int negative;
char outbuf[32];
const char uphexdigits[] = "0123456789ABCDEF";
const char lohexdigits[] = "0123456789abcdef";
const char *digits;
unsigned long num;
int i;
Expand All @@ -265,9 +265,9 @@ static void outnum( const int n, const long base, params_t *par)
}

if (par->upper_hex_digit_flag)
digits = uphexdigits;
digits = g_UpHexDigits;
else
digits = lohexdigits;
digits = g_LowHexDigits;

/* Build number (backwards) in outbuf */
cp = outbuf;
Expand Down
Loading

0 comments on commit b980da9

Please sign in to comment.