Age | Commit message (Collapse) | Author | Files | Lines |
|
Joel Stanley (1):
ARM: dts: aspeed: Add a Romulus board (AST2500)
Change-Id: I7896cfaf111cd757b602cbd194c281bd05776170
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Jae Hyun Yoo (1):
mtd: spi-nor-ids: add winbond w25q512nw family support
Change-Id: Id46df51aab2bc6313d9f0d722ae25ff9325fc055
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
This moves OpenBMC to the latest SDK from Aspeed.
Note that a series of fixes were sent to Aspeed on top of the SDK
release to ensure the OpenBMC configuration continued to work. These
changes have been merged by Aspeed but do not appear in a SDK tag at
this stage. Also sent to Aspeed were some of the changes from the
OpenBMC branch.
Changes from Aspeed's new SDK:
Billy Tsai (1):
gpio: aspeed: Fix incorrect offset of read back register.
Chia-Wei Wang (3):
Merge branch pull request #10 into aspeed-dev-v2019.04
arm: aspeed: ast2600: Remove ASPEED_LOADERS
configs: aspeed: Remove legacy defconfig
Chin-Ting Kuo (10):
dts: aspeed: Create a device tree for DC-SCM solution
dts: aspeed: Add ast2600-dcscm device tree
spi-nor: Porting for S25HL series
dts: aspeed: DC-SCM early bring up
spi: aspeed: Fix bug when using 2Gb flash
dts: aspeed: dc-scm: Add support for external mux
spi_nor: Support s25hl without SFDP
mtd: spi: Support Gigadevice device with 64KB sector size
dts: aspeed: dc-scm: Extend bus-width to 4 for SPI1
spi-nor: Add fast read command for S25HL series flash support
Dylan Hung (5):
cmd/aspeed/nettest: apply addtional delay for RTL8211F
dts: aspeed: enable mac1 for ast2600-dcscm
cmd: aspeed: nettest: fix driving strength setting
cmd: aspeed: support ctrl+c to break dramtest loop
ram: aspeed: add AST2600 ODT configuration
Eddie James (2):
ARM: dts: aspeed: tacoma: Add eMMC nodes and parameters
ARM: dts: aspeed: rainier: Add eMMC nodes and parameters
George Hung (1):
ARM: dts: aspeed: add Quanta S6Q machine dts
Jammy Huang (11):
pinctrl: ast2600: Add support for secure-i2c
arm: dts: ast2600: Add definition for secure-i2c pinctrl
misc: dp: Support re-driver
misc: dp: Update dp-fw
misc: dp: Refine code
misc: dp: Update dp-fw
misc: dp: Fix black screen occasionally
misc: dp: Fix monitors black screen with 15m cable
misc: dp: Fix black screen occasionally
misc: dp: Improve compatibility
misc: dp: Improve compatibility
Joel Stanley (5):
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
Johnny Huang (4):
cmd: aspeed: otp: fix otp status polling
otp: update image checksum to SHA384
otp: add 'verify' sub-command
otp: add 'invalid' sub-command
Neal Liu (2):
arm: aspeed: ast2600: select USB2.0 device mode as default
arm: aspeed: ast2600: enable USB port B PHY clock
Peng Fan (1):
tools: imx image: fix write warning
Potin Lai (1):
ARM: dts: Aspeed: Add Bletchley dts
Tommy Huang (5):
cmd: aspeed: DP CTS command utility
cmd: aspeed: Update aspeed dptest default build config
cmd: dptest: Arrange tab align
cmd: aspeed: Fix the internal section compile fail
i2c: ast_i2c: Remove SCL direct drive mode
ryan_chen (4):
i2c:ast2600: add ast2600 new register mode driver
pcie:aspeed : update reset sequnce.
pcie:aspeed : fix two rc enable rc high config read timeout issue
pcie:aspeed : update perst sequence
Change-Id: I2b79d15f7016913cae3f2b1d9cf6ee143136aaf2
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Joel Stanley (2):
ftgmac100: Fail probe when NCSI selected but not enabled
config/ast-evb: Enable NCSI
Change-Id: I5ed0610738d83ad21a3a52956851d2dc938c1f1f
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Cédric Le Goater (1):
ARM: dts: aspeed: Add a palmetto board (AST2400)
Jae Hyun Yoo (2):
ARM: dts: ast2600-qcom-dc-scm-v1: enable HACE
board: Add initial version of Qualcomm DC-SCM V1 board
Change-Id: Ic4967aa383778b16224c06887467b74b51bbfc6a
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Previously the FLASH_SIZE-based config tweaks had only been applied to
u-boot itself, leaving fw-utils built with a different default
environment that could end up replacing the original one with a
non-working bootcmd setting.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I147a601d6a348f94b221459eabee4555dfed63c6
|
|
Might as well have it in one place instead of duplicating it between both.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Id87649691c93d0dbdc08d2484ca59a85cb54a3eb
|
|
Cédric Le Goater (3):
net: phy: ncsi: Add phy_interface_is_ncsi() helper
spi: aspeed: Use "jedec,spi-nor" compatible to count devices
ARM: dts: aspeed: Remove "spi-flash" compatible
Graeme Gregory (1):
ARM: dts: aspeed: add Qualcomm DC-SCM V1
Joel Stanley (4):
phy: Only create NCSI PHY when it's present
ARM: dts: ast2600: Consolidate A1 device tree
ARM: dts: ast2600: Consolidate A0 device tree
ARM: dts: ast2600: Consolidate NCSI device tree
Change-Id: I9b510afd3647afc66e99f2a64f0cb42a4aa65c15
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Joel Stanley (2):
ARM: dts: Rename Rainier to P10 BMC
ARM: dts: ast2600: Fix indentation
Change-Id: I732324d89b7c0f731160d69942051e4d4cadc778
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Howard Chiu (1):
configs: aspeed: Add SPL FIT image loading support
Change-Id: I913b63b740a98eb29c3ff1ea66d408f65d781169
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
This contains a backport of the TPM TIS core from u-boot mainline, plus
a driver from Eddie that enables the I2C backend.
It fixes I2C support for the AST2600 and enables the TPM on IBM's
rainier platform.
A new AST2600 board 'ast2600-ibm' is added that contains some machine specific
code for performing TPM init. This board does not have a in-tree
defconfig, rather it will be selected by Yocto metadata. This allows us
to keep the number of defconfigs low while still having machine
specific customisation.
Eddie James (6):
tpm: core: Set timeouts before requesting locality
i2c: ast_i2c: Remove SCL direct drive mode
tpm: add support for TPMv2.x I2C chips
arm: dts: ast2600-rainier: Add NPCT75X TPM
board: ast2600-ibm: Add AST2600 BMC based POWER10+ servers
arm: dts: ast2600: Add I2C pinctrl
Heinrich Schuchardt (1):
tis: fix tpm_tis_remove()
Ilias Apalodimas (1):
tpm2: Introduce TIS tpm core
Joel Stanley (2):
configs: ast2600: Remove redundant target option
configs: ast2600: openbmc: Add TPM TIS I2C support
Johannes Holland (1):
tpm: add #ifndef to fix redeclaration build errors
Simon Glass (1):
tpm: Add more TPM2 definitions
Change-Id: Ibd13e0b0a1920f344ead219894a264323f0b8cc5
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Zev Weiss (1):
ftgmac100: Use bus name in mdio error messages
Change-Id: Id63c80c5b4b95d8be6a50eec8bd67d22fc184bf7
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
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>
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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
|
|
Joel Stanley (1):
aspeed/hace: Reset when error occurs
Change-Id: I10ec988f7b0b01aa76a4338ef095fbe80b4229ec
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
These patches bring SHA512 support to the FIT in u-boot, SPL and
mkimage. The majority of the feature comes in with "Add support for
SHA384 and SHA512", while the rest are relevant bugfixes that have been
made to master since v2019.04.
There is not yet a change to the configuration to enable the new
algorithm and therefore only a minor image size change (an increase of
247 bytes due to "image: Check hash-nodes when checking configurations").
Harald Seiler (1):
common: hash: Remove a debug printf statement
Heinrich Schuchardt (1):
image-fit: fit_check_format check for valid FDT
Joel Stanley (1):
ast2600: spl: Include RAM loader in BL2 ifdef
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
Change-Id: I69d7ac29d8c4d710c57fc6a45b1c48022e6808c0
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
This turns on FIT signature verification ("vboot") features in the
ast2600_openbmc_spl_emmc_defconfig.
A signed FIT will be checked by the loader (either SPl or u-boot
proper).
Heinrich Schuchardt (1):
fit: check return value of fit_image_get_data_size()
Joel Stanley (4):
ast2600: Allow selection of SPL boot devices
config: ast2600: Reduce SPL image size
ast2600: Modify SPL SRAM layout
config: ast2600: Enable FIT signature verification
Change-Id: If0974fffc63072dc922b3bc5899a791adcdb40a3
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Two backports from u-boot master relating to SPL signaturues, and a
patch from Hongwei that was sent to the upstream list.
Heiko Stuebner (2):
spl: fit: select SPL_HASH_SUPPORT for SPL_FIT_SIGNATURE
spl: fit: select SPL_CRYPTO_SUPPORT for SPL_FIT_SIGNATURE
Hongwei Zhang (1):
Common:fdt: Check for error return value
(From meta-aspeed rev: e173b53d6d29d1489853379d78649f70420ca4c7)
Change-Id: I1ad719b86de2a110fef44a27c584e74faedc5748
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This adds a new configuration ast2600_openbmc_spl_emmc_defconfig that
can be used on either emmc or nor systems. Note that it will try to
locate the environment on emmc, so use on nor-only systems will always
use the default environment.
Machines that wish to use this configuration should set UBOOT_MACHINE in
their <machinename>.conf.
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
(From meta-aspeed rev: 1a970c012150cee8e5d937716f33e4f1c2e85e02)
Change-Id: I53f6b39579529f7bb6d98f4ee9a3cb067dc75cb5
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Joel Stanley (1):
net/ncsi: Disable DEBUG
(From meta-aspeed rev: 59eb0deec79fa1939a450e74b416b75591b47788)
Change-Id: Ib3f7695606a936b86a8ff885ab2a5c9598eae736
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
As ASPEED develop their ast2600 u-boot features, we've had a need to
integrate changes from their tree into the openbmc tree. In the past
we lined this up with a major version bump (as with the kernel),
meaning we could create a new branch with our "out of tree" changes
applied on top. However, in this case their SDK is still based on the
2019.04 release, so there's not a clear way forward.
I've chosen to rebase the openbmc changes on top of their branch. The
old branch is still accessible at archive/v2019.04-aspeed-openbmc-1.
The bitbake recipe will continue to work as it uses the nobranch=1
flag, and specifies the version based on the SHA.
The new branch contains their aspeed-master-v2019.04 tree as of today,
with the OpenBMC changes applied on top.
The ASPEED changes include:
- support for the ast2400
- Disable of buggy AXI prefetch feature
- SPL, OTP and secure boot fixes
- SPI flash updates and calibration changes
- eMMC, Ethernet, fixes
I've boot tested it running from SPI NOR on AST2600 A1 hardware, as
well as QEMU, and it reached userspace. I will bump the bitbake recipe
to integrate the changes into openbmc.
Andreas Dannenberg (1):
spl: Make image loader infrastructure more universal
Chia-Wei, Wang (18):
config: ast2600: Enable board early initialization
ARM: dts: ast2600: Revert dm-pre-reloc property from eMMC
configs: ast2600-slt: Change DRAM speed to 1600Mbps
spl: fit: Separate FIT image load and processing
spl: ast2600: Fix the load buffer address
Revert "spl: fit: Separate FIT image load and processing"
Revert "add LPC/eSPI storngest Driving Strength"
configs: ast2600-slt: Add ENV default configuration
aspeed: Fix compile warning
ast2600: Remove AXI-prefetch support
wdt: ast2600: Fix reset mask setting
spl: ast2600: Add secure boot flow support
update bootflow
fix boots address
configs: ast2600-fpga: Fix defconfig and header
ARM: spl: Add SPL relocation support
spl: ast2600: Add relocation support
ARM: timer: ast2600: Add dynamic frequency detection
Chin-Ting Kuo (22):
spi: timing: Change timing calibration method
spi-flash: w25q01jv flash model support
spi-flash: aspeed: Remove unused variable
spi: Add w25q512jvfm flash model
boot: emmc: Boot from eMMC feature early porting
emmc: Move "u-boot,dm-pre-reloc" flag to evb.dts
spi-nor: Add flash model w25q01jvfim and fix typo
mmc: SD: Add property for timing phase and drive type
mmc: slt: Add timing phase and drive type for MMC
spi: cpuinfo: Add ABR, spi_aux_pin info
spi: crypress: Set 4B mode to controller when address width is 4
spi: AST2500: Modify ABR boot source log
spi: scu_info: Simplify scu info log related to fmc/spi
spi: ast2500: Porting spi1 setting
spi-flash: Set FMC04/SPIR04[6:4] when enter 4B mode
spi-flash: Use user mode under specific condition
spi-flash: Modify SPI/FMC CE1 default decode address
fpga: fixbug: Remove CONFIG_BOARD_EARLY_INIT_F
dp: Update dp base address
spi: bugfix: Do not change read command until flash probe
fmc: Set FMC50[1] for waiting WIP idle
eMMC: Do not fill FMC50[1] when boot from eMMC
Dylan Hung (18):
add rmii rclk oe control
add rmii rclk pin control
add board_ram_info for ast2600 series
move borad_add_ram_info to borad_common.c
fix FPGA RGMII pin setting
revise fpga mac device
fix typo
don't print message in sdramphy_init
write scu config back if vga config is "0"
refactor code: add macro for ECC setup
trim tailing whitespaces
don't re-init ecc if dram has been initialized
fix ncsi build
don't reserve VGA memory if efuse bit is set
fix fpga booting
add ast2650 fpga config
remove dram initialization from platfrom.S
remove mac init from platform.S
Joel Stanley (7):
dts: ast2600-evb: Enable FSI masters
aspeed: Add machine names
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
Johnny Huang (37):
otp: remove print process
otp: ignore data region last 2 dw when program
otp: program 2 dw then verify 2 dw when program data region
otp: skip print data info when no key
otp: set default value for otp strap programming
rng: add aspeed rng cmd
spl: fix duplicate define CONFIG_SYS_MONITOR_LEN
defconfig: cot: reduce spl code size
config: remove tftpput
secure boot: fix hace reset and compile warning
clk: rsa clock source set to hpll
update otp patch code
otp update
otp: udpate program
otp: udpate strap
otp: update strap program bit
otp: udpate strap read
otp: reduce the code
spl: ast2600: update secure boot flow
defconfig: ast2600: update spl config
spl: aspeed: fix ecc build
secure: update bl2 verify
secureboot: update bl3 verify
aspeed: emmc: support emmc boot
defconfig: support new boot flow
defconfig: rename ast2600a1 as defaut config
fix merge error
defconfig: aspeed: update ecc config for new boot flow
Revert "defconfig: aspeed: update ecc config for new boot flow"
defconfig: aspeed: update ecc config for new boot flow
otp: fix ast2600a1 info
defconfig: enable position independent to support boot from uart
config: enable CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK as default for ast2600
boot0: aspeed: add image size header for boot form sram
cmd: otp: udpate for ast2600a2
update ast2600a2 otp register setup
otp: fix compile warning and add strap info
Peter Robinson (1):
Remove redundant YYLOC global declaration
ryan_chen (40):
add link status
update gpio driver
fix i2c pinctrl
update sd/emmc controller source
update
add ibm platform
add kconfig for env
add ast2600 openbmc defconfig
fix env compile error
update pcie driver
mv to cmd/aspeed folder
update for mv cmd/aspeed folder
add pll test
update full test
update clk
add display port driver
add ast2600 defconfig
update mac info
update dp driver
update hclk setting
update axi ahb div cal
update dp firmwire
add more desciption about eMMC clk source
update file mode
update ast2400 have 32kbyte
add ast2400 ompatible
add ast2400
add reset for ast2400
add ast2400 include file
add ast2400 board
add ast2400 defconfig
add ast2400 pinctrl
update ast2400 reset
add ast2400 clk
add ast2400 defconfig
update ast2500
add mac for ast2400
add for ast2400
add ast2400 clk
Video format look-up table is updated for 640x480@85Hz
(From meta-aspeed rev: 9d5ae052312dc45a645dc5e7ab8a9daf4ef686d6)
Change-Id: I50a06ca91d86f4548d47e85e215ace4498c0c9a8
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Zane reported that gcc 10 will fail to build the branch. This is the
upstream fix.
Peter Robinson (1):
Remove redundant YYLOC global declaration
(From meta-aspeed rev: 6630a1310fd9b17abdd8fca73f5c22fc346f9c8a)
Change-Id: Ie72bb58c5c7684e42951e80ce6f80e98ef4f15fe
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This works around an intermittent boot failure seen on Tacoma1z.
Joel Stanley (6):
aspeed: Add machine names
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
(From meta-aspeed rev: e63dd680abed78dc2b2126c6fcbf3497c35ae18b)
Change-Id: I0a2f17d242f3312592fb975fa4231237102ea517
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Joel Stanley (1):
config: Update ast2600 openbmc environment location
(From meta-aspeed rev: 8f741295a2a80ecd37cf865e76fa6f32a0223af8)
Change-Id: I83fa7c4ab457972f2efd738eda8a2d2a10cb65e7
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This is a fork that is based on ASPEED's 2019.04 SDK fork. The goal is
to move to a mainline based tree, but while that work is underway, this
allows ast2600 support to move forward.
This gains support for NC-SI, and uses kconfig for the default
boot command allowing us to drop the patch to aspeed-common.h.
Machines will need to indicate which device tree to use. If possible we
should look to having a few common device trees, but for now they are
machine specific. The AST2600 is configured to use the ast2600a1-evb
device tree, which will also work on the a0 variant.
(From meta-aspeed rev: 22ccf4648a776c458300c97a6d001a843b2b5c9b)
Change-Id: Ib21dc9962761aac3f3148fe4908439b975545e1e
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add a config snippet that sets CONFIG_BOOTCOMMAND to the correct address
on 128MiB flashes.
This requires a refresh of the u-boot sdk patch we've been carrying such
that CONFIG_BOOTCOMMAND is set conditionally if not set previously.
(From meta-aspeed rev: 4c8b1d729b5b21c93685cd1b1bdde05afa81f9e8)
Change-Id: I7dece4bcee6d68a0367fcf4eafb78f0db3e4e4f8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Chia-Wei, Wang (3):
ast2600: add CA7 cache and SRAM parity check
ast2600: revise the boot initialization flow
wdt: aspeed: fix compile warning
Dylan Hung (7):
[update] revise memory reservation
[debug] apply DDR4 100M setting
[update] add config for DDR-400
[update] slower HPLL
[update] adjust cpu timer according to the HPLL
[update] fine tune DDR-PHY param
[fix] fix DDR-PHY training hangup
ryan_chen (6):
update pcie driver
add pcie rc pinctrl
add two pcie rc
add support two
add default pcie at ast2600-evb dts
update ast2600 fmc interrupt #no
(From meta-aspeed rev: 7daf7145abdd5499da5ebb25f4f214712b596562)
Change-Id: I0cf2c21a605683472f9dcdc4516d7c4f5d7858e5
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The Aspeed u-boot tree has the g6 environment at 640KiB. Move to 512KiB
for easy OpenBMC compatibility.
(From meta-aspeed rev: 5b6780e9810f79b352db7ae8c6a352d978ef2cd3)
Change-Id: I65a8c799eb1db8756516a4f46098c75ee18751d1
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Chia-Wei, Wang (1):
aspeed: ast2600: add CPU clock initialization
Dylan Hung (9):
[add] add ECC setting
[update] correct the ecc range
[fix] fix build error when ASPEED_ECC is off
[update] ecc off by default
[update] add ECC enable message
target margin 0 is legal arg.
[fix] fix incorrect DMA base calculation
[update] fix 2600 fpga issue.
[update] update ast2600 fpga config
ryan_chen (8):
add otp strap bspi size info
add pcie support for evb
add for spi aux information
disable h2x pcie at default
add for h2x
add i2c pinctrl
add i2c pinctrl
update enable ast2600 evb i2c
(From meta-aspeed rev: af1e9221445c4932ead0722287873686fe86b399)
Change-Id: I1bfcad52dbd0a27f0e753c8c14d22584156f02b5
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This includes a fix to the bootm limit issue so the patch can be
removed. It also addresses other issues, such as an updated SMP
handshake and booting larger kernels.
(From meta-aspeed rev: 921779183e3d57dbfddc9179f6b8fc413b453553)
Change-Id: I5575ac0a7d0f72fa97b3aa6c580bdacc84ac619d
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
(From meta-aspeed rev: fb54525540953435683dcc3bee915123e25a1a8b)
Change-Id: I3dcce46f6f18ea9cf24a8b53b6f79a9899e7d6c8
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This patch is required to boot on the ast2600evb which has 2GB of RAM.
It has been submitted to aspeed for inclusion in their tree.
(From meta-aspeed rev: 229a6556b33641bdfc770eb9566b3db3ce01354c)
Change-Id: Ic2605f6634c82bcf8c1f0d5e166fea88ff7722d4
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Start by copying oe-core recipes-bsp/u-boot/ into the Aspeed BSP. The
uboot recipes in oe-core master currently point to 2019.07 u-boot and
the Aspeed SDK branch being pointed to by this patch is based on uboot
upstream 2019.04. There weren't any changes in oe-core going from
2019.04 to 2019.07 so thats OK.
After copying the oe-core recipes, fix up SRC_URI, HOMEPAGE, and a
couple other variables to point at the Aspeed u-boot fork.
The current aspeed-master-v2019.04 tip and evb-ast2600_defconfig will produce
a uboot binary but make returns non-zero:
CFGCHK u-boot.cfg
Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_RAM
Please add these via Kconfig instead. Find a suitable Kconfig
file and add a 'config' or 'menuconfig' option.
make: *** [Makefile:1010: all] Error 1
As such the utility of this recipe is limited until the above issue is
addressed.
The Aspeed SDK is intended to be the basis for Aspeed G6 bringup.
(From meta-aspeed rev: fe03326ee328718a79138062a0db374c0685a9c7)
Change-Id: I266dc10dd8549c024ec7012da5e576a2436d195b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|