Age | Commit message (Collapse) | Author | Files | Lines |
|
If these are needed, they really should be done within the meta-aspeed
layer. This was originally done to allow the BMC hardware watchdogs
to control the reboot of the BMC in error scenarios vs. the kernel auto
rebooting itself. This is causing issues on AST2600 hardware because the
watchdogs are not setup correctly. Kernel panics result in the BMC
becoming unusable and not rebooting, requiring a manual power cycle.
The goal with letting the hardware watchdogs control the reboot was that
fancy things like flash side switches could be performed for recovery
scenarios. However the end to end software stack for this was never fully
implemented so if a flash side switch did occur, there would be no
notice to the user of the system, and in most cases the BMC was still
inoperable because the network settings were missing.
For now, we should just go back to the defaults built into the
meta-aspeed layer which is to panic on oops and have the kernel
immediately reboot the BMC when a panic occurs.
Once we iron out the watchdog usage, we can look into changing these
back in the meta-aspeed layer if needed.
(From meta-phosphor rev: 7777a8eda2b4909f34605476813e1e364b0d5728)
Change-Id: I18a15a7769b27d6dd577bcc4e35cc9f60c4d3240
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Setting this within python is not required
(From meta-phosphor rev: b737ffb23aff232b2ce212ad54171afe7b216a71)
Change-Id: I3d799b5cd9e66c9bc1a4d145274bfa3c06bdf575
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Uptream yocto recently added some new code which enforces
kernel feature validation. The commit which did this is:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=095175595d9f28d5a0eb7ea520c9af0100bb8dfd
This caused OpenBMC builds to start failing with the following:
| ERROR: Feature 'phosphor-wdt-on-panic' not found, this will cause configuration failures.
| ERROR: Check the SRC_URI for meta-data repositories or directories that may be missing
| ERROR: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue
OpenBMC does not utilize this aspect of the kernel-yocto.bbclass
so make it a warning only.
Tested:
Verified that the resultant build still had the expected CONFIG
options set in the linux-aspeed defconfig.
Resolves openbmc/openbmc#3690
(From meta-phosphor rev: d9a065db400bea4b026e240532dd369e588c967d)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I7590e6304307599cbc77ef26ca9708a70d47d8a0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
For Dump offload use-case, we are using nbd1 device
this commit is to add support for nbd1 device in state_hook
(From meta-phosphor rev: 0d878479caa21c76606e041e18830d03c2d6fec2)
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: I6710f97d1ba67e801fbfa7eae9c13aaf9b4963c8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The u-boot SDK recipe in the Aspeed layer has different u-boot config
snippets for different sized flash images. This is done by way of
overrides, e.g.
MACHINEOVERRIDES .= ":flash-${ASPEED_IMAGE_SIZE_KB}"
Make sure ASPEED_IMAGE_SIZE_KB is set to the correct size so the correct
u-boot snippet is selected.
(From meta-phosphor rev: 2ee231638d5cde0c041ad863a4d4636291ad39a5)
Change-Id: I438fb896eceeafab2927925ffa1763d672456dd6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a distro feature to enable aspeed nic driver to enable MAC1
and MAC2.
The aspeednic patch is copied from meta-ingrasys/meta-zaius, it is
also required by fp5280g2. To avoid duplication, this distro feature
has been added.
Both meta-fp5280g2 and meta-zaius will be updated to use the distro feature.
Tested: tested on fp5280g2, and both Ethernet ports worked
(From meta-phosphor rev: 5a8e7c5a6efea492b82d710c465125fc9d0afdb9)
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: Ia754595c5e3762f69397c03021ffe29ea5b9afcc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This script is called by the nbd-proxy app to start/stop
the USB mass storage device.
(From meta-phosphor rev: c1b537d2366120c2460ed66c872b87ceab59b0d0)
Change-Id: I414c52cb4a262199dc8b373e016cf09dae211a8a
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
An atomic cross-layer update is required to do this - as such this
commit consists of these subtree commits, squashed:
meta-aspeed
linux-aspeed: Witherspoon flash layout, GFX DRM
meta-phosphor
aspeed: Remove Witherspoon DTS patch
Change-Id: I57d466163fdc5dc188424e7cade688779f15def0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
(From meta-phosphor rev: 80d39ceccaca886168f65dc9bc708759cddd0940)
Change-Id: Ieb2781db3825c924173ca58878682924ca07da98
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Allow platforms to opt into the u-boot patch disabling unnecessary
hardware features for ASPEED SoCs.
As this change touches bits that were not initialised by previous u-boot
revisions and the configuration applied prevents poweron of OpenPOWER
hosts without corresponding host firmware changes, this change is
nohwci.
(From meta-phosphor rev: 82f2db28ad8f4f0b7fbf703e8942afcaf6e70a2b)
Change-Id: I2f40a780afe539e9e4ff13983cd567e849bbed25
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Rename cf-fsi-firmware.bb as git per OE norms.
(From meta-phosphor rev: 1387adce04d049311de7dbebc8d7ae9dc324f6c4)
Change-Id: I3a73fa25d31c30be5425490e41fd8ef09355318a
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
(From meta-phosphor rev: 38f27112a9bc38337d8f4c63c333d2a1f28945fa)
Change-Id: I834b99d63a260f21c60b58c91ec328cf04b683fe
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The latest version uses a unified firmware binary, so we can use the one
binary on all machines.
Change-Id: I59525c9203a491ac786a5199e457c1847a4ae0e0
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Benjamin Herrenschmidt (11):
drm: aspeed: Enable/disable vblank in pipe enable/disable
devres: Add devm_of_iomap()
fsi: Move code around to avoid forward declaration
fsi: Add mechanism to set the tSendDelay and tEchoDelay values
fsi: master-gpio: Rename and adjust send delay
fsi: master-gpio: Add support for link_config
fsi: master-gpio: Add more tracepoints
fsi: master-gpio: Remove unused definitions
fsi: master-gpio: Remove "GPIO" prefix on some definitions
fsi: master-gpio: Add missing release function
fsi: Move various master definitions to a common header
Cédric Le Goater (2):
ARM: dts: aspeed: Add "spi-max-frequency" property
mtd: spi-nor: aspeed: limit the maximum SPI frequency
Joel Stanley (2):
ARM: config: aspeed: Enable SHA256 and HMAC
ARM: config: aspeed: Re-enable DEVMEM
Resolves: openbmc/openbmc#3164
Change-Id: I7f1970a8123b6d335e6dd2bda525c02cc393ede4
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
|
|
This project installs the machine specific ColdFire firmware file into
/lib/firmware for using the ColdFire FSI master kenrel driver.
The repository contains source and corresponding assembled binaries. We
do not assemble our own binaries as that would require building binutils
for the 68k.
Change-Id: Iac13f94532e0cdf92814f2521f170778505f30f7
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Rename linux-obmc to linux-aspeed and move to the Aspeed
layer. Like recipes for u-boot forks, recipes for kernel
forks in support of different SOCs are typically provided
in the BSP supporting the SOC.
Moved a number of phosphor-isms out of the kernel recipe and put
those in a bbappend in aspeed-layer/bbappend.
Removed COMPATIBLE_MACHINE setting. We simply use PREFERRED_PROVIDER
in machine configuration files to set the default kernel recipe.
Tested: Booted spoon/palmetto images using QEMU
Change-Id: I7dc73629cad4789dcd5aeb0f7b6214fe064c6adc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Append an -aspeed suffix to Aspeed u-boot and u-boot-fw-utils
recipes to match convention of other upstream BSP layers like
meta-fsl-arm.
Tested: Built palmetto/spoon images and booted in QEMU
Change-Id: I88ce2062876674ea9c104a97cc0bf2c83f2b1fcd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move the Aspeed u-boot tree patches to a directory where they can
be conditionally applied when the Aspeed layer is in the build
configuration.
This is a better way to achieve 273ec60e436 since it enables the Aspeed
BSP layer to name its u-boot/kernel recipes whatever it wants.
Remove stubbed do_configure from u-boot_%.bbappend. It is no longer
required since the bbappend is only activated when the aspeed layer
and associated u-boot recipes are in the layer configuration.
Tested: Built u-boot recipe for witherspoon and palmetto targets
Change-Id: I52dceb65598e0cf660ad035a8f14e9894325ca71
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|