Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC cache configuration control #7060

Merged
merged 89 commits into from
Dec 6, 2020
Merged

Commits on Feb 4, 2020

  1. PoC cache configuration control

    Expaned boards.txt.py to allow new MMU options and create revised .ld's
    Updated eboot to pass 48K IRAM segments.
    Added Cache_Read_Enable intercept to modify call for 16K ICACHE
    Update platform.txt to pass new mmu options through to compiler and linker preprocessor.
    Added quick example: esp8266/MMU48K
    mhightower83 committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    fc63320 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Style corrections

    Added MMU_ qualifier to new defines.
    Moved changes into their own file.
    Don't know how to fix platformio issue.
    mhightower83 committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    57043bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17ceceb View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Added detailed description for Cache_Read_Enable.

    Updated tools/sizes.py to report correct IRAM size and indicate ICACHE size.
    Merged in earlephilhower's work on unaligned exception. Refactored and added
    support for store operations and changed the name to be more closely aligned
    with its function. Improved crash reporting path.
    mhightower83 committed Feb 13, 2020
    Configuration menu
    Copy the full SHA
    7424aed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56306d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0645923 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Improved asm register usage.

    Added some inline functions to aid in byte and short access to iRAM.
     * only byte read has been tested
    Updated .ld file to work better with platform.io; however, I am still
    missing some steps, so platformio will still fail.
    mhightower83 committed Feb 27, 2020
    Configuration menu
    Copy the full SHA
    a6bb5a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5bb3e19 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2020

  1. Interesting glitch in boards.txt after github merge. A new board in

    master was missing new additions added by boards.txt.py in the PR.
    Which the CI flags when it rebuilds boards.txt.
    mhightower83 committed Feb 28, 2020
    Configuration menu
    Copy the full SHA
    b443e43 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. Support for 2nd Heap, excess IRAM, through umm_malloc.

    Adapted changes to umm_malloc, Esp.cpp, StackThunk.cpp,
    WiFiClientSecureBearSSL.cpp, and virtualmem.ino to irammem.ino from
    @earlephilhower PR esp8266#6994.
    
    Reworked umm_malloc to use context pointers instead of copy context.
    umm_malloc now supports allocations from IRAM. Added class
    HeapSelectIram, ... to aid in selecting alternate heaps,
    modeled after class InterruptLock.
    Restrict alloc request from ISRs to DRAM.
    
    Never ending improvements to debug printing.
    
    Sec Heap option now pulls in free IRAM left over in the 1st 32K block.
    Managed through umm_malloc with HeapSelectIram.
    
    Updated examples.
    mhightower83 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    0c661db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6eabc5 View commit details
    Browse the repository at this point in the history
  3. Post push CI cleanup.

    mhightower83 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    70842de View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Cleanup part II

    mhightower83 committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    f35290b View commit details
    Browse the repository at this point in the history
  2. Cleanup part III

    mhightower83 committed Mar 3, 2020
    Configuration menu
    Copy the full SHA
    71e36cb View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Configuration menu
    Copy the full SHA
    edf008a View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2020

  1. Configuration menu
    Copy the full SHA
    161e7bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ac46f7 View commit details
    Browse the repository at this point in the history
  3. CI Cleanup

    mhightower83 committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    91fc391 View commit details
    Browse the repository at this point in the history
  4. CI Cleanup II

    Don't know what to do with platformio it doesn't like my .S file.
    ifdef out USE_ISR_SAFE_EXC_WRAPPER to block the new assemlby module
    from building on platformio only.
    mhightower83 committed Mar 6, 2020
    Configuration menu
    Copy the full SHA
    eb9882e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1422b8d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b921e11 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cfb3826 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Configuration menu
    Copy the full SHA
    a1cd3a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    352a2ed View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. Configuration menu
    Copy the full SHA
    062f8dc View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2020

  1. Configuration menu
    Copy the full SHA
    69fdd5b View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. Configuration menu
    Copy the full SHA
    d5dac93 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Configuration menu
    Copy the full SHA
    9d3a7de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecd826c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9b92e2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a99afc View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Configuration menu
    Copy the full SHA
    f51dd82 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2020

  1. Configuration menu
    Copy the full SHA
    71ef229 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Fixed #if... for building umm_get_oom_count. It was not building when…

    … UMM_STATS_FULL was used.
    mhightower83 committed May 16, 2020
    Configuration menu
    Copy the full SHA
    1a9d909 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2020

  1. Configuration menu
    Copy the full SHA
    7b4a8d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d9ab27e View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. Configuration menu
    Copy the full SHA
    6d18190 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50fe8a3 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2020

  1. Configuration menu
    Copy the full SHA
    f62ff0a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. Merge branch 'master' into poc-cache-config

    Option UMM_INLINE_METRICS requires additional edits before it can
    be used.
    mhightower83 committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    1847a72 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. Added additional _context for support of use of UMM_INLINE_METRICS.

    Corrected some UMM_POSION missed edits.
    mhightower83 committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    d3ace64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a43a2a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. Configuration menu
    Copy the full SHA
    2f47516 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. Configuration menu
    Copy the full SHA
    fd8f942 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2020

  1. Changes to clear errors and warnings from toolchain 10.1

    Several fixes and improvements to example MMU48K.
    
    With the improved optimization in toolchain 10.1 The example divide by 0
    exception was failing with a HWDT event instead of its exception handler.
    The compiler saw the obscured divide by 0 and replaced it with a break point.
    mhightower83 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    74df810 View commit details
    Browse the repository at this point in the history
  2. Isolated incompatable definitions related to _xtos_set_exception_hand…

    …ler.
    
    GDBSTUB definitions are different from the BootROM's.
    mhightower83 committed Jul 14, 2020
    Configuration menu
    Copy the full SHA
    b767a5d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Update tools/platformio-build.py

    Co-authored-by: Max Prokhorov <[email protected]>
    mhightower83 and mcspr committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    e7402d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51ea542 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2020

  1. Configuration menu
    Copy the full SHA
    3ff489c View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. Requested changes

    Changed mmu related usages of ETS_... defines to DBG_MMU_...
    
    Cleanup in example MMU48K.ino. Removed stale memory reference macro
    and mmu_status print statement. Cleanup printf '\n' to be '\r\n'.
    
    Improved issolation of development debug prints from the rest of the debug prints.
    mhightower83 committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    232dce4 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2020

  1. Configuration menu
    Copy the full SHA
    a3c9e02 View commit details
    Browse the repository at this point in the history
  2. Improve comment.

    mhightower83 committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    fc5f611 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbdf166 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. Added draft mmu.rst file and updated index.

    Updated example HeapMetric.ino to also illustrate use of IRAM
    Improved comments in exc-c-wrapper-handler.S. Added insurance IRQ disable.
    mhightower83 committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    b88d197 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2020

  1. Updated mmu.rst

    Improved function name uniqueness for is_iram, is_dram, and is_icache by
    adding prefix mmu_. Also, made them available outside of a debug build.
    Made pointer precision width more specific.
    
    Made some of the static inline functions in mmu_irm.h safe for ISRs by
    setting then for always inline.
    mhightower83 committed Jul 25, 2020
    Configuration menu
    Copy the full SHA
    b058f17 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2020

  1. Add a default MMU_IRAM_SIZE value for a new CI test to pass.

    Extended use 'umm_heap_context_t *_context' argument in ..._core functions
    and expanded its usage to reduce unnecessary repeated calls to
    umm_info(NULL, false), also removed recursion from umm_info(NULL, true).
    
    Fixed stack buffer length in umm_info_safe_printf_P and heap.cpp.
    
    Added example for creating an IRAM reserve section.
    
    Updated mmu.rst. Grammar and spelling corrections.
    mhightower83 committed Jul 26, 2020
    Configuration menu
    Copy the full SHA
    5e31ed5 View commit details
    Browse the repository at this point in the history
  2. CI appeasement

    mhightower83 committed Jul 26, 2020
    Configuration menu
    Copy the full SHA
    a4d28e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2020

  1. Configuration menu
    Copy the full SHA
    d45ceb0 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2020

  1. Configuration menu
    Copy the full SHA
    4831410 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f64a7d0 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2020

  1. Configuration menu
    Copy the full SHA
    2238535 View commit details
    Browse the repository at this point in the history
  2. Added missing #include

    mhightower83 committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    c070657 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    be71429 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. Configuration menu
    Copy the full SHA
    50ea394 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d7e1e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61afce0 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. Configuration menu
    Copy the full SHA
    d828d76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d4a600 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Merge branch 'master' into poc-cache-config

    Add updated boot.elf created with merge content.
    mhightower83 committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    20d39ee View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2020

  1. Configuration menu
    Copy the full SHA
    f33ed95 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2020

  1. Configuration menu
    Copy the full SHA
    53894c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2020

  1. Configuration menu
    Copy the full SHA
    5ee2136 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2020

  1. Remove conditional build option USE_ISR_SAFE_EXC_WRAPPER, always inst…

    …all.
    
    Use the replacement wrapper on non32xfer_exception_handler install.
    
    Added comments to code describing some exception handling issues.
    mhightower83 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    3f415f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    addb149 View commit details
    Browse the repository at this point in the history
  3. Updated mmu.rst

    mhightower83 committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    d7fb4ab View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2020

  1. Configuration menu
    Copy the full SHA
    c8412a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2020

  1. Configuration menu
    Copy the full SHA
    5786ec1 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. Merge branch 'master' into poc-cache-config

    rebuilt eboot.elf
    mhightower83 committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    86c4e5a View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. Configuration menu
    Copy the full SHA
    0c9ae16 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Configuration menu
    Copy the full SHA
    2f88e7b View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. Configuration menu
    Copy the full SHA
    6c324c1 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2020

  1. Merge branch 'master' into poc-cache-config

    resolved conflicts in boards.txt.py and platform.txt
    mhightower83 committed Nov 19, 2020
    Configuration menu
    Copy the full SHA
    929e79b View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2020

  1. Merge branch 'master' into poc-cache-config

    Resolved boards.txt conflict.
    mhightower83 committed Nov 20, 2020
    Configuration menu
    Copy the full SHA
    1875c73 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Expanded and clarified comments.

    Limited access to some detailed typdefs/prototypes to .cpp
    modules, to avoid future build conflicts.
    
    Completed TODO for verifing that the "C" structure struct __exception_frame
    matches the ASM version.
    
    Fixed some typo's, code rot, and added some more cases in examaple irammem.ino.
    Refactored a little and reordered printing to ease comparison between methods.
    
    Corrected `#ifdef __cplusplus` coverage area. Cleaned up `extern "C" ...` usage.
    Fixes issues with including mmu_iram.h or esp8266_undocumented.h in .c files.
    mhightower83 committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    d3f9a0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e48d95e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ab791b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2020

  1. Style fix

    mhightower83 committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    a3bf35c View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Remove unnessasary IRAM_ATTR from install_non32xfer_exception_handler

    Some comment tuning.
    
    In the context of _xtos_set_exception_handler and the functions it registers,
    changed to type int for exception cause type. This is also the type used by gdbstub
    and some other Xtensa files I found.
    mhightower83 committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    1ff2aef View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2020

  1. Configuration menu
    Copy the full SHA
    9f9e206 View commit details
    Browse the repository at this point in the history