| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Computing Systems GIT repositories
|
|
|
|
|
|
|
|
| |
FFS is the BMC Flash File Structure which is currently used on
OpenPOWER machines for the flash layout.
Change-Id: I2549828a0f0ea070c77316a3f7fd56ec9fbe5bf8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
5.10-rc3 resolves two pflash issues, one related to race conditions in the
build system[0] and another to performing small erases[1]:
[0] 6d965ea72ad8 "pflash: Fix makefile dependency issue"
[1] ba540e0be90f "external/pflash: Fix erasing within a single erase block
Change-Id: Ibd43f67cd1222d81463ea796f8706e46dc3da041
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 9786fd849e89c62c60d5a9a219ab3a472f4a6595.
Bumping skiboot to v5.9.4 introduced intermittent CI compile
fails.
open-power/skiboot#143
Change-Id: I2c75de877034036cb1552e2f5388a95ebe24eba0
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alistair Popple (5):
libpdbg/target.c: Stop probing target multiple times
Rename struct target to struct pdbg_target
Refactor for an exportable API
Rename chiplet to core
libpdbg: Fix pdbg_target_index
Jason Albert (1):
libpdbg: Added new generic P9 chiplet type
Joel Stanley (6):
Makefile: seperate out dtb building steps
Makefile: Rename dtb targets
Makefile: Quiet build hacks
Makefile: Don't print directory
Makefile: Fix dts dependencies
template.S: Fix prefix mangling
Thomas Petazzoni (1):
template.S: fix to build on architecture with non-empty __USER_LABEL_PREFIX__
Change-Id: Ifee14d48f71be906b382c88e2b0239f522de0eaf
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
| |
Bumping to pick up pflash fix
lists.ozlabs.org/pipermail/skiboot/2017-November/009601.html
Change-Id: I23eb1a32c7fde316e1d125eccdced397fb12adab
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New features:
- Hardware Trace Macro support
- Host backend
- New command: sreset
- Build and bug fixes
Alistair Popple (6):
libpdbg: Add sreset command
libpdbg/target.c: Probe all root nodes in the device-tree
Rework POWER9 device-trees to share common definitions
Add backend for host based debugfs
Add indirect SCOM access
libpdbg/device.c: Remove usage of libfdt internal functions
Cyril Bur (7):
Add *.dtsi to .gitignore
fake.dts: Whitespace cleanup
Look for 'chip-id' as opposed to 'ibm,chip-id'
Add Hardware Trace Macro (HTM) to device trees
Hardware Trace Macro (HTM)
docs: Add HTM to README.md
libpdbg: Fix incorrect restore of r1 in ram_instructions()
Joel Stanley (11):
Makefile.am: Set foreign
configure.ac: Enable silent build rules
build: Update to do both an in and out of tree build
Do not redefine _LARGEFILE64_SOURCE
Allow command line to override GIT_SHA1
kernel: Include endian.h for htobe32 and be32toh
device: remove use of ccan's endian
libpdbg: Remove unused __unused from compiler.h
Error out when no device type is specified
lipdbg/i2c: Get bus path from device tree
i2c: Update i2c device node in dt when specified
Thomas Petazzoni (1):
Rework generation of .dtb.o
Change-Id: I382bfb0d3aacdf03495450acfc0c0792835d5f36
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
| |
Change-Id: I76cd275eccd2ae7f076572a197a1aa6250083b5c
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
| |
iicmaster no longer works with the (soon to be) upstreamed FSI-based
I2C driver.
fsidbg is one tool to access FSI engines and perform client driver
operations, including SCOM, SBEFIFO, OCC, and I2C.
Change-Id: I1802977d1b812d42213b38462596ee49838cfd3b
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Using a tag forces bitbake to go out and try to contact the source
even if the repo has been downloaded in mirror tarball. It prevents
building on a machine without network access using a local mirror.
Change-Id: I71a984fc784ada82fa81294917c9e2fbc0a4935b
Signed-off-by: yuenn <yuenn@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Benjamin Herrenschmidt (1):
libffs: Fix ffs_lookup_part() return value
Cyril Bur (4):
libflash/mbox-flash: Minor fixups before V2
libflash/mbox-flash: Update to V2 of the protocol
libflash/libffs: Correctly update the actual size of the partition
libflash/libffs: Zero checksum words
Oliver O'Halloran (1):
libflash: Initialise entries list earlier
Suraj Jitindar Singh (1):
libflash/mbox-flash: Implement MARK_WRITE_ERASED mbox call
Change-Id: If49644ef2680aeed901002b201391ae7abbbe651
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream changelog:
- Move to a generic description of the hw topography using device-tree
- General build bugfixes
- Build libpdbg as a shared library
- Complete support for POWER9 including get/putmem and register operations
- Minor code clean-ups
The build now depends on dtc.
Change-Id: If49a212e4d684b72b664086e52ffc5ae4e9aa980
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
| |
This contains vital fixes for running with the current kernel FSI API.
Change-Id: I39693ca0ff11a087d5b86f47b4eb497b6c63e1ef
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
| |
The skiboot-5.6.0 tag contains a bug that can cause corruption. This
patch is applied to skiboot master, but has not made it to a tag yet.
Change-Id: I8bacd8d8b6083be68a75c4885550204ef34bf363
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
| |
Pick up the latest skiboot version (5.6.0) to pick among the
fixes the pflash support for non-4K erase block partitions.
Also remove the mtd labels patch since that's also included
in the upstream version.
Change-Id: If790c731c8b0e2d54e6b9faf09e92290e5bc84bd
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I38816e67a105a6265a8a7933e6d66b95f850f03b
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In order to fix GNU_HASH warning in the elf binary
we need to add the LDFLAGS to the TARGET_CC_ARCH.
Opened issues openbmc/openbmc#1361 and
openbmc/openbmc#1362 to track removal.
Change-Id: Ia6e4ad69c7f3e2c272146e39512400a19b44d760
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I9ecb8aae87cec31a38bb97a1461786a949fe8ccf
Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I6c808153e2a283088d77f8533c34402021e30f83
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
| |
debug tool for fsp-based i2c driver
Change-Id: I73ae4d5ae6ded219d55ffd7ae30f2b2a24e296a1
Signed-off-by: Edward A. James <eajames@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pdbg now supports i2c, fsi big bang, and openFSI.
This commit has no dependencies as the current OpenBMC
scripts pass the appropriate parameters to pdbg to
tell it to continue using the fsi bit bang method.
Future commits will switch the scripts over to openFSI
once it's enabled.
Change-Id: I1572a1dc1de9e173c78bbbe9767aaf63f782d37f
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|
|
|
|
|
|
|
| |
The revision fixes the pdbg issue on Romulus
Change-Id: Idd96ad49a0951bffa59930514d1d08012ae9702d
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
pdbg as-is can't access reg 0x2918, and the current fix
to access that reg breaks other registers. So just use the
new address transformation on reg 0x2918 (or 0x102918 when
on the 2nd chip).
Change-Id: If388a1acba555d6769bde162c28991c44e53d4d7
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I1e46ec369277dd8ec4b1ef98c50b94054a60b108
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
| |
start_host.sh and vcs_workaround.sh need changes
to support multiple P9s. Also bumped the pdbg
version which is coreqed with the script changes.
Change-Id: I5536b548315b5f9bf4fd4cb742c686a6ce12b6d0
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
| |
Change-Id: Idf38914bec90a33198088b72918953aebcff91b3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pflash changes:
Move to latest upstream release of skiboot which includes the mtd erase
patch we were carrying. Adds a patch to fix parsing of the longer mtd
labels we have since updating the device tree bindings.
dev: size erasesize name
mtd0: 00060000 00001000 "u-boot"
mtd1: 00020000 00001000 "u-boot-env"
mtd2: 00280000 00001000 "kernel"
mtd3: 001c0000 00001000 "initramfs"
mtd4: 01740000 00001000 "rofs"
mtd5: 00400000 00001000 "rwfs"
mtd6: 02000000 00001000 "1e620000.flash-controller:flash@1"
mtd7: 08000000 00001000 "1e630000.flash-controller:pnor@0"
Linux kernel changes:
Three of the patches move the comaptible string for the bt interface to match
what we have sent upstream. There is also a dts change to the mtd nodes that
add back the 'pnor' label to the PNOR mtd device, as required by pflash.
Cédric Le Goater (2):
ipmi/bt-bmc: change compatible node to 'aspeed, ast2400-ibt-bmc'
ARM: dts: aspeed: fix flash module device nodes
Joel Stanley (2):
ipmi/bt-bmc: Add comaptible node for ast2500
arm: dts: aspeed: Use upstream comaptible string
Fixes openbmc/openbmc#785
Change-Id: If2c293b85075edcf3078ef599e7b61f3a6d77c66
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
| |
Major update that adds support for i2c access to secondary processors.
Change-Id: I79cae7a62f4e13e1bff01ae8dd579ad859a3ed79
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The libflash mtd backend lacked support for full-chip erase so it did
not work. This patch adds that support to libflash. Patch is on it's
way upstream[1].
Note: the old MMIO access method could perform a wole-chip
erase on SPI NOR parts that supported it. This was sometimes a fraction
faster than erasing each page one-by-one when re-flashing the entire
chip.
The mtd API does not (yet) provide a userspace API for that, so libflash
always erases the flash one page at a time. This means you are better
off using the -e command over -E.
Fixes: openbmc/openbmc#747
[1] http://patchwork.ozlabs.org/patch/691765/
Change-Id: I20cf50e70a8487edc8cd77d41e73832913237b1b
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently pflash defaults to using the MMIO interface through /dev/mem.
We want to disable /dev/mem in production systems in the near future, so
all non-debugging uses of it need to be eliminated.
The new version of pflash defaults to MTD access. It also brings some
API cleanups to libflash.
We recently moved flasher to use MTD. This updates skeleton to pull in
an update to flasher so that it can build against the new libflash API.
Fixes: openbmc/openbmc#713
Change-Id: I6bde91c7df5d0588fc48dd2e847f21f0624a6950
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I432b8b7fd7030b320bba4560245cfab6d2db79ac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ieddbc96706ceb1dfd3a124a4c4b5c7b198af4b46
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I60dd0f975d0ec1ef44335814382d915b797a9d04
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There isn't any reason to be baking pflash or libobmc_intf
recipes for sdk or build machines (x86).
This was mistakenly added (by me) based on misunderstanding
of how to get dev packages into the target sysroot.
The correct way to do this is to just have a dev package
whose main package is in IMAGE_INSTALL or has a dependency on
another dev package (whose main package is in IMAGE_INSTALL).
I'm not adding those dependencies now here because at the moment
pflash-dev is unused and libobmc_intf will eventually disappear.
Change-Id: I691cd029a69ad7554faeb4782ae97b92946c9a7b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
| |
Change-Id: I84e08ce3c54bac67dff7b80d431085ee18db38e4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
| |
Change-Id: I4ce995e7780a355f1c850dd0f9092f763471df75
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I250c891eb77dacabb8e76199591b7d5aac0e0122
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
| |
Move pflash to a general skiboot recipe so that we can create
additional recipes for other components of skiboot.
Change-Id: I59253d17840da7a07f00bec9c650676da9ffb5e5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
This should include a fix for parallel building.
Change-Id: If4c9b7e28182465bbf4f3a1da00cacf49d347721
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Ieaebc07ae32df684de756a113f06f4ab6b7fd4bf
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
| |
This resolves https://github.com/openbmc/openbmc/issues/325
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
| |
Move to pflash 5.2.2.
Pick up a couple patches that allow building a shared library
and dynamically linked pflash binary.
Add pflash to SDK.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
| |
No major changes.
Upstream now carries the patch we had in tree, so that can go.
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
|
|
| |
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|