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

Fixes for NXP T1024 with Integrity OS #401

Merged
merged 11 commits into from
Feb 12, 2024

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Jan 26, 2024

Fixes and improvements to get Integrity OS booting on NXP T1024:

  • Added additional FDT fixups for FMAN, SDHC, Ethernet, PCI.
  • Added NXP T1024 mEMAC, MDIO and PHY setup.
  • Pulled in latest PCI code from TigerLake efforts
  • Added PCI init and enumeration
  • Added MRAM init
  • Fixed issue with CPLD due to incorrect AMASK (also in T2080 port)
  • Fix for CPU core clock calculation.

@dgarske dgarske self-assigned this Jan 26, 2024
@dgarske dgarske changed the title Fixes for NXP PT1024 with Integrity OS Fixes for NXP T1024 with Integrity OS Jan 26, 2024
… FMAN, Ethernet, PCI. Add PCI init and enumeration.
@dgarske dgarske force-pushed the nxp_t1024_integrity_fixes branch from 47268b0 to b7a16d9 Compare January 26, 2024 23:42
Reads:
```
CPLD BOARD_ID: 0x41503031
CPLD PLD_VER: 0x42
```
@dgarske dgarske force-pushed the nxp_t1024_integrity_fixes branch from b7a16d9 to 38f88b7 Compare February 1, 2024 00:33
@dgarske dgarske marked this pull request as ready for review February 1, 2024 21:33
@dgarske dgarske assigned danielinux and unassigned dgarske Feb 3, 2024
@dgarske dgarske requested a review from danielinux February 3, 2024 21:19
@dgarske
Copy link
Contributor Author

dgarske commented Feb 3, 2024

@danielinux this is a good state to merge. Fixes some bugs and adds features. I expect another to eventually to resolve a few outstanding issues.

@dgarske dgarske assigned dgarske and unassigned danielinux Feb 5, 2024
@dgarske dgarske force-pushed the nxp_t1024_integrity_fixes branch from 155a7f5 to 1babb39 Compare February 9, 2024 00:29
…y OS Ethernet issues and task crash.

Example Output:
```
PHY 2: SGMII, Mac DC:A7:D9:0:6:F6
PHY 2: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
PHY 1: SGMII, Mac DC:A7:D9:0:6:F5
PHY 1: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
PHY 3: RGMII, Mac DC:A7:D9:0:6:F7
PHY 3: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
PHY 4: RGMII, Mac DC:A7:D9:0:6:F8
PHY 4: TI DP83867 (OUI 80028, Mdl 23, Rev 1)
```
@dgarske dgarske force-pushed the nxp_t1024_integrity_fixes branch from 1babb39 to bed1e7d Compare February 9, 2024 00:31
@dgarske dgarske removed their assignment Feb 9, 2024
Copy link
Member

@danielinux danielinux left a comment

Choose a reason for hiding this comment

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

Looks good. Some minor changes for readability

hal/nxp_t1024.c Outdated Show resolved Hide resolved
src/pci.c Outdated Show resolved Hide resolved
hal/nxp_t1024.c Outdated Show resolved Hide resolved
hal/nxp_t1024.c Show resolved Hide resolved
@danielinux danielinux assigned dgarske and unassigned danielinux Feb 12, 2024
@dgarske dgarske requested a review from danielinux February 12, 2024 17:57
@danielinux danielinux merged commit 85b5963 into wolfSSL:master Feb 12, 2024
76 checks passed
@dgarske dgarske deleted the nxp_t1024_integrity_fixes branch March 8, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants