-
Notifications
You must be signed in to change notification settings - Fork 854
boot: zephyr: Remove legacy serial recovery GPIO configuration #1472
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
Conversation
ed01e40 to
39f6192
Compare
Change introduces default values of CONFIG_BOOT_SERIAL_DETECT_PIN and CONFIG_BOOT_USB_DFU_DETECT_PIN. This is needed to prevent build issues caused by uninitialized Kconfig. Upstream PR: mcu-tools/mcuboot#1472 Jira: NCSDK-16550 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> (cherry picked from commit 01a67d2)
…guration Change removes the legacy configuration. The configuration can no longer be used, because GPIO DTS nodes no longer support labels. The GPIO must be configured by board's DTS. Upstream PR: mcu-tools/mcuboot#1472 Jira: NCSDK-16550 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> (cherry-picked from commit 39f61921c4d005aa7d65f3b6f4dfaec59d485d24)
|
|
||
| # MCUboot serial recovery | ||
| CONFIG_MCUBOOT_SERIAL=y | ||
| CONFIG_BOOT_SERIAL_DETECT_PORT="GPIO_0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop this board patch
this is a unknown board.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped. Btw. should we keep configuration of non-zephyr board in here?
|
2nd commit message: Change removes the legacy configuration. The legacy configuration become problematic as can not The GPIO is preferred to be configured by board's DTS, which is a loot more easier, |
39f6192 to
4521045
Compare
Change introduces default values of CONFIG_BOOT_SERIAL_DETECT_PIN and CONFIG_BOOT_USB_DFU_DETECT_PIN. This is needed to prevent build issues caused by uninitialized Kconfig. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
Change removes the legacy configuration. The legacy configuration became problematic, because GPIO DTS nodes no longer support labels that were used to identify nodes in MCUboot. Therefore we need to use GPIO DTS node name with the legacy approach. The GPIO should be configured by board's DTS, which is simpler. Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no>
4521045 to
fda18fd
Compare
Change introduces default values of CONFIG_BOOT_SERIAL_DETECT_PIN and CONFIG_BOOT_USB_DFU_DETECT_PIN. This is needed to prevent build issues caused by uninitialized Kconfig. Upstream PR: mcu-tools/mcuboot#1472 Jira: NCSDK-16550 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> (cherry picked from commit fddbe51b5bd4b400f736b28ed040fe87cf1d969a)
…guration Change removes the legacy configuration. The legacy configuration became problematic, because GPIO DTS nodes no longer support labels that were used to identify nodes in MCUboot. Therefore we need to use GPIO DTS node name with the legacy approach. The GPIO should be configured by board's DTS, which is simpler. Jira: NCSDK-16550 Upstream PR: mcu-tools/mcuboot#1472 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> (cherry picked from commit fda18fdafd1c83bd30a58c41c85344c78b1c80fb)
Change introduces default values of CONFIG_BOOT_SERIAL_DETECT_PIN and CONFIG_BOOT_USB_DFU_DETECT_PIN. This is needed to prevent build issues caused by uninitialized Kconfig. Upstream PR: mcu-tools/mcuboot#1472 Jira: NCSDK-16550 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> (cherry picked from commit fddbe51b5bd4b400f736b28ed040fe87cf1d969a)
…guration Change removes the legacy configuration. The legacy configuration became problematic, because GPIO DTS nodes no longer support labels that were used to identify nodes in MCUboot. Therefore we need to use GPIO DTS node name with the legacy approach. The GPIO should be configured by board's DTS, which is simpler. Jira: NCSDK-16550 Upstream PR: mcu-tools/mcuboot#1472 Signed-off-by: Marek Pieta <Marek.Pieta@nordicsemi.no> (cherry picked from commit fda18fdafd1c83bd30a58c41c85344c78b1c80fb)
Change removes the legacy configuration. The configuration can no longer be used, because GPIO DTS nodes no longer support labels. The GPIO must be configured by board's DTS.
PR also adds default values of boot detect pins to prevent build failures.
fixes #1473