summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
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-24Merge tag '0.57' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills12-52/+257
into update
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>
2021-06-21meta-aspeed: linux: Enable CONFIG_IPMI_KCS_BMC_CDEV_IPMILei YU3-0/+3
The CONFIG_IPMI_KCS_BMC_CDEV_IPMI is necessary for the new KCS driver refactor to create the ipmi-kcs devices. Tested: Verify on g220a that the ipmi-kcs3/4 devices are created and the inband IPMI via KCS works fine. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I2a1e7842f231fb4ee8284c194ed9cf28f668885e
2021-06-21AST2600: Update default env for multiple FIT configEddie James1-5/+7
Add environment variables to the AST2600 to boot a certain FIT configuration of the kernel based on the "fitconfig" environment variable. The boot command will fall back to the default FIT config in case all other boot attempts fail. Also fix the kernel boot arguments in the case that boot failure occurs. The boot sequence would be: - boota with fitconfig, if it fails: - boota without fitconfig, if it fails: - bootb with fitconfig, if it fails: - bootb without fitconfig Tested: Set fitconfig to a dummy variable, and also changed the bootm command to a dummy command to force a boot failure, and verified the sequence was as expected: ast# boot boota Error loading kernel FIT image with fitconfig rainier-dummy Unknown command 'bootm-dummy' - try 'help' Error loading kernel FIT image bootb Error loading kernel FIT image with fitconfig rainier-dummy Unknown command 'bootm-dummy' - try 'help' Error loading kernel FIT image Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Change-Id: I14cf935a707bdb95b0a6e4e607919ea0e027d18c
2021-06-17meta-aspeed: aspeed-g6: Enable KCS adapter for raw SerIOAndrew Jeffery1-1/+2
Raw SerIO is used by the debug-trigger application to take signals from the host that applications are unresponsive on the BMC for p10bmc systems. Change-Id: Ie5ee683c3b08ebe922f2c5a7b5bf52b1e18069f4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2021-06-17linux-aspeed: KCSJoel Stanley1-1/+1
Andrew Jeffery (16): ipmi: kcs_bmc_aspeed: Use of match data to extract KCS properties ipmi: kcs_bmc: Make status update atomic ipmi: kcs_bmc: Rename {read,write}_{status,data}() functions ipmi: kcs_bmc: Split out kcs_bmc_cdev_ipmi ipmi: kcs_bmc: Turn the driver data-structures inside-out ipmi: kcs_bmc: Split headers into device and client ipmi: kcs_bmc: Strip private client data from struct kcs_bmc ipmi: kcs_bmc: Decouple the IPMI chardev from the core ipmi: kcs_bmc: Allow clients to control KCS IRQ state ipmi: kcs_bmc: Enable IBF on open ipmi: kcs_bmc: Add serio adaptor dt-bindings: ipmi: Convert ASPEED KCS binding to schema dt-bindings: ipmi: Add optional SerIRQ property to ASPEED KCS devices ipmi: kcs_bmc_aspeed: Implement KCS SerIRQ configuration ipmi: kcs_bmc_aspeed: Fix IBFIE typo from datasheet ipmi: kcs_bmc_aspeed: Optionally apply status address Change-Id: If4267164d165c0ecb5039d55438d4a58926ecce3 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-17evb-ast2600: enabling u-boot-spl featureTroy Lee1-1/+2
Currently, machine evb-ast2600 frozed during u-boot booting. This patchset has been tested with AST2600-A1 and AST2600-A3 EVB: AST2600-A1: ``` U-Boot SPL 2019.04 (Jun 16 2021 - 05:59:38 +0000) already initialized, Trying to boot from RAM U-Boot 2019.04 (Jun 16 2021 - 05:59:38 +0000) SOC: AST2600-A1 RST: WDT1 SOC PCI RST: #2 LPC Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII Model: AST2600 EVB DRAM: already initialized, 1008 MiB (capacity:1024 MiB, VGA:16 MiB), ECC off MMC: sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0 Loading Environment from SPI Flash... SF: Detected w25q512jv with page size 256 Bytes, erase size 4 KiB, total 64 MiB OK In: serial@1e784000 ``` AST2600-A3: ``` BP0c00 U-Boot SPL 2019.04 (Jun 16 2021 - 05:59:38 +0000) already initialized, Trying to boot from RAM U-Boot 2019.04 (Jun 16 2021 - 05:59:38 +0000) SOC: AST2600-A3 RST: WDT1 SOC PCI RST: #2 eSPI Mode: SIO:Enable : SuperIO-2e Eth: MAC0: RGMII, MAC1: RGMII, MAC2: RGMII, MAC3: RGMII Model: AST2600 EVB DRAM: already initialized, 960 MiB (capacity:1024 MiB, VGA:64 MiB), ECC off MMC: sdhci_slot0@100: 1, sdhci_slot1@200: 2, emmc_slot0@100: 0 Loading Environment from SPI Flash... SF: Detected w25q512jv with page size 256 Bytes, erase size 4 KiB, total 64 MiB OK In: serial@1e784000 ``` Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Change-Id: I77ec3c2928ca96ee3f51290fd3435fca08bb058a
2021-06-11linux-aspeed: Move to v5.10.43 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.43 stable release. Change-Id: I80b2c7f29a96ca11e2d291957bd573c5c70310e9 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-10meta-aspeed: Enable hardened allocator featureJoel Stanley3-3/+3
SLAB_FREELIST_HARDENED can protect from freelist overwrite attacks with really small overhead. It works best with the SLUB allocator, so make SLUB the default by removing SLAB=y. total used free shared buff/cache available SLAB 425596 44065.3+/-220 311099+/-3800 14864+/-3900 70432+/-3700 352767+/-3900 SLUB 425592 44225.3+/-280 313275+/-600 12132+/-3.3 68092+/-530 355295+/-280 These figures are the average memory usage from three boots of each option in qemu, running the Romulus userspace. The output is from free(1), reported in kilobytes. Change-Id: I3c3ce67bc202dffbc3084382227f3dbc77f4cf85 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-09linux-aspeed: Everest LEDs, Rainier, EVB fixesJoel Stanley1-1/+1
Andrew Jeffery (1): mmc: sdhci-of-aspeed: Turn down a phase correction warning Eddie James (1): ARM: dts: aspeed: Rainier 1S4U: Fix fan nodes Steven Lee (1): ARM: dts: aspeed: ast2600evb: Actually add dts file for A1 and A0 Vishwanatha Subbanna (6): ARM: dts: aspeed: everest: Add system level indicator leds ARM: dts: aspeed: everest: Add nvme and fan indicator leds ARM: dts: aspeed: everest: Add pcie slot indicator leds ARM: dts: aspeed: everest: Add dimm indicator leds ARM: dts: aspeed: everest: Add vrm and other indicator leds ARM: dts: aspeed: everest: Add pcie cable card indicator leds Change-Id: Ibdbc319fcc3490d9bae1e3845f1410150662bd4d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-07linux-aspeed: Backports of MMC, FSI, DTSJoel Stanley1-1/+1
These changes have been merged to mainline since v5.10 was released, including patches that are queued for v5.14. There are enhancements and bug fixes for FSI, clock phase compensation for MMC to enable HS200 mode, and device tree backports for Mt Jade and the IBM P10 systems. Andrew Jeffery (5): mmc: core: Add helper for parsing clock phase properties mmc: sdhci-of-aspeed: Expose clock phase controls mmc: sdhci-of-aspeed: Add AST2600 bus clock support mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations mmc: sdhci-of-aspeed: Fix kunit-related build error Colin Ian King (1): fsi: core: Fix return of error values on failures Eddie James (3): fsi: scom: Reset the FSI2PIB engine for any error fsi: Aspeed: Reduce poll timeout ARM: dts: aspeed: Rainier 4U: Remove fan updates Jisheng Zhang (1): mmc: sdhci: replace mmc->parent with mmc_dev() for consistency Joel Stanley (4): fsi: aspeed: Emit fewer barriers in opb operations fsi: scom: Remove retries ARM: dts: aspeed: Set earlycon boot argument ARM: dts: aspeed-g5: Add SCU phandle to GFX node Quan Nguyen (3): ARM: dts: aspeed: mtjade: Enable OCP card support via NC-SI ARM: dts: aspeed: mtjade: Add PSU support ARM: dts: aspeed: mtjade: switch to 64MB flash layout Santosh Puranik (1): ARM: dts: aspeed: Everest: Fix cable card PCA chips Souptick Joarder (1): pinctrl: aspeed: Fix minor documentation error Steven Lee (6): pinctrl: pinctrl-aspeed-g6: Add sgpio pinctrl settings mmc: sdhci-of-aspeed: Configure the SDHCIs as specified by the devicetree. ARM: dts: aspeed: ast2600evb: Add sdhci node and gpio regulator for A2 evb. ARM: dts: aspeed: ast2600evb: Add phase correction for emmc controller. ARM: dts: aspeed: ast2600evb: Add dts file for A1 and A0 ARM: dts: aspeed-g6: Add pinctrl settings Troy Lee (1): ARM: dts: aspeed: Grow u-boot partition 64MiB OpenBMC flash layout Vishwanatha Subbanna (1): ARM: dts: aspeed: Everest: Add directly controlled LEDs Yangtao Li (1): fsi: aspeed: convert to devm_platform_ioremap_resource Zhen Lei (1): fsi: master-ast-cf: Remove redundant error printing in fsi_master_acf_probe() Zou Wei (1): fsi: Add missing MODULE_DEVICE_TABLE Change-Id: I236f1b3f3d96c08b1237a0d9860786ebe25566fd Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-06-04linux-aspeed: Move to v5.10.42 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.40 through to 5.10.42 stable releases. This stable release inclues a fix for the VUART on AST2600: Andrew Jeffery (1): serial: 8250: Add UART_BUG_TXRACE workaround for Aspeed VUART Change-Id: I8249b9564e2839e6ff9b19fbc247700d3f44699f Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-26linux-aspeed: MCTP LPCJoel Stanley1-1/+1
Andrew Jeffery (1): mctp-lpc: Match register addresses to updated devicetree Change-Id: I40acb45d536d3dae36971671bc95f69ff3c254a7 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-25u-boot-aspeed: Move to SDK v00.04.00Joel Stanley1-1/+1
This rebases on the latest SDK release. Notably this release includes support for the A3 and disables debug backdoors in line with the defaults in the A3 silicon. Changes kept downstream from ASPEED's SDK in the OpenBMC branch: Eddie James (1): ARM: dts: Aspeed: Tacoma and Rainier: Add eMMC nodes and parameters Joel Stanley (15): board: ast2600: Disable eSPI early init by default dts: ast2600-evb: Enable FSI masters tools: Add script for generating recovery image configs: Add OpenBMC spl defconfig for AST2600 boards clk: ast2600: Add divisor settings for 100MHz PLL ram: ast2600: Enable device tree based DDR config ast2600: tacoma: Run DDR at 1333 ast2600: Allow selection of SPL boot devices ast2600: Modify SPL SRAM layout crypto: Add driver for Aspeed HACE ast2600: Enable HACE probing in SPL ast2600: Add HACE to device tree ast2600: spl: Add ASPEED_LOADERS option ast2600: spl: Support common boot loader features config: ast2600: Add config for SPL MMC boot with FIT signature verification Changes in the ASPEED SDK when moving from v00.03.03 include the branch of fixes that were backported for FIT support, plus the following changes from the ASPEED team: Bing-Hua Wang (3): configs: evb-ast2500-spl_defconfig: Use platform.S DDR init ast2500: spl: Skip SPI timing calibration ast2500: Fix VRAM size detection Chia-Wei Wang (2): ast2600: Disable backdoor to align A3 design ast2600: Enable UART Debug based on FWSPIMISO Chia-Wei, Wang (4): board: ast2600: Add eSPI early init sequence board: ast2600-intel: Add Intel EGS CRB support aspeed: ast2600: Fix incorrect chip revision ID board: ast2600: Enable eSPI early init by default Chin-Ting Kuo (4): sdhci: ast2600: HS200 support porting mmc: Enable SDMA feature when boot from eMMC uart: Fix UART1 route problem on A3 spi-nor: Porting MT25Q02G flash part Dylan Hung (18): cmd:aspeed: fix missing setting for the tx single packet cmd:aspeed: change broadcom id matching cmd:aspeed: add support of broadcom 54210/54213 test cmd:aspeed: refactor phy internal loopback cmd:aspeed: fix typo cmd:aspeed: remove redundant debug print cmd:aspeed: skip deselect package for I350 IOP issue cmd:aspeed: add NCSI_VERBOSE_TEST (default off) cmd:aspeed: add 100ms for phy ready cmd:aspeed: bug fixed of the length decoding of the dramtest arm:dts: revise ast2600 mac1/2 rgmii delay setting net:phy: add phy-mode support on broadcom 5461 series cmd:aspeed: add phy tx/rx delay control arguments cmd:aspeed: add bcm54615, rtl8211f and marvell88e15 delay setting cmd:aspeed: restore default page ram:aspeed: revise coding style ram:aspeed: refactor coding style arm:dts: revise rgmii tx/rx delay Fugang Duan (1): net: phy: realtek: add rx delay support for RTL8211F Jamin Lin (1): Add evb-ast2600-obmc-emmc-cot_defconfig config to support AST2600 emmc secure boot for OpenBMC Johnny Huang (6): otp: fix a1 program issue otp: fix otp cmd stuck otp: update version number to 1.0.2 otp: add AST2600A3 secure boot: fix public key exponent otp: update print otp image Ryan Chen (3): AST2600:platform.S for AST2600A3 fix for reset. it will apply for AST2600A1/A2/A3 ast2600:ddr: fix memory bandwidth issue sdram : ast2600 Troy Lee (2): config: ast2600: support OpenBMC boot from eMMC image config: ast2600-evb for openbmc boot command update chin-ting_kuo (1): Revert "mmc: Enable SDMA feature when boot from eMMC" The previous version of v2019.04-aspeed-openbmc is kept in the branch archive/v2019.04-aspeed-openbmc-3. Change-Id: Ie492bdbfaec32c3e3e0caf8d4fa1806fcd1febec Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-24Merge tag '0.52' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills2-3/+3
into update
2021-05-24linux-aspeed: Move to v5.10.39 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.37 through to 5.10.39 stable releases. Change-Id: I05c6ef8cea894db1357376bc3eeea91783c78ba1 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-19meta-aspeed: Add development key for socsec signKlaus Heinrich Kiwi3-0/+81
Add a development (insecure, also known as 'imprint') key to u-boot-aspeed-sdk that can be used through socsec for signing the SPL on ASPEED AST2600 devices. The keypair was generated according to socsec's documentation, using: $ openssl genrsa -out rsa_oem_dss_key.pem 4096 $ openssl rsa -in rsa_oem_dss_key.pem -pubout \ -out rsa_pub_oem_dss_key.pem Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: I9c03ed9603d7362e033862dd1e5138ba7164f13d
2021-05-19meta-aspeed: Add socsec SPL signing for AST2600Klaus Heinrich Kiwi2-0/+67
Add the necessary build infrastructure to allow ASPEED AST2600 devices to use socsec to sign the U-boot SPL, allowing Aspeed's Verified Boot to validate it. Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: I7b38a59596819982f0a222812fcc64dfb91e104f
2021-05-19meta-aspeed: Add development key for Kernel signKlaus Heinrich Kiwi3-1/+100
Add a development (insecure, also known as 'imprint') key to linux-aspeed that can be used for signing the Kernel fitImage for U-Boot FIT Signature Verification. The key was generated according to U-Boot documentation, using: $ openssl genpkey -algorithm RSA -out rsa_oem_fitimage_key.key \ -pkeyopt rsa_keygen_bits:4096 -pkeyopt rsa_keygen_pubexp:65537 The certificate was created according to U-Boot documentation, using: $ openssl req -batch -new -x509 -key rsa_oem_fitimage_key.key \ -out rsa_oem_fitimage_key.crt Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: Ic67024ab389c8a4a3fc6709e1d7d92dc72783ca5
2021-05-19meta-aspeed: Move definitions from u-boot-aspeedKlaus Heinrich Kiwi1-42/+0
Commit '3b8a17c1d7 poky: subtree update:7d0988966c..1203d1f24d' pulls a change from openembedded-core ('cc6c3e3152 u-boot: Move definitions to common locations') that moves some definitions from u-boot.inc to other places. As u-boot-aspeed and u-boot-aspeed-sdk recipes in the meta-aspeed layer have their own version of this file (u-boot-aspeed.inc), apply the same changes that were applied to openembedded-core, which is where those recipes were based on initially, to keep them consistent and allow the use of functionality that was introduced as part of that series as well (i.e., '5af4dfe83c u-boot: Add infrastructure to SPL verified boot' on the openembedded-core tree). Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> Change-Id: If9fd1eebf988d341ed1e3adc46276daa56598cba
2021-05-18linux-aspeed: Move to v5.10.36 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.31 through to 5.10.36 stable releases. Change-Id: Ic1f4aa968c2980d27509d76f7129039dc7645fe5 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-05-12linux-aspeed: GFX and GCC 11 backportsJoel Stanley1-1/+1
Arnd Bergmann (1): security: commoncap: fix -Wstringop-overread warning Joel Stanley (2): drm/aspeed: Look up syscon by phandle drm/aspeed: Use dt matching for default register values Change-Id: I5e037831ea1cf47ad0eee63b07b9765dac16ee0a Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-29Replace IRC with DiscordBruce Mitchell1-4/+4
Discord has more users. IRC traffic has ground to a halt. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: I3eeacc4db49fd984e51977e3f19709b01a16760c
2021-04-29Replace IRC with DiscordBruce Mitchell1-2/+2
Discord has more users. IRC traffic has ground to a halt. Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com> Change-Id: Id05add33dec77dae51da91b314babc74bf51c685
2021-04-29u-boot-aspeed: Update to SDK v00.03.03 and HACE supportJoel Stanley1-1/+1
This updates the OpenBMC u-boot tree to use ASPEED's latest SDK, and adds support for FIT verification including use of the HACE to perform SHA calculations on the ast2600. The changes come in three categories; fixes backported and sent to ASPEED for merging in a future SDK release, patches carried that are specific to OpenBMC, and the new FIT and HACE support. Note that this does not remove the legacy image support from the SPL, so there is no dependency on the changes to load u-boot as a FIT. Fixes backported from upstream and set to ASPEED: Harald Seiler (1): common: hash: Remove a debug printf statement Heinrich Schuchardt (2): fit: check return value of fit_image_get_data_size() image-fit: fit_check_format check for valid FDT Jean-Jacques Hiblot (1): spl: fit: don't load the firmware twice Joel Stanley (4): hw_sha: Fix coding style errors hash: Allow for SHA512 hardware implementations net/ncsi: Remove debugging fit: Use hash.c to call SHA code Patrick Doyle (1): rsa: reject images with unknown padding Reuben Dowle (1): Add support for SHA384 and SHA512 Simon Glass (3): image: Be a little more verbose when checking signatures image: Return an error message from fit_config_verify_sig() image: Check hash-nodes when checking configurations Patches carried in the OpenBMC fork: Eddie James (3): ARM: dts: Aspeed: Tacoma and Rainier: Add eMMC nodes and parameters arch: ARM: Aspeed: Add SPL eMMC partition boot support configs: Add AST2600 SPL eMMC configuration Joel Stanley (11): dts: ast2600-evb: Enable FSI masters tools: Add script for generating recovery image configs: Add OpenBMC spl defconfig for AST2600 boards clk: ast2600: Add divisor settings for 100MHz PLL ram: ast2600: Enable device tree based DDR config ast2600: tacoma: Run DDR at 1333 ast2600: Allow selection of SPL boot devices config: ast2600: Reduce SPL image size ast2600: Modify SPL SRAM layout config: ast2600: Enable FIT signature verification clk: aspeed: Add HACE yclk to ast2600 Features added for FIT verification and HACE support: Joel Stanley (10): configs/ast2600: Make early malloc pool larger crypto: Add driver for Aspeed HACE ast2600: Enable HACE probing in SPL ast2600: Add HACE to device tree ast2600: spl: Add ASPEED_LOADERS option ast2600: spl: Support common boot loader features config: ast2600: Configure common MMC SPL loader configs: ast2600: Enable FIT SHA512 support ast2600: Configure u-boot load size configs: ast2600: Use non-a1 config for openbmc spl emmc Change-Id: I4e5a1adb6e2bf17823b042c31b151bfdad9d3175 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-28linux-aspeed: Backport v5.13 patches for dts, lpc, spiJoel Stanley1-1/+1
The following changes were merged to mainline in v5.13 and have been backported to the openbmc dev-5.10 tree. Most are device tree changes, with one fix to the SPI layer and some changes to the LPC devices to match the new device tree. Alpana Kumari (2): ARM: dts: aspeed: rainier: Add presence GPIOs ARM: dts: aspeed: everest: GPIOs support Brandon Wyman (1): ARM: dts: aspeed: everest: Add power supply i2c devices Chia-Wei, Wang (5): dt-bindings: aspeed-lpc: Remove LPC partitioning ARM: dts: Remove LPC BMC and Host partitions ipmi: kcs: aspeed: Adapt to new LPC DTS layout pinctrl: aspeed-g5: Adapt to new LPC device tree layout soc: aspeed: Adapt to new LPC device tree layout Eddie James (9): ARM: dts: aspeed: rainier: Enable fan watchdog ARM: dts: aspeed: rainier 4U: Fix fan configuration ARM: dts: aspeed: everest: Add FSI CFAMs and re-number engines ARM: dts: aspeed: everest: Add RTC ARM: dts: aspeed: everest: Enable fan watchdog ARM: dts: aspeed: Add Rainier 1S4U machine ARM: dts: aspeed: Rainier: Fix PCA9552 on bus 8 ARM: dts: aspeed: Rainier: Fix humidity sensor bus address ARM: dts: aspeed: Rainier: Update to pass 2 hardware Jim Wright (1): ARM: dts: aspeed: everest: Add UCD90320 power sequencer Joel Stanley (2): ARM: dts: aspeed: rainier: Add missing fan nodes ARM: dts: aspeed: everest: Add size/address cells Konstantin Aladyshev (1): ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses Matthew Barth (2): ARM: dts: aspeed: everest: Add max31785 fan controller device ARM: dts: aspeed: everest: Add pca9552 fan presence Paul Fertser (1): ARM: dts: aspeed: tiogapass: add hotplug controller Priyanga Ramasamy (1): ARM: dts: aspeed: everest: Add I2C components William A. Kennington III (1): spi: Fix use-after-free with devm_spi_alloc_* Change-Id: Ia5425c9cea3fe025f84e93f688ecd8ffec75ad01 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-19Merge tag '0.45' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills3-2/+28
into update
2021-04-16linux-aspeed: Move to v5.10.30 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.28 through to 5.10.30 stable releases. Milton Miller (1): net/ncsi: Avoid channel_monitor hrtimer deadlock Change-Id: I072b81523e0d337988e8f62bbea3ba9e1ea3f066 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-13linux-aspeed: Move to v5.10.27 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.10.24 through to 5.10.27 stable releases. Change-Id: I6f20c70e5d9fd4a88d2b8991196cafd08308ef8d Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-07linux-aspeed: USB gadget, SBTSI, OCCJoel Stanley1-1/+1
Eddie James (4): fsi: occ: Don't accept response from un-initialized OCC fsi: occ: Log error for checksum failure hwmon: (occ) Start sequence number at one hwmon: (occ) Print response status in first poll error message Joel Stanley (2): ARM: dts: aspeed: Fixes for ASRock E3C246D4I ARM: config: aspeed_g5: Add SBTSI sensor Kun Yi (3): hwmon: (sbtsi) Add basic support for SB-TSI sensors hwmon: (sbtsi) Add documentation dt-bindings: (hwmon/sbtsi_tmep) Add SB-TSI hwmon driver bindings Tao Ren (1): usb: gadget: aspeed: fix dma map failure Change-Id: Ie9a007649087620c3aee2ea039a1fbec995a159f Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-04-06hardknott: yocto releaseAndrew Geissler1-1/+1
Latest upstream yocto has moved on to the 3.3 hardknott release Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
2021-03-31linux-aspeed: mihawk gpio line names, ASRock E3C246D4IJoel Stanley1-1/+1
Nichole Wang (1): ARM: dts: aspeed: mihawk: Add GPIO line names Zev Weiss (1): ARM: dts: aspeed: add ASRock E3C246D4I BMC Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I3761b9664572605b4bbba894dd4cf949f635ead8
2021-03-31linux-aspeed: jffs2, spi-fsiJoel Stanley1-1/+1
This fixes a bug in jffs2 and overlayfs that was introduced in v5.9 and is present in the dev-5.10 kernel. Eddie James (1): spi: fsi: Remove multiple sequenced ops for restricted chips Joel Stanley (1): jffs2: Hook up splice_write callback Change-Id: Icc3f325c8e6a7bc31bb5c09bf8674bc9b590379a Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-26Merge tag '0.43' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills2-4/+4
into update
2021-03-12linux-aspeed: Move to v5.10.23 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.8.21, 5.8.22 and 5.10.23 stable releases. Change-Id: I770c5e31a18c23406cd18fddcd0b3a2cad52d71a Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-12linux-aspeed: pmbus, ibm-cffps, rainier and tacomaJoel Stanley1-1/+1
Bartosz Golaszewski (1): hwmon: (pmbus) shrink code and remove pmbus_do_remove() Brandon Wyman (1): ARM: dts: aspeed: rainier: Add gpio-keys-polled for fans Eddie James (4): hwmon: (pmbus) Add a PMBUS_NO_CAPABILITY platform data flag hwmon: (pmbus/ibm-cffps) Set the PMBUS_NO_CAPABILITY flag ARM: dts: aspeed: rainier: Add additional processor CFAMs ARM: dts: aspeed: tacoma: Remove CFAM reset GPIO Joel Stanley (1): ARM: dts: aspeed: rainier: Mark controllers as restricted Vishwanatha Subbanna (1): ARM: dts: aspeed: rainier: Add directly controlled LEDs Change-Id: Ie6ef7f9e6b80c71b25cd1b977acea27a14cf2201 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-09linux-aspeed: socinfo updatesJoel Stanley1-1/+1
Dan Carpenter (1): soc: aspeed: Fix a reference leak in aspeed_socinfo_init() Joel Stanley (1): soc: aspeed: socinfo: Add new systems Change-Id: I7262d5f2b61ad20814f5af511f0e4064adcb23d2 Signed-off-by: Joel Stanley <joel@jms.id.au>
2021-03-09linux-aspeed: Move to v5.10.20 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.8.15 through to 5.10.20 stable releases. Of note are the following fixes. In particular, thank you to John Wang from Bytedance for identifying the LPC snoop clock fix that Intel had in their fork of the kernel tree, submitting it to mainline, and now it appears in the backport for everyone to benefit from. Jae Hyun Yoo (1): soc: aspeed: snoop: Add clock control logic John Wang (1): ARM: dts: aspeed: Add LCLK to lpc-snoop Ryan Chen (1): clk: aspeed: Fix APLL calculate formula from ast2600-A2 Zhang Changzhong (1): media: aspeed: fix error return code in aspeed_video_setup_video() kernel test robot (1): usb: gadget: aspeed: add missing of_node_put Change-Id: Ib2070b48d93847b4e007e66203393925bb05188a Signed-off-by: Joel Stanley <joel@jms.id.au>