diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-31 18:15:39 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-31 18:15:39 +0300 |
commit | 095d909cf101356cc36a12ec447a862b2477842d (patch) | |
tree | 2c13cfb82252f80ec4250e98ad46988e36e94fe7 /doc/usage | |
parent | 30db474704405be823259851cbb76fa05366c8af (diff) | |
parent | 8f5e9de121003bfd9a64a5b3a503c0fbd02af823 (diff) | |
download | u-boot-095d909cf101356cc36a12ec447a862b2477842d.tar.xz |
Merge tag 'u-boot-amlogic-20230131' of https://source.denx.de/u-boot/custodians/u-boot-amlogic
- jethub j100: add rescue boot from microSD
- move meson sm command to cmd/meson and add efusedump sub-command
- switch dwc2 otg to DM for G12A, GXL & AXG
- Add new boards:
- Odroid Go Ultra
- Odroid-N2L
Diffstat (limited to 'doc/usage')
-rw-r--r-- | doc/usage/cmd/sm.rst | 48 | ||||
-rw-r--r-- | doc/usage/index.rst | 1 |
2 files changed, 49 insertions, 0 deletions
diff --git a/doc/usage/cmd/sm.rst b/doc/usage/cmd/sm.rst new file mode 100644 index 0000000000..f6524a1c2e --- /dev/null +++ b/doc/usage/cmd/sm.rst @@ -0,0 +1,48 @@ +.. SPDX-License-Identifier: GPL-2.0+: + +sm command +========== + +Synopis +------- + +:: + + sm serial <address> + sm reboot_reason [name] + sm efuseread <offset> <size> <address> + sm efusewrite <offset> <size> <address> + sm efusedump <offset> <size> + +Description +----------- + +The sm command is used to request services from the secure monitor. User +can call secure monitor to request special TEE function, for example chip +serial number info, reboot reason, etc. + +sm serial + Retrieve chip unique serial number from sm and write it to memory on + appropriate address. + +sm reboot_reason + Print reboot reason to the console, if parameter [name] isn't specified. + If parameter specified, set reboot reason string to environment variable + with this name. + +sm efuseread + Read <size> bytes starting from <offset> from efuse memory bank and write + result to the address <address>. + +sm efusewrite + Write into efuse memory bank, starting from <offset>, the <size> bytes + of data, located at address <address>. + +sm efusedump + Read <size> bytes starting from <offset> from efuse memory bank and print + them to the console. + +Configuration +------------- + +To use the sm command you must specify CONFIG_CMD_MESON=y diff --git a/doc/usage/index.rst b/doc/usage/index.rst index 2c95471f45..3804046835 100644 --- a/doc/usage/index.rst +++ b/doc/usage/index.rst @@ -80,6 +80,7 @@ Shell commands cmd/sleep cmd/sound cmd/source + cmd/sm cmd/temperature cmd/tftpput cmd/true |