tmedicci opened a new pull request, #12795:
URL: https://github.com/apache/nuttx/pull/12795

   ## Summary
   
   * esp32s3/elf: Enable ELF loader for ESP32-S3
   
   Provide `up_copy_section` function that enables copying data using
   the data bus. If the memory destination address is accessible
   through the instruction bus, the data is copied using the
   correspondent address accessible through the data bus.
   
   * binfmt/libelf: Enable ELF loader if text heap read is word-aligned
   
   The ELF loader needs to load the app into the memory before
   executing it from the same location. As expected, this memory space
   should be able to execute code. For architectures containing data
   and instruction buses, the instruction bus may not be able to be
   accessed in a non-aligned way, which is usually required when
   copying data to that location. Eventually, this same memory space
   can be accessed through the data bus, using different address
   ranges. This commit enables accessing the memory through the data
   bus to copy the app's data before executing it when
   `CONFIG_ARCH_HAVE_TEXT_HEAP_WORD_ALIGNED_READ` is enabled.
   
   ## Impact
   
   Enable ELF loader for ESP32-S3.
   
   ## Testing
   
   Internal CI testing + ESP32-S3-DevKitC-1 v1.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to