JianyuWang0623 opened a new pull request, #3921:
URL: https://github.com/apache/nuttx-apps/pull/3921
## Summary
Add SYSTEM_FASTBOOTD_DOWNLOAD_ADDR (default 0). When non-zero,
fastbootd uses a board-reserved region of SYSTEM_FASTBOOTD_DOWNLOAD_MAX
bytes at that address as the download buffer instead of malloc'ing one,
as U-Boot and LK do, and never frees it.
## Impact
None unless a board sets the option; the default keeps malloc.
## Testing
sim:nsh with fastbootd over the serial transport, 4 KiB download:
- DOWNLOAD_ADDR=0: download OKAY (malloc path).
- DOWNLOAD_ADDR=0x20000000 (region reserved by the host): download
OKAY; `oem memdump` + `upload` read back matches byte for byte.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]