66672e5a | 24-Jul-2023 |
Joel Stanley <joel@jms.id.au> |
config: ast2500: Disable regex support
Not aware of any users. Saves 4kB from the binary.
Total: Before=271870, After=267385, chg -1.65%
Signed-off-by: Joel Stanley <joel@jms.id.au> |
6366ed4e | 24-Jul-2023 |
Joel Stanley <joel@jms.id.au> |
config: ast2500: Disable NFS command
Not aware of any users. Saves 5kB from the binary.
Total: Before=271870, After=266617, chg -1.93%
Signed-off-by: Joel Stanley <joel@jms.id.au> |
dafd0a7d | 17-May-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
ARM: dts: aspeed: add Meta greatlakes board (AST2600)
Add initial version of device tree for Meta Greatlakes BMC which is equipped with Aspeed AST2600 BMC SoC.
Signed-off-by: Delphine CC Chiu <Delp
ARM: dts: aspeed: add Meta greatlakes board (AST2600)
Add initial version of device tree for Meta Greatlakes BMC which is equipped with Aspeed AST2600 BMC SoC.
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
f9afd382 | 27-Mar-2023 |
Joel Stanley <joel@jms.id.au> |
configs: evb-ast2600: Disable unused loaders
The BMCs do not use EFI or the img format.
This fixes a build failure in the smbios code:
lib/smbios.c: In function ‘smbios_write_type0’: lib/smbios.
configs: evb-ast2600: Disable unused loaders
The BMCs do not use EFI or the img format.
This fixes a build failure in the smbios code:
lib/smbios.c: In function ‘smbios_write_type0’: lib/smbios.c:84:58: error: ‘U_BOOT_DMI_DATE’ undeclared (first use in this function) 84 | t->bios_release_date = smbios_add_string(t->eos, U_BOOT_DMI_DATE); | ^~~~~~~~~~~~~~~
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
9c452f1c | 25-Jan-2023 |
Eddie James <eajames@linux.ibm.com> |
ast2600: Measure the boot
Add the configuration option for measured boot and add the event log reserved memory to the device tree.
Signed-off-by: Eddie James <eajames@linux.ibm.com> Link: https://l
ast2600: Measure the boot
Add the configuration option for measured boot and add the event log reserved memory to the device tree.
Signed-off-by: Eddie James <eajames@linux.ibm.com> Link: https://lore.kernel.org/r/20230125173025.3725606-5-eajames@linux.ibm.com Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
dec3652e | 26-Oct-2022 |
Zev Weiss <zev@bewilderbeest.net> |
Revert "config/ast2500: Enable RAM devices"
This reverts commit ba91e9df1e16db0d209177148e864c65e58eb00f.
CONFIG_RAM=y currently breaks DRAM initialization on ast2500; Aspeed recommends against usi
Revert "config/ast2500: Enable RAM devices"
This reverts commit ba91e9df1e16db0d209177148e864c65e58eb00f.
CONFIG_RAM=y currently breaks DRAM initialization on ast2500; Aspeed recommends against using it [0].
[0] https://lore.kernel.org/openbmc/HK0PR06MB2834AE1581020A5B7CE191839C5B9@HK0PR06MB2834.apcprd06.prod.outlook.com/
Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Link: https://lore.kernel.org/r/20221026064021.16683-1-zev@bewilderbeest.net Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
f2579be7 | 21-Sep-2022 |
Joel Stanley <joel@jms.id.au> |
config/ast2500: Enable RAM devices
While the ASPEED RAM driver builds unconditionally, without selecting the CONFIG_RAM symbol it does not load.
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewe
config/ast2500: Enable RAM devices
While the ASPEED RAM driver builds unconditionally, without selecting the CONFIG_RAM symbol it does not load.
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Link: https://lore.kernel.org/r/20220921074439.2265651-5-joel@jms.id.au
show more ...
|
c723fb34 | 03-Aug-2022 |
Joel Stanley <joel@jms.id.au> |
configs: openbmc: Remove ymodem SPL support
Reduce the size of the SPL by 2KB.
Signed-off-by: Joel Stanley <joel@jms.id.au> |
ad04c3c1 | 24-Apr-2020 |
Joel Stanley <joel@jms.id.au> |
configs: Add OpenBMC config for SPL NOR boot
Configured for loading u-boot proper as a FIT from the SPI NOR, with SHA signature support for verified boot.
This is based on the eMMC configuration, w
configs: Add OpenBMC config for SPL NOR boot
Configured for loading u-boot proper as a FIT from the SPI NOR, with SHA signature support for verified boot.
This is based on the eMMC configuration, with the eMMC parts swapped out for loading u-boot proper from SPI NOR instead.
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
db9eaecc | 27-Jan-2021 |
Joel Stanley <joel@jms.id.au> |
configs: Add OpenBMC config for SPL MMC boot
This adds a configuration for FIT signature verification for the OpenBMC SPL configuration, for both the SPL and u-boot. It uses the common MMC SPL loade
configs: Add OpenBMC config for SPL MMC boot
This adds a configuration for FIT signature verification for the OpenBMC SPL configuration, for both the SPL and u-boot. It uses the common MMC SPL loader code present in u-boot.
This enables rsa and SHA512 algorithms for verifying the signature of the u-boot FIT when loading it. Hashing is performed by the AST2600's HACE.
The SPL will load u-boot proper from sector 0x80 (128), which is 64KB into the device.
The u-boot load size of 1MB, minus 64KB for the SPL, is configured through CONFIG_SYS_MONITOR_LEN. FIT can describe it's length, so this is only used when loading a raw image.
Ensure the SPL fits in the 64KB payload size with FIT signature verification in the SPL.
- Build with thumb
- Disable the arch memcpy/memset changes to save 668 bytes. The tiny memset saves 52 bytes. (Anyone who wants to test the runtime impact of these changes should do so!)
- FIT_IMAGE_TINY is selected to save approx 3KB from the image size.
Set the size of the early (pre-DRAM) SRAM heap in u-boot proper to 8KB. The DRAM driver would perform an allocation that exceeded the default limit, due to the probing of the HACE driver increasing memory presssure. As SRAM is unused when u-boot proper is running, it can all be allocated.
(In theory the entire 88KB of SRAM is free, but testing showed more than 60KB would break booting. Finding out why is TODO).
The SPL early heap is fixed to 0x800, the default before this change. Testing shows that:
SPL malloc() before relocation used 0x794 bytes (1 KB)
So 2KB should be enough.
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
985a9327 | 27-Jun-2023 |
Kevin Chen <kevin_chen@aspeedtech.com> |
Revert CONFIG_SYS_TEXT_BASE to support Raw and FIT images.
By setting CONFIG_SYS_TEXT_BASE to the appropriate address, U-Boot will be linked and loaded at that location in the flash memory, allowing
Revert CONFIG_SYS_TEXT_BASE to support Raw and FIT images.
By setting CONFIG_SYS_TEXT_BASE to the appropriate address, U-Boot will be linked and loaded at that location in the flash memory, allowing it to run as an Execute-in-Place (XIP) program when booting as a Raw image.
Change-Id: I5f54c4f4d39334d4c869fd2293cdf7178d721af4 Signed-off-by: Kevin Chen <kevin_chen@aspeedtech.com>
show more ...
|
3ba98ed8 | 09-May-2023 |
Troy Lee <troy_lee@aspeedtech.com> |
board: ast2600-dcscm: Add Aspeed AST2600 DCSCM demo board support
ast2600-dcscm is a new demo board with DCSCM form factor. - Toggle GPIOC1 for phy reset
For Intel Avenue City support, the followin
board: ast2600-dcscm: Add Aspeed AST2600 DCSCM demo board support
ast2600-dcscm is a new demo board with DCSCM form factor. - Toggle GPIOC1 for phy reset
For Intel Avenue City support, the following are enabled: - ACPI - BIOS post code passthrough sgpio port A.
Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Change-Id: Iadc202ef25af3548a6c8f4c714ef3e9ef0da69d4
show more ...
|
ba4a9cf0 | 12-Apr-2023 |
Dylan Hung <dylan_hung@aspeedtech.com> |
configs: ast2600: Revise AST2600 EVB ECC configs
The DRAM ECC enabling is now configured by DTS so the only difference between evb-ast2600_defconfig and evb-ast2600-ecc_defconfig is the default devi
configs: ast2600: Revise AST2600 EVB ECC configs
The DRAM ECC enabling is now configured by DTS so the only difference between evb-ast2600_defconfig and evb-ast2600-ecc_defconfig is the default device tree setting.
non-ECC defconfig uses ast2600-evb.dts while ECC defconfig uses ast2600-evb-ecc.dts.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I22f11da3bc34ec0b7f0ce47074a5e6a483a429ab
show more ...
|
2893738e | 12-Apr-2023 |
Dylan Hung <dylan_hung@aspeedtech.com> |
configs: ast2600: Remove AST2600A1 ECC defconfig
Remove AST2600A1 ECC defconfig to offload the maintenance effort.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I41ae480982f25950
configs: ast2600: Remove AST2600A1 ECC defconfig
Remove AST2600A1 ECC defconfig to offload the maintenance effort.
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Change-Id: I41ae480982f2595094a2a0df5052023766d785d4
show more ...
|
c143e527 | 29-Mar-2023 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
configs: evb-ast2600-spl: Add support for OPTEE booting
Add options for OPTEE booting support.
Note that the updated defconfig is also compatible to the original bootflow which has no OPTEE include
configs: evb-ast2600-spl: Add support for OPTEE booting
Add options for OPTEE booting support.
Note that the updated defconfig is also compatible to the original bootflow which has no OPTEE included.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: I566740d32d57919c90f3991fe8738d30555568ec
show more ...
|
21163246 | 13-Jul-2022 |
Joel Stanley <joel@jms.id.au> |
config/ast-evb: Enable NCSI
Now that the NCSI code can be used on both direct attached PHY and NCSI setups, enable it by default.
Signed-off-by: Joel Stanley <joel@jms.id.au> |
3c4aa76a | 04-May-2022 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
configs: aspeed: Remove legacy defconfig
ASPEED_LOADERS no longer exists. Remove defconfigs using this option.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: I0d4e7da22e6e2b6
configs: aspeed: Remove legacy defconfig
ASPEED_LOADERS no longer exists. Remove defconfigs using this option.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: I0d4e7da22e6e2b6aeb0ddb11ea370dd723b3e5a7
show more ...
|
303188de | 15-Feb-2022 |
Joel Stanley <joel@jms.id.au> |
aspeed: Disable unused loaders, add STMICRO flash
By removing the unused loaders we save enough space to enable the ST Micro flash devices and still fit in the size limit:
text data bss
aspeed: Disable unused loaders, add STMICRO flash
By removing the unused loaders we save enough space to enable the ST Micro flash devices and still fit in the size limit:
text data bss dec hex filename 340614 13608 0 354222 567ae ast2400-obj/u-boot 340923 13632 0 354555 568fb ast2500-obj/u-boot
Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
3c81795b | 20-Mar-2022 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
configs: evb-ast2600-spl: Remove U-Boot MMC raw sector
The raw sector of U-Boot image is not used in this SPI-booting based defconfig. Remove it to avoid confusion.
Signed-off-by: Chia-Wei Wang <ch
configs: evb-ast2600-spl: Remove U-Boot MMC raw sector
The raw sector of U-Boot image is not used in this SPI-booting based defconfig. Remove it to avoid confusion.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: I3e13176f7c170e67e3b4a8d7ac2e80729add9852
show more ...
|
fdeaf32a | 25-Jan-2022 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
configs: ast2600-evb-spl: Disable SPL_PINCTRL
Disable SPL_PINCTRL to reduce SPL binary size.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: Ib59ba824bab3adce47167bef28b77da4a
configs: ast2600-evb-spl: Disable SPL_PINCTRL
Disable SPL_PINCTRL to reduce SPL binary size.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: Ib59ba824bab3adce47167bef28b77da4a4eaeaa9
show more ...
|
89e8db20 | 17-Jan-2022 |
Ryan Chen <ryan_chen@aspeedtech.com> |
remove h2x driver and add new pcie driver
Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com> Change-Id: I89ba3ac192641fecbf45c7d1eaf78f7dc9615c5a |
0f2dc038 | 17-Jan-2022 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
configs: ast2600/ast2605: Enlarge heap space
Enlarge heap space before relocation as more devices are added in DTS for early use.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-I
configs: ast2600/ast2605: Enlarge heap space
Enlarge heap space before relocation as more devices are added in DTS for early use.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: I85b1aa4cf3b1046544ee78ba56b92c57ef6080de
show more ...
|
5e8cacaa | 07-Jan-2022 |
Chia-Wei Wang <chiawei_wang@aspeedtech.com> |
ast2600: Support UART1/2/3/4 as booting console
1. Enable SPL pinctrl support for TXDn/RXDn pinmuxing 2. Enable UART1/2/3/4 for SPL 3. Add TXD1/RXD1 ~ TXD4/RXD4 pinctrl configuration
Signed-off-by:
ast2600: Support UART1/2/3/4 as booting console
1. Enable SPL pinctrl support for TXDn/RXDn pinmuxing 2. Enable UART1/2/3/4 for SPL 3. Add TXD1/RXD1 ~ TXD4/RXD4 pinctrl configuration
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Change-Id: I6286fd2d629e4a601ddad863b3ddeb806bd3f7e7
show more ...
|
51b227c8 | 02-Nov-2021 |
Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> |
pfr: Timing calibration disabled support
- Using default SPI clock frequency during early booting up stage. - Don't implement timing calibration when PFR is AST1060 since the maximum SPI clock f
pfr: Timing calibration disabled support
- Using default SPI clock frequency during early booting up stage. - Don't implement timing calibration when PFR is AST1060 since the maximum SPI clock frequency supported by AST1060 is smaller than 50MHz.
Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> Change-Id: Ifc8fb655152f167a05768ac0f2f632b3632d736d
show more ...
|
6493a86a | 01-Nov-2021 |
Steven Lee <steven_lee@aspeedtech.com> |
pfr: update dts and defconfig for passing sdk build.
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com> Change-Id: I9811a70d23b919a5c2c972bb7a4989354522ac6d |