| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Computing Systems GIT repositories
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9b91ce8c540df347537544bbe5e8b5396aa2d3dc
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Adding a 2016.05 u-boot for the AST2500. AST2400 remains on
2013.07.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|