diff options
author | Lotus Xu <xuxiaohan@bytedance.com> | 2020-10-27 10:00:31 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-12-31 19:41:08 +0300 |
commit | 58c4886c6077d6b1e70be7ae38b25537963ae781 (patch) | |
tree | f69e39d1754356a0107cf2007ca1be3eed0a3703 /meta-bytedance/meta-g220a/recipes-phosphor | |
parent | bad8d82c5c28a2dcda255807ac0f617ba7ab7a97 (diff) | |
download | openbmc-58c4886c6077d6b1e70be7ae38b25537963ae781.tar.xz |
bytedance: g220a:read eeprom mac addr
read a byte at one time eg:
for the first byte
i2cset -y 1 0x50 0x00 0x00
i2cget -y 1 0x50
(From meta-bytedance rev: 6389a4f03a518e49241d13843cf005f4a85d7cc8)
Tested: Verify the eeprom mac addr can be read
use `fw_printenv`,`ip a` can read device
mac addr
Signed-off-by: Lotus Xu <xuxiaohan@bytedance.com>
Change-Id: I5fbf28e5bb3bb2ccc2a074388f4166e35da48afc
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-bytedance/meta-g220a/recipes-phosphor')
-rw-r--r-- | meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend b/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend index 8b7bb9ed3..e38c2721b 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend +++ b/meta-bytedance/meta-g220a/recipes-phosphor/images/obmc-phosphor-image.bbappend @@ -1,3 +1,4 @@ OBMC_IMAGE_EXTRA_INSTALL_append_g220a = " webui-vue \ me-time-sync \ + static-mac-addr \ " |