-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
RFC: arch: arm: Remove aarch32 directory and split Cortex-M and Cortex-A/r code #60031
RFC: arch: arm: Remove aarch32 directory and split Cortex-M and Cortex-A/r code #60031
Conversation
61b0703
102b8a8
to
61b0703
Compare
this PR has broken armclang support. When doing major rework, please remember to test with armclang, or ping someone who can carry out such test. With armclang i'm now seeing errors like this:
|
@fabiobaltieri FYI |
Is there any fundamental blocker from having an armclang run in CI? Sounds like the only sustainable option to me. We have a separate clang run already so unless there's some licensing issue I don't see why not. |
we do have some licenses for armclang for develoment, but I guess no one has had the time to look into getting this up and running with CI. Note also that we should checkup with arm that we are permitted to use those licenses in CI. |
i'm curious why this PR, which touches so many files in 11 commits, only have a manifest label, and no |
Fixed here: #62590 |
I don't think it touches any files under "Build system" (https://github.com/zephyrproject-rtos/zephyr/blob/main/MAINTAINERS.yml#L334-L342), but regardless, the script that does the tagging does not apply more than 10 tags, this check kicked in: https://github.com/zephyrproject-rtos/zephyr/blob/main/scripts/set_assignees.py#L158 |
Fixes: zephyrproject-rtos#62589 Follow-up: zephyrproject-rtos#60031 The PR zephyrproject-rtos#60031 moved CMake code to new folder location causing generated library names to change. This change impacted the use of those libraries in the Zephyr armlink CMake code, causing CMake failures at configure time. This PR fixes this failure by updating the armlink CMake code to use the new library names. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
Fixes: #62589 Follow-up: #60031 The PR #60031 moved CMake code to new folder location causing generated library names to change. This change impacted the use of those libraries in the Zephyr armlink CMake code, causing CMake failures at configure time. This PR fixes this failure by updating the armlink CMake code to use the new library names. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This is not really a sustainable solution at the change volume that the project is dealing with. It also does not seem fair to block against a proprietary system that only few developer have access to. If the tool is proprietary and we are not allowed to run in CI then regressions will have to be detected and fixed out band. |
Fixes: zephyrproject-rtos#62589 Follow-up: zephyrproject-rtos#60031 The PR zephyrproject-rtos#60031 moved CMake code to new folder location causing generated library names to change. This change impacted the use of those libraries in the Zephyr armlink CMake code, causing CMake failures at configure time. This PR fixes this failure by updating the armlink CMake code to use the new library names. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This PR tries to do some cleaning work in the
arch/arm/core
directory and split some common code into Cortex-M and Cortex-A/R parts. This is a huge work, hope you can give your comments on this.Below is the major changes:
It doesn't make sense to keep the aarch32 directory in the 'arch/arm/core' directory as the aarch64 has been moved out. This PR try to clean the 'aarch32' directory in 'arch/arm/core' and 'include/zephyr/arch/arm'.
There are too many differences between Cortex-M and Cortex-A/R, For easier to maintain, this PR try to split some common code in 'arch/arm/core'. They are:
Move 'arch/arm/core/irq_relay.S to the cortex_m directory because it is only used by Cortex-M architecture.
There is a known issue about cleaning the 'aarch32' directory in the
include/zephyr/arch/arm
directory thatboot/zephyr/arm_cleanup.c
in the mcuboot module includes a header file resided ininclude/zephyr/arch/arm/aarch32
directory. It will lead to a build error.https://github.com/zephyrproject-rtos/mcuboot/blob/74c4d1c52fd51d07904b27a7aa9b2303e896a4e3/boot/zephyr/arm_cleanup.c#L7C43-L7C52