Age | Commit message (Collapse) | Author | Files | Lines |
|
This merges in the latest 4.17 stable tree, which includes fixes for USB
gadget as well as security and other bug fixes.
Change-Id: Ia2cd9ab232a0cb2ef7271fd1c643d4376fccfb3a
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Arnd Bergmann (2):
kbuild: add macro for controlling warnings to linux/compiler.h
disable -Wattribute-alias warning for SYSCALL_DEFINEx()
Benjamin Herrenschmidt (1):
usb: gadget: aspeed: Workaround memory ordering issue
Joel Stanley (1):
i2c: fsi: Sync with v12 upstream submission
Rasmus Villemoes (1):
compiler.h: enable builtin overflow checkers and add fallback code
Change-Id: I363f1000764544dc34c0daec6a7bfc17057a4088
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Andrew Jeffery (3):
checkpatch: Fix unescaped brace warning
ast-g4: Fix typo in board_init() comment
arch-aspeed: Make AHBC and SDMC header guards unique
Joel Stanley (3):
platform_g4: Update to v0.62
platform_g5: Update to v18
platform_g5: Disable CONFIG_DDR4_SUPPORT_HYNIX
Change-Id: Ib3f78310356219391c72d803e9bb267b8573440c
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Define a variable that recipes can use for finding the root
of the aspeed layer. Typically this is used to refer to the
layer LICENSE for recipes that don't have any source repository.
Change-Id: I22c1af313f65dee85eccfbc82cddc51dc731876a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Disable the SBE FIFO and related drivers, as they are Power9 only.
Disable the DRM framework and the ASPEED_GFX driver, as this driver has
not been tested on the ast2400.
Both of these changes are to reduce the size of the kernel binary, which
is currently 56136 bytes (55kB) over size.
Change-Id: Ice88b7ca9062c2dc4578a96ee5431c265fe75495
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Bitbake warns when this variable is not set for a layer. Set it in the
Nuvoton BSP and EVB layers to indicate sumo branch compatiblity.
Change-Id: If2dd63954ca88d0dc4e0427eb6c3ccf035681585
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
Move support for the npcm7xx SOCs directly into the meta-nuvoton BSP
layer. This matches the layout for other chip vendors' BSPs.
Change-Id: I47ac7a5b02cf87f6dd60d0f6fba2463c18e9fdf1
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
This bumps the openbmc kernel to the latest stable release.
Change-Id: I32b8c55c8a0759cc2b732dd7803171423a7e5b3c
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Benjamin Herrenschmidt (4):
fsi: sbefifo: Fix checker warning about late NULL check
fsi: Don't use device_unregister() in fsi_master_register()
dt-bindings: fsi: Document binding for the fsi-master-ast-cf "device"
fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire
Guenter Roeck (1):
fsi/sbefifo: Add dependency on OF_ADDRESS
Joel Stanley (2):
fsi: master-gpio: Sync with 'Add missing release function'
ARM: dts: aspeed-g4: Expose SuperIO scratch registers
Wei Yongjun (1):
fsi: sbefifo: Fix missing unlock on error in sbefifo_dump_ffdc()
Change-Id: I7b14830959e9e3ed4c1e38cf1a8106370f53b62a
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
The linux-obmc recipe has been removed and BSPs are expected to provide
their own Linux recipes now. This updates the Nuvoton BSP to include its
own Linux recipe so it can build successfully again.
Change-Id: I61e0cf0745be6ae4e282b32abf36aad4c5f4b860
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
The defconfig in SRC_URI contains ast2400/2500 directory, when working
with devtool, it causes the defconfig to be copied into unexpected
subdirectory in working dir.
Fix it by specifying FILESEXTRAPATHS_prepend and remove the directory
from SRC_URI.
Resolves: openbmc/openbmc#3294
Tested: Build linux-apseed on both Palmetto and Romulus and verify the
defconfig is correctly used.
Build, clean, and rebuild linux-aspeed with devtool and verify
the defconfig is correctly used.
Change-Id: I3ec9ab71f39f26e434f2eb593b27fbb34b69bd54
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
Starting with sumo, bitbake emits a warning if this variable is
not set. Indicate sumo branch compatibility.
Change-Id: I99921e6d710135b3eed4d23363a2b924af4906f6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Change-Id: I0b513d04722b0709494d6f4768cc309784d46bfa
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Benjamin Herrenschmidt (12):
usb/gadget: Constify usb_gadget_get_string "table" argument
usb/gadget: Add driver for Aspeed SoC virtual hub
usb: gadget: aspeed-vhub: Fix SETUP packets with OUT data phase
ARM: dts: Add Aspeed SoC USB controllers to device-tree
ARM: dts: Aspeed: Enable USB ports on eval board.
clk: aspeed: Treat a gate in reset as disabled
ARM: dts: aspeed: Add aspeed G4 USB pinmux
arm: dts: aspeed: Add aspeed G5 USB host pinmux
ARM: dts: aspeed: Add Aspeed G4 USB Virtual Hub
ARM: dts: aspeed: Add Aspeed G5 USB Virtual Hub
ARM: configs: Add USB gadget to Aspeed defconfigs
ARM: dts: aspeed: Enable vhub on port A of AST2500 EVB
Eddie James (1):
fsi: sbefifo: Add missing mutex_unlock
Joel Stanley (2):
ARM: dts: aspeed: Enable VHUB on Romulus
gpio: aspeed: Add gpio register data to copro request
Change-Id: If6582b708faabf9a367566f4aae8d778cf4557f8
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Benjamin Herrenschmidt (11):
drm: aspeed: Enable/disable vblank in pipe enable/disable
devres: Add devm_of_iomap()
fsi: Move code around to avoid forward declaration
fsi: Add mechanism to set the tSendDelay and tEchoDelay values
fsi: master-gpio: Rename and adjust send delay
fsi: master-gpio: Add support for link_config
fsi: master-gpio: Add more tracepoints
fsi: master-gpio: Remove unused definitions
fsi: master-gpio: Remove "GPIO" prefix on some definitions
fsi: master-gpio: Add missing release function
fsi: Move various master definitions to a common header
Cédric Le Goater (2):
ARM: dts: aspeed: Add "spi-max-frequency" property
mtd: spi-nor: aspeed: limit the maximum SPI frequency
Joel Stanley (2):
ARM: config: aspeed: Enable SHA256 and HMAC
ARM: config: aspeed: Re-enable DEVMEM
Resolves: openbmc/openbmc#3164
Change-Id: I7f1970a8123b6d335e6dd2bda525c02cc393ede4
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
|
|
Joel Stanley (2):
clk: aspeed: Support HPLL strapping on ast2400
ARM: configs: aspeed: Enable BLK_DEV_LOOP
Merge tag 'v4.17.3' into dev-4.17
Change-Id: I884b96487028b38bcab33d1740aa36dee7969b1d
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Change-Id: I1adc3b6af76cdc37017652f52fa8bbe0d10ac839
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
During kernel version upgrade, these default config items in blow commit are missing:
https://gerrit.openbmc-project.xyz/#/c/8323/
systemd 233+ needs these items for some apis:
https://lists.freedesktop.org/archives/systemd-devel/2017-March/038419.html
Change-Id: I9eff59683d37d4922fa32b2bc32374f4c88862c4
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
|
|
Benjamin Herrenschmidt (8):
gpio: aspeed: Rework register type accessors
gpio: aspeed: Add "Read Data" register to read the write latch
gpio: aspeed: Add command source registers
gpio: aspeed: Add interfaces for co-processor to grab GPIOs
dt-bindings: misc: ASPEED coprocessor interrupt controller
arm: dts: aspeed: Add coprocessor interrupt controller
arm: dts: aspeed: Fix Romulus frame buffer address
i2c: fsi: Fix use after free
Joel Stanley (4):
net/ncsi: Silence debug messages
net/ncsi: Drop no more channels message
net/ncsi: Use netdev_dbg for debug messages
MAINTAINERS: Add Sam as the maintainer for NCSI
Change-Id: I8627b5ef78b51ea3ba0ee7ac233cfee0ce467d57
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
This merges the 4.17.2 upstream stable tree into the dev-4.17 openbmc
tree.
Change-Id: Ide27501337065cfa6c28e168fb18c02447d407ba
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
CONFIG_BLK_DEV_LOOP is needed for legacy code update, and it is removed
accidently in linux 4.17 kernel's change.
Tested: Successfully run legacy code update on Romulus.
Change-Id: Ifb5c3829dd0bbd83813f696dc88b092128e65026
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
This brings the dev-4.13 development cycle to a close. By the end of the
cycle the 4.13 tree contained 236 patches.
This moves all of the 4.13 based functionality on top of a 4.17 base. We
currently have 97 patches in the tree. The reduction of 139 is mostly
due to code landing in Linus' tree, with a handful of fixes being merged
into the base patch.
The configuration is updated with newly landed drivers. In addition new
upstream security features are enabled, and legacy ATAG DTB support and
/dev/mem are removed.
Amithash Prasad (1):
ARM: dts: aspeed: Add Portwell Neptune machine
Andrew Jeffery (11):
ARM: dts: aspeed: witherspoon: Update max31785 node
dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation
pmbus (max31785): Add support for devicetree configuration
pmbus (core): One-shot retries for failure to set page
pmbus (core): Use driver callbacks in pmbus_get_fan_rate()
pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers
soc: aspeed: Miscellaneous control interfaces
dts: aspeed-g5: Expose VGA scratch registers
dts: aspeed-g5: Expose SuperIO scratch registers
fsi: gpio: Trace busy count
fsi: gpio: Remove unused 'id' variable
Avi Fishman (1):
ipmi: NPCM7xx KCS BMC: enable interrupt to the host
Benjamin Herrenschmidt (15):
gpio/aspeed: Set output latch before changing direction
gpio/aspeed: Use a cache of output data registers
fsi/fsi-master-gpio: Sample input data on different clock phase
fsi/fsi-master-gpio: Add "no-gpio-delays" option
fsi/fsi-master-gpio: Reduce turnaround clocks
fsi/fsi-master-gpio: Reduce dpoll clocks
fsi/fsi-master-gpio: Delay sampling of FSI data input
fsi/fsi-master-gpio: Implement CRC error recovery
fsi/fsi-master-gpio: More error handling cleanup
fsi/sbefifo: Add driver for the SBE FIFO
fsi/scom: Add mutex around FSI2PIB accesses
fsi/scom: Whitespace fixes
fsi/scom: Fixup endian annotations
fsi/scom: Add register definitions
fsi/scom: Major overhaul
Brad Bishop (1):
ARM: dts: witherspoon: Enable checkstop and cooling gpio keys
Brian Yang (1):
ARM: dts: aspeed: Add Inventec Lanyang BMC
Christopher Bostic (3):
ARM: dts: witherspoon: Add gpio keys for power supply presence
ARM: dts: fsi: Add optional master property no-scan-on-init
iio: dps310: Temperature measurement errata
Cyril Bur (1):
misc: Add ASPEED mbox driver
Cédric Le Goater (4):
mtd: spi-nor: aspeed: use command mode for reads
mtd: spi-nor: aspeed: add support for SPI dual IO read mode
mtd: spi-nor: aspeed: link controller with the ahb clock
mtd: spi-nor: aspeed: optimize read mode
Dan Carpenter (2):
net/ncsi: prevent a couple array underflows
serial/aspeed-vuart: fix a couple mod_timer() calls
Eddie James (9):
ARM: dts: aspeed: witherspoon: set alternate boot
fsi: scom: Remove PIB reset during probe
dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation
i2c: Add FSI-attached I2C master algorithm
i2c: fsi: Add port structures
i2c: fsi: Add abort and hardware reset procedures
i2c: fsi: Add transfer implementation
i2c: fsi: Add I2C master locking
i2c: fsi: Add bus recovery
Edward A. James (3):
ARM: dts: fsi: Add I2C master and ports to FSI CFAMs
drivers/fsi: Add On-Chip Controller (OCC) driver
hwmon: Add On-Chip Controller (OCC) hwmon driver
Haiyue Wang (1):
ipmi: add an NPCM7xx KCS BMC driver
Jae Hyun Yoo (1):
clk: aspeed: Fix reset bits for PCI/VGA and PECI
James Feist (1):
ARM: dts: Add S2600WF BMC Machine
Jeremy Kerr (8):
serial: Introduce UPSTAT_SYNC_FIFO for synchronised FIFOs
serial/8250: export serial8250_read_char
serial/aspeed-vuart: Implement rx throttling
serial/aspeed-vuart: Implement quick throttle mechanism
fsi: gpio: Use a mutex to protect transfers
fsi/gpio: Include command build in locked section
fsi/gpio: Use relative-addressing commands
fsi/master-gpio: Replace bit_bit lock with IRQ disable/enable
Joel Stanley (22):
clk: aspeed: Support second reset register
clk: aspeed: Mark bclk (PCIe) and dclk (VGA) as critical
ARM: dts: aspeed-romulus: Enable VUART
ARM: dts: aspeed-ast2500: Update flash layout
ARM: dts: aspeed: Add LPC mailbox node
ARM: dts: aspeed: Enable mbox
ARM: dts: aspeed: Add devices under FSI CFAM
ARM: dts: palmetto: Enable mbox and occ-hwmon nodes
iio: Add driver for Infineon DPS310
ARM: dts: aspeed-g5: Add DAC MUX userspace control
ARM: dts: aspeed-g5: Clean up sio registers
ARM: dts: aspeed: Describe random number device
ARM: dts: aspeed: Fix hwrng register address
fsi: master-hub: Fix sparse warnings
fsi: core: Fix sparse warnings
drm: Add ASPEED GFX driver
drm: aspeed: Debugfs interface for GFX registers
ARM: dts: aspeed-g5: Add resets and clocks to GFX node
ARM: dts: ast2500-evb: Enable the GFX IP
ARM: dts: witherspoon: Enable the GFX IP
ARM: dts: romulus: Enable the GFX IP
ARM: config: aspeed: Update defconfig
Lei YU (5):
clk: aspeed: Add 24MHz fixed clock
ARM: dts: aspeed: romulus: Add w83773g temp sensor
ARM: dts: aspeed: zaius: Add pcie-e2b-present gpio key
ARM: dts: aspeed: romulus: Add id-button gpio key
ARM: dts: aspeed: Use 24MHz fixed clock for pwm
Samuel Mendoza-Jonas (2):
net/ncsi: Refactor MAC, VLAN filters
net/ncsi: Avoid GFP_KERNEL in response handler
Tali Perry (2):
dt-binding: clk: npcm750: add binding
clk: npcm7xx: add clock controller
Tomer Maimon (2):
dt-binding: pinctrl: document NPCM7xx pin controller DT bindings
pinctrl: npcm: add NPCM7xx pin control driver
Wei Yongjun (1):
clk: npcm7xx: fix return value check in npcm7xx_clk_init()
YueHaibing (1):
net: remove unnecessary genlmsg_cancel() calls
Tested: Booted Romulus, Palmetto hosts. Booted ASPEED platforms in QEMU
Change-Id: Ib6f7e68267cd66e98c0ace1132fd2d664a0fc623
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Move recipes from the common dir to the layer base dir to match
typical layer layouts.
Change-Id: Idcd48dd346ab51b0a16fffe31319f13fad76111e
Tested: Built and verified witherspoon and palmetto images
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
They are unused and no longer have any content. Remove.
Change-Id: I300f71ade8de4a9f3dc306743b16f951dc962cfd
Tested: No functional impact
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Consolidate the 24xx/25xx layer READMEs into a single Aspeed BSP
README.
Change-Id: I7446f5241343d304d9f083c4baf2baa0ddff6234
Tested: Documentation only, no functional impact
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move the remaining bitbake base configuration data to the common aspeed
layer.
Tested: Built and verified palmetto and witherspoon images
Change-Id: I1ff2b3dc611b7e2f1b13a4b1e4d6d3dd923a1ff6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Rename linux-obmc to linux-aspeed and move to the Aspeed
layer. Like recipes for u-boot forks, recipes for kernel
forks in support of different SOCs are typically provided
in the BSP supporting the SOC.
Moved a number of phosphor-isms out of the kernel recipe and put
those in a bbappend in aspeed-layer/bbappend.
Removed COMPATIBLE_MACHINE setting. We simply use PREFERRED_PROVIDER
in machine configuration files to set the default kernel recipe.
Tested: Booted spoon/palmetto images using QEMU
Change-Id: I7dc73629cad4789dcd5aeb0f7b6214fe064c6adc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This option adds sysfs entries for watchdog devices. We need this so
that we can access the bootstatus sysfs file to indicate whether or not
the BMC has switched chips.
Change-Id: I898b346f7de8b3b276e354b4d737e447db0d8add
Signed-off-by: Eddie James <eajames@us.ibm.com>
|
|
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>
|
|
Move files with identical content to the base aspeed layer.
Remove unnecessary u-boot bbappends as the u-boot binary does not
depend on fw_env.config content.
Tested: Built u-boot and fw-utils recipes, validated packages
Change-Id: Iee3d3f76b93ff5f6d59ebeb18f08ad42cb6d187b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Added machine layer support for the NPCM750 EVB.
Tested: Built and ran on NPCM750 EVB.
Change-Id: I4e23e514846725f4078996579b878adf07484bce
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
|
|
Add as follow :
1. NPCM7XX Kernel Linux
2. NPCM7XX U-boot
Change-Id: I84ae09c16725fcf9d23f8daf3c9eadac09cb605f
Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
|
|
linux kernel needs u-boot tools for vmlinux post processing
in other case there will be error about:
| BOOTAR arch/powerpc/boot/wrapper.a
| WRAP arch/powerpc/boot/uImage
| INFO: Uncompressed kernel (size 0x8b7e54) overlaps the address of the wrapper(0x400000)
| INFO: Fixing the link_address of wrapper to (0x900000)
| "mkimage" command not found - U-Boot images will not be built
Change-Id: I86f4eab65c30352a1589e9e4537963f9b4a3d5fc
Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com>
|
|
This updates the kernel to include the ASPEED DRM driver.
Note that the defconfig update has no affect on the I2C support; it
drops out only due to being selected by other dependencies.
Joel Stanley (6):
drm: Add ASPEED GFX driver
drm: aspeed: Debugfs interface for GFX registers
ARM: dts: aspeed-g5: Add resets and clocks to GFX node
ARM: dts: ast2500-evb: Enable the GFX IP
ARM: dts: witherspoon: Enable the GFX IP
ARM: dts: aspeed-g5: Add DAC MUX userspace control
Change-Id: I084c4df8b7d4bcc183a865c9eabb0154570e0342
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Move the MTD partition rules to their own recipe under
udev rather than appending u-boot-fw-utils. Additionally
the rules are an artifact of the aspeed u-boot-fw-utils
configuration, so place the new recipe in the aspeed layer.
Tested: Built a witherspoon image
Change-Id: I1fec995dd75543b2630db29d78bfb29a1a5949d5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The convention seems to be that udev rule generating recipes go in
recipes-core/udev.
Tested: No functional change
Change-Id: I947a5f060e33b696cfa5528c09e164d047f78cae
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Without this kernel is unable to mount loop device, and cause the init
script failing to copy rofs into ram in legacy code update.
Resolves openbmc/openbmc#3064.
Tested: Successfully run legacy code update on Romulus.
Change-Id: I22cdff51ac24a8ca00e1ed2b5d1d06d827b9eb74
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
This seems to be the upstream convention. Update to match.
Change-Id: I51557baebee8890d983d878779a5dd76ffa309be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This seems to be the upstream convention. Update to match.
Change-Id: Ie56cfd4cce1d1d49a3edeaf734fcfbbc665a55c8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
virtual/kernel was specified twice in the common Aspeed configuration.
Change-Id: I808d5359fbfb8986c6b194dc5c0a8dc1e5268999
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
We have 236 commits, 127 files changed, 17766 insertions(+), 2128
deletions(-). Some of these are backports from upstream. This list
does not include patches from the 4.13 stable releases, but we do
include those in the dev-4.13 branch.
1 Alexey Khoroshilov
34 Andrew Jeffery
1 Arnd Bergmann
1 Benjamin Herrenschmidt
1 Bhumika Goyal
1 Brad Bishop
1 Brendan Higgins
11 Christopher Bostic
1 Cyril Bur
14 Cédric Le Goater
49 Edward A. James
3 Gavin Shan
1 Guenter Roeck
8 Ivan Mikhaylov
1 Jacek Anaszewski
1 James Feist
7 Jeremy Kerr
72 Joel Stanley
2 Julia Lawall
1 Ken Chen
6 Lei YU
3 Milton Miller
1 Mykola Kostenok
1 Patrick Venture
2 Philipp Zabel
1 Rick Altherr
11 Samuel Mendoza-Jonas
2 Wei Yongjun
1 Xo Wang
1 Yong Li
Note that the 4.13 branch is EOL'd by the Linux community, and as such
should not be used for any products beyond development.
React to removal of occ hwmon instances from device trees with a
new startup/shutdown mechanism for phosphor-hwmon.
To fix this, a helper script will be used to start the service that
will pass the service the device tree name if it is present, or the
udev device path if it isn't. This script will still run from the
udev rule as before, but it will stop and start the service itself
without using the SYSTEMD_WANTS attribute.
As the path to the hwmon environment file matches the service
template argument, the paths for the OCC .conf files need to change
to match the device path instead of the previous device tree path.
Note that the pure device path would have the hwmon instance number
in it, but since that can't be known ahead of time it is stripped
off by the script that starts the service.
In addition, the pure device path for the OCCs contain several
':'s, meaning the associated environment files would also need to.
However, Yocto/Bitbake cannot handle a ':' in a file path, so they
are converted to '--'s by the script that starts the service and
phosphor-hwmon will convert them back internally when it starts.
The service file also needed some changes now that the service
lifetime is no longer controlled by systemd via SYSTEMD_WANTS.
This script will be called by a udev rule to start and
stop phosphor-hwmon when the hwmon device driver is started
and stopped.
It is passed both the device path and the OF_FULLNAME device
tree attribute. If OF_FULLNAME is present, it will start the
service with that as its template argument, otherwise it will
use the device path. This is to handle devices that aren't in
the device tree so they won't have OF_FULLNAME.
If a '/hwmon/hwmonN' is in the path it is removed, as this path
is also used as a path to an environment file and so must be
known ahead of time, which the hwmon instance N is not.
If there is a ':' in the path name, it is converted to a '--'.
Yocto/Bitbake cannot handle a ':' in file paths.
Resolves openbmc/openbmc#2953
Change-Id: I815be4d6d9e1cbea8428bb1bb8c332776ee71ece
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move OpenBMC to Yocto 2.3(pyro).
Tested: Built and verified Witherspoon and Palmetto images
Change-Id: I50744030e771f4850afc2a93a10d3507e76d36bc
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Resolves: openbmc/openbmc#2461
|
|
This u-boot bump contains one patch:
Brad Bishop (1):
aspeed: Drop bootcmd support for legacy images
Rebase out of tree Witherspoon patches.
Change-Id: Ie8f4453a9d88823d7a97b9cd172089ead045024d
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Move the u-boot recipes out of the Phosphor layer to the Aspeed layer.
When a SOC requires a specific u-boot tree, convention dictates the
BSP layer supporting the SOC includes recipes for that tree.
Tested: Built image and verified in witherspoon qemu
Change-Id: I4d5bade05566ae4cbcf5a2c637a1ed275c63ab36
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Create a common Aspeed layer configuration file to host pointers to
things like u-boot and kernel trees that support SOCs from Aspeed.
Tested: Built image and verified in witherspoon qemu
Change-Id: I9ad2720d8b4dff191e43be0b2c1514d25d7bf3ef
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
* add fsp2 meta
* add sunray2 evaluation board
* create zobmc ppc kernel for fsp2 based boards
* remove phosphor gpio keys
* only -k core-image-minimal working fine for now due to
problems with workbook and ipmi dependencies
Change-Id: Id84614a78bc875206ccc0450885261258e4adb26
Signed-off-by: Ivan Mikhaylov <ivan@de.ibm.com>
|
|
The current uuid generation method just export the machine-id,
it does not match the systemd description
(https://www.freedesktop.org/software/systemd/man/machine-id.html):
This ID uniquely identifies the host. It should be considered
"confidential", and must not be exposed in untrusted environments,
in particular on the network. If a stable unique identifier that is
tied to the machine is needed for some application, the machine ID
or any part of it must not be used directly.
Backport the new sd_id128_get_machine_app_specific from systemd 233,
to replace the old uuid generation method.
Change-Id: I44e7b32ca951a9fa591761c3a3e4f27da04d2b6f
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
|
|
Include tune-arm1176jz-s.inc in the ast2500 SoC include file and set its
default tune to the core-specific variable. This enables Thumb package
builds and adds a compiler tune for the ARM1176 core.
AST2500 BMC developers won't likely observed any differences other than
seeing in the build log:
TUNE_FEATURES = "arm armv6 thumb arm1176jzs"
Tested: Inspected some packages with the bb utility that
TUNE_PKGARCH="armv6" and verified booting Zaius BMC.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I70beab3d4e930b22dd4dd7b42e56971448396a7b
|
|
Add a tune file for the ARM1176JZ-S without the VFP FPU.
The Raspberry Pi machine layer contains a tune file for ARM1176JZF-S
which has a VFP FPU.
In addition to adding a core-specific compiler tuning option, this tune
enables packages to be compiled to emit Thumb instructions if
ARM_INSTRUCTION_SET = "thumb"
which will generate slower but more compact code.
Note that packages default to ARM-only code and even if enabled, the
compiler may choose not to emit Thumb code. Packages built with Thumb
support will have this reflected in the naming (armv6t instead of
armv6) but the architecture name will remain armv6.
Tested: Included the file into the build and verified it has no effect.
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Icad4be206b384e9b5157423b6c7880f0bd1dd3a3
|
|
Set SOC_FAMILY to aspeed-g4 and aspeed-g5 in ast2400 and ast2500 SoC
include files, respectively.
Include soc-family.inc so that the family is added to MACHINEOVERRIDES.
This is just minor cleanup that helps set the scene for creating Aspeed
model-specific include files (though I don't plan to do this).
Tested: Inspected OVERRIDES with the bb utility. MACHINEOVERRIDES for
witherspoon is now "openbmc:armv6:aspeed-g5:witherspoon:ast2500".
Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I4175915b750b04f36e7b3bd354a55b6a4f7f51fb
|