MV6TOOL(8)

πŸ“¦ version 2, in epel 9, fedora 43, fedora 44, nixos 26.05

πŸ’– MV6TOOL β€” the mv6tool manual, but make it make sense πŸ’–

okay bestie, so this is mv6tool, from the System Management Commands girlies. It's your little backstage pass to the Marvell Link Street registers. No cap, it's giving ✨direct hardware access✨ and we're obsessed.


✨ SYNOPSIS ✨

the vibes, in code form:

mv6tool read LOCATION/REG

mv6tool write LOCATION/REG <0-0xffff>

mv6tool print LOCATION[/REG]

mv6tool print IFACE

and here's the where-clause, the lore, the fine print:

LOCATION
       := IFACE/<port|phy> | DEV/<ADDR|phyN|portN|globalG|serdes>

DEV    := <0-0x1f>

ADDR   := <0-0x1f>

N      := <0-0xa>

G      := <0-2>

REG    := <0-0x1f>

like. it's all there. read it, love it, respect the ranges 🫢


🌸 DESCRIPTION 🌸

so here's the tea πŸ“ β€” there are three commands and they each have their own main character energy:

  • read and write are just simple register-level accessors. no drama, no frills, they go in and they do the thing. πŸ’…
  • print is the fancy one β€” it pretty-prints a register for you. gorgeous. iconic.

and here's the important bit, bestie: when you're using the print command, the register is optional. if you leave it out, it just shows you the most common registers instead. so you're never left with nothing. it always serves πŸŽ€


πŸ¦‹ EXAMPLES πŸ¦‹

live, laugh, run these:

mv6tool read cpu0/port/0

mv6tool write 1/global1/2 0x1337

mv6tool print eth2-1

look at that. 0x1337. the leetest of numbers, honestly. πŸ”₯


πŸ™ˆ REPORTING BUGS πŸ™ˆ

if something's broken, there's a bug report address. that's the one. that's the whole section. go find it, send your bug, be free 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

  • phytool(8) β€” its sibling, its bestie, its other half πŸ’œ

so yeah, that's the whole page!! πŸ’– if you got this far, you're literally a Unix girlie now, no takebacks. this was mv6tool(8), straight from the System Management Commands section, dated January 2024. mwah, go read some registers, ily, bye!! πŸ’…βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from