summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* vpnor: Add patch locationAdriana Kobylak2017-08-021-0/+1
| | | | | | | | | | | | | Look for the requested partition in the designated patch location (/usr/local/share/pnor/). If the partition is not found there, continue with the existing logic of looking in the other partition directories. This allows users to use patches in the virtual pnor implementation. Resolves openbmc/openbmc#1551 Change-Id: I7f27dfc9cd69a3f8ab88cb6fa77b2c1096e32841 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Read/write window property defines FFS partition file location.Ratan Gupta2017-06-291-2/+3
| | | | | | | | | | | | | | | | | | | | | The BMC loads the PNOR partitions in a read-only volume. So after that there are following two cases: Read: Tries to open the file in read only mode from the partition(READONLY/READWRITE/PRESERVED), Partition Table tells the partition type depends on the offset. if file is not there in the mapped partition then tries to open the file from the read only partition. Write: Tries to open the file in write mode from the partition(READWRITE/PRESERVED), if file is not there in the mapped partition then mailbox daemon will copy the requested partition to the read-write volume to make changes to it. Change-Id: Ic0ef882380b56536ac55feae3ec563de95fdd4a6 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add dependency on phosphor logging and sdbusplusRatan Gupta2017-06-291-0/+9
| | | | | Change-Id: Ie7f6f1806c203ddf46fb8d5a651ebd908ea921cb Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* pnor : generate partition tableDeepak Kodihalli2017-06-271-0/+3
| | | | | | | | | | | | | | Implement a class that, upon construction, generates the virtual PNOR partition table. The virtual PNOR is typically a subset of the full PNOR image, by choosing partitions of interest. The generation is based on upon information read from the PNOR partition files and table of contents (toc) file. Provide an interface to the virtual PNOR partition table. Change-Id: I7a68e3833b8cf66e92eb6ca274f6a3c376ce0add Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* autotools: check for C++ compilerDeepak Kodihalli2017-06-021-0/+2
| | | | | | | | | In view of some of the upcoming C++ code, check for the C++ compiler. Also enable compiling C++14 code. Change-Id: I7ac587e3b40385845b39f7ae0655227c45ed055b Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Enable conditional compilation flag for virtual pnorRatan Gupta2017-06-021-0/+15
| | | | | Change-Id: I70e1b1f8d709ce79e0664d5f916115e77427b1e8 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* version: Update to version 2.1.0Suraj Jitindar Singh2017-05-041-1/+1
| | | | | | | | | | | | | | | | Update to package version V2.1.0 to reflect that a backwards compatible API change was made. This API change was the introduction of the timeout to the GET_MBOX_INFO command. This version update also encompasses previous bug fixes. The versioning scheme is now aligned to semver. Use the version from config.h for both mboxd and mboxctl instead of an independant value for the daemon and control programs. Change-Id: I12d7fe8e40697801594b1727054342613923a784 Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
* configure: Download aspeed-lpc-ctrl.h if not presentAndrew Jeffery2017-05-031-2/+3
| | | | | | | | | | However, don't download it if the file is already present in the local directory. The AC_CHECK_HEADER macro can't test this case, so the condition will always trigger if the header isn't installed on the system. Change-Id: I7de8ff24823fe2ce54add9a33125cee5ad0b53f0 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* autotools: Add code coverage supportAndrew Jeffery2017-04-261-0/+2
| | | | | Change-Id: I7d11c64ffa3e68973081cfb1f3fdc1817a64e8cd Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* configure.ac: Update repository URLAndrew Jeffery2017-04-211-1/+1
| | | | | | | Point it to the OpenBMC repository rather than Cyril's personal copy. Change-Id: I70ead8e871e9f75d0a0f11c3cb4c4ee10b1e79fb Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* mboxd: Update mboxd to implement protocol V2 and add dbus supportSuraj Jitindar Singh2017-04-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 2 of the mbox protocol contains a few changes such as: - All sizes are in block size - Adds an erase command - Adds new response codes - Adds new BMC events - Open windows commands now take a size directive Update the mailbox daemon to support version 2 of the protocol which includes implementing all of the V2 functionality. Also entirely refactor the mboxd.c code to make it more modular improving readability and maintainability. At the same time improve the functionality by adding: - Multiple windows in the daemon (still only one active window) to cache flash contents - Implement a dbus interface to allow interaction with the daemon - Handle sigterm and sigint and terminate cleanly The previous implementation utilised the entire reserved memory region. Update the daemon so that on the command line the number of windows and the size of each which the reserved memory region will be split into can be specified. The reserved memory region is then divided between the windows, however there can still only be one "active" window at a time. The daemon uses these windows to cache the flash contents meaning the flash doesn't have to be copied when the host requests access assuming the daemon already has a copy. A dbus interface is added so that commands can be sent to the daemon to control it's operation from the bmc. These include suspending and resuming the daemon to synchronise flash access, telling the daemon to point the lpc mapping back to flash and telling the daemon when the flash has been modified out from under it. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Change-Id: I10be01a395c2bec437cf2c825fdd144580b60dbc
* autoconf: Don't depend on systemdAndrew Jeffery2017-01-181-8/+0
| | | | Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* Convert to autotoolsAndrew Jeffery2017-01-171-0/+55
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
OpenPOWER on IntegriCloud