/******************************************************************************* Copyright (C) 2016 Marvell International Ltd. Marvell BSD License Option If you received this File from Marvell, you may opt to use, redistribute and/or modify this File under the following licensing terms. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Marvell nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ /=# #langdef en-US "english" #string STR_GET_HELP_EEPROM #language en-US "" ".TH eeprom 0 "Basic EEPROM command."\r\n" ".SH NAME\r\n" "Read/write data from/into Eeprom memory\r\n" ".SH SYNOPSIS\r\n" " \r\n" "eeprom [read] [write] [list] [-m] [] [
]\r\n" " [] [-d ] [-s ]\r\n" ".SH OPTIONS\r\n" " \r\n" " read - read from EEPROM\n" " write - write Data to EEPROM, requires -d\n" " list - list available EEPROM devices\n\n" " -m - transfer from/to RAM memory, requires -s\n\n" " Chip - EEPROM bus address\n" " Address - address in EEPROM to read/write\n" " Data - data byte to be written\n" " Length - length of data to read/write/copy\n" " Source - address of data in RAM to be copied\n" ".SH EXAMPLES\r\n" " \r\n" "EXAMPLES:\r\n" "List devices:\r\n" " eeprom list\r\n" "Read 16 bytes from address 0x0 in chip 0x57:\r\n" " eeprom read 0x57 0x0 0x10\r\n" "Fill 16 bytes with 0xab at address 0x0 in chip 0x57:\r\n" " eeprom write 0x57 0x0 0x10 -d 0xab\r\n" "Copy 32 bytes from 0x2000000 in RAM to EEPROM:\r\n" " eeprom write 0x57 0x0 0x20 -m 0x2000000\r\n" "Copy 32 bytes from EEPROM to RAM:\r\n" " eeprom read 0x57 0x0 0x20 -m 0x2000000\r\n" ".SH RETURNVALUES\r\n" " \r\n" "RETURN VALUES:\r\n" " SHELL_SUCCESS The action was completed as requested.\r\n" " SHELL_ABORTED Error while processing command\r\n"