Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I4be962064668c937fce34b7814378c86a2dc994c
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The default size of the UBI read-write volume is currently set to 4MB.
There are no plans to store more than one BMC rootfs image on the chip
so in a 32MB flash chip, accounting for the current rootfs image size
of ~15MB with plans to grow to ~20MB with the addition of redfish and
other packages, it is safe to increase the read-write volume size to
6MB since the current size is already almost completely taken up if
there are multiple error logs / dumps on the system.
In addition, make the size configurable from a recipe so that the
size can be changed in a per-system basis. And during code update,
check the current size and update it if it's different, this allows
systems to be able to be resized to a new size by performing factory
reset after a code update that sets the new size.
Tested:
- Booted on QEMU and verified non-ubi system (romulus) retains the
current 4MB read-write volume, and ubi system (witherspoon) has a
6MB volume.
- Code updated to an image that has these changes and verified the
rwfs_size env variable changes to 6MB, and that a subsequent factory
reset rebuilds the volume with size 6MB.
Change-Id: I995eb560c1bd87ee95712c731e3d6e55bc0b2735
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: Ied6bfe428fe5bc6a19fdb3adf606cbc18b245b3e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Idcbe38497ff10223faa931853c697c3ae405af0b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
xyz.openbmc_project.Settings has replaced this function
Resolves openbmc/openbmc#2339
Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ib78452fd969b0b2718551a8ff1b6a279624ceb6a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Any recipe inheriting image_version must have a dependency
on os-release to ensure the sysroot is populated before
attempting to get the version out of it.
Also read the version out of the target sysroot rather than the
host sysroot. os-release does not have a native variant.
Tested: Built image and verified in witherspoon qemu
Change-Id: I8d79280a75577eff48314f0f57c0015e1d6738ef
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: If87a597dd1298289846240c5c566e77ccb1bc770
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I19a7253fdeabbef63bd7421ea50843e74c8c7f8b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ibcf5f729e3940aa3ec27e223475e62c24be4e3b0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Avoid a build warning by not changing directories when installing
ipmid provider symlinks.
Change-Id: I174c91643197f387ffa1bc76d71d6f736444cffd
Tested: Built an image and verified symlinks
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I80f424851a43bf5700901a18eba87841843f183a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Id2311bbcd485fc78b43a8ceb5ce7db497f0e6b6d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I1dccd10d802c773a6b07eed0e08934d3b24962eb
Tested: No functional changes
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This commit also adds the entityID and entityInstance property
for BMC FRUS config yaml.
These attributes are required to pass it through Get SDR command.
Currently we support two types of record format through Get SDR
1) FULL Record.
2) FRU Record.
Resolves openbmc/openbmc#2823
Change-Id: Ie7424fbc493dde5070a2c65c74ba83565154b9d4
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
Change-Id: I318ee7e035efec53fc8aee1896f4b775a4e450ed
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ife93c5ebb1b0389ced28d422a4fc6537e083047d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I7536bfb3927ec6dc93872aeb804c76a4c427fe13
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Allow the phosphor systemd and dbus bbclasses to be inherited
by recipes using BBCLASSEXTEND (native, etc). No-op in non-target
recipe class context.
Tested: Built an image and verified dbus and systemd unit files.
Change-Id: Ib2f64233f89d05679c568527a074d9236729201f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I8f76a8f5db069b1867e69ee891bee765897255e4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I7c11bd9ac69c0da05e33bf662c05048221c4a98d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create an mrw-xml bbclass that has variables for the
MRW XML filename and path to it. Then, changes all users
of the MRW XML to inherit that class and use those variables.
The filename will default to ${MACHINE}.xml if it hasn't already
been set to something else, such as in a .conf file.
This is done so that the file can be something other than
${MACHINE}.xml.
Change-Id: Ia7021e5a5d5e7946829e58688250aa64250cb00e
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
Change-Id: Ibf0e3d488601fa5a71feda420a9e8d74f8057e79
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This enables the userspace 'perf' tool and the corresponding kernel
configuration.
PERF_EVENTS is enabled on ast2500. It was already enabled on ast2400.
TIMER_STATS is enabled. This has low runtime impact when not enabled. It
defaults to off.
Change-Id: Iac1761aec999679b611e9bf9b51d0fe585d7ac5c
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Change-Id: Icf27f69e338a522e0e4c39ec01d3afeaca51cf77
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I494277822b6848483dba1c25609c73c89a4db25f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Id649a330baeacaed7dd33cde407a697d02cd4cb9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ia663320b00599b298c599dda58ea1d1d80ae2e73
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I0ba1edfe94f467733eff4e61ac4c16ca31346ff3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I62915d266d91e9b43f66786a15b7027f63c90838
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Correct the return values from string to boolean
of distro feature check for avahi and slp.
This commit also correct the check if slp and avahi is
not enabled then return
Change-Id: I2a19c14fdaf19523702062e6466d636080eeabe6
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
Change-Id: Idb7026a2fb1e96e2a2827f04eb40107e22c652a8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I1cbb82c47a4188bbc3fd77b876c7142839814bff
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Python rstrip argument is a set of characters to strip and not a
substring. This caused a weird build failure when the instance
name happened to include some characters from the trailing part
of the service name.
Change-Id: Ib3263c709c7ca85a8c9f63c33945215b8443b806
Signed-off-by: Robert Lippert <rlippert@google.com>
|
|
Change-Id: Ib237e0580915b19b951b6cc08bddef75249a3854
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create a new development tools package and move the obmc-pydevtools there
so they're no longer in the extrasdev development feature package.
The reason is that the extrasdev contains features that are desirable to
be removed from production systems, such as the rest-dbus. On the other
hand the pydevtools are binaries that are useful to have even in
production systems, so makes sense to put them in a separate tools
category.
Resolves openbmc/openbmc#2571
Change-Id: Ia66bf6e83d920818c8c355ec9d01a047583b82c0
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
Change-Id: I98c18516cea5ae3d59a5572ca10d7dcd84803fe7
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I7a408520e6b2756fe3f48bc762f960708d1b8903
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
- When the new ubi layout is flashed onto the BMC, the volumes
were named kernel-0 and rofs-0 by default. This tends to be
misleading as we can't differentiate between two different BMC
versions.
- Now the ubi volumes will be named kernel-<versionID> and
rofs-<versionID> calculated by getting the hash(SHA-512) of
the version and taking the first 8 characters.
- The Uboot env needs to be updated to point to the correct
kernelname which has now changed from kernel-0 to
kernel-<versionID> calculated by getting the HASH(SHA-512)
of the version and taking the first 8 characters.
Resolves openbmc/openbmc#2323
Change-Id: I258d165b399d1ff59ea86f410006f6d03fe13a2e
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
|
|
Change-Id: I5f2d5add4b0c328e300a08d54b5fc2b567ba00da
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This adds xmodem receive shell tools so we can move files onto or off of
the BMC over a serial console (without a network connection). This is
helpful when debugging issues with failed network connectivity.
Change-Id: Id12a3704c690230cb9111aa2f6f50962527e3987
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Change-Id: Ie76fad285c19272b98d1d8a091d41d14842f1a6b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I883e928d03adc989e530174113ca7931a56c56e4
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ibe56477bf89e8d2324ba0db33b8bcd13c947ce56
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I2e436d068e4981734bbcb8c07891fa0bb5e9acb3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Resolves openbmc/openbmc#2037
Install dreport, dreport.conf, plugins
Parse the scripts to fetch config value
Create user directories based on config value with
softlinks to the plugins
Change-Id: If1bdefca362a282132364306b26eecb4b7003390
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
Change-Id: I26b17409b2ee94bfc69532d07765fe98a0d2263d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: I11b68e2bf6e27a1879276a5ecfc895191b38c5c0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change-Id: Ia9ff2a2a43d51a11c846dce8969dc51908c5c2b3
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Removed the obmc-phosphor-user and put the new one
Also, removed the usage of PREFERRED_PROVIDER and replaced by
VIRTUAL_RUNTIME for this feature
Change-Id: I6f0825f8d51eecb9c666a95d9fd702a8ea8bb08b
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
|