{"id":30898147,"url":"https://github.com/junka/orinswitchcli","last_synced_at":"2025-10-22T02:56:14.743Z","repository":{"id":305902509,"uuid":"1023624378","full_name":"junka/OrinSwitchCli","owner":"junka","description":"Marvell switch UMSD CLI for display and configuration","archived":false,"fork":false,"pushed_at":"2025-08-06T11:33:55.000Z","size":9994,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T01:07:49.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Yan-Ru/UMSD_porting","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/junka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-21T12:48:58.000Z","updated_at":"2025-08-06T11:33:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"1834fc11-98d8-4a51-80ba-c91943f62368","html_url":"https://github.com/junka/OrinSwitchCli","commit_stats":null,"previous_names":["junka/orinswitchcli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/junka/OrinSwitchCli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2FOrinSwitchCli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2FOrinSwitchCli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2FOrinSwitchCli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2FOrinSwitchCli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junka","download_url":"https://codeload.github.com/junka/OrinSwitchCli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junka%2FOrinSwitchCli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280370896,"owners_count":26319317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-09T01:06:43.025Z","updated_at":"2025-10-22T02:56:14.711Z","avatar_url":"https://github.com/junka.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Query and configure marvell switch 88q6113 and 88q5017 on orin\n\nThis could be run on Host computer or on orin directly.\n\n## Build for x86 remote\n```\ngit submodule update --init\ncd UMSD_v7.0.0\nsource setenv\nmake\n```\n\n## Build for onboard arm\n```\n git submodule update --init\n export CC=aarch64-linux-gnu-gcc\n export CXX=aarch64-linux-gnu-g++\n export LD=aarch64-linux-gnu-ld\n export HOST=aarch64-linux-gnu\n cd UMSD_v7.0.0\n source setenv\n make\n```\n\n UMSD_MCLI application be created in UMSD_v7.0.0/host/linux\n\n## usage\n\n### umsd.cfg\nbasically we are using FW_RMU mode, the parameters that would need modifications are\n- nic_name should always be modified before run command with the right interface\n- dev_num from 0 to 31, could be scanned automatically\n- ether_type packet ether proto, 0x9100 or 0x9101\n\n### Telnet mode\n- modify umsd.cfg nic_name with the correct interface name\n- run ```sudo ./USMD_CLI -f umsd.cfg ```\n- telnet 0 8888\n- use ```?``` to see more command help information and show commands\n\n\u003e for example, see Port Slave/Master mode:\\\n\u003e UMSD_MCLI\u003e getPhyMode 0 1 2 3 4 5 6 7 8 9\n\n\u003eor show vlan configuration:\\\n\u003eUMSD_MCLI\u003e vlan dump\n\n### Direct Command line mode, non-interactive mode\n- use umsd.cfg file like above\n- run ```sudo ./USMD_CLI -f umsd.cfg - vlan dump``` with command appended after dash, use like what we use for telnet mode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunka%2Forinswitchcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunka%2Forinswitchcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunka%2Forinswitchcli/lists"}