* JetHome: add basic files for JetHub D1/H1 boards Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> * JetHome: add uboot patches Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> * JetHome: add kernel patches for JetHub D1/H1 (backport from 5.16-dt kernel) Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> * JetHome: add bsp packages for JetHub D1/H1 Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> * JetHome: add kernel options for hardware JetHub D1/H1 Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> * JetHome: fix targets-cli-beta.conf for JetHub D1/H1 Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in> * JetHome: add axg uboot creation function for JetHub D1 Signed-off-by: Vyacheslav Bocharov <adeep@lexina.in>
12 lines
272 B
C++
12 lines
272 B
C++
#include <cstdlib>
|
|
|
|
#include "jethub_get_efuse_raw_key.h"
|
|
|
|
int main (/*int argc, char *argv[]*/) {
|
|
const std::string usid = getKey("usid").c_str(); // right trim extra '\0' bytes
|
|
if (usid.size() > 0) {
|
|
std::cout << usid << std::endl;
|
|
}
|
|
return EXIT_SUCCESS;
|
|
}
|