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

[Marvell-arm64] Add platform support for rd98DX35xx #17278

Draft
wants to merge 5 commits into
base: 202211
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,9 @@
[submodule "src/sonic-gnmi"]
path = src/sonic-gnmi
url = https://github.com/sonic-net/sonic-gnmi.git
[submodule "platform/marvell-arm64/mrvl-prestera"]
path = platform/marvell-arm64/mrvl-prestera
url = https://github.com/Marvell-switching/mrvl-prestera.git
[submodule "platform/marvell-arm64/sonic-platform-marvell"]
path = platform/marvell-arm64/sonic-platform-marvell
url = https://github.com/Marvell-switching/sonic-platform-arm64.git
1 change: 1 addition & 0 deletions device/marvell/arm64-marvell_rd98DX35xx-r0/default_sku
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rd98DX35xx t1
1 change: 1 addition & 0 deletions device/marvell/arm64-marvell_rd98DX35xx-r0/installer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="default_hugepagesz=32M hugepages=4"
1 change: 1 addition & 0 deletions device/marvell/arm64-marvell_rd98DX35xx-r0/platform_asic
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
marvell-arm64
13 changes: 13 additions & 0 deletions device/marvell/arm64-marvell_rd98DX35xx-r0/plugins/eeprom.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

try:
from sonic_eeprom import eeprom_tlvinfo
except ImportError as e:
raise ImportError (str(e) + "- required module not found")


class board(eeprom_tlvinfo.TlvInfoDecoder):

def __init__(self, name, path, cpld_root, ro):
self.eeprom_path = "/sys/bus/i2c/devices/0-0050/eeprom"
super(board, self).__init__(self.eeprom_path, 0, '', True)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"skip_ledd": true,
"skip_pcied": true,
"skip_thermalctld": true,
"skip_psud": true,
"skip_xcvrd": true,
"skip_syseepromd": true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7a62aaeaed876bd57c22537911fa7a4e

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2876aaa02a47b5842e152ce794c50110
Loading