Skip to content
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

Update CMSIS/RTX with Cortex-A support #5342

Merged
merged 26 commits into from
Nov 15, 2017
Merged

Update CMSIS/RTX with Cortex-A support #5342

merged 26 commits into from
Nov 15, 2017

Conversation

bulislaw
Copy link
Member

Description

This PR introduces updates to RTX/CMSIS and brings Cortex-A support back into mbed OS

I've closed #5312 by mistake and can't seem to open it again.

Status

IN DEVELOPMENT

ToDo

  • Validation
  • uVisor sanity check
  • v8 sanity check
  • IAR support for Cortex-A

CC
@Patater could you have a look at my merges of your old uVisor commits

@bulislaw bulislaw self-assigned this Oct 18, 2017
@bulislaw
Copy link
Member Author

/morph build

1 similar comment
@bulislaw
Copy link
Member Author

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 18, 2017

Build : FAILURE

Build number : 238
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@TomoYamanaka
Copy link
Contributor

@bulislaw
How is the status of reflection that I mentioned in #5312 going ?

cc @toyowata

@toyowata
Copy link
Contributor

toyowata commented Oct 19, 2017

@TomoYamanaka

How is the status of reflection that I mentioned in #5312 going ?

I think you can make your PR which include these changes, once this PR #5342 will be merged.
Can you share with your test result in your local environment?

@bulislaw
Copy link
Member Author

/morph build

1 similar comment
@bulislaw
Copy link
Member Author

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2017

Build : FAILURE

Build number : 272
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@bulislaw
Copy link
Member Author

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2017

Build : FAILURE

Build number : 286
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2017

Build : FAILURE

Build number : 287
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2017

Build : FAILURE

Build number : 288
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@bulislaw
Copy link
Member Author

/morph build

1 similar comment
@bulislaw
Copy link
Member Author

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 20, 2017

Build : FAILURE

Build number : 303
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@bulislaw
Copy link
Member Author

/morph build

1 similar comment
@bulislaw
Copy link
Member Author

/morph build

@mbed-ci
Copy link

mbed-ci commented Oct 20, 2017

Build : FAILURE

Build number : 305
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@bulislaw
Copy link
Member Author

@Archcady could you please fix Ameba board for this PR, it seems there's some stuff compiled in your binaries that not compatible with updated CMSIS/RTX. You can submit a PR against feature_cortex_a branch.

        [Error] cmsis_iar.h@111,27: [Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned long __get_PSR(void)" (declared at line 54 of "/usr/local/iccarm-7.80.1/bin/../inc/c/intrinsics.h")
        [Error] cmsis_iar.h@211,26: [Pe247]: function "__RRX" has already been defined (at line 513 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@218,27: [Pe247]: function "__LDRBT" has already been defined (at line 660 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@225,27: [Pe247]: function "__LDRHT" has already been defined (at line 666 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@232,23: [Pe247]: function "__LDRT" has already been defined (at line 672 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@239,23: [Pe247]: function "__STRBT" has already been defined (at line 678 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@244,23: [Pe247]: function "__STRHT" has already been defined (at line 682 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@249,27: [Pe247]: function "__STRT" has already been defined (at line 686 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")
        [Error] cmsis_iar.h@258,6: [Pe247]: function "__ROR" has already been defined (at line 530 of "/builds/ws/mbed-os-build-matrix/7376d91e/mbed-os/cmsis/TARGET_CORTEX_M/cmsis_iccarm.h")

http://mbed-os.s3-eu-west-1.amazonaws.com/builds/5342/FAIL/REALTEK_RTL8195AM/IAR/10f565ca4ba33d7a7391d7c657ad2aae2e6d5674_build_log_REALTEK_RTL8195AM_IAR.txt

@bulislaw
Copy link
Member Author

@Archcady @tung7970 ping

@tung7970
Copy link
Contributor

@bulislaw Please try PR #5371. Those header files look redundant to me. Can simply remove it. Tested it with GCC, and should be OK with IAR or ARMCC. (dont have access to any of those since I am off-site right now)

@bulislaw
Copy link
Member Author

Good catch! It was a rebase mistake...

@bulislaw
Copy link
Member Author

Ok how do we get that merged? The CIs keep spinning and restarting...

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 13, 2017

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2017

Build : FAILURE

Build number : 501
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 13, 2017

/morph build

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2017

Build : FAILURE

Build number : 503
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 13, 2017

Failures in the CI, not related to this patch I believe, we are investigating

cc @studavekar

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2017

Build : SUCCESS

Build number : 508
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/5342/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2017

@mbed-ci
Copy link

mbed-ci commented Nov 13, 2017

@bulislaw
Copy link
Member Author

@0xc0170 uVisor is stuck could you poke it?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 14, 2017

Build scheduled manually

@bulislaw
Copy link
Member Author

Can we merge it before the CIs restart themselves yet again please.

@0xc0170 0xc0170 merged commit 41eb565 into master Nov 15, 2017
@0xc0170
Copy link
Contributor

0xc0170 commented Nov 15, 2017

Please remove the branch feature_cortex_a if not used anymore . We labeled it for 5.7rc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.