-
Notifications
You must be signed in to change notification settings - Fork 8.3k
am243x_evm/am2434: initial support #87321
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
1d084f5 to
c2c270b
Compare
bee4707 to
0e3f8d9
Compare
m-braunschweig
left a comment
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.
Thanks for adding the initial Cortex-R5F support. I looked at the changes for it and the main domain and found a few possible improvements that are in the single comments.
Also the NUM_IRQS and SYS_CLOCK_HW_CYCLES_PER_SEC Kconfig options need to be adjusted for this SoC. But to keep the scope of this PR limited I would suggest changing this later by splitting up the Kconfig into multiple files in a different PR.
Can you also share how you are booting the SoC and which changes you have done to the TI MCU+ SDK SBL, if you use it?
|
Hello @m-braunschweig
noted
I actually saw your documentation from the patchset here a few days ago: TexasInstruments#1 and I must say I am not doing it much differently. We are primarily using For now there is also the need to set the timer clock source manually if I am using a timer different from the SBL. I appreciate your review and suggestions and will get to working on them tomorrow, might also edit this comment as I remember things. |
Ok. Did you do any modifications for using |
For R5, did nothing, the vector table at the start of SRAM (0x70000000) gets relocated to 0x0 via z_arm_relocate_vector_table For M4, you need to set the CONFIG_KERNEL_ENTRY="__start" since that is how it's configured in SBL edit: actually just realised i had set |
|
The relocation itself wasn't the problem in my case. It was either parsing or setting the |
| }; | ||
|
|
||
| sram1: memory1@40000 { | ||
| sram1: memory1@30000 { |
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.
This looks correct, but it is a fix unrelated to this refactor. Should this go in its own commit?
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.
I think it's fine if it does not affect other boards negatively
m-braunschweig
left a comment
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.
Seems good except the small typo in the model property (I will already approve it anyway, since it's only a minor thing).
With the compatible property I'm also with how it currently is
Some devices have multiple pinctrl regions; for instance, main pinctrl and mcu pinctrl. Currently there can only be a single pinctrl instance picked form a DT label. This patch makes the pinctrl driver initialise one instance for each node with correct compatible string. Signed-off-by: Amneesh Singh <a-singh7@ti.com>
3e7c9fe to
0d65b23
Compare
Add SoC support and device trees for Texas Instruments AM2434 SoC. Both R5 and M4 cores are supported here. Signed-off-by: Amneesh Singh <a-singh7@ti.com>
Reflect changes from the new am64x_m4.dtsi file. Affected boards: - phyboard_electra - sk_am64 Signed-off-by: Amneesh Singh <a-singh7@ti.com>
Add board support for am2434_evm board Signed-off-by: Amneesh Singh <a-singh7@ti.com>
Add documentation for am243x_evm and while at it, add the openocd configuration as well. Co-authored-by: Mika Braunschweig <mika.braunschweig@siemens.com> Signed-off-by: Amneesh Singh <a-singh7@ti.com>
Add DT overlay for am243x_evm/am2434/r5f0_0 in one of the ADC samples Signed-off-by: Amneesh Singh <a-singh7@ti.com>
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
This patchset aims to: