A pure Golang implementation of Rockchip rknand vendor storage interface.
MIT License
A pure Golang implementation of Rockchip rknand
vendor storage interface.
package main
import (
"fmt"
"github.com/jamesits/go-rkvendorstorage"
)
func main() {
size, data, err := rkvendorstorage.Read(rkvendorstorage.IDVendorSN)
fmt.Printf("size=%d, data=%s, err=%s\n", size, string(data), err)
}
See read_test.go for more examples.
If you have valid use cases that exceed the current limitations, please raise an issue.
The following articles are referenced during the development of this library:
Thank Qingping for sponsoring some RK3128 development boards.