linguini1 commented on PR #15188: URL: https://github.com/apache/nuttx/pull/15188#issuecomment-2547366640
> @linguini1 Wonder if we could generate `config.txt` inside [bootfiles.sh](https://github.com/apache/nuttx/blob/b6b89a4d67f0bd5682cc59a8996906b5d821d200/tools/bcm2711/bootfiles.sh), since the content is static anyway? The content actually won't be static; it depends on the Kconfig options. For instance, right now the user can select the Kconfig option `CONFIG_RPI4B_DEBUG_BOOT=y` to have the Raspberry Pi's builtin bootloader show debug output on UART when booting. This will dynamically add another option to `config.txt`. There are also a lot of other options documented for config.txt but I have not implemented them all in NuttX yet. This is why I added generation of the file to the build. I could generate it so that it stays in `tools/bcm2711` with the other boot files? I just assumed that the root directory would be a good idea since the generated config.txt must be copied along with `nuttx.bin`, but I don't want to break the build. -- 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]
