summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2021-11-26linux-aspeed: Fixes for SCU IRQ, MDIO, clock, vga_pwJoel Stanley1-1/+1
Billy Tsai (1): irqchip/aspeed-scu: Replace update_bits with write_bits. Dylan Hung (1): mdio: aspeed: Fix "Link is Down" issue Joel Stanley (2): drm/aspeed: Fix vga_pw sysfs output clk/ast2600: Fix soc revision for AHB Change-Id: Idd8d89c4869faa8528f1c5066ec3ed467ea85911 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-05linux-aspeed: nct7802 bindings and configurabilityOskar Senft1-1/+1
Oskar Senft (3): dt-bindings: hwmon: Add nct7802 bindings hwmon: (nct7802) Make temperature/voltage sensors configurable ARM: dts: aspeed: tyan-s7106: Update nct7802 config Signed-off-by: Oskar Senft <osk@google.com> Change-Id: I6dedace1a62f136c461ce6a207ef925d0bd072d1
2021-11-04Partially revert "treewide: remove obmc-system-mgmt feature"Patrick Williams2-0/+2
The obmc-system-mgmt feature is currently used in the image to trigger inclusion of a virtual-provider which provides a number of packages many systems need. Partially revert the removal of this feature so that the outcome is: 1. The empty obmc-phosphor-sysd package is still removed. 2. By default the 'obmc-system-mgmt' feature is included, unless specifically exempted. 3. All EVB platforms remove the 'obmc-system-mgmt' feature since they have no system they are managing. This partially reverts commit 060ad3ff7fcc30aff78a9e504efee9d8fa0d4526. Tested: * Built `bletchley` and confirmed `packagegroup-fb-apps-system` and `entity-manager` are present. ``` entity-manager armv7ahf-vfpv4d16 0.1+git0+6bf41588ab-r0 packagegroup-fb-apps-system all 1.0-r1 ``` * Built `witherspoon` and confirmed `packagegroup-op-apps-system` and `pdbg` are present. ``` packagegroup-op-apps-system noarch 1.0 pdbg arm1176jzs 3.3 ``` * Ran `bitbake -p` on `evb-ast2600` to confirm the undefined `virtual-obmc-system-mgmt` is not being included in the image. Change-Id: I8b7804d5101cc84a2c57473b3f85672bf7767c67 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-11-03linux-aspeed: UART routingJoel Stanley1-1/+1
Chia-Wei Wang (2): soc: aspeed: Add UART routing support soc: aspeed: Fix UART routing driver Change-Id: I4a6fc7ee06e7e32ef15ceba79d278869e6c6c42e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-02linux-aspeed: Move to Linux v5.15Joel Stanley1-3/+3
This moves the OpenBMC kernel to a v5.15 base. There are 73 patches in the tree, not counting changes that were merged in v5.16 which have been backported. Andrew Jeffery (10): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface ARM: dts: tacoma: Clean up KCS nodes leds: pca955x: Make the gpiochip always expose all pins leds: pca955x: Allow zero LEDs to be specified Brad Bishop (3): ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string eeprom: at25: Split reads into chunks and cap write size Cédric Le Goater (19): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training /dev/mem: add a devmem kernel parameter to activate the device Eddie James (8): soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO spi: fsi: Print status on error spi: fsi: Fix contention in the FSI2SPI engine Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (4): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver ARM: dts: nuvoton: gbs: split SPI flash partition ARM: dts: nuvoton: gbs: Change the name of the partitions Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): net: ftgmac100: Ensure tx descriptor updates are visible ARM: dts: ast2600evb: Enable EHCI controller ARM: configs: aspeed: Add openbmc kernel options ipmi: bt-bmc: Use registers directly Tomer Maimon (21): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: dts: npcm7xx: Add out of tree nodes ARM: dts: olympus: Add non-mainline nodes ARM: dts: npcm750: Add fuse regmap support node ARM: dts: npcm7xx: Link fuse syscon to adc and wdt clk: npcm7xx: add read only flag to divider clocks iio: adc: Add calibration support to npcm ADC watchdog: npcm: Add DT restart priority and reset type support pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver pinctrl: pinconf: add pin persist configuration pinctrl: npcm7xx: Add pin persist configuration support spi: npcm-pspi: Add full duplex support dt-binding: bmc: add NPCM7XX JTAG master documentation misc: Add NPCM7xx JTAG master driver watchdog: npcm: Modify get reset status function ARM: configs: add defconfig for Nuvoton NPCM7xx BMC William A. Kennington III (1): net: npcm: Support for fixed PHYs Change-Id: I8c26f71ba75e4f8d8b5697b81f8c73c0d77aae8e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-11-02linux-aspeed: FSI backportsJoel Stanley1-1/+1
Patches from the v5.16 kernel relating to FSI, OCC and SBE FIFO. Eddie James (7): fsi: occ: Use a large buffer for responses fsi: occ: Store the SBEFIFO FFDC in the user response buffer docs: ABI: testing: Document the OCC hwmon FFDC binary interface hwmon: (occ) Provide the SBEFIFO FFDC in binary sysfs docs: ABI: testing: Document the SBEFIFO timeout interface fsi: sbefifo: Add sysfs file indicating a timeout error fsi: sbefifo: Use interruptible mutex locking Change-Id: Iab76e0b1cf658334d8ab0f43bb6c3d1b8912f7a5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-29linux-aspeed: Move to v5.14.15 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.11 through to 5.14.15 stable releases. Change-Id: Ida64acaa1f9c7c26d987fa7979ef29320924f2f0 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-29linux-aspeed: SPI FSI, DTS GPIOsJoel Stanley1-1/+1
Adriana Kobylak (1): ARM: dts: aspeed: rainier: Add power-config-full-load gpio Eddie James (1): spi: fsi: Print status on error Joel Stanley (2): ARM: dts: aspeed: p10bmc: Define secure boot gpio ARM: dts: aspeed: rainier: Remove remaining PCA955X_TYPE_GPIO Change-Id: Ibbfc482ba2ee1a008006875d6065cc36d7c7da20 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-21linux-aspeed: Rainier, Everest, ADCJoel Stanley1-1/+1
Eddie James (5): ARM: dts: aspeed: Fix ADC iio-hwmon battery node name ARM: dts: aspeed: rainier and everest: Remove PCA gpio specification ARM: dts: aspeed: everest: Add I2C switch on bus 8 ARM: dts: aspeed: everest: Add IBM Operation Panel I2C device ARM: dts: aspeed: everest: Fix bus 15 muxed eeproms Joel Stanley (1): iio: aspeed_adc: Fix prescaler devres cleanup Change-Id: Icd9903844c926c0d41d912716520eb3807c59039 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-19linux-aspeed: LM25066Joel Stanley1-1/+1
Zev Weiss (8): hwmon: (pmbus/lm25066) Add offset coefficients hwmon: (pmbus/lm25066) Adjust lm25066 PSC_CURRENT_IN_L mantissa hwmon: (pmbus/lm25066) Avoid forward declaration of lm25066_id hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff hwmon: (pmbus/lm25066) Mark lm25066_coeff array const hwmon: (pmbus/lm25066) Add OF device ID table hwmon: (pmbus/lm25066) Support configurable sense resistor values dt-bindings: hwmon/pmbus: Add ti, lm25066 power-management IC Change-Id: I3bd76959963ad7de008197f7349c72b088eb1147 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-14linux-aspeed: fp5280g2, IPMI BTJoel Stanley1-1/+1
Joel Stanley (1): ipmi: bt-bmc: Use registers directly John Wang (1): ARM: dts: aspeed: fp5280g2: Use the 64M layout Change-Id: Id6ec8571bee286cf56ab02bbf9c4b4d278b32426 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-12linux-aspeed: Move to v5.14.11 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.7 through to 5.14.11 stable releases. Change-Id: I4e3cbb74fe6204dd804c06a438e9a398f4808894 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-11linux-aspeed: IBM CFF PS, USB EHCIJoel Stanley1-1/+1
Brandon Wyman (3): hwmon: (pmbus/ibm-cffps) max_power_out swap changes hwmon: (pmbus/ibm-cffps) Add mfg_id debugfs entry hwmon: (pmbus/ibm-cffps) Use MFR_ID to choose version Neal Liu (1): usb: ehci: Handshake CMD_RUN instead of STS_HALT for Aspeed Change-Id: I803024cd288339966162ac10fda501a6fb8beef8 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-10-11u-boot-aspeed: use upstream u-boot.incAndrei Kartashev3-8/+12
Move u-boot-aspeed-sdk to use u-boot.inc from poki instead our own. We still need our own one for old u-boot-aspeed, so keep it as is. Tested: Build image for AST2500-based machine with u-boot-aspeed-sdk_2019.04, verified that it boots up and fw-utils installed to the image properly. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: Ia5fecdedc94e9550196420884a727e7d87b313d4
2021-10-08u-boot-aspeed: Fix booting with HACEJoel Stanley1-1/+1
Joel Stanley (1): aspeed/hace: Reset when error occurs Change-Id: I10ec988f7b0b01aa76a4338ef095fbe80b4229ec Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-24linux-aspeed: P10 gpio names, PCA955x backportsJoel Stanley1-1/+1
Andrew Jeffery (2): leds: pca955x: Make the gpiochip always expose all pins leds: pca955x: Allow zero LEDs to be specified Ben Tyner (3): ARM: dts: rainier: Define name for gpio line Q2 ARM: dts: everest: Define name for gpio line Q2 ARM: dts: everest: Define name for gpio line B6 Change-Id: Ibcfc7938deeef2003344a6ae460f0bfc9be3cca6 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-23linux-aspeed: AST2600 ADC and PCA955x enhancementsJoel Stanley1-1/+1
These are backports of patches that are queued for v5.16. Billy Tsai (14): iio: adc: aspeed: set driver data when adc probe. dt-bindings: iio: adc: Add ast2600-adc bindings iio: adc: aspeed: completes the bitfield declare. iio: adc: aspeed: Keep model data to driver data. iio: adc: aspeed: Restructure the model data iio: adc: aspeed: Add vref config function iio: adc: aspeed: Use model_data to set clk scaler. iio: adc: aspeed: Use devm_add_action_or_reset. iio: adc: aspeed: Support ast2600 adc. iio: adc: aspeed: Fix the calculate error of clock. iio: adc: aspeed: Add func to set sampling rate. iio: adc: aspeed: Add compensation phase. iio: adc: aspeed: Support battery sensing. iio: adc: aspeed: Get and set trimming data. Eddie James (8): dt-bindings: leds: Add retain-state-shutdown boolean leds: leds-core: Implement the retain-state-shutdown property leds: pca955x: Clean up code formatting leds: pca955x: Add brightness_get function leds: pca955x: Implement the default-state property leds: pca955x: Let the core process the fwnode leds: pca955x: Switch to i2c probe_new ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest Change-Id: I573e724eccbd79f000704ea893007447d6b2934f Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-22linux-aspeed: Move to v5.14.6 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.4 through to 5.14.6 stable releases. Change-Id: I26ecac572d91d27c3bb709cadded16e77b9f928d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-22linux-aspeed: P10BMC muxes, LEDs, EEPROM, GPIOsJoel Stanley1-1/+1
Eddie James (4): ARM: dts: aspeed: everest: Add I2C bus 15 muxes ARM: dts: aspeed: rainier: Add system LEDs ARM: dts: aspeed: rainier: Add eeprom on bus 12 ARM: dts: aspeed: rainier: Remove gpio hog for GPIOP7 Change-Id: I95950704b432b53388d20cef7f5917d6fc46f904 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-22linux-aspeed: Move to v5.14.3 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.14.1 through to 5.14.3 stable releases. Change-Id: I9fddf1581b0562c52fd378ed9581e338d0b96d3e Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-21linux-openbmc: Move to Linux v5.14Joel Stanley1-3/+3
This moves the OpeNBMC kernel to a v5.14 base. There are 78 patches in the tree, plus a the MCTP core and device tree changes that were merged in v5.15 which have been backported. Andrew Jeffery (11): dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (core): One-shot retries for failure to set page pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers ARM: dts: aspeed: witherspoon: Update max31785 node ipmi: kcs_bmc: Add a "raw" character device interface ARM: dts: p10bmc: Drop the openbmc, mctp-lpc node ARM: dts: aspeed: p10bmc: Switch to KCS 3 for MCTP binding ARM: dts: aspeed: p10bmc: Enable KCS channel 2 ARM: dts: tacoma: Clean up KCS nodes B. J. Wyman (2): ARM: dts: aspeed: Rainier remove PSU gpio-keys hwmon: (pmbus/ibm-cffps) Fix write bits for LED control Brad Bishop (3): ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string eeprom: at25: Split reads into chunks and cap write size Cédric Le Goater (19): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training /dev/mem: add a devmem kernel parameter to activate the device Eddie James (11): dt-bindings: soc: Add Aspeed XDMA Engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl dt-bindings: input: Add documentation for IBM Operation Panel input: misc: Add IBM Operation Panel driver ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible fsi: occ: Force sequence numbering per OCC hwmon: (occ) Remove sequence numbering and checksum calculation Fran Hsu (2): ARM: dts: nuvoton: npcm730: Add UDC device ARM: dts: nuvoton: gsj: Add non-mainline nodes George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Isaac Kurth (1): ARM: dts: everest: Add 'factory-reset-toggle' as GPIOF6 Jae Hyun Yoo (1): clk: ast2600: enable BCLK for PCI/PCIe bus always Joel Stanley (4): net: ftgmac100: Ensure tx descriptor updates are visible ARM: dts: ast2600evb: Enable EHCI controller ARM: dts: aspeed: rainier: Enable earlycon ARM: configs: aspeed: Add openbmc kernel options Tomer Maimon (21): dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller ARM: dts: npcm7xx: Add out of tree nodes ARM: dts: olympus: Add non-mainline nodes ARM: dts: npcm750: Add fuse regmap support node ARM: dts: npcm7xx: Link fuse syscon to adc and wdt clk: npcm7xx: add read only flag to divider clocks iio: adc: Add calibration support to npcm ADC watchdog: npcm: Add DT restart priority and reset type support pinctrl: npcm7xx: Add HGPIO pin support to NPCM7xx pinctrl driver pinctrl: pinconf: add pin persist configuration pinctrl: npcm7xx: Add pin persist configuration support spi: npcm-pspi: Add full duplex support dt-binding: bmc: add NPCM7XX JTAG master documentation misc: Add NPCM7xx JTAG master driver watchdog: npcm: Modify get reset status function ARM: configs: add defconfig for Nuvoton NPCM7xx BMC William A. Kennington III (1): net: npcm: Support for fixed PHYs Change-Id: I315000ab63c3f6a34d99cf25e366fa0781c85d46 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-16linux-aspeed: AST2600 ADC, P10 GPIO, EEPROM and LED updatesJoel Stanley1-1/+1
The clk patch is a prerequisite for the backport of the ADC patches. The ADC patches are not yet merged, but are under active review and are expected to be merged in v5.16. Version 6 of the patchset was merged. Billy Tsai (14): iio: adc: aspeed: set driver data when adc probe. dt-bindings: iio: adc: Add ast2600-adc bindings iio: adc: aspeed: completes the bitfield declare. iio: adc: aspeed: Keep model data to driver data. iio: adc: aspeed: Restructure the model data iio: adc: aspeed: Add vref config function iio: adc: aspeed: Use model_data to set clk scaler. iio: adc: aspeed: Use devm_add_action_or_reset. iio: adc: aspeed: Support ast2600 adc. iio: adc: aspeed: Fix the calculate error of clock. iio: adc: aspeed: Add func to set sampling rate. iio: adc: aspeed: Add compensation phase. iio: adc: aspeed: Support battery sensing. iio: adc: aspeed: Get and set trimming data. Dmitry Baryshkov (1): clk: divider: add devm_clk_hw_register_divider Eddie James (4): ARM: dts: aspeed: everest: Add I2C bus 15 muxes ARM: dts: aspeed: rainier: Add system LEDs ARM: dts: aspeed: rainier: Add eeprom on bus 12 ARM: dts: aspeed: rainier: Remove gpio hog for GPIOP7 Joel Stanley (1): Revert "block: nbd: add sanity check for first_minor" Michael Walle (1): clk: divider: add devm_clk_hw_register_divider_table() Change-Id: I120d78fa77df01e239eeb67b3209cebfe2973491 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-16linux-aspeed: Move to v5.10.65 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.61 through to 5.10.65 stable releases. Change-Id: I754ab3d2c0ede419f082d42e245c9e8dd27166b5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-09-14linux-aspeed: ast2500: Always enable CONFIG_FBJoel Stanley1-0/+1
DRM_FBDEV_EMULATION previously selected FB and was default y as long as DRM was enabled. In commit f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB") the select was replaced with a depends on FB, disabling the drivers that depended on it. As the AST2500 uses the GFX device, and the uart-renderer process uses fbterm to display to the FB device, we want CONFIG_FB=y for that system. This is harmless for kernels that do not have the offending commit. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I57213b60f7fc06c89112a9825c7ed8ed7ff5e298
2021-09-04meta-aspeed:conf/machine: tunes files moved to arch dirsAndrew Geissler2-2/+2
Upstream yocto moved the tune files under architecture subdirectories so need to adjust our includes of them. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I442f1403a869a117244461c8f94f940cfe7c08cd
2021-08-30meta-aspeed: socsec-sign: Make invalid key configuration fatalAndrew Jeffery1-1/+2
Building the SPL and "silently" leaving it unsigned gives us a build that cannot be booted on systems that have secure-boot enabled. Change-Id: Ie788a04ef35c7031897a2bfa7d348caa4292305d Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-30meta-aspeed: u-boot-aspeed-sdk: Ensure SOCSEC_SIGN defaults are setAndrew Jeffery1-1/+2
Include the socsec-sign class after the conditional assignments to ensure the values we might assign are considered by the functions of socsec-sign. Without this, u-boot-aspeed-sdk do_deploy logs show: ``` DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing shell function do_deploy Copying u-boot-nodtb binary... Warning: Invalid socsec signing key - SPL verified boot won't be available ``` Adjusting the location of the include gives: ``` DEBUG: Executing python function sstate_task_prefunc DEBUG: Python function sstate_task_prefunc finished DEBUG: Executing shell function do_deploy Copying u-boot-nodtb binary... check header PASS Found PEM header at position 381 check integrity PASS ``` Change-Id: I15cac4c315a6ceaeb69b0c02ba0b7d05e54f6e15 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-23u-boot-aspeed: improve env handlingAndrei Kartashev3-1/+7
This fixes some build errors we faced due to add new ast2500-based platform. * Allow to redefine input env file. * Backport providing "u-boot-default-env" from u-boot.inc * PROVIDES += "u-boot-fw-utils" is not enough, add also RPROVIDES Last two changes allows to exclude from build modern libubootenv which somewhy doesn't work for us. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I33f152c572f6c0b4d8b608375b252290efacd1ea
2021-08-19linux-aspeed: Move to v5.10.60 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.54 through to 5.10.60 stable releases. Change-Id: Ia91c97e7add0aec1b57c36f31692fc893e274040 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-19linux-aspeed: P2A and AHB2LHB fixes, CFF PSU, P10 gpiosJoel Stanley1-1/+1
B. J. Wyman (1): hwmon: (pmbus/ibm-cffps) Fix write bits for LED control Iwona Winiarska (2): soc: aspeed: lpc-ctrl: Fix boundary check for mmap soc: aspeed: p2a-ctrl: Fix boundary check for mmap Jim Wright (1): ARM: dts: aspeed: p10bmc: Add power control pins Joel Stanley (1): soc: aspeed: socinfo: Add AST2625 variant Change-Id: I127736fd24c0e066fe8b4b3e2d3584d5503d095a Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-08-17Fix path to udev rules filesAnton Blanchard2-4/+4
Use nonarch_base_libdir instead of base_libdir, because the files are always in /lib/udev/rules.d/. On ppc64le base_libdir is lib64, and the files end up in the wrong spot. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Change-Id: I3c24dae293f4166f1ed1826d09d4bde7cd7d0357
2021-08-17meta-aspeed: ast2600: Sign the SPL with socsec by defaultAndrew Jeffery1-0/+5
Signing the SPL when secure-boot is disabled has no impact, the SoC will continue to bootstrap as normal. Change-Id: I05c1db80cb4bec44ca315190f5b3c1d97168d1d5 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-17meta-aspeed: u-boot-aspeed-sdk: Use provided signing key by defaultAndrew Jeffery1-0/+4
Allow configurations to override the SPL signing key if necessary, but provide a default in case they don't. The provided key is intended a low-security key. Change-Id: I756271970b0a55409e40dbd06f1245ada6a3cb73 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-13meta-aspeed: socsec: Bump to v0.2.1Andrew Jeffery1-4/+4
Andrew Jeffery (10): resocsec: Style cleanup via autopep8 resocsec: Use env(1) for shebang resocsec: Consistently use single-quotes for strings resocsec: Make signing helper options mutually exclusive resocsec: Add a helper for frobbing the RSA algorithm slug resocsec: Attempt at ergonomic Chain-of-Trust options resocsec: Rename secure-bootloader to secure-bootstrap-image resocsec: Add secure-chained-images subcommand resocsec: Add verify-secure-image subcommand setup: Install resocsec Johnny Huang (43): Merge branch 'develop' into resocsec Merge pull request #7 from amboar/resocsec resocsec: fix typo socsec: add support for ast2605 socsec: remove hexdump module dependcy schema: update otp schema otptool: fix making strap region otptool: fix schema typo readme: add descripton of verify strap: fix "VGA class code" info otptool: fix schema key otptool: fix OTPCFG0[14] description for 2600A1 socsec: move hexdump to global otptool: add 'print' function for otptool socsec: fix public key exponent otp_info: fix config typo otptool: add AST2600A3 support socsec: add rsa pss padding for AST1030A1 socsec: fix cot public key exponent socsec: Add new test item socsec: Add 2600A3 test item Merge branch 'develop' socsec: add mode2v2aes2 pub and priv test socsec: add ecdsa mode for AST1030A1 socsec: Add ecdsa test item otp_info: remove ast1030 from otp_info otp_info: update schema socsec: update revision id otptool: update schema for manifest id config socsec: fix revision id range. socsec: fix f-strings giving SyntaxError socsec: deprecate the CoT sing function otptool: fix bitarray AttributeError readme: update readme and fix typo otp_info: update otp info tool: add info2sample tool otp_info: Add AST2600A3 otp config otp_info: update and add OTPSTRAP Reserved info otptool: fix otptool print otptool: make image also generate OTPCFG1 tool: add script to generate otp config schema setup: update version number Merge branch 'develop' Change-Id: Ie78aa2c0ddb18d823e1055a67c76967aa9762285 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-08-11meta-{aspeed,phosphor}: layer.conf: Override syntax cleanupAdriana Kobylak1-1/+1
LAYERVERSION should keep underscore instead of colon. Change-Id: I53b0af2fd8c756d09a11ee2c970910cdf7331738 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-08-11meta-aspeed: prep for new override syntaxPatrick Williams11-41/+41
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8135871ae0e3b360aff7d878f7cf04a2504f2dd0
2021-07-26linux-aspeed: Move to v5.10.53 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.51 through to 5.10.53 stable releases. Change-Id: I04eb2dafbac8405b08202c1dc14e50347155f8c6 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-26linux-aspeed: FSI fixesJoel Stanley1-1/+1
Eddie James (4): spi: fsi: Reduce max transfer size to 8 bytes dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible fsi: occ: Force sequence numbering per OCC hwmon: (occ) Remove sequence numbering and checksum calculation Guenter Roeck (1): hwmon: replace snprintf in show functions with sysfs_emit Joel Stanley (1): hwmon: (occ) Fix p10 temperature sensor type Change-Id: Ie98b83b5d31d7e68912bd88a57560dfec99946a3 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-19linux-aspeed: Move to v5.10.50 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.50 stable release. Change-Id: Ieeed859d83b6807409ad123895fb45b9bc905da5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-16linux-aspeed: Everest MMC phase, Inspur NF5280M6Joel Stanley1-1/+1
Andrew Jeffery (1): ARM: dts: everest: Add phase corrections for eMMC Ping Guo (1): ARM: dts: aspeed: Add Inspur NF5280M6 BMC machine Change-Id: I7f6f673fd571155e96b5138c653965c262300b87 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-13linux-aspeed: Disable IPV6 SIT deviceJoel Stanley3-0/+3
No one is using this device on OpenBMC systems, and there is no code to manage it in phosphor-networkd as of March 2021: > [...] if you don't add IPv6 addresses to the sit interface > it doesn't do anything. The defacto way to do that on an interface in > OpenBMC is to have it managed by phosphor-networkd. On top of this, to > support sit you would need a way to configure the local / remote IPv4 > addresses used to back it. You can configure the linux kernel to build > sit functionality but not create sit devices by default (I don't know > how they haven't changed this yet in default kconfigs...) and it will > still let you make them on the fly. Facebook and Google systems force this option off already: meta-facebook/meta-tiogapass/recipes-kernel/linux/linux-aspeed/tiogapass.cfg:CONFIG_IPV6_SIT=n meta-google/recipes-kernel/linux/files/gbmc.cfg:CONFIG_IPV6_SIT=n Change-Id: I9df02c761e82eeb2cca562bf68b9b755bc6feeb9 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-13linux-aspeed: Move to v5.10.49 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.47 through to 5.10.49 stable releases. Change-Id: I6d78d671405d87b70983b0e507abd0cd531b4aea Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-07-12linux-aspeed: KCS, I3C, ECHI, XMDA and FWH2AHBJoel Stanley1-1/+1
Andrew Jeffery (1): ARM: dts: tacoma: Clean up KCS nodes Dylan Hung (1): ARM: dts: aspeed-g6: Fix HVI3C pinctrl function-group Joel Stanley (5): ARM: dts: ast2600evb: Enable EHCI controller ARM: dts: aspeed: rainier: Enable earlycon soc: aspeed: Re-enable FWH2AHB on AST2600 soc: aspeed: Re-enable XDMA on AST2600 Change-Id: Iee20de1cd1e69bc6f583dfaecd0d7e7688d73419 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-28linux-aspeed: AST2600 eMMC fixesJoel Stanley1-1/+1
Andrew Jeffery (2): ARM: dts: tacoma: Add phase corrections for eMMC ARM: dts: everest: Add phase corrections for eMMC Change-Id: I24a1c0f0c6505f7bb16c437eea03edbb254fee93 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24u-boot-aspeed: MMC env and AST2600 SPI boot fixesJoel Stanley1-1/+1
Adriana Kobylak (1): configs: aspeed-common: Add redundant env for mmc Troy Lee (2): ast2600: spl: Fixes boot from RAM device ast2600: Provide u-boot FIT image boot from RAM offset Change-Id: I9fd8c76593d83d32504288a6405c2b4c41fdb381 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24linux-aspeed: Move to v5.10.46 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.44 through to 5.10.46 stable releases. Change-Id: I7e6c006628b4b6cb7242cf3a51de36742fa86e8c Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-24linux-aspeed: KCS raw, Everest PSU, Rainier PSU presenceJoel Stanley1-1/+1
Andrew Jeffery (7): ARM: dts: aspeed: rainier: Add eMMC clock phase compensation ipmi: kcs_bmc: Add a "raw" character device interface ARM: configs: Enable IPMI KCS raw chardev ARM: dts: p10bmc: Drop the openbmc, mctp-lpc node misc: Remove obsolete mctp-lpc chardev ARM: dts: aspeed: p10bmc: Switch to KCS 3 for MCTP binding ARM: dts: aspeed: p10bmc: Enable KCS channel 2 B. J. Wyman (2): ARM: dts: aspeed: Everest PSU #3 address change ARM: dts: aspeed: Rainier remove PSU gpio-keys Colin Ian King (1): ipmi: kcs_bmc_aspeed: Fix less than zero comparison of a unsigned int Joel Stanley (2): ARM: config: aspeed: Enable KCS adapter for raw SerIO ARM: dts: aspeed: Fix AST2600 machines line names Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Ib9c46a3693b8c04512004363501770e4bbd93432
2021-06-24meta-aspeed: linux: Enable raw KCS driverAndrew Jeffery3-0/+3
Change-Id: I844441c5e33eba55eb252ea445b75835bab2f735 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-22u-boot-aspeed: Add environment for booting from mmcJoel Stanley1-2/+2
This adds the u-boot environment to the u-boot binary. On the 2600 with mmc we currently rely on the default environment being populated in the image. This has the downside that if something corrupts the environment, the system won't know how to boot itself. This wasn't a problem for NOR based systems as the built in command knew how to boot the system (unless you were using a 'special' setup such as Witherspoon's UBI setup). The ast2600_openbmc_mmc.txt is copied from meta-aspeed/recipes-bsp/u-boot/files/u-boot-env-ast2600.txt. Adriana has indicated she will update openbmc to use the .txt from the u-boot tree to generate the filesystem image (or we could stop doing that, and simply use the default?). The environment processing step requires xxd on the build system. Joel Stanley (2): Makefile: Conditionally add defaultenv_h to envtools target ast2600: Add environment for booting from mmc Change-Id: I0381ac168285bade75115b7b415e18dd7fc8694e Signed-off-by: Joel Stanley <joel@jms.id.au>