summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2022-05-19u-boot-aspeed: FTGMAC100 error message fixJoel Stanley1-1/+1
Zev Weiss (1): ftgmac100: Use bus name in mdio error messages Change-Id: Id63c80c5b4b95d8be6a50eec8bd67d22fc184bf7 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-19linux-aspeed: Move to v5.15.41 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.37 through to 5.15.41 stable releases. Change-Id: I71a4d8a46d18658311dc45fba02ffbeaf8069c0c Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-13u-boot-aspeed: Delta AHE-50DC and RGMIIJoel Stanley1-1/+1
Zev Weiss (3): aspeed: Fix typos in platform.h comments pinctrl: ast2400: add support for RGMII1 and RGMII2 ARM: dts: aspeed: add Delta AHE-50DC BMC Change-Id: I32f2d4dd7cfb7575579ea6089f54b57a8e7161e2 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-10u-boot-aspeed: Disable backdoor interfacesJoel Stanley1-1/+1
This is a version of the CVE-2019-6260 "pantsdown" mitigations for the v2019.04 u-boot branch. The SuperIO and debug UART backdoors can be optionally enabled through u-boot build time configuration, but default to disabled as long as your machine uses the common board_init. These changes are relevant for the AST2400 and the AST2500 only. If your machine relies on these features to boot, look at the options in this patch: https://lore.kernel.org/openbmc/20220504004739.15829-1-zev@bewilderbeest.net/ See this email for instructions on how to test: https://lore.kernel.org/openbmc/CACPK8XfYuWT9Q5G_bo9AGugx-DcODDZ8xb39Sr+Sa8qWqVeW6A@mail.gmail.com/ Thank you to Zev for the work on this patch. Zev Weiss (1): aspeed: Disable backdoor interfaces Change-Id: I4ebeae13047b8c32f2d9324d4ef9c6f98c6f4a60 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-03linux-aspeed: New SPI flash controller driverJoel Stanley1-1/+1
This is v6 of the patchset to move to a spi-mem based driver. It replaces the half out of tree driver previously used, and contains support for the AST2400, AST2500 and AST2600. https://lore.kernel.org/linux-mtd/20220503060634.122722-1-clg@kaod.org/ Thank you to Cédric for his hard work maintaining the SPI NOR driver and reworking it to be a SPI mem driver. Cédric Le Goater (9): ARM: dts: aspeed: Adjust "reg" property of FMC/SPI controllers dt-bindings: spi: Add Aspeed SMC controllers device tree binding spi: spi-mem: Convert Aspeed SMC driver to spi-mem spi: aspeed: Add support for direct mapping spi: aspeed: Adjust direct mapping to device size spi: aspeed: Workaround AST2500 limitations spi: aspeed: Add support for the AST2400 SPI controller spi: aspeed: Calibrate read timings ARM: dts: aspeed: Enable Dual SPI RX transfers Potin Lai (1): mtd: spi-nor: aspeed: set the decoding size to at least 2MB for AST2600 Tao Ren (1): ARM: dts: aspeed-g4: Set spi-max-frequency for all flashes Change-Id: Ia1bb25a455c0c6f0d8e92ff3241d60bd234a1fa2 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-02meta-aspeed: Consolidate u-boot fw_env configurationJoel Stanley4-11/+3
The 32MB and 64MB NOR environments are the same configuration, so use the one file. The AST2600 NOR layout is the same size as the others so it can use the same file too. Change-Id: I6ee3fbf0d68104bcc684c2536fe85c5aec76c409 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-05-02meta-aspeed: Correct the offset to load kernelHoward Chiu5-1/+12
OpenBMC places kernel at offset 512 if the flash size is 32MB, but it was defined as 1024 in the present defconfig. This patch corrects the offset if the flash size is set to 32MB. Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com> Change-Id: I05749eda519cc1660921e111a36be74cb121fa68
2022-04-30treewide: fix GPLv2/LGPLv2.1 obsolete-license warningsPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I746b04e1e36abaf2ff3852beb8a04535692442c1
2022-04-28linux-aspeed: Move to v5.15.36 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.35 and 5.15.36 stable releases. Change-Id: Id8b0000cbac05c97d94157e70241f999966ced53 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-27linux-aspeed: OCC, Everest and Rainier power-ffs-sync-historyJoel Stanley1-1/+1
Brandon Wyman (1): ARM: dts: aspeed: everest, rainier: Add power-ffs-sync-history GPIO Eddie James (2): fsi: occ: Fix checksum failure mode hwmon (occ): Retry for checksum failure Change-Id: I1cfd517554888c6fa73c4cb589451a169061dabc Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-22meta-aspeed/socsec update socsec tool to 1.0.3 versionJamin Lin2-4/+4
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: Iabba6e2d3f2c4e19af821b22164681f1d69a2501
2022-04-21treewide: fix GPLv2+ obsolete-license warningsPatrick Williams2-2/+2
The LICENSE string 'GPLv2+' is considered obsolete by Yocto and raises a warning. Switch them too the accepted tag 'GPL-2.0-or-later'. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I88c639dbb45762e2e019a3503f1f1930b65c09d6
2022-04-19linux-aspeed: AST2600 MDIO resetJoel Stanley1-1/+1
Dylan Hung (3): dt-bindings: net: add reset property for aspeed, ast2600-mdio binding net: mdio: add reset control for Aspeed MDIO ARM: dts: aspeed: add reset properties into MDIO nodes Change-Id: If2505bcc6e0baf5465dfbaae1cff947399a5411d Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-18u-boot-aspeed: Update to SDK v00.04.10Joel Stanley1-1/+1
THe diff between the old commit and this one is below. This includes new changes from the SDK, and the existing patches rebased on top of the new SDK release. Adriana Kobylak (1): configs: aspeed-common: Add redundant env for mmc Chia-Wei Wang (1): configs: evb-ast2600-spl: Remove U-Boot MMC raw sector Chin-Ting Kuo (5): spi_nor: aspeed: Update SPI driver spi: apseed: Update timing compensation calculation method dts: ast2600: Update decoded address size spi: aspeed: Fix resource size calculation method dts: aspeed: Sync the real scenario of AST2600 EVB Dylan Hung (8): ram: aspeed: remove incorrect Vref information ram: aspeed: remove dead code and refine comment ram: aspeed: revise tRFI configuration ram: aspeed: fix incorrect printf ram: aspeed: revise coding style cmd: aspeed: nettest: add RTL8211F(D)-VD-CG support net: phy: realtek: Add RTL8211F-VD driver support clk: ast2600: fix ast2600_find_dly32_tap return value Eddie James (5): gpio: Enable hogging support in SPL ast2600: Add GPIO controller and hog TPM reset pin ARM: dts: aspeed: tacoma: Add eMMC nodes and parameters ARM: dts: aspeed: rainier: Add eMMC nodes and parameters Add GPIO hogging support for AST2600 openbmc config George Hung (1): ARM: dts: aspeed: add Quanta S6Q machine dts Heiko Schocher (2): gpio: add gpio-hog support gpio: fixes for gpio-hog support Jamin Lin (1): fix compiling warnings for AST2600 A1 SPL Jammy Huang (1): misc: dp: Update fw Jean-Jacques Hiblot (1): dm: Add a No-op uclass Joel Stanley (15): Makefile: Conditionally add defaultenv_h to envtools target ast2600: spl: Fix build when accelerators are disabled ARM: dts: rainier: Enable ACRY and HACE ARM: dts: tacoma: Enable ACRY and HACE aspeed: Disable unused loaders, add STMICRO flash aspeed: Sort dts files in makefile as2600/scu: Fix printing of security info ast2600: spl: Implement board_boot_order configs: Add OpenBMC spl defconfig for AST2600 boards ast2600: Allow selection of SPL boot devices config: ast2600: Add config for SPL MMC boot with FIT signature verification ast2600: Add environment for booting from mmc ast2600/openbmc: Use emmc based configuration crypto: Restore old driver for Aspeed HACE ARM: dts: aspeed: Disable ACRY for rainier and tacoma Neal Liu (3): crypto: aspeed: combine acry drivers into a file arm: dts: ast2600: add acry sram base crypto: aspeed: acry: add private allocated space for device Peng Fan (1): tools: imx image: fix write warning Potin Lai (1): ARM: dts: Aspeed: Add Bletchley dts Troy Lee (2): ARM: aspeed: Disable ABR WDT when boot from UART with secure boot configs: aspeed: Increase SPL stack size Zev Weiss (1): pinctrl: ast2400: add support for TXD3/RXD3 pins ryan_chen (3): rename pcie driver for aspeed phy and pcie controller ast2600:bclk is come from epll. it will update in datasheet platform.S:ast2600: modify for only reset at AC on Change-Id: I52b1be9474461e18dd26fd08472c2824485c1c09 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-18linux-aspeed: PCA955x blink, adm1275 averaging, XDMA trace eventsJoel Stanley1-1/+1
Eddie James (5): leds: pca955x: Refactor with helper functions and renaming leds: pca955x: Use pointers to driver data rather than I2C client leds: pca955x: Optimize probe led selection leds: pca955x: Add HW blink support soc: aspeed: xdma: Add trace events Potin Lai (3): hwmon: (adm1275) Allow setting sample averaging dt-bindings: hwmon: Add sample averaging properties for ADM1275 ARM: dts: aspeed: bletchley: add sample averaging for ADM1278 Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I6853e3ffe36ed50161c336cd396edfdf7238fa0c Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-15linux-aspeed: Move to v5.15.30 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.31 through to 5.15.34 stable releases. Change-Id: Ic4224311d30cd60617734a93746cf8eff49c6bea Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-14linux-aspeed: Rainier SPI NOR, AST2600 MII c45Joel Stanley1-1/+1
Joel Stanley (1): ARM: dts: aspeed: rainier: Remove SPI NOR controllers Potin Lai (3): net: mdio: aspeed: move reg accessing part into separate functions net: mdio: aspeed: Introduce read write function for c22 and c45 net: mdio: aspeed: Add c45 support Change-Id: I599c02fecff4ad639aeb17164a7b0aa8516f8c91 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-04-04linux-aspeed: Add ROMED8HM3, AST2600 SPI NOR fixesJoel Stanley1-1/+1
Jae Hyun Yoo (5): ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group dt-bindings: pinctrl: aspeed-g6: add FWQSPI function/group ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group Johnny Huang (2): pinctrl: pinctrl-aspeed-g6: add FWQSPI function-group ARM: dts: aspeed-g6: add FWQSPI group in pinctrl dtsi Potin Lai (1): mtd: spi-nor: aspeed: Set the decoding size to at least 2MB for AST2600 Zev Weiss (1): ARM: dts: aspeed: Add ASRock ROMED8HM3 BMC Change-Id: I648e798dc8c8392509c1cc6fc14b5e02ec7c6d19 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-23linux-aspeed: Move to v5.15.30 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.27 through to 5.15.30 stable releases. Change-Id: I36b40ac0203ba4182b7cac200088a366b6104037 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-22u-boot-aspeed: Buffer overflow, compiler warning fixesJoel Stanley1-1/+1
Jamin Lin (1): ast2600: Fix compile warnings for AST2600 A1 SPL Joel Stanley (1): as2600/scu: Fix printing of security info Change-Id: I4f2ee7cf8a95721e49f7e98bcc87407d5b87c766 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-21linux-aspeed: Fixes for SPI FSI, Pmbus, EVB Ethernet, USB gadgetJoel Stanley1-1/+1
Brandon Wyman (1): hwmon: (pmbus) Add Vin unit off handling Eddie James (1): spi: fsi: Implement a timeout for polling status Howard Chiu (1): ARM: dts: aspeed: ast2600-evb: Enable RX delay on MAC0/MAC1 Roger Quadros (1): usb: gadget: f_mass_storage: Make CD-ROM emulation work with Mac OS-X Vikash Chandola (1): hwmon: (pmbus) Clear pmbus fault/warning bits after read Change-Id: Id4276becc2e563b67a04948177a797d193d8854f Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-18linux-aspeed: MCTP core and driversJoel Stanley1-1/+1
Backport of the MCTP core and drivers from mainline provided by Jeremy and Matt. Eugene Syromiatnikov (1): mctp: handle the struct sockaddr_mctp_ext padding field Gagan Kumar (1): mctp: Remove only static neighbour on RTM_DELNEIGH Jeremy Kerr (29): mctp: Allow local delivery to the null EID mctp: locking, lifetime and validity changes for sk_keys mctp: Add refcounts to mctp_dev mctp: Implement a timeout for tags mctp: Add tracepoints for tag/key handling mctp: Do inits as a subsys_initcall doc/mctp: Add a little detail about kernel internals mctp: Add initial test structure and fragmentation test mctp: Add test utils mctp: Add packet rx tests mctp: Add route input to socket tests mctp: Add input reassembly tests mctp: Implement extended addressing mctp: Return new key from mctp_alloc_local_tag mctp: Add flow extension to skb mctp: Pass flow data & flow release events to drivers mctp/test: Update refcount checking in route fragment tests mctp: Add MCTP-over-serial transport binding mctp: serial: cancel tx work on ldisc close mctp: serial: enforce fixed MTU mctp: serial: remove unnecessary ldisc data check mctp: test: fix skb free in test device tx mctp: tests: Rename FL_T macro to FL_TO mctp: tests: Add key state tests mctp: Add helper for address match checking mctp: Allow keys matching any local address mctp: replace mctp_address_ok with more fine-grained helpers mctp: add address validity checking for packet receive mctp: serial: Cancel pending work from ndo_uninit handler Joel Stanley (1): ARM: configs: aspeed_g5: Enable MCTP stack Matt Johnston (15): mctp: Allow MCTP on tun devices mctp: Set route MTU via netlink mctp: Warn if pointer is set for a wrong dev type mctp: Avoid leak of mctp_sk_key mctp: emit RTM_NEWADDR and RTM_DELADDR mctp: test: zero out sockaddr mctp: Add SIOCMCTP{ALLOC,DROP}TAG ioctls for tag control mctp: make __mctp_dev_get() take a refcount hold mctp: Fix incorrect netdev unref for extended addr mctp: Fix warnings reported by clang-analyzer mctp: Avoid warning if unregister notifies twice dt-bindings: net: New binding mctp-i2c-controller mctp i2c: MCTP I2C binding driver mctp i2c: Fix potential use-after-free mctp i2c: Fix hard head TX bounds length check Tom Rix (1): mctp: fix use after free Xu Wang (1): mctp: Remove redundant if statements Yang Yingliang (1): mctp: remove unnecessary check before calling kfree_skb() Change-Id: I99c4bd0eb9725116052d112f731864add8e2117b Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-17linux-aspeed: AST2600 GFX, Video, SBC updateJoel Stanley1-1/+1
Joel Stanley (4): ARM: aspeed: Add debugfs directory ARM: soc: aspeed: Update secure boot controller support ARM: dts: aspeed: Add GFX node to AST2600 ARM: dts: aspeed: ast2600-evb: Enable GFX device Tommy Haung (2): drm/aspeed: Update INTR_STS handling drm/aspeed: Add AST2600 chip support Wang Xiaohua (1): ARM: dts: aspeed-g6: Restore video node Change-Id: Ib4a7715ff1bb8b17bbd04d3eee7a43d70111ceee Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-10linux-aspeed: Move to v5.15.26 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.25 through to 5.15.26 stable releases. Notably it includes a fix for CVE-2022-0847, the "Dirty Pipe" vulnerability. Change-Id: I8fe3aabf8cf0bd6cf03f437a548b58f942c22b13 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-03-09linux-aspeed: AST2600 SPI, w25q01jviq, Secure Boot ControllerJoel Stanley1-1/+1
Joel Stanley (2): ARM: soc: aspeed: Add secure boot controller support ARM: dts: aspeed: Fix AST2600 quad spi group Potin Lai (1): mtd: spi-nor: winbond: Add support for w25q01jviq Change-Id: I1a13a975dec3e8afe312ff51f0961f963aee2336 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-26treewide: support yocto kirkstone releasePatrick Williams1-1/+1
* Deprecate N-1 release (hardknott). * Enable N+1 release (kirkstone). Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
2022-02-24linux-aspeed: p10bmc ftrace, OCC, p10bmc RTC battery GPIOJoel Stanley1-1/+1
Eddie James (5): ARM: dts: aspeed: p10bmc: Enable ftrace in ramoops buffer hwmon: (occ) Add sysfs entry for IPS (Idle Power Saver) status hwmon: (occ) Add sysfs entry for OCC mode hwmon: (occ) Add sysfs entries for additional extended status bits hwmon: (occ) Add soft minimum power cap attribute Joel Stanley (2): ARM: dts: aspeed: rainer: Add RTC battery gpio name ARM: dts: aspeed: everest: Add RTC battery gpio name Change-Id: Ifb6bc7a6c8ffe3e36edbaa5ce94014ddcdc51e90 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-24meta-aspeed: evb-ast2600 Disable socsec signingJamin Lin1-0/+9
Disable the hardware root-of-trust on AST2600 EVB. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: Iabf3bafb5db633de34731e041064318f8f56da5a
2022-02-22treewide: remove MAINTAINERSPatrick Williams1-49/+0
The MAINTAINERS files are no longer used and are out of date (references to IRC still exist in most of them). Remove them and rely on the OWNERS exclusively. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0f5d2719ad97e218ce03c4503efe1b1c92ac455e
2022-02-22meta-aspeed: linux-aspeed: fix SRC_URI to appendPatrick Williams1-1/+1
Modifications to the SRC_URI should be append rather than a set operation, so that they do not erase any changed to the SRC_URI that may have happened prior to the include file. Otherwise, it can ignore local patches being applied for testing, which can make for irate developers. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9bd95352fa30bd0e8dfd89404d2ac0dbb4d78a3a
2022-02-22linux-aspeed: FSI, OCC, XDMAJoel Stanley1-1/+1
Amitay Isaacs (2): fsi: sbefifo: Use specified value of start of response timeout fsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctl Cédric Le Goater (1): dt-bindings: soc: aspeed XDMA fixes Eddie James (2): fsi: occ: Improve response status checking fsi: Add trace events in initialization path Change-Id: Ia99942034191173fcd75f7eae183e2bd9fecc743 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-22u-boot-aspeed: Add Bletchley, SPL stack size increaseJoel Stanley1-1/+1
Joel Stanley (1): aspeed: Sort dts files in makefile Potin Lai (1): arm: dts: Aspeed: add Bletchley dts Troy Lee (1): configs: aspeed: Increase SPL stack size Change-Id: If64f45949bb1a26ac6c8fc04427cb7f24a5c5420 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-17linux-aspeed: Move to v5.15.24 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.19 through to 5.15.24 stable releases. Change-Id: I34150c6817f4487d2e95e37babf3221a4df15ae8 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-17linux-aspeed: Bletchley, S6Q, smc probe fixJoel Stanley1-1/+1
George Hung (1): ARM: dts: aspeed: Add device tree for Quanta S6Q BMC Patrick Williams (1): mtd: aspeed-smc: improve probe resilience Potin Lai (10): ARM: dts: aspeed: bletchley: Switch sled numbering to 1-based ARM: dts: aspeed: bletchley: Separate leds into multiple groups ARM: dts: aspeed: bletchley: Update gpio-line-names ARM: dts: aspeed: bletchley: Update fmc configurations ARM: dts: aspeed: bletchley: Switch to spi-gpio for spi2 ARM: dts: aspeed: bletchley: Add interrupt support for sled io expander ARM: dts: aspeed: bletchley: Add shunt-resistor for ADM1278 ARM: dts: aspeed: bletchley: Add INA230 sensor on each sled ARM: dts: aspeed: bletchley: Enable mdio3 bus ARM: dts: aspeed: bletchley: Cleanup redundant nodes Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I38a12f1566d82a7025e7c44bd4e2b68a815e5aa7
2022-02-17aspeed: evb-ast2600: Use unversioned device treeJoel Stanley1-1/+2
The EVB build is currently using the A1 device tree. Use the plain ast2600-evb.dts, as this represents the production silicon. Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: Icef427718958bf19ee75fec906cf0476f5d37138
2022-02-17aspeed: evb-ast2500: Use 2019.04-openbmc-aspeed u-boot branchJoel Stanley1-5/+2
The old 2016.09 branch is unmaintained. ASPEED have support for the 2500 in the SDK, so use that instead. Change-Id: Iece96616d24ac21028e91695e0c8ab86d9ade1a9 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-17u-boot-aspeed: AST2400/AST2500 configs, build warningJoel Stanley1-1/+1
Joel Stanley (1): aspeed: Disable unused loaders, add STMICRO flash Peng Fan (1): tools: imx image: fix write warning Change-Id: I12b8d4dead50bee2c9053efef0a485cb7fe0b179 Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-16u-boot-aspeed: Move to v00.04.09 SDKJoel Stanley1-1/+1
This moves to the latest ASPEED SDK release. In addition we have backports of gpio-hog support added, in order to implement a feature for the Rainier system. The old branch is archived as archive/v2019.04-aspeed-openbmc-4. The patches on top of the SDK are: Adriana Kobylak (1): configs: aspeed-common: Add redundant env for mmc Eddie James (5): ARM: dts: aspeed: tacoma: Add eMMC nodes and parameters ARM: dts: aspeed: rainier: Add eMMC nodes and parameters gpio: Enable hogging support in SPL Add GPIO hogging support for AST2600 openbmc config ast2600: Add GPIO controller and hog TPM reset pin Heiko Schocher (2): gpio: add gpio-hog support gpio: fixes for gpio-hog support Jean-Jacques Hiblot (1): dm: Add a No-op uclass Joel Stanley (13): tools: Add script for generating recovery image Makefile: Conditionally add defaultenv_h to envtools target ast2600: spl: Fix build when accelerators are disabled ARM: dts: rainier: Enable ACRY and HACE ARM: dts: tacoma: Enable ACRY and HACE ast2600: spl: Implement board_boot_order configs: Add OpenBMC spl defconfig for AST2600 boards ast2600: Allow selection of SPL boot devices config: ast2600: Add config for SPL MMC boot with FIT signature verification ast2600: Add environment for booting from mmc ast2600/openbmc: Use emmc based configuration crypto: Restore old driver for Aspeed HACE ARM: dts: aspeed: Disable ACRY for rainier and tacoma Zev Weiss (1): pinctrl: ast2400: add support for TXD3/RXD3 pins Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I3cfb7a6bb39c2c2fb2aa53c8f911a6224d33fd87
2022-02-16meta-aspeed: otp: create otp imageJamin Lin3-0/+71
1. Add otptool.bbclass to create otp image. 2. Update u-boot recipe to "inherit otptool.bbclass" for otp image creation in the u-boot tasks. 3. Update socsec tool for SPL and OTP image verification if verify failed u-boot should be built failed. 4. Use OE logging utilities. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: I0ba5da4d112b49d182bdf2751614afe62850eac3
2022-02-15meta-aspeed: Fix up github SRC_URIsGeorge Liu1-1/+1
Warning message: work/openbmc/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb: URL: git://github.com/openbmc/linux;protocol=git;branch=dev-5.15 uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. Tested: build linux-aspeed repo and eliminate the warning message. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I00d55df9dd760a1cdef2f6b0db934c9a2cc8b7fa
2022-02-15meta-aspeed: Add reviewers for u-bootJoel Stanley1-0/+6
Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: If2b06db8d5ca3f07ff03b0c397e8476ec28587b1
2022-02-02meta-aspeed: use OE shell variable styleBrad Bishop1-4/+4
OE convention (see OE-Core rev: f44bb4588) is for bitbake variables to use braces and ordinary shell variables to not use braces. Change-Id: I640076712f58d971b173849844215a64565a1d51 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2022-02-02meta-aspeed: Use OE logging utilitiesBrad Bishop1-3/+2
OE provides utilities for both warning and error messages, so use them. Change-Id: I7548e09e69015dda4043d5aaa00a0c869393c595 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2022-02-01meta-aspeed: socsec: remove hexdump dependencyAndrew Geissler1-1/+0
With the latest yocto subtree update, this function has been moved into the global python package. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I60fd8a2160e45823065a9a28ae36af263baa15cb
2022-01-31u-boot-aspeed-sdk: use u-boot do_configure for fw-utilsZev Weiss1-1/+1
Previously, the u-boot-fw-utils-aspeed-sdk build didn't take *.cfg files in SRC_URI into account at all, leading to problematic mismatches between fw_{set,print}env's configuration and that of u-boot itself (such as discrepancies in their respective notions of what the default environment should be). With this change the fw-utils build uses the same do_configure as the regular u-boot build, so the two packages can more easily be built with a single consistent configuration. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: Ia83768597b6b75dc00425bdc23f216274d87e0ae
2022-01-31linux-aspeed: Move to v5.15.18 stable releaseJoel Stanley1-2/+2
This includes security and bug fixes from the 5.15.15 through to 5.15.18 stable releases. Change-Id: I71a0c4d8c134434725bba8e2a7deec37783550bc Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-31linux-aspeed: pl2303, UCHI, FSIJoel Stanley1-1/+1
Eddie James (2): USB: serial: pl2303: Add IBM device IDs ARM: dts: aspeed: rainier and everest: Enable UHCI Jiasheng Jiang (1): fsi: core: Check error number after calling ida_simple_get Joel Stanley (3): fsi: scom: Fix error handling fsi: scom: Remove retries in indirect scoms ARM: configs: aspeed_g5: Add PL2303 USB serial driver Change-Id: I8a39a2adc4ec761c910f8a675ac653b2ce739a3f Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-20socsec: change rsa order to big endian for AST2600 A3Jamin Lin2-2/+4
In general, software such as openssl calculates digest(big endian) of input data and uses big-endian digest to sign for RSA signature creation. However, AST2600 A1 only supports little endian. In other words, AST2600 A1 crypto hardware engine digest output is “little endian”. That is why our SOCSEC tool reverse signature and digest to match the AST2600 A1 crypto engine design(little endian). AST2600 A3 changed the design to support big endian. ASPEED recommends using big endian to remain compatible with general software tool design and therefore SOCSEC tool does not need to reverse digest and signature. Default to big endian for OpenBMC platforms as A3 is production silicon, and earlier revisions are not well supported. Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com> Change-Id: Iba46f704b86990d53937f104c3c601da5a3c111f
2022-01-20u-boot: Make u-boot-aspeed-sdk the defaultJoel Stanley1-6/+3
This makes the v2019.04-aspeed-openbmc branch the default for all aspeed machines. Existing machines have all modified their u-boot package to use the older branch, so this patch should result in no change. Change-Id: Ic4dd0bb973a16d3d658c340e7caf6a05128327bc Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-01-18u-boot: Specify u-boot package for AST2500 machinesJoel Stanley1-0/+5
This sets u-boot to the package containing the v2016.07-aspeed-openbmc branch. This ensures there will be no change if the default changes in the future. Change-Id: Iea12e1691dbdda34a3f95d6d0862add0b15bcf37 Signed-off-by: Joel Stanley <joel@jms.id.au>