73078903 | 12-Dec-2016 |
Patrick Williams <patrick@stwcx.xyz> |
flasher: fix compile error in 84ab7e
Change-Id: I99c65334477f346658d37d1523a58985f8057963 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
84ab7e90 | 08-Dec-2016 |
Cyril Bur <cyril.bur@au1.ibm.com> |
flasher: Use arch_flash_* correctly
Change-Id: Ica87c55f08cc021a5c6cc0c53d8dafb1d854aec8 Signed-off-by: Cyril Bur <cyril.bur@au1.ibm.com> |
ead1c62d | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Move to new libflash API
The new API unifies the PNOR and MTD flash access functions so we can call the one API.
Change-Id: I49705f14d3433b3a1f4b7d70bccaeea7b494d6a6 Signed-off-by: Joel St
flasher: Move to new libflash API
The new API unifies the PNOR and MTD flash access functions so we can call the one API.
Change-Id: I49705f14d3433b3a1f4b7d70bccaeea7b494d6a6 Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
29eaf4d4 | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: BMC partition addresses are relative to start of flash
These numbers were the physical address that the flash was mapped to when we were using MMIO access. With MTD access the addresses are
flasher: BMC partition addresses are relative to start of flash
These numbers were the physical address that the flash was mapped to when we were using MMIO access. With MTD access the addresses are relative to the start of the flash device.
Change-Id: I7cba8df46fe3cf12ea100072ea77f30c1ecc6e2a Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
84814385 | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Remove flash tuned message
The kernel handles all tuning when accessing via mtd so this message is incorrect.
Change-Id: I173fc54231a67aeb8b4305b2a333674f8e00d7df Signed-off-by: Joel Stanl
flasher: Remove flash tuned message
The kernel handles all tuning when accessing via mtd so this message is incorrect.
Change-Id: I173fc54231a67aeb8b4305b2a333674f8e00d7df Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
93dafe84 | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Unify flash setup functions
They almost perform the same codepath, so unify them.
This is in preparation for the upcoming libflash API change, they will call the same setup function.
Chan
flasher: Unify flash setup functions
They almost perform the same codepath, so unify them.
This is in preparation for the upcoming libflash API change, they will call the same setup function.
Change-Id: If41592f3dc0c5d98db34e7a25ef2f884b031695c Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
e0209488 | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Use BMC_MTD to represent bmc
We were using a boolean to say "yep, we're talking to the BMC flash". Use the enum that is provided by libflash to do this.
Change-Id: If40ac3ee64c0827693c93c6
flasher: Use BMC_MTD to represent bmc
We were using a boolean to say "yep, we're talking to the BMC flash". Use the enum that is provided by libflash to do this.
Change-Id: If40ac3ee64c0827693c93c64ea18a0a34ef79a46 Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
7ba4172d | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: unify cleanup commands
Now that we don't do locking there is no difference between the bmc and pnor cleanups.
Change-Id: I5fe9d33ce799a84123f9e146e6856dbaa6684b1f Signed-off-by: Joel Stanl
flasher: unify cleanup commands
Now that we don't do locking there is no difference between the bmc and pnor cleanups.
Change-Id: I5fe9d33ce799a84123f9e146e6856dbaa6684b1f Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
66777056 | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Remove relocking of flash
When using MTD the libflash backend does not perform any locking of the flash, so this is a noop.
Change-Id: I7cbac6a9e5c3382652fe1f3ada7b208df4af6b3e Signed-off-
flasher: Remove relocking of flash
When using MTD the libflash backend does not perform any locking of the flash, so this is a noop.
Change-Id: I7cbac6a9e5c3382652fe1f3ada7b208df4af6b3e Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
3881231a | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: remove unused ffs_index
ffs_index was used to ensure we updated the ffs header with the actual size. However, the ffs_index was hardcoded to -1 nd never updated, so this cade was never exec
flasher: remove unused ffs_index
ffs_index was used to ensure we updated the ffs header with the actual size. However, the ffs_index was hardcoded to -1 nd never updated, so this cade was never executed.
Secondly, recent discussion[1] on the open-power bug tracker suggests that this was never something that should be done.
[1] https://github.com/open-power/op-build/pull/696#issuecomment-255012092
Change-Id: I302b48213561c4d4490927fa0953c65a52d82c11 Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
61a5fdf0 | 02-Nov-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Remove unused blocklevel_get_info
We retrieve the parameters but don't do anything with them.
Change-Id: I5689fb04d6a9f201a6aff6235925b86c77500823 Signed-off-by: Joel Stanley <joel@jms.id.
flasher: Remove unused blocklevel_get_info
We retrieve the parameters but don't do anything with them.
Change-Id: I5689fb04d6a9f201a6aff6235925b86c77500823 Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
9d61237e | 31-Oct-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Use flash via MTD device
Now that we have a kernel driver for the NOR, switch do doing all operations via the MTD device.
Change-Id: Iff760b79f0779665b44d9118643486900ea8946c Signed-off-by
flasher: Use flash via MTD device
Now that we have a kernel driver for the NOR, switch do doing all operations via the MTD device.
Change-Id: Iff760b79f0779665b44d9118643486900ea8946c Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
7b62ce9e | 31-Oct-2016 |
Joel Stanley <joel@jms.id.au> |
flasher: Add copyright header
Change-Id: I100c00f1d0d19ef32ef45cb97e33eacee0962c3c Signed-off-by: Joel Stanley <joel@jms.id.au> |
26be0690 | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
op-flasher: Remove pflash tree
No longer needed with the move to the shared object.
Change-Id: I36f7d7ba8b3df5ebae67a93ae18f1fa2d5c4d29a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
275524ee | 08-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
op-flasher: use dynamic libflash
Replace the old statically linked snapshot of libflash with the real shared library.
Resolves: openbmc/openbmc#542 Change-Id: I3b6f634d17951c714ebc571518ad5067eaf44
op-flasher: use dynamic libflash
Replace the old statically linked snapshot of libflash with the real shared library.
Resolves: openbmc/openbmc#542 Change-Id: I3b6f634d17951c714ebc571518ad5067eaf44e97 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
f6c85685 | 27-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
libopenbmc_intf include path update
Remove the interfaces prefix from applications including openbmc_intf.h.
Use brackets rather than quotes in prep for a libopenbmc_intf SDK package.
Signed-off-b
libopenbmc_intf include path update
Remove the interfaces prefix from applications including openbmc_intf.h.
Use brackets rather than quotes in prep for a libopenbmc_intf SDK package.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
b0d0a745 | 21-Jun-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #107 from bradbishop/dead
Remove dead code |
c034d2d3 | 19-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Enable user-overriable CFLAGS
Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append user specified CFLAGS to that.
Use CFLAGS during link.
Signed-off-by: Brad Bishop <bradleyb@fuzz
Enable user-overriable CFLAGS
Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append user specified CFLAGS to that.
Use CFLAGS during link.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
a6b9e676 | 19-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove built-in.o from repository
Added by mistake when pflash was originally imported.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
40a360c2 | 28-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Reorganize directory structure
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications
Reorganize directory structure
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements.
A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|