Versions in this module Expand all Collapse all v1 v1.3.1 Feb 6, 2019 Changes in this version + const ArchiveName + const DfltMod + const DfltSrv + const DfltVer + const ENVCRC + const ENVSIZE + const JSON_OFFSET + const MAXOPS + const MEMERASE + const MEMERASE64 + const MEMGETINFO + const MEMLOCK + const MEMUNLOCK + const MTDdevice + const Machine + const VERSION_DEV + const VERSION_LEN + const VERSION_OFFSET + const VersionName + var Qfmt = map[string]FlashFmt + func DoI2cRpc() error + func GetEnv(q bool) (env []string, bootargs int, err error) + func GetPer(q bool) (b []byte, err error) + func PutEnv(e []string, q bool) (err error) + func PutPer(b []byte, q bool) (err error) + func ReadBlk(blknam string, q bool) (b []byte, err error) + func UpdateEnv(q bool) (err error) + func WriteBlk(blknam string, b []byte, q bool) (err error) + type Command struct + Gpio func() + func (*Command) Apropos() lang.Alt + func (*Command) Man() lang.Alt + func (*Command) String() string + func (*Command) Usage() string + func (c *Command) Main(args ...string) error + type EraseInfo struct + type FlashFmt struct + type I struct + Addr int + Bus int + BusSize i2c.SMBusSize + Data [34]byte + Delay int + InUse bool + RW i2c.RW + RegOffset uint8 + type I2cReq int + type IMGINFO struct + Build string + Chksum string + Commit string + Name string + Size string + Tag string + User string + type MTDinfo struct + type R struct + D [34]byte + E error