summaryrefslogtreecommitdiff
path: root/meta-phosphor/aspeed-layer/recipes-bsp
AgeCommit message (Collapse)AuthorFilesLines
2021-10-15u-boot-aspeed: Add distro feature to enable SPI master modeChanh Nguyen2-1/+37
The ast2500 shares the RGMII1 pin and the hw strap pins for SPI interface mode selection ( pin[12:13] ). In some systems, the RGMII/NCSI interface will use the pin. It makes the SPI interface mode setting is not correct. This patch adds a distro feature to enable the SPI master mode by default. Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com> Change-Id: I93e5dd5e86870601169974aa1aab4b5480a45ef1
2021-08-17meta-phosphor: Add option to disable u-boot shellVivekanand Veeracholan1-0/+1
For security, u-boot shell needs to be disabled. Setting the CONFIG_BOOTDELAY to -2 will disable the prompt for entering into shell. -1 will skip executing the commands. >=0 will prompt to enter shell. -2 will skip the prompt. https://github.com/u-boot/u-boot/blob/51aef405550e603ff702c034f0e2cd0f15bdf2bb/common/autoboot.c#L479 Making it configurable through DISTRO_FEATURES. Add "disable-u-boot-shell" to DISTRO_FEATURES for this feature. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I1b1e1a6c2552335b13fb3f1a9561d08f3a0e8f94
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams3-7/+7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2019-09-30phosphor: Enable Aspeed SDK u-boot overrideBrad Bishop1-0/+2
The u-boot SDK recipe in the Aspeed layer has different u-boot config snippets for different sized flash images. This is done by way of overrides, e.g. MACHINEOVERRIDES .= ":flash-${ASPEED_IMAGE_SIZE_KB}" Make sure ASPEED_IMAGE_SIZE_KB is set to the correct size so the correct u-boot snippet is selected. (From meta-phosphor rev: 2ee231638d5cde0c041ad863a4d4636291ad39a5) Change-Id: I438fb896eceeafab2927925ffa1763d672456dd6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-14u-boot-aspeed: Add distro feature for mac2 supportJohn Wang2-0/+46
Add a distro feature to enable aspeed nic driver to enable MAC1 and MAC2. The aspeednic patch is copied from meta-ingrasys/meta-zaius, it is also required by fp5280g2. To avoid duplication, this distro feature has been added. Both meta-fp5280g2 and meta-zaius will be updated to use the distro feature. Tested: tested on fp5280g2, and both Ethernet ports worked (From meta-phosphor rev: 5a8e7c5a6efea492b82d710c465125fc9d0afdb9) Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: Ia754595c5e3762f69397c03021ffe29ea5b9afcc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-25meta-phosphor: u-boot: Refresh patch disabling unnecessary featuresAndrew Jeffery1-12/+28
(From meta-phosphor rev: 80d39ceccaca886168f65dc9bc708759cddd0940) Change-Id: Ieb2781db3825c924173ca58878682924ca07da98 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-01-09u-boot-aspeed: Disable unnecessary featuresAndrew Jeffery2-0/+266
Allow platforms to opt into the u-boot patch disabling unnecessary hardware features for ASPEED SoCs. As this change touches bits that were not initialised by previous u-boot revisions and the configuration applied prevents poweron of OpenPOWER hosts without corresponding host firmware changes, this change is nohwci. (From meta-phosphor rev: 82f2db28ad8f4f0b7fbf703e8942afcaf6e70a2b) Change-Id: I2f40a780afe539e9e4ff13983cd567e849bbed25 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-05Spelling fixesGunnar Mills1-1/+1
Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. (From meta-phosphor rev: 38f27112a9bc38337d8f4c63c333d2a1f28945fa) Change-Id: I834b99d63a260f21c60b58c91ec328cf04b683fe Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-11aspeed: Rename u-boot recipesBrad Bishop2-0/+0
Append an -aspeed suffix to Aspeed u-boot and u-boot-fw-utils recipes to match convention of other upstream BSP layers like meta-fsl-arm. Tested: Built palmetto/spoon images and booted in QEMU Change-Id: I88ce2062876674ea9c104a97cc0bf2c83f2b1fcd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-06-11Use BB collections for Aspeed tree patchesBrad Bishop8-0/+239
Move the Aspeed u-boot tree patches to a directory where they can be conditionally applied when the Aspeed layer is in the build configuration. This is a better way to achieve 273ec60e436 since it enables the Aspeed BSP layer to name its u-boot/kernel recipes whatever it wants. Remove stubbed do_configure from u-boot_%.bbappend. It is no longer required since the bbappend is only activated when the aspeed layer and associated u-boot recipes are in the layer configuration. Tested: Built u-boot recipe for witherspoon and palmetto targets Change-Id: I52dceb65598e0cf660ad035a8f14e9894325ca71 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>