Age | Commit message (Collapse) | Author | Files | Lines |
|
Add environment variables to the AST2600 to boot a certain FIT
configuration of the kernel based on the "fitconfig" environment
variable. The boot command will fall back to the default FIT config
in case all other boot attempts fail. Also fix the kernel boot
arguments in the case that boot failure occurs.
The boot sequence would be:
- boota with fitconfig, if it fails:
- boota without fitconfig, if it fails:
- bootb with fitconfig, if it fails:
- bootb without fitconfig
Tested: Set fitconfig to a dummy variable, and also changed the bootm
command to a dummy command to force a boot failure, and verified the
sequence was as expected:
ast# boot
boota
Error loading kernel FIT image with fitconfig rainier-dummy
Unknown command 'bootm-dummy' - try 'help'
Error loading kernel FIT image
bootb
Error loading kernel FIT image with fitconfig rainier-dummy
Unknown command 'bootm-dummy' - try 'help'
Error loading kernel FIT image
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Change-Id: I14cf935a707bdb95b0a6e4e607919ea0e027d18c
|
|
Add a development (insecure, also known as 'imprint') key to
u-boot-aspeed-sdk that can be used through socsec for signing the SPL on
ASPEED AST2600 devices.
The keypair was generated according to socsec's documentation, using:
$ openssl genrsa -out rsa_oem_dss_key.pem 4096
$ openssl rsa -in rsa_oem_dss_key.pem -pubout \
-out rsa_pub_oem_dss_key.pem
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Change-Id: I9c03ed9603d7362e033862dd1e5138ba7164f13d
|
|
Generate a default environment to boot an eMMC based on a txt
file. Populate the generated environment image into the eMMC.
(From meta-aspeed rev: fdc603c73b2dc8851ce2d1684e9c71a5ce51a5b8)
Change-Id: I93944b183b7907202b02854e931593d62603ae77
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Create a fw_env.config for eMMC with a redundant environment
based on the mmc distro feature. The environment is located in
the first eMMC partition in the User Data area.
(From meta-aspeed rev: 3aa2db46e8097aa0a9627684686ca56b5d6b9872)
Change-Id: I6e768e308f03513c6cf394a0adc7110d17322d49
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The configuration was not set at all, leaving us with the default
configuration file from u-boot.
This sets it to the u-boot environment partition, /dev/mtd2.
(From meta-aspeed rev: fc48e308dd25b99535a5412cbbdf1fcd66238a9b)
Change-Id: Ied346a6c15f0068b8ab54cec02bc89bf9e553127
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>
|
|
5b6780e981 changed the u-boot+env size and thus the same fit image
address (512KiB) can be used on g6 as on the other aspeed SoCs.
Refresh the initial u-boot patch rather than a new one because the
original has not yet been accepted upstream.
(From meta-aspeed rev: 6aa4aaf66f96acaf84a6c434ddfb3e142c087bf4)
Change-Id: I5bcd6468f1578f7f820e3eeeec23d5b3756dca60
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>
|
|
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>
|
|
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>
|
|
The new subtree paradigm has moved the meta-bsp layers to the top level
Change-Id: Ic4f64c39465be699bed3649e125e027d17daf938
Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|