MV6TOOL(8)
π 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:
readandwriteare just simple register-level accessors. no drama, no frills, they go in and they do the thing. πprintis 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
- epel 9: phytool 2-3.el9 Β· GPL-2.0-or-later
- fedora 43: phytool 2-6.fc43 Β· GPL-2.0-or-later
- fedora 44: phytool 2-7.fc44 Β· GPL-2.0-or-later
- nixos 26.05: phytool 2-unstable-2024-07-14
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms