Emmc Dl Command
2021年2月11日Download here: http://gg.gg/o9vu4
Table 27-3 EMCTL Commands for Management Agent
Command (m for help): Partition number (1,2, default 2): Hex code (type L to list all codes): Changed type of partition ’Linux’ to ’W95 FAT32 (LBA)’. Command (m for help): Partition number (1,2, default 2): The bootable flag on partition 1 is enabled now. Command (m for help): The partition table has been altered. EMMC is a type of solid-state storage commonly used in smartphones and tablets. EMMC is an abbreviation of “embedded MMC”, or “embedded Multimedia Card”. To put it simply, eMMC is a non-removable memory card that is soldered onto a circuit board. If you see a phone with “16 GB memory”, that’s 16 GB of eMMC storage. Before this initialise the eMMC user-data partition and U-boot load and start at specific address defined by CONFIGSYSTEXTBASE=0x60000000. Using flashing tool able to flash the u-boot image into emmc user-data partition. Use this command to force an immediate upload of the current management data from the managed host to the Management Service. Use this command instead of waiting until the next scheduled upload of the data. Emctl reload (agent) This command can be used to apply the changes after you have manually modified the emd.properties file.EMCTL CommandDescription
emctl start agent
Starts the Management Agent.
On IBM AIX environment with a large memory configuration where the Management Agent is monitoring a large number of targets, the Agent may not start. To prevent this issue, prior to starting the Management Agent, add the following parameters to the common environment file:
The LDR_CNTRL variable sets the data segment size and disables loading of run time libraries in kernel space. The AIXTHREAD_SCOPE parameter changes AIX Threadscope context from the default Processwide ’P’ to Systemwide ’S’. This causes less mutex contention.
emctl stop agent
Stops the Management Agent.
emctl status agent
Lists the status of Management Agent.
If the Management Agent is running, this command displays status information about the Management Agent, including the Agent Home, the process ID, and the time and date of the last successful upload to the Management Repository ().
Note: On a Windows system change the directory to the AGENT_INSTANCE_HOME directory before executing the command.
emctl status agent -secure
Lists the secure status of the Mangement Agent and the secure mode port on which the Management Agent is running. It also lists the OMS security status and the port.
emctl status agent scheduler
Lists all the running, ready, and scheduled collection threads.
emctl status agent jobs
Lists the status of the jobs that are running at present on the Management Agent.
emctl status agent target <target name>,<target type>,<metric>
Lists the detailed status of the specified targets such as target name, target type, and so on. You can also provide a particular metric name in the emctl status agent command to get the status of a particular metric of a target.
emctl status agent mcache <target name>,<target type>,<metric>
Lists the names of the metrics whose values are present in the metric cache.
emctl upload
Uploads the .xml files that are pending to the OMS under the upload directory.
emctl upload (agent)
Use this command to force an immediate upload of the current management data from the managed host to the Management Service. Use this command instead of waiting until the next scheduled upload of the data.
emctl reload (agent)
This command can be used to apply the changes after you have manually modified the emd.properties file. For example, to change the upload interval, emd.properties can be modified, and emctl reload can then be run.
Note: Oracle does not support manual editing of the targets.xml files unless the procedure is explicitly documented or you are instructed to do so by Oracle Support.
emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]...
Recomputes the dynamic properties of a target and displays them.
emctl pingOMS [agent]
Pings the OMS to check if the Management Agent is able to connect to the OMS. Management Agent will wait for the reverse ping from the OMS so that Management Agent can confirm that the pingOMS is successful.
emctl config agent getTZ
Configures the current time zone as set in the environment.
emctl config agent getSupportedTZ
Displays the supported time zone based on the setting in the environment.
emctl config console <fileloc> [<EM loc>]
Configures the console based on the configuration entries mentioned in the file <fileloc>.
The <EM loc> parameter is optional and can be used to operate on a different Oracle home.
emctl config agent listtargets [<EM loc>]
Lists all the target names and types monitored by the Management Agent, that are present in targets.xml file.
The <EM loc> parameter is optional and can be used to operate on a different Oracle home.
emctl control agent runCollection <target_name>:<target_type> <metric_name>
Allows you to manually run the collections for a particular metric of a target.
For example, emctl control agent runCollection myOracleHomeTargetName:oracle_home oracle_home_config.
emctl control agent runCollection <targetName>:<targetType> <colletionItemName>
Performs an immediate reevaluation of a metric collection
Executing this command causes the reevaluated value of the metric to be uploaded into the Management Repository, and possibly trigger alerts if the metric crosses its threshold.
To identify the metric name and the collection item name associated with the metric, see Reevaluating Metric Collections Using EMCTL Commands.
emctl resetTZ agent
Resets the time zone of the Management Agent. To change the current time zone to a different time zone, stop the Management Agent and then run this command. You can then start the Management Agent.
Important:
Before you change the Management Agent time zone, first check to see if there are any blackouts that are currently running or scheduled to run on any targets managed by that Management Agent. Refer to Viewing Blackouts/Notification Blackouts to know how to check for blackouts.
If any blackouts exist, then from the Cloud Control Console, stop all the scheduled and all the currently running blackouts on all targets monitored by that Management Agent. You can then change the Management Agent’s time zone and later create new blackouts on the targets as needed.
emctl getversion agent
Prints the version of the Management Agent.
emctl dumpstate agent <component> . . .
Generates the dumps for the Management Agent. This command allows you to analyze the memory/CPU issues of the Management Agent.
emctl gensudoprops
Generates the sudo properties of the Management Agent.
emctl clearsudoprops
Clears the sudo properties.
emctl clearstate
Clears the state directory contents. The files that are located in the $ORACLE_HOME/sysman/emd/state will be deleted if this command is run. The state files are the files which are waiting for the Management Agent to convert them into corresponding .xml files.
emctl getemhome
Prints the Management Agent home directory.
emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
Starts blackout on a target.
If the parameter <Target_name:Target_type> is not entered, then the local node target is taken as the default.If -nodeLevel parameter is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.The <Duration> should be specified in [days] hh:mm format.
emctl stop blackout <Blackoutname>
Stops the blackout that was started on a particular target. Only those blackouts that are started by the emctl tool can be stopped using emctl. This command cannot stop the blackouts that are started using the console or em cli utility.
emctl status blackout [<Target_name>[:<Target_Type>]]....
Provides the status of the target blackout. The status includes the type of blackout and whether it is a one-time action, or repeating, or a scheduled blackout. This command also specifies whether the blackout has started or stopped.
emctl secure agent [registration password] -emdWalletSrcUrl <url> -protocol <ssl|tls>
Secures the Management Agent with an OMS. The registration password is essential, as you will be prompted for it if you do not provide it along with the command.
The -emdWalletSrcUrl parameter indicates the URL of the OMS with which the agent has to be secured.
The -protocol parameter indicates the protocol to be used to secure the Management Agent. The allowed values are ssl and tls.
emctl unsecure agent
Un-secures the Management Agent. This command changes the Management Agent’s port to a HTTP port. After executing this command the Management Agent will be able to upload to the OMS on HTTP by connecting to OMS’s HTTP upload port instead of the HTTPS upload port.
emctl verifykey
Verifies the communication between the OMS and Management Agent by sending pingOMS.
emctl deploy agent [-s <install-password>] [-o <omshostname:consoleSrvPort>] [-S] <deploy-dir> <deploy-hostname>:<port> <source-hostname>
Creates and deploys only the Management Agent.
The parameters are explained below:
*
[-s <password>]: Indicates the install password for securing the Management Agent.
*
[-S ]: Indicates that the password will be provided in STDIN.
*
[-o <omshostname:consoleSrvPort>]: Indicates the OMS host name and the console servlet port. Choose the un-secured port.
*
<deploy-dir>: Indicates the directory to create the shared (state-only) installation port.
*
<deploy-hostname:port>: Indicates the host name and the port of the shared (state-only) installation. Choose an unused port.
*
<source-hostname>: Indicates the host name of the source install. Typically, it is the machine where the EM is installed. The host name is searched for and replaced in the targets.xml file with the host name provided in the argument <deploy-hostname:port>.
*
<sid>: Indicates the instance of the remote database. It is only specified when deploying the dbconsole.
emctl setproperty agent
Configures the specified property name and value in the Management Agent configuration file. The flag, allow_new is an optional flag that inserts a new property in the Management Agent configuration file, if it does not exist.
emctl getproperty agent
Gets the specified properties or a category of properties from the Management Agent configuration files. Currently, this command does not support spaces in the name. The flag, -name provides a list of property names separated by spaces.
emctl clear_property agent
Clears the value of the specified property in the Management Agent configuration file.
emctl status agent verify
Verifies that the Management Agent is live.Abbr.TypeArgumentRespDescriptionCMD0Abbr.TypeArgumentRespDescriptionGO_IDLE_STATEbc[31:0] 00000000NoneResets the Device to idle stateGO_PRE_IDLE_STATEbc[31:0] F0F0F0F0NoneResets the Device to pre-idle stateBOOT_INITIATION-[31:0]FFFFFFFANoneInitiate alternative boot operationCMD1Abbr.TypeArgumentRespDescriptionSEND_OP_CONDbcr[31:0] OCR without busyR3Asks Device, in idle state, to send its Operating Conditions Register contents in the response on the CMD line.CMD2Abbr.TypeArgumentRespDescriptionALL_SEND_CIDbcr[31:0] stuff bitsR2Asks Device to send its CID number on the CMD lineCMD3Abbr.TypeArgumentRespDescriptionSET_RELATIVE_ADDRac[31:16] RCA, [15:0] stuff bitsR1Assigns relative address to the DeviceCMD4Abbr.TypeArgumentRespDescriptionSET_DSRbc[31:16] DSR, [15:0] stuff bits-Programs the DSR of the DeviceCMD5Abbr.TypeArgumentRespDescriptionSLEEP_AWAKEac[31:16] RCA, [15]Sleep/Awake, [14:0] stuff bitsR1bToggles the Device between Sleep state and Standby state.CMD6Abbr.TypeArgumentRespDescriptionSWITCHac[31:26] Set to 0, [25:24] Access, [23:16] Index, [15:8] Value, [7:3] Set to 0, [2:0] Cmd SetR1bSwitches the mode of operation of the selected Device or modifies the EXT_CSD registers.CMD7Abbr.TypeArgumentRespDescriptionSELECT/DESELECT_CARDac[31:16] RCA, [15:0] stuff bitsR1/R1bCommand toggles a device between the standby and transfer states or between the programming and disconnect states.CMD8Abbr.TypeArgumentRespDescriptionSEND_EXT_CSDadtc[31:0] stuff bitsR1Device sends its EXT_CSD register as a block of data.CMD9Abbr.TypeArgumentRespDescriptionSEND_CSDac[31:16] RCA, [15:0] stuff bitsR2Addressed Device sends its Device-pecific data (CSD) on the CMD line.CMD10Abbr.TypeArgumentRespDescriptionSEND_CIDac[31:16] RCA, [15:0] stuff bitsR2Addressed Device sends its Device identification (CID) on CMD the line.CMD12Abbr.TypeArgumentRespDescriptionSTOP_TRANSMISSIONac[31:16] RCA, [15:1] stuff bits, [0] HPIR1/R1bForces the Device to stop transmission. If HPI flag is set the device shall interrupt its internal operations in a well-defined timing.CMD13Abbr.TypeArgumentRespDescriptionSEND_STATUSac[31:16] RCA, [15] SQS, [14:1] stuff bits, [0] HPIR1In case SQS bit = 0: Addressed Device sends its status register. If HPI flag is set the device shall interrupt its internal operations in a well-defined timing. In case SQS bit = 1: indicate that this is a QSR query. In response device shall send the QSR (Queue Status Register). In this case HPI must be set to ‘0’CMD14Abbr.TypeArgumentRespDescriptionBUSTEST_Radtc[31:0] stuff bitsR1A host reads the reversed bus testing data pattern from a Device.CMD15Abbr.TypeArgumentRespDescriptionGO_INACTIVE_STATEac[31:16] RCA, [15:0] stuff bits-Sets the Device to inactive stateCMD19Abbr.TypeArgumentRespDescriptionBUSTEST_Wadtc[31:0] stuff bitsR1A host sends the bus test data pattern to a Device
NOTE 1 - CMD7, R1 while selecting from Stand-By State to Transfer State; R1b while selecting from Disconnected State to Programming State.NOTE 2 - CMD12, RCA in CMD12 is used only if HPI bit is set. The argument does not imply any RCA check on the device side.NOTE 3 - CMD12, R1 for read cases and R1b for write cases.CMD16Abbr.TypeArgumentRespDescriptionSET_BLOCKLENac[31:0] block lengthR1Sets the block length (in bytes) for all following block commands (read and write). Default block length is specified in the CSDCMD17Abbr.TypeArgumentRespDescriptionREAD_SINGLE_BLOCKadtc[31:0] data addressR1Reads a block of the size selected by the SET_BLOCKLEN commandCMD18Abbr.TypeArgumentRespDescriptionREAD_MULTIPLE_BLOCKadtc[31:0] data addressR1Continuously transfers data blocks from Device to host until interrupted by a stop command, or the requested number of data blocks is transmitted If sent as part of a packed read command, the argument shall contain the first read data address in the pack (address of first individual read command inside the pack).CMD21Emmc LayoutAbbr.TypeArgumentRespDescriptionSEND_TUNING_BLOCKadtc[31:0] stuff bitsR1128 clocks of tuning pattern (64 byte in 4bit mode or 128 byte in 8 bit mode) is sent for HS200 optimal sampling point detection.
NOTE 1 - CMD17 & CMD18, Data address for media =<2 32=’ gb=’ is=’ a=’ bit=’ byte=’ address=’ and=’ data=’ for=’ media=’> 2GB is a 32 bit sector (512 B) address.NOTE 2 - CMD17, The transferred data must not cross a physical block boundary, unless READ_BLK_MISALIGN is set in the CSD register.CMD23 (default)Abbr.TypeArgumentRespDescriptionSET_BLOCK_COUNTac[31] Reliable Write Request, [30] ‘0’ non- packed, [29] tag request,[28:25] context ID, [24]: forced programming, [23:16] set to 0, [15:0] number of blocksR1Defines the number of blocks (read/write) and the reliable writer parameter (write) for a block read or write command.CMD23 (packed)Abbr.TypeArgumentRespDescriptionSET_BLOCK_COUNTac[31] set to 0, [30] ‘1’ packed, [29:16] set to 0, [15:0] number of blocksR1Defines the number of blocks (read/write) for the following packed write command or for the header of the following packed read command.CMD24Abbr.TypeArgumentRespDescriptionWRITE_BLOCKadtc[31:0] data addressR1Writes a block of the size selected by the
SET_BLOCKLEN command. |CMD25Abbr.TypeArgumentRespDescriptionWRITE_MULTIPLE_BLOCKadtc[31:0] data addressR1Continuously writes blocks of data until a STOP_TRANSMISSION follows or the requested number of block received. If sent as a packed command (either packed write, or the header of packed read) the argument shall contain
the first read/write data address in the pack (address of first individual command inside the pack). |CMD26Emmc ProtocolAbbr.TypeArgumentRespDescriptionPROGRAM_CIDadtc[31:0] stuff bitsR1Programming of the Device identification register. This command shall be issued only once. The Device contains hardware to prevent this operation after the first programming. Normally this command is reserved for the manufacturer.CMD27Abbr.TypeArgumentRespDescriptionPROGRAM_CSDadtc[31:0] stuff bitsR1Programming of the programmable bits of the CSD.CMD49Abbr.TypeArgumentRespDescriptionSET_TIMEadtc[31:0] stuff bitsR1Sets the real time clock according to the RTC information in the 512 B data block.
NOTE 1 - CMD24 & CMD25, Data address for media =<2 32=’ gb=’ is=’ a=’ bit=’ byte=’ address=’ and=’ data=’ for=’ media=’> 2GB is a 32 bit sector (512 B) address.NOTE 2 - CMD24, The transferred data must not cross a physical block boundary, unless READ_BLK_MISALIGN is set in the CSD register.
Download here: http://gg.gg/o9vu4
https://diarynote.indered.space
Table 27-3 EMCTL Commands for Management Agent
Command (m for help): Partition number (1,2, default 2): Hex code (type L to list all codes): Changed type of partition ’Linux’ to ’W95 FAT32 (LBA)’. Command (m for help): Partition number (1,2, default 2): The bootable flag on partition 1 is enabled now. Command (m for help): The partition table has been altered. EMMC is a type of solid-state storage commonly used in smartphones and tablets. EMMC is an abbreviation of “embedded MMC”, or “embedded Multimedia Card”. To put it simply, eMMC is a non-removable memory card that is soldered onto a circuit board. If you see a phone with “16 GB memory”, that’s 16 GB of eMMC storage. Before this initialise the eMMC user-data partition and U-boot load and start at specific address defined by CONFIGSYSTEXTBASE=0x60000000. Using flashing tool able to flash the u-boot image into emmc user-data partition. Use this command to force an immediate upload of the current management data from the managed host to the Management Service. Use this command instead of waiting until the next scheduled upload of the data. Emctl reload (agent) This command can be used to apply the changes after you have manually modified the emd.properties file.EMCTL CommandDescription
emctl start agent
Starts the Management Agent.
On IBM AIX environment with a large memory configuration where the Management Agent is monitoring a large number of targets, the Agent may not start. To prevent this issue, prior to starting the Management Agent, add the following parameters to the common environment file:
The LDR_CNTRL variable sets the data segment size and disables loading of run time libraries in kernel space. The AIXTHREAD_SCOPE parameter changes AIX Threadscope context from the default Processwide ’P’ to Systemwide ’S’. This causes less mutex contention.
emctl stop agent
Stops the Management Agent.
emctl status agent
Lists the status of Management Agent.
If the Management Agent is running, this command displays status information about the Management Agent, including the Agent Home, the process ID, and the time and date of the last successful upload to the Management Repository ().
Note: On a Windows system change the directory to the AGENT_INSTANCE_HOME directory before executing the command.
emctl status agent -secure
Lists the secure status of the Mangement Agent and the secure mode port on which the Management Agent is running. It also lists the OMS security status and the port.
emctl status agent scheduler
Lists all the running, ready, and scheduled collection threads.
emctl status agent jobs
Lists the status of the jobs that are running at present on the Management Agent.
emctl status agent target <target name>,<target type>,<metric>
Lists the detailed status of the specified targets such as target name, target type, and so on. You can also provide a particular metric name in the emctl status agent command to get the status of a particular metric of a target.
emctl status agent mcache <target name>,<target type>,<metric>
Lists the names of the metrics whose values are present in the metric cache.
emctl upload
Uploads the .xml files that are pending to the OMS under the upload directory.
emctl upload (agent)
Use this command to force an immediate upload of the current management data from the managed host to the Management Service. Use this command instead of waiting until the next scheduled upload of the data.
emctl reload (agent)
This command can be used to apply the changes after you have manually modified the emd.properties file. For example, to change the upload interval, emd.properties can be modified, and emctl reload can then be run.
Note: Oracle does not support manual editing of the targets.xml files unless the procedure is explicitly documented or you are instructed to do so by Oracle Support.
emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]...
Recomputes the dynamic properties of a target and displays them.
emctl pingOMS [agent]
Pings the OMS to check if the Management Agent is able to connect to the OMS. Management Agent will wait for the reverse ping from the OMS so that Management Agent can confirm that the pingOMS is successful.
emctl config agent getTZ
Configures the current time zone as set in the environment.
emctl config agent getSupportedTZ
Displays the supported time zone based on the setting in the environment.
emctl config console <fileloc> [<EM loc>]
Configures the console based on the configuration entries mentioned in the file <fileloc>.
The <EM loc> parameter is optional and can be used to operate on a different Oracle home.
emctl config agent listtargets [<EM loc>]
Lists all the target names and types monitored by the Management Agent, that are present in targets.xml file.
The <EM loc> parameter is optional and can be used to operate on a different Oracle home.
emctl control agent runCollection <target_name>:<target_type> <metric_name>
Allows you to manually run the collections for a particular metric of a target.
For example, emctl control agent runCollection myOracleHomeTargetName:oracle_home oracle_home_config.
emctl control agent runCollection <targetName>:<targetType> <colletionItemName>
Performs an immediate reevaluation of a metric collection
Executing this command causes the reevaluated value of the metric to be uploaded into the Management Repository, and possibly trigger alerts if the metric crosses its threshold.
To identify the metric name and the collection item name associated with the metric, see Reevaluating Metric Collections Using EMCTL Commands.
emctl resetTZ agent
Resets the time zone of the Management Agent. To change the current time zone to a different time zone, stop the Management Agent and then run this command. You can then start the Management Agent.
Important:
Before you change the Management Agent time zone, first check to see if there are any blackouts that are currently running or scheduled to run on any targets managed by that Management Agent. Refer to Viewing Blackouts/Notification Blackouts to know how to check for blackouts.
If any blackouts exist, then from the Cloud Control Console, stop all the scheduled and all the currently running blackouts on all targets monitored by that Management Agent. You can then change the Management Agent’s time zone and later create new blackouts on the targets as needed.
emctl getversion agent
Prints the version of the Management Agent.
emctl dumpstate agent <component> . . .
Generates the dumps for the Management Agent. This command allows you to analyze the memory/CPU issues of the Management Agent.
emctl gensudoprops
Generates the sudo properties of the Management Agent.
emctl clearsudoprops
Clears the sudo properties.
emctl clearstate
Clears the state directory contents. The files that are located in the $ORACLE_HOME/sysman/emd/state will be deleted if this command is run. The state files are the files which are waiting for the Management Agent to convert them into corresponding .xml files.
emctl getemhome
Prints the Management Agent home directory.
emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
Starts blackout on a target.
If the parameter <Target_name:Target_type> is not entered, then the local node target is taken as the default.If -nodeLevel parameter is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.The <Duration> should be specified in [days] hh:mm format.
emctl stop blackout <Blackoutname>
Stops the blackout that was started on a particular target. Only those blackouts that are started by the emctl tool can be stopped using emctl. This command cannot stop the blackouts that are started using the console or em cli utility.
emctl status blackout [<Target_name>[:<Target_Type>]]....
Provides the status of the target blackout. The status includes the type of blackout and whether it is a one-time action, or repeating, or a scheduled blackout. This command also specifies whether the blackout has started or stopped.
emctl secure agent [registration password] -emdWalletSrcUrl <url> -protocol <ssl|tls>
Secures the Management Agent with an OMS. The registration password is essential, as you will be prompted for it if you do not provide it along with the command.
The -emdWalletSrcUrl parameter indicates the URL of the OMS with which the agent has to be secured.
The -protocol parameter indicates the protocol to be used to secure the Management Agent. The allowed values are ssl and tls.
emctl unsecure agent
Un-secures the Management Agent. This command changes the Management Agent’s port to a HTTP port. After executing this command the Management Agent will be able to upload to the OMS on HTTP by connecting to OMS’s HTTP upload port instead of the HTTPS upload port.
emctl verifykey
Verifies the communication between the OMS and Management Agent by sending pingOMS.
emctl deploy agent [-s <install-password>] [-o <omshostname:consoleSrvPort>] [-S] <deploy-dir> <deploy-hostname>:<port> <source-hostname>
Creates and deploys only the Management Agent.
The parameters are explained below:
*
[-s <password>]: Indicates the install password for securing the Management Agent.
*
[-S ]: Indicates that the password will be provided in STDIN.
*
[-o <omshostname:consoleSrvPort>]: Indicates the OMS host name and the console servlet port. Choose the un-secured port.
*
<deploy-dir>: Indicates the directory to create the shared (state-only) installation port.
*
<deploy-hostname:port>: Indicates the host name and the port of the shared (state-only) installation. Choose an unused port.
*
<source-hostname>: Indicates the host name of the source install. Typically, it is the machine where the EM is installed. The host name is searched for and replaced in the targets.xml file with the host name provided in the argument <deploy-hostname:port>.
*
<sid>: Indicates the instance of the remote database. It is only specified when deploying the dbconsole.
emctl setproperty agent
Configures the specified property name and value in the Management Agent configuration file. The flag, allow_new is an optional flag that inserts a new property in the Management Agent configuration file, if it does not exist.
emctl getproperty agent
Gets the specified properties or a category of properties from the Management Agent configuration files. Currently, this command does not support spaces in the name. The flag, -name provides a list of property names separated by spaces.
emctl clear_property agent
Clears the value of the specified property in the Management Agent configuration file.
emctl status agent verify
Verifies that the Management Agent is live.Abbr.TypeArgumentRespDescriptionCMD0Abbr.TypeArgumentRespDescriptionGO_IDLE_STATEbc[31:0] 00000000NoneResets the Device to idle stateGO_PRE_IDLE_STATEbc[31:0] F0F0F0F0NoneResets the Device to pre-idle stateBOOT_INITIATION-[31:0]FFFFFFFANoneInitiate alternative boot operationCMD1Abbr.TypeArgumentRespDescriptionSEND_OP_CONDbcr[31:0] OCR without busyR3Asks Device, in idle state, to send its Operating Conditions Register contents in the response on the CMD line.CMD2Abbr.TypeArgumentRespDescriptionALL_SEND_CIDbcr[31:0] stuff bitsR2Asks Device to send its CID number on the CMD lineCMD3Abbr.TypeArgumentRespDescriptionSET_RELATIVE_ADDRac[31:16] RCA, [15:0] stuff bitsR1Assigns relative address to the DeviceCMD4Abbr.TypeArgumentRespDescriptionSET_DSRbc[31:16] DSR, [15:0] stuff bits-Programs the DSR of the DeviceCMD5Abbr.TypeArgumentRespDescriptionSLEEP_AWAKEac[31:16] RCA, [15]Sleep/Awake, [14:0] stuff bitsR1bToggles the Device between Sleep state and Standby state.CMD6Abbr.TypeArgumentRespDescriptionSWITCHac[31:26] Set to 0, [25:24] Access, [23:16] Index, [15:8] Value, [7:3] Set to 0, [2:0] Cmd SetR1bSwitches the mode of operation of the selected Device or modifies the EXT_CSD registers.CMD7Abbr.TypeArgumentRespDescriptionSELECT/DESELECT_CARDac[31:16] RCA, [15:0] stuff bitsR1/R1bCommand toggles a device between the standby and transfer states or between the programming and disconnect states.CMD8Abbr.TypeArgumentRespDescriptionSEND_EXT_CSDadtc[31:0] stuff bitsR1Device sends its EXT_CSD register as a block of data.CMD9Abbr.TypeArgumentRespDescriptionSEND_CSDac[31:16] RCA, [15:0] stuff bitsR2Addressed Device sends its Device-pecific data (CSD) on the CMD line.CMD10Abbr.TypeArgumentRespDescriptionSEND_CIDac[31:16] RCA, [15:0] stuff bitsR2Addressed Device sends its Device identification (CID) on CMD the line.CMD12Abbr.TypeArgumentRespDescriptionSTOP_TRANSMISSIONac[31:16] RCA, [15:1] stuff bits, [0] HPIR1/R1bForces the Device to stop transmission. If HPI flag is set the device shall interrupt its internal operations in a well-defined timing.CMD13Abbr.TypeArgumentRespDescriptionSEND_STATUSac[31:16] RCA, [15] SQS, [14:1] stuff bits, [0] HPIR1In case SQS bit = 0: Addressed Device sends its status register. If HPI flag is set the device shall interrupt its internal operations in a well-defined timing. In case SQS bit = 1: indicate that this is a QSR query. In response device shall send the QSR (Queue Status Register). In this case HPI must be set to ‘0’CMD14Abbr.TypeArgumentRespDescriptionBUSTEST_Radtc[31:0] stuff bitsR1A host reads the reversed bus testing data pattern from a Device.CMD15Abbr.TypeArgumentRespDescriptionGO_INACTIVE_STATEac[31:16] RCA, [15:0] stuff bits-Sets the Device to inactive stateCMD19Abbr.TypeArgumentRespDescriptionBUSTEST_Wadtc[31:0] stuff bitsR1A host sends the bus test data pattern to a Device
NOTE 1 - CMD7, R1 while selecting from Stand-By State to Transfer State; R1b while selecting from Disconnected State to Programming State.NOTE 2 - CMD12, RCA in CMD12 is used only if HPI bit is set. The argument does not imply any RCA check on the device side.NOTE 3 - CMD12, R1 for read cases and R1b for write cases.CMD16Abbr.TypeArgumentRespDescriptionSET_BLOCKLENac[31:0] block lengthR1Sets the block length (in bytes) for all following block commands (read and write). Default block length is specified in the CSDCMD17Abbr.TypeArgumentRespDescriptionREAD_SINGLE_BLOCKadtc[31:0] data addressR1Reads a block of the size selected by the SET_BLOCKLEN commandCMD18Abbr.TypeArgumentRespDescriptionREAD_MULTIPLE_BLOCKadtc[31:0] data addressR1Continuously transfers data blocks from Device to host until interrupted by a stop command, or the requested number of data blocks is transmitted If sent as part of a packed read command, the argument shall contain the first read data address in the pack (address of first individual read command inside the pack).CMD21Emmc LayoutAbbr.TypeArgumentRespDescriptionSEND_TUNING_BLOCKadtc[31:0] stuff bitsR1128 clocks of tuning pattern (64 byte in 4bit mode or 128 byte in 8 bit mode) is sent for HS200 optimal sampling point detection.
NOTE 1 - CMD17 & CMD18, Data address for media =<2 32=’ gb=’ is=’ a=’ bit=’ byte=’ address=’ and=’ data=’ for=’ media=’> 2GB is a 32 bit sector (512 B) address.NOTE 2 - CMD17, The transferred data must not cross a physical block boundary, unless READ_BLK_MISALIGN is set in the CSD register.CMD23 (default)Abbr.TypeArgumentRespDescriptionSET_BLOCK_COUNTac[31] Reliable Write Request, [30] ‘0’ non- packed, [29] tag request,[28:25] context ID, [24]: forced programming, [23:16] set to 0, [15:0] number of blocksR1Defines the number of blocks (read/write) and the reliable writer parameter (write) for a block read or write command.CMD23 (packed)Abbr.TypeArgumentRespDescriptionSET_BLOCK_COUNTac[31] set to 0, [30] ‘1’ packed, [29:16] set to 0, [15:0] number of blocksR1Defines the number of blocks (read/write) for the following packed write command or for the header of the following packed read command.CMD24Abbr.TypeArgumentRespDescriptionWRITE_BLOCKadtc[31:0] data addressR1Writes a block of the size selected by the
SET_BLOCKLEN command. |CMD25Abbr.TypeArgumentRespDescriptionWRITE_MULTIPLE_BLOCKadtc[31:0] data addressR1Continuously writes blocks of data until a STOP_TRANSMISSION follows or the requested number of block received. If sent as a packed command (either packed write, or the header of packed read) the argument shall contain
the first read/write data address in the pack (address of first individual command inside the pack). |CMD26Emmc ProtocolAbbr.TypeArgumentRespDescriptionPROGRAM_CIDadtc[31:0] stuff bitsR1Programming of the Device identification register. This command shall be issued only once. The Device contains hardware to prevent this operation after the first programming. Normally this command is reserved for the manufacturer.CMD27Abbr.TypeArgumentRespDescriptionPROGRAM_CSDadtc[31:0] stuff bitsR1Programming of the programmable bits of the CSD.CMD49Abbr.TypeArgumentRespDescriptionSET_TIMEadtc[31:0] stuff bitsR1Sets the real time clock according to the RTC information in the 512 B data block.
NOTE 1 - CMD24 & CMD25, Data address for media =<2 32=’ gb=’ is=’ a=’ bit=’ byte=’ address=’ and=’ data=’ for=’ media=’> 2GB is a 32 bit sector (512 B) address.NOTE 2 - CMD24, The transferred data must not cross a physical block boundary, unless READ_BLK_MISALIGN is set in the CSD register.
Download here: http://gg.gg/o9vu4
https://diarynote.indered.space
コメント