PROPHET/OS
NAME
buses: the small buses of this board
SYNOPSIS
buses [--tui]
DESCRIPTION
The small buses of this board: what sits on them, what answered, and why one of them is not there.
Four rows, and that is the whole list a board of this kind can carry: gpio are the single lines, i2c is the two wire bus, spi is the serial flash bus and adc an analogue input. **A bus that is not there keeps its row.** That is the point of the table: a zero read off a bus nobody drives is indistinguishable from a real zero, so the last column carries the sentence that tells the two apart.
State is one of three words. carried means a provider drives the bus. empty means the board has it and nothing drives it, which is a missing driver and not a missing wire. absent means the board does not have it at all. Provider is the link of the chain that carries, Where is the port window or the block it drives from, and Found is how many things answered: devices on a wire, lines on a block.
Why is the measurement. It is cut at the width of its column and marked with two dots; the whole sentence stands under the table, for every bus nobody drives, and in a pipe it is all there.
Under the table stand the devices that answered, one line each, with the wire, the address and what the walk could say about them. spd is an address in the block the specification keeps for the presence detect of memory modules, reads is a device that acknowledged a read of its first byte, and quick is one that acknowledged its address and no read. The word is the address block and the answer, never a model name: nothing on this wire was asked what it is.
**Every row below the table is an acknowledgement.** The walk sends the shortest transaction the specification has, the address alone with no byte behind it, and only a device that pulls the wire low for it gets a row. A device that does not acknowledge is reported as not acknowledging and never as data, so a byte of zero in this tool is a byte a device really gave.
Nothing is written on a bus here, and that is a decision: the only devices on this wire are the presence detect memories of the memory modules, and a board on which such a write landed would lose the timings of its own memory.
The rows come out of /state/buses, which the service builds out of its own walk and out of the bridge's configuration space. --tui takes the whole screen and keeps the rows live; the arrows and the two page keys move, q leaves.
EXAMPLE
$ buses 4 small buses, 1 of them driven, 8 device(s) answered Bus State Provider Where Found Why gpio absent gpio.none - 0 the bridge declares no port base for its.. i2c carried i2c.ich9 io:0x0700 8 the wire is driven and every row below i.. spi absent - - 0 the window answers and its flash registe.. adc absent - - 0 no analogue input: every device on the w.. on the wire: 8 device(s), 120 transaction(s), 104 of them without an acknowledgement i2c0 0x50 spd i2c0 0x51 spd i2c0 0x52 spd i2c0 0x53 spd i2c0 0x54 spd i2c0 0x55 spd i2c0 0x56 spd i2c0 0x57 spd gpio: the bridge declares no port base for its line block (config 0x48 reads zero), so this board has no line a driver could reach spi: the window answers and its flash registers are a memory array: a register the sheet calls read only took a write, so there is no controller here adc: no analogue input: every device on the wire sits in the presence detect block of the specification, and none of those converts a voltage