summaryrefslogtreecommitdiff
path: root/meta-aspeed/recipes-bsp/u-boot/files
AgeCommit message (Collapse)AuthorFilesLines
2021-07-30Merge tag '0.63' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills1-5/+7
into update
2021-06-24Merge tag '0.57' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills2-0/+77
into update
2021-06-21AST2600: Update default env for multiple FIT configEddie James1-5/+7
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
2021-05-19meta-aspeed: Add development key for socsec signKlaus Heinrich Kiwi2-0/+77
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
2020-12-08Merge tag '0.26' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc ↵Jason M. Bills2-0/+12
into update
2020-07-17u-boot-aspeed: Generate default env for eMMCAdriana Kobylak1-0/+9
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>
2020-07-17u-boot-aspeed: Add fw_env.config for eMMCAdriana Kobylak1-0/+3
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>
2020-04-06Merge tag 'wht-0.47' of ↵Jason M. Bills2-47/+2
ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into update
2020-03-22u-boot-aspeed: Fix fw_env.config for ast2600Joel Stanley1-0/+2
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>
2020-03-17u-boot-sdk: Use OpenBMC forkJoel Stanley1-47/+0
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>
2019-10-22Merge branch 'master' of ↵Jason M. Bills1-0/+47
ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into HEAD
2019-09-27meta-aspeed: add CONFIG_USE_BOOTCOMMAND snippetBrad Bishop1-14/+9
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>
2019-09-19meta-aspeed: g6: Adjust fit addressBrad Bishop1-4/+24
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>
2019-09-11meta-aspeed: Move g6 environmentBrad Bishop1-0/+32
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>
2019-08-22aspeed-u-boot-sdk: Bump to latest dev commitJoel Stanley1-31/+0
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>
2019-08-20aspeed: u-boot: Fix SDK booting on systems with lots of RAMJoel Stanley1-0/+31
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>
2019-07-31aspeed: u-boot: Fix SDK booting on systems with lots of RAMJoel Stanley1-0/+31
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>
2018-08-23[Subtree] Move board support packages to top levelDave Cobbley3-0/+89
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>