10a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/BINF.2 20a4cad9cSEnric Balletbo i SerraDate: May 2022 30a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 40a4cad9cSEnric Balletbo i SerraDescription: 5*abd4fd43SBagas Sanjaya Returns active EC firmware of current boot (boolean). 6a6c13d87SBagas Sanjaya 7a6c13d87SBagas Sanjaya == =============================== 8a6c13d87SBagas Sanjaya 0 Read only (recovery) firmware. 9a6c13d87SBagas Sanjaya 1 Rewritable firmware. 10a6c13d87SBagas Sanjaya == =============================== 110a4cad9cSEnric Balletbo i Serra 120a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/BINF.3 130a4cad9cSEnric Balletbo i SerraDate: May 2022 140a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 150a4cad9cSEnric Balletbo i SerraDescription: 16*abd4fd43SBagas Sanjaya Returns main firmware type for current boot (integer). 17a6c13d87SBagas Sanjaya 18a6c13d87SBagas Sanjaya == ===================================== 19a6c13d87SBagas Sanjaya 0 Recovery. 20a6c13d87SBagas Sanjaya 1 Normal. 21a6c13d87SBagas Sanjaya 2 Developer. 22a6c13d87SBagas Sanjaya 3 Netboot (factory installation only). 23a6c13d87SBagas Sanjaya == ===================================== 240a4cad9cSEnric Balletbo i Serra 250a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/CHSW 260a4cad9cSEnric Balletbo i SerraDate: May 2022 270a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 280a4cad9cSEnric Balletbo i SerraDescription: 29*abd4fd43SBagas Sanjaya Returns switch position for Chrome OS specific hardware 30*abd4fd43SBagas Sanjaya switches when the firmware is booted (integer). 31a6c13d87SBagas Sanjaya 32a6c13d87SBagas Sanjaya ==== =========================================== 33a6c13d87SBagas Sanjaya 0 No changes. 34a6c13d87SBagas Sanjaya 2 Recovery button was pressed. 35a6c13d87SBagas Sanjaya 4 Recovery button was pressed (EC firmware). 36a6c13d87SBagas Sanjaya 32 Developer switch was enabled. 37a6c13d87SBagas Sanjaya 512 Firmware write protection was disabled. 38a6c13d87SBagas Sanjaya ==== =========================================== 390a4cad9cSEnric Balletbo i Serra 400a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/FMAP 410a4cad9cSEnric Balletbo i SerraDate: May 2022 420a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 430a4cad9cSEnric Balletbo i SerraDescription: 44*abd4fd43SBagas Sanjaya Returns physical memory address of the start of the main 45*abd4fd43SBagas Sanjaya processor firmware flashmap. 460a4cad9cSEnric Balletbo i Serra 470a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/FRID 480a4cad9cSEnric Balletbo i SerraDate: May 2022 490a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 500a4cad9cSEnric Balletbo i SerraDescription: 51*abd4fd43SBagas Sanjaya Returns firmware version for the read-only portion of the 52*abd4fd43SBagas Sanjaya main processor firmware. 530a4cad9cSEnric Balletbo i Serra 540a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/FWID 550a4cad9cSEnric Balletbo i SerraDate: May 2022 560a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 570a4cad9cSEnric Balletbo i SerraDescription: 58*abd4fd43SBagas Sanjaya Returns firmware version for the rewritable portion of the 59*abd4fd43SBagas Sanjaya main processor firmware. 600a4cad9cSEnric Balletbo i Serra 610a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0 620a4cad9cSEnric Balletbo i SerraDate: May 2022 630a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 640a4cad9cSEnric Balletbo i SerraDescription: 65*abd4fd43SBagas Sanjaya Returns type of the GPIO signal for the Chrome OS specific 66*abd4fd43SBagas Sanjaya GPIO assignments (integer). 67a6c13d87SBagas Sanjaya 68a6c13d87SBagas Sanjaya =========== ================================== 69a6c13d87SBagas Sanjaya 1 Recovery button. 70a6c13d87SBagas Sanjaya 2 Developer mode switch. 71a6c13d87SBagas Sanjaya 3 Firmware write protection switch. 72a6c13d87SBagas Sanjaya 256 to 511 Debug header GPIO 0 to GPIO 255. 73a6c13d87SBagas Sanjaya =========== ================================== 740a4cad9cSEnric Balletbo i Serra 750a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1 760a4cad9cSEnric Balletbo i SerraDate: May 2022 770a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 780a4cad9cSEnric Balletbo i SerraDescription: 79*abd4fd43SBagas Sanjaya Returns signal attributes of the GPIO signal (integer bitfield). 80a6c13d87SBagas Sanjaya 81a6c13d87SBagas Sanjaya == ======================= 82a6c13d87SBagas Sanjaya 0 Signal is active low. 83a6c13d87SBagas Sanjaya 1 Signal is active high. 84a6c13d87SBagas Sanjaya == ======================= 850a4cad9cSEnric Balletbo i Serra 860a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2 870a4cad9cSEnric Balletbo i SerraDate: May 2022 880a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 890a4cad9cSEnric Balletbo i SerraDescription: 90*abd4fd43SBagas Sanjaya Returns the GPIO number on the specified GPIO 910a4cad9cSEnric Balletbo i Serra controller. 920a4cad9cSEnric Balletbo i Serra 930a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3 940a4cad9cSEnric Balletbo i SerraDate: May 2022 950a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 960a4cad9cSEnric Balletbo i SerraDescription: 97*abd4fd43SBagas Sanjaya Returns name of the GPIO controller. 980a4cad9cSEnric Balletbo i Serra 990a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/HWID 1000a4cad9cSEnric Balletbo i SerraDate: May 2022 1010a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 1020a4cad9cSEnric Balletbo i SerraDescription: 103*abd4fd43SBagas Sanjaya Returns hardware ID for the Chromebook. 1040a4cad9cSEnric Balletbo i Serra 1050a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/MECK 1060a4cad9cSEnric Balletbo i SerraDate: May 2022 1070a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 1080a4cad9cSEnric Balletbo i SerraDescription: 109*abd4fd43SBagas Sanjaya Returns the SHA-1 or SHA-256 hash that is read out of the 110*abd4fd43SBagas Sanjaya Management Engine extended registers during boot. The hash 111*abd4fd43SBagas Sanjaya is exported via ACPI so the OS can verify that the Management 112*abd4fd43SBagas Sanjaya Engine firmware has not changed. If Management Engine is not 113*abd4fd43SBagas Sanjaya present, or if the firmware was unable to read the extended registers, this buffer size can be zero. 1140a4cad9cSEnric Balletbo i Serra 1150a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/VBNV.0 1160a4cad9cSEnric Balletbo i SerraDate: May 2022 1170a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 1180a4cad9cSEnric Balletbo i SerraDescription: 119*abd4fd43SBagas Sanjaya Returns offset in CMOS bank 0 of the verified boot non-volatile 120*abd4fd43SBagas Sanjaya storage block, counting from the first writable CMOS byte 121*abd4fd43SBagas Sanjaya (that is, 'offset = 0' is the byte following the 14 bytes of 122*abd4fd43SBagas Sanjaya clock data). 1230a4cad9cSEnric Balletbo i Serra 1240a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/VBNV.1 1250a4cad9cSEnric Balletbo i SerraDate: May 2022 1260a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 1270a4cad9cSEnric Balletbo i SerraDescription: 128*abd4fd43SBagas Sanjaya Return the size in bytes of the verified boot non-volatile 129*abd4fd43SBagas Sanjaya storage block. 1300a4cad9cSEnric Balletbo i Serra 1310a4cad9cSEnric Balletbo i SerraWhat: /sys/bus/platform/devices/GGL0001:*/VDAT 1320a4cad9cSEnric Balletbo i SerraDate: May 2022 1330a4cad9cSEnric Balletbo i SerraKernelVersion: 5.19 1340a4cad9cSEnric Balletbo i SerraDescription: 135*abd4fd43SBagas Sanjaya Returns the verified boot data block shared between the 136*abd4fd43SBagas Sanjaya firmware verification step and the kernel verification step 137*abd4fd43SBagas Sanjaya (binary). 138