Skip to content

Conversation

@srcnert
Copy link
Contributor

@srcnert srcnert commented Nov 6, 2024

Due to Apollo3's internal bootloader, zephyr build is not able to create correct flash address on linker.cmd while using mcuboot. The PR configures flash-controller start address to solve this problem.

Test board: rakwireless/rak11720
Test project: samples/subsys/mgmt/mcumgr/smp_svr

Please close SHELL options on overlay-bt.conf and overlay-shell-mgmt.conf files to see log messages. I tested update over uart and ble.

@srcnert srcnert force-pushed the apollo3-mcuboot-fix branch from c65e8fe to 6494ab8 Compare November 6, 2024 11:27
nordicjm
nordicjm previously approved these changes Nov 6, 2024
@AlessandroLuo
Copy link
Contributor

@srcnert can you take a look at the build errors?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "blue_led" is undefined node which is causing compiling error.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added with latest commit. Thanks.

@aaronyegx
Copy link
Contributor

Please run samples/drivers/flash_shell to make sure the changes do not break the driver.

@srcnert srcnert force-pushed the apollo3-mcuboot-fix branch from ac5aab1 to 58f00c4 Compare November 29, 2024 09:10
@srcnert
Copy link
Contributor Author

srcnert commented Nov 29, 2024

Please run samples/drivers/flash_shell to make sure the changes do not break the driver.

I checked it on rak11720. These are logs. I feel it is okay.

Screenshot 2024-11-29 at 12 05 45

@srcnert srcnert requested a review from aaronyegx November 29, 2024 13:11
@aaronyegx
Copy link
Contributor

Please address the CI failures.

@srcnert srcnert force-pushed the apollo3-mcuboot-fix branch from 58f00c4 to e3fb876 Compare December 2, 2024 07:43
Due to Apollo3's internal bootloader, zephyr build is not able
to create correct flash address on linker.cmd while using
mcuboot. The PR configures flash-controller start address
to solve this problem.

Test board: rakwireless/rak11720
Test project: samples/subsys/mgmt/mcumgr/smp_svr

Signed-off-by: Sercan Erat <[email protected]>
@srcnert srcnert force-pushed the apollo3-mcuboot-fix branch from e3fb876 to b87edff Compare December 2, 2024 08:11
@srcnert
Copy link
Contributor Author

srcnert commented Dec 2, 2024

Please address the CI failures.

The reason is this: https://docs.zephyrproject.org/latest/build/dts/api/bindings/input/gpio-keys.html
I added gpio-keys.
By the way, do you know how to run these twister commands/CI operation on my local?

@srcnert srcnert requested a review from nordicjm December 11, 2024 07:25
@aaronyegx
Copy link
Contributor

Please address the CI failures.

The reason is this: https://docs.zephyrproject.org/latest/build/dts/api/bindings/input/gpio-keys.html I added gpio-keys. By the way, do you know how to run these twister commands/CI operation on my local?

You can runwest twistercommands to build the target testcases, e.g.,

cd .\zephyr\
west twister -p apollo3_evb -T .\tests\ztest\base

It will scan the tests/ztest/base/testcase.yaml and build the defined test items one by one.

Or
west twister -p apollo3_evb -T .\tests\
to build all testcases for the specific board.

@kartben kartben merged commit 662d9c7 into zephyrproject-rtos:main Dec 11, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants