History log of /openbmc/skeleton/op-flasher/ (Results 1 – 20 of 20)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7307890312-Dec-2016 Patrick Williams <patrick@stwcx.xyz>

flasher: fix compile error in 84ab7e

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

84ab7e9008-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>

ead1c62d02-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 ...

29eaf4d402-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 ...

8481438502-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 ...

93dafe8402-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 ...

e020948802-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 ...

7ba4172d02-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 ...

6677705602-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 ...

3881231a02-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 ...

61a5fdf002-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 ...

9d61237e31-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 ...

7b62ce9e31-Oct-2016 Joel Stanley <joel@jms.id.au>

flasher: Add copyright header

Change-Id: I100c00f1d0d19ef32ef45cb97e33eacee0962c3c
Signed-off-by: Joel Stanley <joel@jms.id.au>

26be069008-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>


275524ee08-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 ...


/openbmc/skeleton/Makefile
/openbmc/skeleton/configs/Barreleye.py
/openbmc/skeleton/configs/Firestone.py
/openbmc/skeleton/configs/Garrison.py
/openbmc/skeleton/configs/Palmetto.py
/openbmc/skeleton/configs/Witherspoon.py
/openbmc/skeleton/gdbus.mk
/openbmc/skeleton/hostcheckstop/host_checkstop_obj.c
/openbmc/skeleton/libopenbmc_intf/Makefile
/openbmc/skeleton/libopenbmc_intf/codegen
/openbmc/skeleton/libopenbmc_intf/gpio.c
/openbmc/skeleton/libopenbmc_intf/openbmc.h
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.c
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.h
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.xml
Makefile
flasher_obj.c
/openbmc/skeleton/op-hostctl/control_host_obj.c
/openbmc/skeleton/op-pwrctl/Makefile
/openbmc/skeleton/op-pwrctl/pgood_wait/.gitignore
/openbmc/skeleton/op-pwrctl/pgood_wait/Makefile
/openbmc/skeleton/op-pwrctl/pgood_wait/pgood_wait.c
/openbmc/skeleton/pciedetect/pcie_slot_present_obj.c
/openbmc/skeleton/pychassisctl/chassis_control.py
/openbmc/skeleton/pydownloadmgr/download_manager.py
/openbmc/skeleton/pyfanctl/fan_control.py
/openbmc/skeleton/pyflashbmc/bmc_update.py
/openbmc/skeleton/pyhwmon/hwmon.py
/openbmc/skeleton/pyinventorymgr/inventory_items.py
/openbmc/skeleton/pyinventorymgr/setup.py
/openbmc/skeleton/pyinventorymgr/sync_inventory_items.py
/openbmc/skeleton/pyipmitest/ipmi_debug.py
/openbmc/skeleton/pysensormgr/sensor_manager2.py
/openbmc/skeleton/pystatemgr/discover_system_state.py
/openbmc/skeleton/pystatemgr/setup.py
/openbmc/skeleton/pysystemmgr/system_manager.py
/openbmc/skeleton/rules.mk
f6c8568527-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 ...

b0d0a74521-Jun-2016 Patrick Williams <patrick@stwcx.xyz>

Merge pull request #107 from bradbishop/dead

Remove dead code

c034d2d319-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 ...

a6b9e67619-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>

40a360c228-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 ...


/openbmc/skeleton/.gitignore
/openbmc/skeleton/Makefile
/openbmc/skeleton/Makefile.python
/openbmc/skeleton/bmcctl-barreleye/Makefile
/openbmc/skeleton/bmcctl-barreleye/control_bmc_barreleye.c
/openbmc/skeleton/bmcctl/Makefile
/openbmc/skeleton/bmcctl/control_bmc_obj.c
/openbmc/skeleton/boardvpd/Makefile
/openbmc/skeleton/boardvpd/board_vpd_obj.c
/openbmc/skeleton/configs/Barreleye.py
/openbmc/skeleton/configs/Firestone.py
/openbmc/skeleton/configs/Garrison.py
/openbmc/skeleton/configs/Makefile
/openbmc/skeleton/configs/Palmetto.py
/openbmc/skeleton/configs/setup.py
/openbmc/skeleton/fanctl/Makefile
/openbmc/skeleton/fanctl/fan_generic_obj.c
/openbmc/skeleton/flashbios/Makefile
/openbmc/skeleton/flashbios/flash_bios_obj.c
/openbmc/skeleton/gdbus.mk
/openbmc/skeleton/gdbus/codegen
/openbmc/skeleton/gdbus/interfaces/openbmc_intf.c
/openbmc/skeleton/gdbus/interfaces/openbmc_intf.h
/openbmc/skeleton/gdbus/xml/openbmc_intf.xml
/openbmc/skeleton/hacks/Makefile
/openbmc/skeleton/hacks/startup_hacks.sh
/openbmc/skeleton/hostwatchdog/Makefile
/openbmc/skeleton/hostwatchdog/host_watchdog_obj.c
/openbmc/skeleton/hwmon-barreleye/Makefile
/openbmc/skeleton/hwmon-barreleye/hwmons_barreleye.c
/openbmc/skeleton/hwmon/Makefile
/openbmc/skeleton/hwmon/hwmons_palmetto.c
/openbmc/skeleton/ledctl/Makefile
/openbmc/skeleton/ledctl/led_controller.c
/openbmc/skeleton/libopenbmc_intf/Makefile
/openbmc/skeleton/libopenbmc_intf/gpio.c
/openbmc/skeleton/libopenbmc_intf/gpio.h
/openbmc/skeleton/libopenbmc_intf/openbmc.h
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.c
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.h
Makefile
flasher_obj.c
pflash/Makefile
pflash/TODO
pflash/arm_io.c
pflash/ast-sf-ctrl.c
pflash/ast.h
pflash/ccan/Makefile.inc
pflash/ccan/array_size/LICENSE
pflash/ccan/array_size/_info
pflash/ccan/array_size/array_size.h
pflash/ccan/array_size/test/compile_fail-function-param.c
pflash/ccan/array_size/test/compile_fail.c
pflash/ccan/array_size/test/run.c
pflash/ccan/build_assert/LICENSE
pflash/ccan/build_assert/_info
pflash/ccan/build_assert/build_assert.h
pflash/ccan/build_assert/test/compile_fail-expr.c
pflash/ccan/build_assert/test/compile_fail.c
pflash/ccan/build_assert/test/compile_ok.c
pflash/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
pflash/ccan/built-in.o
pflash/ccan/check_type/LICENSE
pflash/ccan/check_type/_info
pflash/ccan/check_type/check_type.h
pflash/ccan/check_type/test/compile_fail-check_type.c
pflash/ccan/check_type/test/compile_fail-check_type_unsigned.c
pflash/ccan/check_type/test/compile_fail-check_types_match.c
pflash/ccan/check_type/test/run.c
pflash/ccan/container_of/LICENSE
pflash/ccan/container_of/_info
pflash/ccan/container_of/container_of.h
pflash/ccan/container_of/test/compile_fail-bad-type.c
pflash/ccan/container_of/test/compile_fail-types.c
pflash/ccan/container_of/test/compile_fail-var-types.c
pflash/ccan/container_of/test/run.c
pflash/ccan/endian/LICENSE
pflash/ccan/endian/_info
pflash/ccan/endian/endian.h
pflash/ccan/endian/test/compile_ok-constant.c
pflash/ccan/endian/test/run.c
pflash/config.h
pflash/get_arch.sh
pflash/io.h
pflash/libflash/ffs.h
pflash/libflash/libffs.c
pflash/libflash/libffs.h
pflash/libflash/libflash-priv.h
pflash/libflash/libflash.c
pflash/libflash/libflash.h
pflash/libflash/test/Makefile
pflash/libflash/test/test-flash.c
pflash/pflash.c
pflash/powerpc_io.c
pflash/progress.c
pflash/progress.h
pflash/sfc-ctrl.c
pflash/sfc-ctrl.h
/openbmc/skeleton/op-hostctl/Makefile
/openbmc/skeleton/op-hostctl/control_host_obj.c
/openbmc/skeleton/op-pwrctl/Makefile
/openbmc/skeleton/op-pwrctl/power_control_obj.c
/openbmc/skeleton/pciedetect/Makefile
/openbmc/skeleton/pciedetect/pcie_slot_present_obj.c
/openbmc/skeleton/pwrbutton/Makefile
/openbmc/skeleton/pwrbutton/button_power_obj.c
/openbmc/skeleton/py.mk
/openbmc/skeleton/pychassisctl/Makefile
/openbmc/skeleton/pychassisctl/chassis_control.py
/openbmc/skeleton/pychassisctl/setup.cfg
/openbmc/skeleton/pychassisctl/setup.py
/openbmc/skeleton/pydownloadmgr/Makefile
/openbmc/skeleton/pydownloadmgr/download_manager.py
/openbmc/skeleton/pydownloadmgr/setup.cfg
/openbmc/skeleton/pydownloadmgr/setup.py
/openbmc/skeleton/pyfanctl/Makefile
/openbmc/skeleton/pyfanctl/fan_control.py
/openbmc/skeleton/pyfanctl/setup.cfg
/openbmc/skeleton/pyfanctl/setup.py
/openbmc/skeleton/pyflashbmc/Makefile
/openbmc/skeleton/pyflashbmc/bmc_update.py
/openbmc/skeleton/pyflashbmc/setup.cfg
/openbmc/skeleton/pyflashbmc/setup.py
/openbmc/skeleton/pyhwmon/Makefile
/openbmc/skeleton/pyhwmon/hwmon.py
/openbmc/skeleton/pyhwmon/setup.cfg
/openbmc/skeleton/pyhwmon/setup.py
/openbmc/skeleton/pyinventorymgr/Makefile
/openbmc/skeleton/pyinventorymgr/inventory_items.py
/openbmc/skeleton/pyinventorymgr/setup.cfg
/openbmc/skeleton/pyinventorymgr/setup.py
/openbmc/skeleton/pyipmitest/Makefile
/openbmc/skeleton/pyipmitest/ipmi_debug.py
/openbmc/skeleton/pyipmitest/setup.cfg
/openbmc/skeleton/pyipmitest/setup.py
/openbmc/skeleton/pysensormgr/Makefile
/openbmc/skeleton/pysensormgr/sensor_manager2.py
/openbmc/skeleton/pysensormgr/setup.cfg
/openbmc/skeleton/pysensormgr/setup.py
/openbmc/skeleton/pystatemgr/Makefile
/openbmc/skeleton/pystatemgr/discover_system_state.py
/openbmc/skeleton/pystatemgr/goto_system_state.py
/openbmc/skeleton/pystatemgr/setup.cfg
/openbmc/skeleton/pystatemgr/setup.py
/openbmc/skeleton/pysystemmgr/Makefile
/openbmc/skeleton/pysystemmgr/setup.cfg
/openbmc/skeleton/pysystemmgr/setup.py
/openbmc/skeleton/pysystemmgr/system_manager.py
/openbmc/skeleton/pytools/Makefile
/openbmc/skeleton/pytools/gpioutil
/openbmc/skeleton/pytools/obmcutil
/openbmc/skeleton/pytools/setup.cfg
/openbmc/skeleton/pytools/setup.py
/openbmc/skeleton/rstbutton/Makefile
/openbmc/skeleton/rstbutton/button_reset_obj.c
/openbmc/skeleton/rules.mk
/openbmc/skeleton/sdbus.mk
/openbmc/skeleton/setup.cfg