xiaoxiang781216 edited a comment on pull request #4233: URL: https://github.com/apache/incubator-nuttx/pull/4233#issuecomment-887702003
> There are several small bootloaders that I wrote for the SAMA5Dx in the tree. But I did an odd thing, I put the entire bootloader in the board/src directory so the whole app is inside the OS. That eliminated the need for new OS interfaces.Board-specific IOCs do not need to be shared. They are private. Shared IOCs are not board-specific, There can be no discussion of sharing private things. Yes, if the booloader is for a specific board, we don't need the public interface. The bootloader and board code can use any adhoc protocol to finish the work. But, I suppose @gustavonihei want to write a general bootloader which could work with all NuttX board. The IOCTL added by Xiaomi recently also want to support A/B boot in a general way because we need support many board come from different vendor. > If these are common IOCs, then the are extensions to OS interface and must be very carefully controlled. People cannot just extend the public OS interface for personal needs. These must be architected, designed optimally, conform to some roadmap, and be agreed to by the community.Sent from my Galaxy Yes, I agree that the public interface need get more attention and discussion to ensure it's general enough to cover the needs from all intersted party. Github PR or issue is a good place to let people share the idea or comment, do you have better suggestion? -- 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