summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* Switch u-boot to branchraptor-v1.0104-13-2018Raptor Engineering Development Team2018-04-141-1/+1
|
* Revup u-bootRaptor Engineering Development Team2018-02-191-1/+1
|
* Revup obmc-ubootRaptor Engineering Development Team2018-01-221-1/+1
|
* Update U-boot and kernel revisionsRaptor Engineering Development Team2018-01-171-1/+1
|
* Redirect most of the Phosphor applications from GitHub to the Raptor ↵Raptor Engineering Development Team2018-01-171-1/+1
| | | | Computing Systems GIT repositories
* init: Add init script to setup /etc mount before starting systemdEdward A. James2017-11-282-1/+48
| | | | | | | | | | | | | Systemd requires /etc mounted and ready at init time. Previously, we were mounting /etc as an overlay from the persistant filesystem after systemd started. This caused a variety of issues with systemd and associated applications (journal, etc). This change also adds factory reset functionality. Resolves openbmc/openbmc#2542 Change-Id: Ib8a38e99df39f833026fe4475670a7ec2b9c8d4d Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Calculate the version ID of BMC UBI volumes during build time.Saqib Khan2017-11-161-0/+16
| | | | | | | | | | | | | | | | | | | - When the new ubi layout is flashed onto the BMC, the volumes were named kernel-0 and rofs-0 by default. This tends to be misleading as we can't differentiate between two different BMC versions. - Now the ubi volumes will be named kernel-<versionID> and rofs-<versionID> calculated by getting the hash(SHA-512) of the version and taking the first 8 characters. - The Uboot env needs to be updated to point to the correct kernelname which has now changed from kernel-0 to kernel-<versionID> calculated by getting the HASH(SHA-512) of the version and taking the first 8 characters. Resolves openbmc/openbmc#2323 Change-Id: I258d165b399d1ff59ea86f410006f6d03fe13a2e Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Add LICENSE to uboot bitbake fileSaqib Khan2017-11-131-0/+1
| | | | | | | | - yocto-2.3 enforces the rule to have LICENSE field set for all bitbake recipes. Change-Id: I1cd1949099f765c0f10bc1bc637abc572eadd430 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* u-boot: Clean up vbar work-arounds and invalid use of memoryAndrew Jeffery2017-10-301-1/+1
| | | | | | | | | Cédric Le Goater (2): Revert "ast-g5: deactivate vbar (for qemu)" aspeed/timer: move static variables under arch_global_data Change-Id: Ie45bdfba3221ed0b7fecbdab460cff836a8e0d90 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* Fix mtd partitions udev ruleEddie James2017-09-081-1/+1
| | | | | | | | | | | Prevent the ro partitions from triggering the udev rule. They don't have the necessary "name" attribute and so udev attempts to symlink them to the base /dev/mtd/ directory. Resolves openbmc/openbmc#2172 Change-Id: I438feb796b3e5c070949757d178d5382ce3a9e0f Signed-off-by: Eddie James <eajames@us.ibm.com>
* u-boot: Rebase openbmc patchesAdriana Kobylak2017-08-282-11/+15
| | | | | | | Rebase u-boot patches since the ast-common.h has been updated upstream. Change-Id: I70ac5f32d1bf1d6572c06fcc6c32bd2c0f6a177f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* u-boot: Integrate upstream UBI and MTD patchesAndrew Jeffery2017-08-243-99/+1
| | | | | | | | | Adriana Kobylak (2): Add MTD support to Aspeed Flash driver Add optional MTD and UBI support to ast-common Change-Id: I9f8b9d2e725f9d2f86f67c9dc52929086dff187a Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* BMC: Make volume names consistentAdriana Kobylak2017-08-241-6/+5
| | | | | | | | | Name the BMC volume names consistently in the build process and applications to be <name>-<id> for readability. For names, use rofs and rwfs instead of ro and rw. Change-Id: I860f740fb7d0292e4ee09493730db1d1f67c2ae5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* u-boot: Reorder and update patches and bootenv fixesAdriana Kobylak2017-08-213-11/+12
| | | | | | | | | | | | | | | | Yocto does not apply patches by name, but instead it applies them in the order that files are added to the SRC_URI variable. Therefore move the common patch file to the top in the u-boot.inc file, followed by the optional patches that are enabled via machine feature. Update the patches so that they apply on that order. Fix the loadaddr env variable to convert from an int. Escape bootargs variables to keep the variable names and not have them replaced during build time. Change-Id: I28d469c643d66e4b11225f37c3331e471676aec5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* uboot: Add support for ubi and mtd partitioningAdriana Kobylak2017-08-182-1/+67
| | | | | | | | | | | | | Ability for u-boot to load a kernel from a ubi volume. Add boot options for the kernel to boot a rootfs from a ubi volume. Create env variables that can be set by userspace to indicate to u-boot and the kernel where the ubi volume information. Resolves openbmc/openbmc#1940 Resolves openbmc/openbmc#1943 Change-Id: I670435923c563490afa6a85b852594289295651c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* u-boot: Add MTD and UBI support to ast-g5Adriana Kobylak2017-08-182-1/+40
| | | | | | | | | | | Add MTD and UBI support to the default g5 include, conditioned to having MTDPARTS_DEFAULT defined. This allows platforms to enable this support if desired without adding it by default since it increases the size of u-boot. Change-Id: Id6d95769a5e65f4f0f30238bf6a6ee2878c5a521 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* u-boot: Add MTD support to Aspeed Flash driverAdriana Kobylak2017-08-182-1/+60
| | | | | | | | | | | Add support to the aspeed flash driver to enable the common mtd layer through CONFIG_FLASH_CFI_MTD. This enables the flash to be used by u-boot mtd drivers including the mtdparts and ubi commands. Change-Id: Ib95d778fdb88ec0e62a8f53e651795b4f40041d9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* u-boot: modify boot options if obmc-ubi-fs enabledPatrick Williams2017-08-182-0/+46
| | | | | Change-Id: I9b91ce8c540df347537544bbe5e8b5396aa2d3dc Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add u-boot redundant environmentsEdward A. James2017-08-182-0/+35
| | | | | | | | | | | | Update fw_env config with two sections. Update init script to handle redundant envs. Patch u-boot. Can be removed when openbmc/u-boot is updated and recipe bumped. Resolves openbmc/openbmc#1937 Change-Id: I15137f55d960381a0b3fbb58c53090bbd5b86482 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Remove initramfs workaround for u-boot environment.Edward A. James2017-08-182-0/+7
| | | | | | | | | Early in the dev-4.4 kernel lifetime a workaround was developed when the fw_setenv command was failing. That issue does not appear with the current kernel and the workaround can be removed. Change-Id: I2a0f01f274b7ce76fbd1e80fe901cc86087ee5d8 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* u-boot: add common inc filePatrick Williams2017-06-284-19/+10
| | | | | | | | SRCREV, SRC_URI, UBRANCH, etc. were duplicated across 3 recipes so move them to a common include file. Change-Id: I2a5e8e26b7d1aca3a2da285023812b555fe38407 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* u-boot: Update platform.S and Watchdog entablementJoel Stanley2017-06-263-3/+3
| | | | | | | | | | | | | | | | | | | | | | Moves u-boot to version 16 of the ast2500 platform.S initialisation sequence. It contains important fixes for a number of devices in the SoC. The watchdog (WDT2) is now enabled by default from boot. u-boot will pat the watchdog while using the command line interface, and then rely on the kernel to take over once it boots. Joel Stanley (3): aspeed: Update platform_g5.S to version 15 aspeed: Update platform_g5.S to version 16 aspeed: Add defines for all watchdogs Mykola Kostenok (2): Add extended configuration for ast-g5 board aspeed: Add WD2 reset support for ast-g5 Change-Id: I2c36f960e88b5639f779c57879acdb923b00e3d0 Signed-off-by: Joel Stanley <joel@jms.id.au>
* u-boot: Update version for HUSH supportJoel Stanley2017-01-243-3/+3
| | | | | | | | This enables the HUSH shell in u-boot, and uses that support to assume a ramdisk 0x20300000 if one is not found in the FIT image. Change-Id: Iaed89795ad1649d3b9e0666d009957a77dafcb41 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Update u-boot to support booting FIT imagesJoel Stanley2016-12-193-3/+3
| | | | | | | | | | | | | | | | | | | | | | | This adds FIT support from Rick. Two of the patches are only relevant to our out-of-tree Aspeed support, but one was sent upstream. There is also a bugfix for a linker issue discovered when preparing this release that was sent upstream. Bugfix for building with bleeding edge binutils * Makefile: Fix linking with modern binutils (sent upstream[1]) FIT image support * Enable FIT image support and FDT loading for AST2400/AST2500 * bootm: relocate ramdisk if CONFIG_SYS_BOOT_RAMDISK_HIGH set (sent upstream [2]) * aspeed: remove hack loading ramdisk in memory [1] https://patchwork.ozlabs.org/patch/706336/ [2] https://patchwork.ozlabs.org/patch/704192/ Change-Id: I46469bb0426c1071843884a3b4f1e15e3d6a58e0 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Move to u-boot v2016.07-aspeed-openbmc branchJoel Stanley2016-07-273-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | This moves all machines to a new u-boot branch. The u-boot branch is based on this month's upstream v2016.07 release, and contains cleanups that get us closer to submitting upstream. Importantly for the machine configurations, we now have four new defconfigs that replace the previous targets: - ast_g4_ncsi_defconfig: ast2400 with NCSI networking - ast_g4_phy_defconfig: ast2400 with directly attached PHY networking - ast_g5_ncsi_defconfig: ast2500 with NCSI networking - ast_g5_phy_defconfig: ast2500 with directly attached PHY networking We now support Firestone again with the ast_g4_phy_defconfig. This commit updates all machines to the new branch and defconfig. It also removes unused patches that were being made to u-boot, in the case of barreleye (a patch to aspeednic.c) and palmetto (a modification to the u-boot environment). Change-Id: Ic4baf9ae0d5f4046e69cab99d54865771b01cd2a Signed-off-by: Joel Stanley <joel@jms.id.au>
* u-boot: Remove unused 2013.07 packages.Patrick Williams2016-06-242-78/+0
| | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* u-boot: Upgrade AST2400 machines to 2016.05 tree.Patrick Williams2016-06-242-4/+4
| | | | | | | Move 2016.05 tree to point at the latest openbmc commit and point all AST2400 machines to it. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* AST2500: Initial AST2500 BSP layerBrad Bishop2016-06-103-3/+3
| | | | | | | | | The AST2500 is an ARM SOC made by Aspeed. This is only a stub; there are a couple missing bits of support from the kernel/uboot. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add a u-boot 2016.05 recipeBrad Bishop2016-06-103-0/+87
| | | | | | | Adding a 2016.05 u-boot for the AST2500. AST2400 remains on 2013.07. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-phosphor/u-boot: Move to newer versionJoel Stanley2016-04-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes from Milton for u-boot leaving ethernet device running after loading linux: net: aspeednic: Create aspeed_write_hwaddr from set_mac_address net: aspeednic: Do not start hardware in initialize net: aspeednic: Remove extra spaces before assignments net: aspeednic: Do not fill in a random MAC address net: Implement random ethaddr fallback in eth.c Backports from upstream from me to support building under modern GCC versions: common: main.c: make show_boot_progress __weak ARM:asm:io.h use static inline arm: board: use __weak net: Implement random ethaddr fallback in eth.c compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6 Signeo-off-by: Joel Stanley <joel@jms.id.au>
* Use commit number instead of autorev for u-bootAdriana Kobylak2016-03-072-2/+2
| | | | | | | Change the u-boot recipes from picking up the most recent commit to a specific commit (the most current one a of today) so that development can be done in u-boot without affecting the stability of the image.
* create u-boot-fw-utils for our u-boot versionMilton D. Miller II2016-01-281-0/+55
| | | | | | | | | | | | | | | | | | | This commit creates a class and recipie based on the upstream 2015 branch of u-boot and patches it with our fw_env.config. Having these tools for the initfs will allow us to modify the u-boot enviornment to do things like boot from network for update and set the bmc mac addresses in the environment for u-boot and use by the kernel. This commit is based on the upstream fw-utils commit. However, the initial commit was not creating target binaries. After commenting out the cross class support for creating host binaries to prepare an environment, a study of the u-boot Makefile showed that HOSTCC etc needed to be set. It is anticipated something to the commented lines will be necessary for merging upstream but this addresses our immediate use case. Signed-off-by: Milton Miller <miltonm@us.ibm.com>
* uboot tftp can not handle noiseChris Austen2016-01-192-78/+3
| | | | | | | | | Pull in the fixes that allows netbooting to work well Without this change netbooting was impossible due to timeout problems downloading images for netbooting. Sometimes I would get timeouts right away, other times it would take longer but every time it fail to copy the file completely before timeouts would hit.
* Backport 2013.07 uboot recipeBrad Bishop2015-10-082-0/+99
OpenPOWER on IntegriCloud