framework-system icon indicating copy to clipboard operation
framework-system copied to clipboard

Decode additional Framework16 and AMD related memmap items

Open JohnAZoidberg opened this issue 1 year ago • 0 comments

TODO:

  • [ ] Handle it better than just increasing EC_MEMMAP_SIZE*2
  • [ ] Figure out all items and whether they apply to Lotus and also Azalea
  • [ ] Figure out Lotus and Azalea fan names

Example:

cargo build && sudo ./target/debug/framework_tool --driver portio --expansion-bay
AMD
  Power Slider:     DC, Battery Saver (0b0001000)
  STT Table:        7
  CBP:              true ([0, 0])
  DTT Temp:         [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Expansion Bay
  Serial Struct:    [0, 0, 0, 0]
  PD Version:       [0, 0, 0, 0]
  GPU CTRL:         0x8
    MUX Status:     GPU
    Board Status:   Present
    PCIe Config:    8x1
  Display On:       false
  GPU Type:         AMD R23M (2)

Reference data:

Fan Module
  Serial Struct:    [0, 0, 0, 0]
  Batt Manuf        2023-22-7
  PD Version:       [0, 0, 0, 0]
  GPU CTRL:         0x0
  Power Slider:     AC, Best Power Efficiency (0b1000000)
  Display On:       false
  STT Table:        13
  CBP:              true ([0, 0])
  GPU Type:         Initializing (0)
  DTT Temp:         [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

dGPU Module
  Serial Struct:    [0, 0, 0, 0]
  Batt Manuf        2023-7-22
  PD Version:       [0, 0, 0, 0]
  GPU CTRL:         0x8
  Power Slider:     DC, Battery Saver (0b0001000)
  Display On:       false
  STT Table:        7
  CBP:              true ([0, 0])
  GPU Type:         AMD R23M (2)
  DTT Temp:         [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

JohnAZoidberg avatar May 26 '24 04:05 JohnAZoidberg