History log of /openbmc/phosphor-ipmi-flash/tools/io.hpp (Results 1 – 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 42a44c28 16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I09e19a126d456dc184fd70e82d4e4e4217fa8ee7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# d6b337e6 16-Apr-2021 Patrick Venture <venture@google.com>

tools: split io interface out

Splits the io interface out into its own file to decouple the
internal/sys from it.

Signed-off-by: Patrick Venture <venture@google.com>
Change-

tools: split io interface out

Splits the io interface out into its own file to decouple the
internal/sys from it.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I65860e32152ef49cd987c11eb408516e13fadb29

show more ...


# ea0e470f 05-Oct-2020 Patrick Venture <venture@google.com>

tools: io: add ppcMemFd cleanup

The destructor may try to double-close because the ppcMemFd was not
being set to -1.

Signed-off-by: Patrick Venture <venture@google.com>
Chan

tools: io: add ppcMemFd cleanup

The destructor may try to double-close because the ppcMemFd was not
being set to -1.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I3423ae874d551b39f3deb761c5572078b07a0349

show more ...


# 9b37b095 28-May-2020 Patrick Venture <venture@google.com>

update gcc10 and clang-format10

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I72239b884615d26b2c4311c49a26e2eced0a1fb0


# d8515a6c 24-Mar-2020 Rui Zhang <ruizhan@google.com>

tools: add configuration to enable PPC host memory access

Tested: Successfully updated on a Zaius (PPC platform) using ipmilpc

Change-Id: Ic744f6e0ca40df7aa3d5f914e2baef58114fa71b

tools: add configuration to enable PPC host memory access

Tested: Successfully updated on a Zaius (PPC platform) using ipmilpc

Change-Id: Ic744f6e0ca40df7aa3d5f914e2baef58114fa71b
Signed-off-by: Rui Zhang <ruizhan@google.com>

show more ...


# cbf47404 26-Nov-2019 Brandon Kim <brandonkim@google.com>

tools: Fix clangtidy warning for PpcMemDevice

It seems that the the recently checked in PpcMemDevice code had a
clangtidy issue with the move assignment operator.

Fixing it by d

tools: Fix clangtidy warning for PpcMemDevice

It seems that the the recently checked in PpcMemDevice code had a
clangtidy issue with the move assignment operator.

Fixing it by deleting the previously defaulted operator as it is
implicitly deleted due to a non-static const data member "ppcMemPath".

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I125cbbb5be6edd53274a9025b741df98cb7f408d

show more ...


# 286cc6ad 05-Nov-2019 Brandon Kim <brandonkim@google.com>

tools: Add PpcMemDevice as an HostIoInterface

PPC platforms may require a different mempath and different I/O
operations to access the file system.

Change-Id: I46b8825c685b36200

tools: Add PpcMemDevice as an HostIoInterface

PPC platforms may require a different mempath and different I/O
operations to access the file system.

Change-Id: I46b8825c685b362009dc62fdbaa59c65239831d1
Signed-off-by: Brandon Kim <brandonkim@google.com>

show more ...


Revision tags: v1.0
# 18bbe3c6 14-May-2019 Patrick Venture <venture@google.com>

pci: implement sending firmware image over p2a

Implement sending firmware image over p2a via the aspeed-p2a-ctrl
driver.

Test configuration:
# Image is static, uses the PCI

pci: implement sending firmware image over p2a

Implement sending firmware image over p2a via the aspeed-p2a-ctrl
driver.

Test configuration:
# Image is static, uses the PCI bridge, and requires the ASPEED
# PCI-to-AHB hardware implementation.
EXTRA_OECONF_append_quanta-q71l = " --enable-static-layout"
EXTRA_OECONF_append_quanta-q71l = " --enable-pci-bridge"
EXTRA_OECONF_append_quanta-q71l = " --enable-aspeed-p2a"
EXTRA_OECONF_append_quanta-q71l = " MAPPED_ADDRESS=0x47FF0000"

Tested: Verified via md5sum the image-bmc file sent from the host via
this tool matches the hash of /run/initramfs/bmc-image. This code can
be used to send any file down, but was only tested with a "static"
layout build.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I430bc7444f06f4f93a63e3bf2646bd195eaa2e52

show more ...


# ac4ff973 03-May-2019 Patrick Venture <venture@google.com>

tools: io: add read method

Add method for reading the host's memory to enable reading the PCI
configuration.

Tested: Verified it's able to read a memory BAR associated with the

tools: io: add read method

Add method for reading the host's memory to enable reading the PCI
configuration.

Tested: Verified it's able to read a memory BAR associated with the
ASPEED ast2400.

Change-Id: Id06f30b063e69825f2dfa69786b69392657f7b1c
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# 030b1a8a 18-Jan-2019 Patrick Venture <venture@google.com>

tools: add io interface for mmio, etc

Add an IO interface for host-side memory access. This is done as an
interface to allow platform specific implementations.

Change-Id: Id8e3

tools: add io interface for mmio, etc

Add an IO interface for host-side memory access. This is done as an
interface to allow platform specific implementations.

Change-Id: Id8e35d5beb21f7db544e27d6592bbeac58748dcb
Signed-off-by: Patrick Venture <venture@google.com>

show more ...