History log of /openbmc/u-boot/include/configs/aspeed-common.h (Results 1 – 25 of 91)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03
# 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 ...


# 623f5d1a 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at b

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# a06eb35c 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 ...


# c49cbca3 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at b

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# aa1e60a4 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 ...


# 01c6dc46 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at b

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 484c1d7a 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 ...


# aff2aa8a 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at b

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 7170167e 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at b

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 88dac914 27-Jan-2021 Joel Stanley <joel@jms.id.au>

config: ast2600: Add config for SPL MMC boot with FIT signature verification

This adds a configuration for FIT signature verification for the OpenBMC SPL
configuration, for both the SPL and u-boot.

config: ast2600: Add config for SPL MMC boot with FIT signature verification

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 ...


# 877bbbe3 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at b

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 18479c2f 27-Jan-2021 Joel Stanley <joel@jms.id.au>

config: ast2600: Add config for SPL MMC boot with FIT signature verification

This adds a configuration for FIT signature verification for the OpenBMC SPL
configuration, for both the SPL and u-boot.

config: ast2600: Add config for SPL MMC boot with FIT signature verification

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 ...


# e5902174 23-Jun-2021 Adriana Kobylak <anoo@us.ibm.com>

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is

configs: aspeed-common: Add redundant env for mmc

If the env is in MMC, specify the location of the redundant environment.
Per the ast2600_openbmc_spl_emmc_defconfig, the environment is located
at byte offset 0x5000 in the user data partition, and is sized at
0x10000. The redundant environment follows it immediately and is the
same size.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20210623195646.2639822-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# e1417368 27-Jan-2021 Joel Stanley <joel@jms.id.au>

config: ast2600: Add config for SPL MMC boot with FIT signature verification

This adds a configuration for FIT signature verification for the OpenBMC SPL
configuration, for both the SPL

config: ast2600: Add config for SPL MMC boot with FIT signature verification

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 ...


# f88935b7 13-Apr-2021 Joel Stanley <joel@jms.id.au>

ast2600: Configure u-boot load size

Assume a u-boot that is 1MB, minus 64KB for the SPL, that is linked and
loaded to an address in DRAM.

FIT can describe it's length, so this i

ast2600: Configure u-boot load size

Assume a u-boot that is 1MB, minus 64KB for the SPL, that is linked and
loaded to an address in DRAM.

FIT can describe it's length, so this is only used when loading a raw
image.

Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


Revision tags: v2021.01
# a2565e16 05-Nov-2020 Eddie James <eajames@linux.ibm.com>

configs: Add AST2600 SPL eMMC configuration

U-Boot and environment are to be loaded off the eMMC.
The environment is located at byte offset 0x5000 in the user data
partition, and is

configs: Add AST2600 SPL eMMC configuration

U-Boot and environment are to be loaded off the eMMC.
The environment is located at byte offset 0x5000 in the user data
partition, and is sized at 0x10000. The redundant environment
follows it immediately and is the same size. Also select the
partition number and block offset of the U-Boot image; it is in
the first boot partition (eMMC partition 1) at block 128.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20201105200920.51226-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


# 7828ddb3 10-Nov-2020 Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>

eMMC: Locate env on eMMC

Put env on eMMC user data partition in order
to support boot from eMMC feature.


# 15461080 10-Nov-2020 Ryan Chen <ryan_chen@aspeedtech.com>

update reserve memory for ssp


# 8671acc9 08-Nov-2020 Ryan Chen <ryan_chen@aspeedtech.com>

add support ast2605


Revision tags: v2020.10
# fadd65c3 27-Sep-2020 Ryan Chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 23f8870d 22-Sep-2020 Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>

standalone: Fix standalone application executed address

Assign atandalone address. u-boot application can be
developed and executed independently of u-boot itself.


# 07850c9d 05-Nov-2020 Eddie James <eajames@linux.ibm.com>

configs: Add AST2600 SPL eMMC configuration

U-Boot and environment are to be loaded off the eMMC.
The environment is located at byte offset 0x5000 in the user data
partition, and is

configs: Add AST2600 SPL eMMC configuration

U-Boot and environment are to be loaded off the eMMC.
The environment is located at byte offset 0x5000 in the user data
partition, and is sized at 0x10000. The redundant environment
follows it immediately and is the same size. Also select the
partition number and block offset of the U-Boot image; it is in
the first boot partition (eMMC partition 1) at block 128.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20201105200920.51226-4-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...


Revision tags: v2020.07, v00.02.13, v2020.04
# 8c3b8509 10-Apr-2020 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


# 4e0b57fb 09-Apr-2020 ryan_chen <ryan_chen@aspeedtech.com>

add kconfig for env


# 9aefb618 30-Mar-2020 ryan_chen <ryan_chen@aspeedtech.com>

Merge branch 'ryan_port' into aspeed-dev-v2019.04


1234