ccd

package
v0.0.0-...-c1f61f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package ccd contains functionality around management of the GSC console.

Index

Constants

This section is empty.

Variables

View Source
var CCDOpenCmd = &subcommands.Command{
	UsageLine: "open <args>",
	ShortDesc: `Opens CCD`,
	LongDesc: `Opens CCD, enables testlab mode and optionally resets CCD to factory settings.
	Providing servo serial or USB device is optional if only one device is connected to the host.
	Servo V4, V4p1 and SuzyQ cable are supported. You can provide either a Servo serial number
	or a path to a Cr50/Ti50 serial console USB device (/dev/ttyUSBy).`,
	CommandRun: func() subcommands.CommandRun {
		c := &ccdOpenRun{}
		c.Flags.StringVar(&c.ServoSerial, "servo-serial", "", "Servo serial number")
		c.Flags.StringVar(&c.UsbDevice, "usb-device", "", "Cr50/Ti50 serial console USB device")
		c.Flags.BoolVar(&c.UseRmaAuth, "rma-auth", false, "Use rma_auth to open CCD")
		c.Flags.BoolVar(&c.ResetFactory, "reset-factory", false, "Reset CCD to factory settings")
		return c
	},
}

CCDOpenCmd contains the usage and implementation for the ccd open command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL