Skip to content

Commit

Permalink
config/arm: add Phytium TengYun S5000c
Browse files Browse the repository at this point in the history
add support for Phytium tengyunS5000c

Signed-off-by: Zhipeng Lu <[email protected]>
  • Loading branch information
Zhipeng Lu authored and tmonjalo committed Feb 19, 2025
1 parent 068d88e commit fab31a0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
16 changes: 16 additions & 0 deletions config/arm/arm64_fts5000c_linux_gcc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[binaries]
c = 'aarch64-linux-gnu-gcc'
cpp = 'aarch64-linux-gnu-g++'
ar = 'aarch64-linux-gnu-gcc-ar'
strip = 'aarch64-linux-gnu-strip'
pkgconfig = 'aarch64-linux-gnu-pkg-config'
pcap-config = ''

[host_machine]
system = 'linux'
cpu_family = 'aarch64'
cpu = 'armv8-a'
endian = 'little'

[properties]
platform = 'fts5000c'
22 changes: 21 additions & 1 deletion config/arm/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,14 @@ implementer_phytium = {
['RTE_MAX_LCORE', 256],
['RTE_MAX_NUMA_NODES', 32]
]
}
},
'0x862': {
'mcpu': 'mcpu_tys5000c',
'flags': [
['RTE_MAX_LCORE', 256],
['RTE_MAX_NUMA_NODES', 32]
]
},
}
}

Expand Down Expand Up @@ -619,6 +626,13 @@ soc_tys2500 = {
'numa': true
}

soc_tys5000c = {
'description': 'Phytium TengYun S5000c',
'implementer': '0x70',
'part_number': '0x862',
'numa': true
}

soc_v2 = {
'description': 'Arm Neoverse V2',
'implementer': '0x41',
Expand Down Expand Up @@ -655,6 +669,10 @@ mcpu_defs = {
'march': 'armv8-a',
'march_extensions': ['crc']
},
'mcpu_tys5000c': {
'march': 'armv8-a',
'march_extensions': ['crc']
},
'mcpu_generic': {
'march': 'armv8-a',
'march_extensions': ['crc'],
Expand Down Expand Up @@ -699,6 +717,7 @@ thunderx2: Marvell ThunderX2 T99
thunderxt83: Marvell ThunderX T83
thunderxt88: Marvell ThunderX T88
tys2500: Phytium TengYun S2500
tys5000c: Phytium TengYun S5000c
v2: Arm Neoverse V2
End of SoCs list
'''
Expand Down Expand Up @@ -738,6 +757,7 @@ socs = {
'thunderxt83': soc_thunderxt83,
'thunderxt88': soc_thunderxt88,
'tys2500': soc_tys2500,
'tys5000c': soc_tys5000c,
'v2': soc_v2,
}

Expand Down

0 comments on commit fab31a0

Please sign in to comment.