| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|